Sai,

What do you do on DuetPkg to enable SourceLevelDebug? We didn't enable and test 
such use case. Do you see the connection of Windbg with target?

The exception is not printed by EDKII Duet, it's more like legacy bios.

Thanks
Feng

From: Saiprasad Chavali [mailto:s...@marvell.com]
Sent: Tuesday, May 12, 2015 07:38
To: Tian, Feng; 'edk2-devel@lists.sourceforge.net'
Subject: RE: [edk2] Question about WinDbg Support--

Hi Feng,

Need some help, as USB->SerialAdapter is not an option, I replaced with a 
proper serial port, now I am having issues with Windbg on "DuetpkgIa32.dsc" FV 
image?

Looks like I am getting a CPU exception? Not sure what is wrong?

Your help is so much appreciated

Thanks
Sai

Access violation - code c0000005 (first/second chance not available)

***** Target encountered an exception: Vector = 8, Error Code = 
be801426*********

eax=be7cdf68 ebx=be815368 ecx=00000000 edx=00000000 esi=b97ce000 edi=00000000
eip=00000010 esp=be7cdf54 ebp=80000000 iopl=0         nv up di pl nz na po nc
cs=0010  ss=0008  ds=0008  es=0008  fs=0008  gs=0008             efl=2ee00000
00000010 f1              ???


From: Saiprasad Chavali
Sent: Wednesday, May 06, 2015 6:52 PM
To: Tian, Feng; 
edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net>
Subject: RE: [edk2] Question about WinDbg Support-- Target with USB->Serial 
Adapter.

Thanks Feng, for the clarification.

Sai

From: Tian, Feng [mailto:feng.t...@intel.com]
Sent: Wednesday, May 06, 2015 6:20 PM
To: Saiprasad Chavali; 
edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net>
Cc: Tian, Feng
Subject: RE: [edk2] Question about WinDbg Support-- Target with USB->Serial 
Adapter.

Yes, the driver you saw is a UEFI driver and only for DXE phase. To enable this 
feature, you need develop a new DebugCommunicationLibFtdi library instance for 
SEC/PEI/DXE phase.

Thanks
Feng

From: Saiprasad Chavali [mailto:s...@marvell.com]
Sent: Thursday, May 7, 2015 8:56 AM
To: Tian, Feng; 
edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net>
Subject: RE: [edk2] Question about WinDbg Support-- Target with USB->Serial 
Adapter.

Hi Feng,

I have the Ftdi driver (optionrompackage) part of the image, unfortunately this 
will not get loaded during early DXE phase (OR) supports the debug agent lib 
right?

I believe the debug agent works with "debug communication lib usb" (or) "debug 
communication serial port", if not mistaken.

Thanks
Sai

From: Tian, Feng [mailto:feng.t...@intel.com]
Sent: Wednesday, May 06, 2015 5:42 PM
To: Saiprasad Chavali; 
edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net>
Cc: Tian, Feng
Subject: RE: [edk2] Question about WinDbg Support-- Target with USB->Serial 
Adapter.

Hi, Sai

We don't support this usage. Such usage model needs a Ftdi driver in Target 
BIOS.

Thanks
Feng

From: Saiprasad Chavali [mailto:s...@marvell.com]
Sent: Thursday, May 7, 2015 1:18 AM
To: edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net>; 
Tian, Feng
Subject: RE: [edk2] Question about WinDbg Support-- Target with USB->Serial 
Adapter.

Hi Tian,

The host is fine, how about the Target? The problem is with the Target the 
Laptops/pc no more serial ports, so using the USB adapter?


Thanks
Sai

From: Tian, Feng [mailto:feng.t...@intel.com]
Sent: Wednesday, May 06, 2015 1:33 AM
To: edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net>
Subject: Re: [edk2] Question about WinDbg Support-- Target with USB->Serial 
Adapter.

For Usb2Serial cable, we support the usage that the cable's usb end is 
connected with Host and the cable's serial end is connected with Target.

By this way, Host will identify a new COM port when connecting this cable like 
above. UDK Debugger will treat it as a real serial cable to access.

From: Saiprasad Chavali [mailto:s...@marvell.com]
Sent: Wednesday, May 06, 2015 04:40
To: 'edk2-devel@lists.sourceforge.net'
Subject: [edk2] Question about WinDbg Support-- Target with USB->Serial Adapter.

Hi,

Need small clarification, to connect to Host running WinDbg/UEFI debugger tool 
, do we have support for "USB->Serial Adapter" on Target ?

What I see "DebugCommunicationLibSerialPort" is hardcoded to 0x3F8 base 
address?  Unfortunately some of the DELL laptops, doesn't have serial port or 
usb debug ports? So wondering if we have support for USB->Serial adapter 
attached to "FtdiUsbSerialDriver".

Thanks for your quick response.
Sai

------------------------------------------------------------------------------
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-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to