Andrew,
Thanks, I was able to get it configured on NT32's setup in Boot Maintenance
Manager->Console options and it prints purple output to the console
screens. Doing the same thing on the tunnelmountain box and setting the
"Console Standard Error Device Select" to the serial port options yielded
no output to the debugger. I am wondering if this is because the debugger
is already attached over the serial port UDK source debug ROM and the
standard error device cannot be set to this because of a conflict. Any
ideas on how to work around this and get standard error in this scenario?
On Thu, Jan 3, 2013 at 5:35 PM, Andrew Fish <[email protected]> wrote:
>
> On Jan 3, 2013, at 3:15 PM, cruxpot <[email protected]> wrote:
>
> > 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.
> >
>
> The UEFI spec only speaks on what to do if the variables are set, not on
> the platform policy on setting ,or configuring, variables. The shell has a
> 'dmpstore' command that you can use to see how the variables are
> configured. The 'bcfg' shell command allows configuration of the driver and
> boot variables, but I can't remember a command that does the same for
> console variables.
>
> Your best bet is to look at the system setup screens and see if there is
> an option to configure this?
>
> Thanks,
>
> Andrew
>
> > 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
>
>
>
> ------------------------------------------------------------------------------
> 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
>
------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel