How to Debug Linux Kernel & U-boot Using Segger J-Link Ultra +

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to Debug Linux Kernel & U-boot Using Segger J-Link Ultra +

1,651 Views
peteramond
Contributor V

Dear All,

I'm having kernel panics while loading Linux kernel and running some applications on Linux OS on my custom hardware design. This hardware is based on IMAX6Q processor and I need to encounter the problem which was generated using J-Tag debug port of my hardware. 

I could configure my hardware as target device and J-Link commander was detected my hardware as well.

Could you please guide me how to debug kernel and encounter the problem for this kernel panics using Jtag ? Any well documented steps for kernel debugging for custom hardware ?

Need information for Graphical IDE setup, using EClipse.

Regards,

Peter.

Labels (4)
1 Reply

1,082 Views
igorpadykov
NXP Employee
NXP Employee

Hi Peter

 

one can try using gdb and AN4553 Using Open Source Debugging Tools for

Linux on i.MX Processors
https://www.nxp.com/docs/en/application-note/AN4553.pdf 

About J-Link GDB Server | SEGGER - The Embedded Experts 

http://www.cs.tut.fi/~sulo/harjoitustyo/ymparisto/JLinkGDBServer.pdf 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------