On 09/16/13 23:42, Andrew Fish wrote:
> 
> On Sep 16, 2013, at 1:16 PM, Laszlo Ersek <ler...@redhat.com> wrote:
> 
>> On 09/16/13 21:50, Andrew Fish wrote:
>>
>>> OVMF:
>>> Limitations: Requires QEMU, serial port debugging (not well
>>> documented), more complex setup.
>>
>> I agree that the setup is complex.
>>
>> Regarding serial port debugging... Could you suggest how / where to
>> improve the documentation? "OvmfPkg/README" says
>>
> 
> Maybe a discussion in the OVMF FAQ would be useful.
> http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=OVMF_FAQ.
> Unfortunately I've not had the time to invest in trying to get OVFM
> working on a Mac, so I'm not really speaking with first hand
> knowledge about OVMF.

Several OVMF pages in the TianoCore wiki are somewhat outdated, but I
have no permission to edit them. I agree that a discussion would be
needed first; see eg.
<http://thread.gmane.org/gmane.comp.bios.tianocore.devel/3308/focus=3317>.

> I found the instructions on how to enable source level debugging to
> be an "exercise left to the reader", at best.
> http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=EDK2/Source_Level_Debug.
> It seems like source level debugging answer is build with symbols,
> and configure a virtual COM port.

I actually tried to set that up in April this year, between two virtual
machines. I installed "UDK_Debugger_Tool_v1_3_x86_64.bin" in one, and
tried to debug OVMF running in the other with it.

IIRC I spent days trying to get it to work, but I failed ultimately. The
two sides could never really communicate with each other -- maybe it was
caused by buggy serial / chardev emulation in then-current RHEL-6
qemu-kvm. I wrote it all up in:

http://thread.gmane.org/gmane.comp.bios.tianocore.devel/2585/focus=2598

The first part of that email could be copied as some kind of
step-by-step guide into the wiki. If it had actually worked.

> I was thinking more about source level debugging. With an Application
> (EmulatorPkg) you can use Xcode, Visual Studio, Eclipse, or some
> other IDE and since you are a process you can almost always break in,
> you fault on errors, etc....

I agree that source level debugging would be very useful. Maybe I should
give it another try sometime, with more recent qemu versions (having
better / more reliable serial emulation).

Thanks!
Laszlo

------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to