Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Oct 2023 10:12:31 -0400
From:      Ed Maste <emaste@freebsd.org>
To:        David Horn <dhorn2000@gmail.com>
Cc:        emulation@freebsd.org, "gjb@freebsd.org" <gjb@freebsd.org>, lwhsu@freebsd.org
Subject:   Re: Qemu EFI Firmware files/docs (aarch64)
Message-ID:  <CAPyFy2B7wKL0wo1Hfa6E7YaXd5-qqkzEdnKYynUiS=zsaG93Bg@mail.gmail.com>
In-Reply-To: <CAG7WopmtzHy1pGNkJ4Ggs7_K7HWMynNjWCLBXCyy6RXWS%2BcG-Q@mail.gmail.com>
References:  <CAG7WopmtzHy1pGNkJ4Ggs7_K7HWMynNjWCLBXCyy6RXWS%2BcG-Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 28 Sept 2023 at 07:42, David Horn <dhorn2000@gmail.com> wrote:
>
> A)  Is `edk2-aarch64-code.fd` included with Qemu the canonical and
> correct firmware for UEFI aarch64 , or is there a better one ?[1]

The Cirrus-CI smoke test switched to using the uefi image provided by
QEMU as of commit 7d9794b34bcd. I am not aware of any reason to use a
different one.

> B)  I think a bit of clarity on both the Wiki and the release
> announcement would be useful.  I am willing to assist with the wiki
> update if I can get an 'ack' from some folks here on the best
> firmware.

I think the arm64 VM section of the release notes should just be
removed, starting from "Note regarding arm64/aarch64 virtual machine
images". Standard QEMU instructions should apply to amd64 and arm64.

For reference, Cirrus-CI's smoke test invocation:

for amd64:
        QEMU="qemu-system-x86_64 -drive
if=pflash,format=raw,readonly=on,file=${OVMF}"
for arm64:
        QEMU="qemu-system-aarch64 -cpu cortex-a57 -M virt -bios
edk2-aarch64-code.fd"

and the rest of the arguments are common to both:
    $QEMU -m 256M -nodefaults \
        -serial stdio -vga none -nographic -monitor none \
        -snapshot -hda $hda 2>&1 | tee ${BOOTLOG}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2B7wKL0wo1Hfa6E7YaXd5-qqkzEdnKYynUiS=zsaG93Bg>