qemu-devel
[Top][All Lists]
Advanced

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

Too slow edk2 bios boot?


From: Bin Meng
Subject: Too slow edk2 bios boot?
Date: Fri, 18 Jun 2021 18:46:57 +0800

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



reply via email to

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