qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* Too slow edk2 bios boot?
@ 2021-06-18 10:46 Bin Meng
  2021-06-18 11:46 ` Gerd Hoffmann
  0 siblings, 1 reply; 6+ messages in thread
From: Bin Meng @ 2021-06-18 10:46 UTC (permalink / raw)
  To: Laszlo Ersek, qemu-devel@nongnu.org Developers

Hi Laszlo,

Using the QEMU shipped edk2 bios, for i386, it boots very quickly to
the EFI shell.

$ qemu-system-i386 -nographic -pflash edk2-i386-code.fd

However with x86_64, it takes a very long time to boot to the EFI
shell. It seems it got stuck in the PXE boot. Any ideas?

$ qemu-system-x86_64 -nographic -pflash edk2-x86_64-code.fd

BdsDxe: failed to load Boot0001 "UEFI QEMU DVD-ROM QM00003 " from
PciRoot(0x0)/Pci(0x1,0x1)/Ata(Secondary,Master,0x0): Not Found

>>Start PXE over IPv4.
  PXE-E16: No valid offer received.
BdsDxe: failed to load Boot0002 "UEFI PXEv4 (MAC:525400123456)" from
PciRoot(0x0)/Pci(0x3,0x0)/MAC(525400123456,0x1)/IPv4(0.0.0.0,0x0,DHCP,0.0.0.0,0.0.0.0,0.0.0.0):
Not Fd

>>Start PXE over IPv6.
  PXE-E16: No valid offer received.

I checked the boot manager, and it seems only 64-bit edk2 bios has
built-in PXE boot while 32-bit does not.

Any idea to speed up this whole PXE boot thing?

BTW it seems the shipped edk2 bios image does not work with QEMU
'-bios'. Only '-pflash' works.

Regards,
Bin


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-06-23 15:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-18 10:46 Too slow edk2 bios boot? Bin Meng
2021-06-18 11:46 ` Gerd Hoffmann
2021-06-18 13:06   ` Bin Meng
2021-06-22 16:13     ` Laszlo Ersek
2021-06-23  5:47       ` Bin Meng
2021-06-23 15:23         ` Laszlo Ersek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).