bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/26206] Add pei-aarch64 support for native EFI support


From: steve-sourceware at einval dot com
Subject: [Bug binutils/26206] Add pei-aarch64 support for native EFI support
Date: Fri, 15 Oct 2021 13:55:54 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=26206

--- Comment #15 from Steve McIntyre <steve-sourceware at einval dot com> ---
Hmmm, OK.

That UEFI image (when padded up to 64MiB) starts here and will let me start an
OS or go into the shell OK. Are you getting any errors?(In reply to Tamar
Christina from comment #14)
> (In reply to Steve McIntyre from comment #13)
> > Hmmm, OK.
> > 
> > That UEFI image (when padded up to 64MiB) starts here and will let me start
> > an OS or go into the shell OK. Are you getting any errors?
> 
> No, QEMU just pretty much hangs, maybe a wrong parameter, I'm doing
> 
> rm -f flash0.img flash1.img
> dd if=QEMU_EFI.fd bs=1M of=flash0.img conv=notrunc
> dd if=/dev/zero bs=1M count=64 of=flash1.img
> dd if=/dev/zero bs=1M count=64 of=flash0.img
> mkdir boot
> cp hello.efi boot/
> env DISPLAY=:0 qemu-system-aarch64 -machine virt -monitor stdio -drive
> file=fat:rw:boot/ -drive file=flash0.img,format=raw,if=pflash -drive
> file=flash1.img,format=raw,if=pflash flash1.img

Aha! Your command there will totally replace the content of flash0.img, not
append to it. :-)

Try: 

$ dd if=/dev/zero bs=1M count=62 >> flash0.img

(there are probably other dd options to append, but that command is what I've
used successfully)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]