From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f68.google.com (mail-wm1-f68.google.com [209.85.128.68]) by mx.groups.io with SMTP id smtpd.web11.132.1585590267136108997 for ; Mon, 30 Mar 2020 10:44:27 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=GCGFP0aD; spf=pass (domain: linaro.org, ip: 209.85.128.68, mailfrom: ard.biesheuvel@linaro.org) Received: by mail-wm1-f68.google.com with SMTP id z14so159691wmf.0 for ; Mon, 30 Mar 2020 10:44:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=GuLp4rmqN+vQopK5ahp76TLFJqpDNVO3PETvL0vZrdM=; b=GCGFP0aDfC/+OJ3/h783mDGalEVEAE5vxr3Zwul57A+FT9x8FwKD1yxi2wlWaCeCSK 9uLl2Y1S/fXW9IgT5tOQ7/YSp/DjOTjNaHydD+sMZ5jH+QhRpGEsfF4RvZVVW6aWa9gm wZLGVTJD0TqkXeWJIK/50KPZGHJLB1jl/Md86kMzpEoQrzuTmfiuAfAaXG6jZKTqx5Ry BBkP1oHMjSd5fg89wOafHpTJOoyXZiLGDVnIUVmSMamH7G7p9+agIDHBzOEh+/AbVFkK zkEqa+Fkq5uwN/lI4moXN4X38fsZFSO5zomyXof5dxm0V2PHCO0Swy5jHASa25AsMPyw OJog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=GuLp4rmqN+vQopK5ahp76TLFJqpDNVO3PETvL0vZrdM=; b=uU4hIMCFqLh+5kJVsXMEzJowoAatutdytOJT56cbFx7UtBxl671g9YUSVSuky+XJqY UHMdUMTbqPYoH1rdbp0Ifd56MQinZrJ1uSYniF5KKRyCinwXxrP0wBOc9i881sMQ2l3f bHt6WvYUt4Dcw6T6o6qDoWIobI4c4pukfqkpXlXBB2tPr9fTwgeV3/PSMIbIRR2eomqB 2pRF400ljskYYBbwZZZrHgpeGu5q1KZ4rEEvlh/3WiXwJGHU/3AHd+Bqe6GezDRfgVI0 PIzkboJuOh0DF2fByHSHO5tjxbgVryrlm7AxGUxe6ZjtoWX9/LxcLYQKuLMKh8YGx1ri 2lbg== X-Gm-Message-State: ANhLgQ1qDVYj37OfrIiiHQH08aaJIChZGvh+aLP35Otp0kEmaCxfUrTS vFB8th1hKqGYNkf6RJzYTclOQ/nGEvCfKOmiGGbGnBUp98prYg== X-Google-Smtp-Source: ADFU+vtp3c6qTIDVONfcSRWA/fjy2Hp4ojvEPcglz/Em1qWJlblzmWVnAyYvT2nJnPvXJ06t0bvjY+V/K1Wu3diwKpw= X-Received: by 2002:a7b:cb81:: with SMTP id m1mr397423wmi.1.1585590265317; Mon, 30 Mar 2020 10:44:25 -0700 (PDT) MIME-Version: 1.0 References: <23240.1585588272916499438@groups.io> In-Reply-To: <23240.1585588272916499438@groups.io> From: "Ard Biesheuvel" Date: Mon, 30 Mar 2020 19:44:14 +0200 Message-ID: Subject: Re: [edk2-devel] [PATCH] .azurepipelines: Enable CI for OvmfPkg and EmulatorPkg To: edk2-devel-groups-io , Sean Brogan Content-Type: text/plain; charset="UTF-8" On Mon, 30 Mar 2020 at 19:11, Sean via Groups.Io wrote: > > On Mon, Mar 30, 2020 at 10:04 AM, Ard Biesheuvel wrote: > > Is there any way I could contribute ArmVirtQemu to this? Or would it > be easier if I provided comments/instructions? > > Either way. > Any instructions you provide would be great. I was going to hack something up for feedback but happy for someone else to do it. Let me know. OK, so the typical invocation would be qemu-system-aarch64 -M virt -cpu cortex-a57 -m 1024 -net none -nographic -bios .../path/to/QEMU_EFI.fd -hda fat:rw:.../path/to/startup.nsh The only complication compared to OVMF is that there is no separate serial port for debug output vs console output, so everything is going to come out of the same pipe, and grep'ing the console output for meaningful strings may easily result in false positives. (-pflash could be used as well, but doesn't really add anything in this case, and QEMU for ARM has a quirk where pflash images must be exactly 64 MB in size) > > Basically add the platform and pipeline yml here > https://github.com/spbrogan/edk2/tree/ci-for-ovmf/.azurepipelines/platforms > > Then i have been leveraging PyTools to build and script operations. > So something like this. https://github.com/spbrogan/edk2/blob/ci-for-ovmf/OvmfPkg/PlatformBuild.py > > A little bit of help in this readme. > https://github.com/spbrogan/edk2/blob/ci-for-ovmf/OvmfPkg/README-pytools.md > Thanks. But can I get these actions to trigger from my branch as well? Or do I need special powers for that?