Thanks for your reply.
This method maybe only can  print some log to serial. Is there any way to 
control ovmf work flow like step by step debug?

From: Neeraj Ladkani [mailto:neeraj.ladk...@gmail.com]
Sent: 2015年5月25日 10:42
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] Qestion about how to debug OVMF on QEMU

in summary

1. Change the gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel = 0xFFFFFFFF

2. run build -D -D DEBUG_ON_SERIAL_PORT

3. install com2com ( to create virtual COM ports on your laptop in case you 
dont have )

4. qemu-system-x86_64.exe -bios OVMF.fd -serial COM1



On Sun, May 24, 2015 at 6:50 PM, Blibbet 
<blib...@gmail.com<mailto:blib...@gmail.com>> wrote:
> I want to know how to debug ovmf with QEMU + OVMF.
> I want to trace OVMF code flow. Who can give me some suggestion?

https://github.com/tianocore/tianocore.github.io/wiki/OVMF%20FAQ#How_do_I_enable_source_level_debugging_with_OVMF
https://github.com/tianocore/tianocore.github.io/wiki/EDK-II-Source-Level-Debug

https://github.com/tianocore/edk2/tree/master/OvmfPkg
https://github.com/tianocore/tianocore.github.io/wiki/How%20to%20build%20OVMF
https://github.com/tianocore/tianocore.github.io/wiki/How-to-run-OVMF

http://comments.gmane.org/gmane.comp.bios.tianocore.devel/6777
http://permalink.gmane.org/gmane.comp.bios.tianocore.devel/6856
http://comments.gmane.org/gmane.comp.bios.tianocore.devel/2529
http://permalink.gmane.org/gmane.comp.bios.tianocore.devel/6066

HTH

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/edk2-devel



--
Thanks
Neeraj

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to