https://www.google.com/search?q=how+to+debug+linux+kernel+modules
Just like you would on any platform. On Thu, Mar 17, 2016 at 8:46 PM, John Syne <[email protected]> wrote: > To debug kernel modules with JTAG, you have to have a debugger which is > kernel aware like Lauterbach. If you don’t want to use JTAG, then use > printk or dev-dbg, dev-err, etc. You can also use ftrace, which requires > you to build your own kernel and add support for the various ftrace > features. Read kernel docs under documentation/trace/ftrace.txt to learn > more. > > Regards, > John > > > > > On Mar 17, 2016, at 7:49 PM, [email protected] wrote: > > I have a question about the beaglebone black. How am suppose to debug with > it? I really would prefer not to have to solder a JTAG header. Also the > JTAG header would be under the board which is really inconvenient. The case > that came with my board also has no room for the JTAG header so it would > basically render the case useless. I know it has a serial debug header but > how could I debug with it? I want to debug kernel modules. > > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > > > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
