Messages in this thread | | | Date | Thu, 15 Jan 2004 00:36:58 -0800 | From | George Anzinger <> | Subject | Re: [discuss] Re: kgdb for x86_64 2.6 kernels |
| |
Andi Kleen wrote: > George Anzinger <george@mvista.com> writes: > > >>>Raw USB? Or some kind of USB to serial device? >>>Remember, USB needs interrupts to work, see the kdb patches for the >>>mess >>>that people have tried to go through to send usb data without interrupts >>>(doesn't really work...) >> >>I gave up on USB when I asked the following questions: > > > There is a special "USB debugport" specification available that allows > to drive USB very simply using PIO without too much set up. It should > be implemented in most chipsets by now because that other operating > system is using it. > > See e.g. http://www.usb.org/developers/presentations/pres0602/john_keys.pdf > > It works with a simple "debug dongle", that is identical to the > USB networking cables that are often sold cheaply. > > If you want to port kgdb to use USB I would use that. USB console > would also be very useful for debugging laptops and some systems > with no USB.
Now that is interesting. As I read it, the debug port is programed the same way in all the USB chips (given it exists at all). AND it is much easier to use. Anyone care to put together a polling driver that makes it look like RS232 on the host end given that we use a controller to controller cable?
-- George Anzinger george@mvista.com High-res-timers: http://sourceforge.net/projects/high-res-timers/ Preemption patch: http://www.kernel.org/pub/linux/kernel/people/rml
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |