LWN.net Logo

The dynamic debugging interface

The dynamic debugging interface

Posted Mar 28, 2011 2:15 UTC (Mon) by jcm (subscriber, #18262)
Parent article: The dynamic debugging interface

Random tangent related to debugging. I was writing the latest LKML podcast and noticed the lack of docs on USB target debug. Perhaps you'd like to write about that too, sometime, Jon?

For example, using this cable:

http://www.semiconductorstore.com/cart/pc/viewPrd.asp?idp...

It's possible to do target-target debug with USB DebugPort for $89. Andi Kleen and Mark Lord put me onto this, but I'm sure many others don't know how easy it is to debug e.g. laptops this way.

Just thought I'd mention it.


(Log in to post comments)

The dynamic debugging interface

Posted Apr 5, 2011 19:04 UTC (Tue) by jwessel (guest, #63702) [Link]

Speaking as the person who re-wrote the majority of ehci debug port code, what further documentation are you interested in?

It does appear we might be missing an addendum to the documentation to explain about all the different uses of the USB debug port dongle. In recent kernels you can use a USB debug port for early_printk, kdb, kgdb, or even a system level serial console, which has support for sysrq. There is a mention of the configuration arguments in the kernel-parameters.txt, but that doesn't cover anything about the useful ways to use the device.

The document in the kernel which describes the device definitely doesn't seem to elaborate on all that you can do with the device.

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-...

Jason.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds