Download UDK Debugger tools to setup source debugger environment per the software and document from the following link.
http://firmware.intel.com/develop/intel-uefi-tools-and-utilities/intel-uefi-development-kit-debugger-tool#overlay-context=develop
From: lidonglin [mailto:***@huawei.com]
Sent: Monday, May 25, 2015 11:31 AM
To: edk2-***@lists.sourceforge.net
Subject: Re: [edk2] Qestion about how to debug OVMF on QEMU
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:***@gmail.com]
Sent: 2015幎5æ25æ¥ 10:42
To: edk2-***@lists.sourceforge.net<mailto:edk2-***@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
Post by lidonglinI 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-***@lists.sourceforge.net<mailto:edk2-***@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/edk2-devel
--
Thanks
Neeraj