You need a kernel aware JTAG debugger like Lauterbach. This will allow you to 
debug u-boot, kernel code, including all the drivers as they are loaded, etc. 
It is expensive, but it is the gold standard for kernel/driver debugging. 

TI have Code Composer Studio that will do some debugging of the kernel using a 
blackhawk JTAG adapter, but CCSV7 has several limitations as they no longer 
support kernel aware debugging (dropped after CCSV4). It is somewhat helpful 
and a lot less expensive ($99) than Lauterbach.

I hope this helps. 

Regards,
John




> On Jun 22, 2017, at 12:54 PM, mzimmers <[email protected]> wrote:
> 
> Hey, I'm open to any and all ideas. It seems so strange that I'm getting a 
> seg fault in the client code, though...that does make me suspicious of the 
> compiler version vs. the headers, etc.
> 
> How do people go about debugging kernel code, anyway? I gather that gdb isn't 
> much of an option. Do we just litter the code with printk statements like we 
> did when we were freshmen in college?
> 
> mz
> 
> On Thursday, June 22, 2017 at 1:01:20 PM UTC-6, William Hermans wrote:
> Yeah, ok, seemed like the obvious question to ask, but maybe too obvious ;)
> 
> -- 
> For more options, visit http://beagleboard.org/discuss 
> <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] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/beagleboard/f34faaa9-9be9-47a1-b5a7-9c502f47acb6%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/beagleboard/f34faaa9-9be9-47a1-b5a7-9c502f47acb6%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/603D3236-AC1E-4C73-9F49-C3608EE16541%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to