And there we are! An Ovmf that I build runs in qemu.
Summary:
-- the CirrusLogic5430Dxe driver (in
Ffs 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 and
also(?) A4EF5A93-3F1B-4232-A1C4-F0910E6D1D9C) appears to not use the ACPI
timer facility properly when run under qemu (waits for values at i/o port
0x408 to change instead of port 0xb008) and hangs during driver
initialization.
-- to use a different vga display in qemu, qemu version 1.3+ is required
along with the -vga std command line option. This also requires an EDK2
source tree from December 2012(?) or later.
-- to get Ovmf debug to appear with qemu, OvmfPkg must be built
*without* -D DEBUG_ON_SERIAL_PORT and qemu must be run with -debugcon
file:debug.log -global isa-debugcon.iobase=0x402
-- to get Ovmf verbose startup debug messages, change:
gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
to
gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8040004F
(0x00400000 is the DEBUG_VERBOSE flag defined
in MdePkg/Include/Library/DebugLib.h)
I think that's it... will post another here once qemu networking works with
Ovmf and the UEFI code (the original topic!).
Duane
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel