Hi all,
I am trying to set up proper debugging with the EDK2 compiled
applications/drivers and have been unsuccessful. So far, I have only been
able to get UefiDebugLibConOut library to work and output DebugPrint
messages to the console.
However, I would prefer that they be sent to the serial console. I am using
a tunnel mountain UEFI debug system with the source level debug ROM and
have the DebugCommunicationLibSerialPort library turned on as per the
instructions. I am wondering if this conflicts with turning
on BaseSerialPortLib16550 and BaseDebugLibSerialPort for sending DebugPrint
messages to the attached Intel/WinDbg debugger. I was unable to get
DebugPrint to print anything.
My other problem is that error messages seem to go nowhere. I have read
that you are supposed to configure ErrOut and ErrOutDev variables or
somehow configure a standard error device but I can't find anything on how
to do this. How can I get these point to the console and/or a serial port?
ErrorPrint messages to do not appear at all and neither do any DebugPrint
messages when using UefiDebugLibStdErr. I had the same problem when running
in NT32.
I have been scouring the Internet for information on setting up proper
debugging and looking at ch. 31 of the UEFI driver writer guide. Maybe I
missed something.
Thanks,
Nick
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel