On Tue, Sep 30, 2014 at 10:16:24PM +0200, Laszlo Ersek wrote:
> > "-bios OVMF.fd" works just fine with both. I still haven't figured out
> > how to pass a "-v" to OS X via OVMF, so I can see verbose text-mode boot
> > messages scroll by for extra clues. Reza, any idea how I'd be able to
> > do that ?
> 
> - change PcdDebugPrintErrorLevel to 0x8040004F in the *.DSC files
>   (enabling EFI_D_VERBOSE messages)
> 
> - change MAX_DEBUG_MESSAGE_LENGTH to 0x200 in
>   "OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c"
> 
> - uncomment '%define DEBUG' in "OvmfPkg/QemuVideoDxe/VbeShim.asm", and
>   re-run "OvmfPkg/QemuVideoDxe/VbeShim.sh"
> 
> - rebuild OVMF
> 
> - pass the following flags to qemu:
>   -debugcon file:ovmf.debug.log \
>   -global isa-debugcon.iobase=0x402
> 
> (Some of these are documented in the OvmfPkg/README file.)
> 
> Simple, isn't it? :)

I know how to get debug output from ovmf; I meant the equivalent of
holding down option-v on a real apple machine, or adding "-v" to the
chameleon boot: prompt. This gets passed on to OS X, which boots in
text mode instead of spinning an apple logo on a white screen. Can be
useful for debugging, and I haven't figured out how to get the -v
passed into the guest OS from OVMF yet.

Thanks,
--Gabriel

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to