lkml.org 
[lkml]   [2014]   [Aug]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Kernel Debugging Support
On Mon, 4 Aug 2014, Austin S Hemmelgarn wrote:

> On 2014-08-02 09:48, Alan Stern wrote:
> > On Sat, 2 Aug 2014, Nick Krause wrote:
> >
> >> Hey Sharp,
> >> After reading around seems people want support for usb debugging in
> >> kgdb or other usb based solutions.
> >> If you and the other developers are able to help me out a bit as I am
> >> new I can definitively write this
> >> area of kgdb support.
> >
> > Doesn't kgdb already support USB for debugging?
> >
> > Alan Stern
>
> AFAICT, on x86 it only supports using either a console capable serial
> port (so you could do that over USB if you have USB serial console
> support built-in, but most people I know don't compile that in, and in
> fact that is the only reason that i compile USB serial support in
> instead of making it a module), and an AT compatible keyboard with any
> console option.

What about with a USB debugging device (CONFIG_EARLY_PRINTK_DBGP)?
That's how debugging over USB is _supposed_ to be done.

> It would be really nice to have USB keyboard support in
> there so that you don't have to reboot with special options and extra
> hardware plugged in to get to the debugger, although doing something
> that supports more than just the HID boot protocol will probably be tricky.

Is there some reason why kgdb doesn't simply use the kernel's input
layer? If there is, that same reason probably prevents it from using
USB.

Alan Stern



\
 
 \ /
  Last update: 2014-08-04 17:01    [W:0.488 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site