Ray,

Great! That seems to have worked. I set the Standard Error Device to serial
again and telnetted to that port and see all kinds of good data. I now see
that I glanced over this in section 2.2.4 of the UDK Debugger Tool User
Manual.

I appreciate your assistance!


On Fri, Jan 4, 2013 at 1:30 AM, Ni, Ruiyu <[email protected]> wrote:

>  Have you tried to telnet to localhost:20715? Can you get any output in
> the telnet window?****
>
> ** **
>
> *From:* cruxpot [mailto:[email protected]]
> *Sent:* Friday, January 04, 2013 3:05 PM
>
> *To:* [email protected]
> *Subject:* Re: [edk2] serial port debugging and ErrOut****
>
> ** **
>
> Yes, I can debug with the intel debugger and set breakpoints but cannot
> get the standard error device to print anything to serial using debuglib.
> Maybe its because of the debug session?****
>
> On Jan 4, 2013 12:01 AM, "Ni, Ruiyu" <[email protected]> wrote:****
>
> Hi,****
>
> Are you able to debug (single step/go/break/…) the TunnelMountain in
> WinDbg?****
>
> è If no, then you might have incorrect configuration. Close the UDK
> Debugger (Exdi.exe & SoftDebugger.exe) and launch a hyper terminal to
> connect the Com port, check whether there is output in the hyper terminal.
> ****
>
>  ****
>
> è If yes, then launch the hyper terminal to telnet to localhost:20715
> because the UDK Debugger redirects the debug message to this TCP port. (yes
> your understanding is correct only one app can open the serial port that’s
> why the terminal redirection feature is required by the UDK Debugger.)****
>
>  ****
>
> Thanks,****
>
> Ray****
>
>  ****
>
> *From:* cruxpot [mailto:[email protected]]
> *Sent:* Friday, January 04, 2013 8:18 AM
> *To:* [email protected]
> *Subject:* Re: [edk2] serial port debugging and ErrOut****
>
>  ****
>
> 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****
>
>
> ------------------------------------------------------------------------------
> 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
>
>
------------------------------------------------------------------------------
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

Reply via email to