How can I make OVMF work?

Tippisum Circle <[email protected]> Wed, 23 Oct 2013 22:10:42 +0800
Newsgroups gmane.comp.emulators.bochs.devel
Message-ID <CAOxFWu+ekj5wQNhvfS8kk5frwC-xqK3MXLUkcbpe8inPtkRe8g@mail.gmail.com>
Since I want to try some UEFI stuff, I attempt to use the OVMF under
bochs, but it doesn't function properly.
More precisely, the ROM seems work, it successfully switched to long
mode and the log says it even tried to access some device (like the
FDC and PCI). However, there is no video output.
I tried several different video configuration, with the VGA BIOS comes
from bochs or OVMF, tried compiling both bochs and OVMF to the newest
SVN version as well as using current release binaries, and the problem
remains the same.
There do have an old post in the mail list talking about using OVMF,
but it didn't solve my problem.
Is OVMF supported in bochs? Or I need to tweak some settings in order
to make things work?

These settings have been tried:
# 1
vgaromimage: file=VGABIOS-CirrusLogic5446.rom # the VGA BIOS image from OVMF
vga: extension=cirrus, update_freq=5
pci: enabled=1, chipset=i440fx, slot1=cirrus # tried with this line on/off

# 2
vgaromimage: file=VGABIOS-lgpl-latest # the default one comes with bochs
vga: extension=vbe, update_freq=5 # tried with this line on/off

#3
vgaromimage: file=VGABIOS-lgpl-latest-cirrus # the cirrus VGA BIOS from bochs
vga: extension=cirrus, update_freq=5 # tried with this line on/off
pci: enabled=1, chipset=i440fx, slot1=cirrus # also tried with this line on/off


the win32 release binary of bochs are used, as well as the SVN
rev11903 compiled with --enable-x86-64 --enable-clgd54xx.
the x64 r11337 alpha release of OVMF are used, as well as the current
SVN snapshot build with default settings.

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk