Hi,
I am working on AM1808 processor, there is a problem while booting and i want to know is there any way to debug the linux kernel step by step.
Please give me any suggestions.
Thank You.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
I am working on AM1808 processor, there is a problem while booting and i want to know is there any way to debug the linux kernel step by step.
Please give me any suggestions.
Thank You.
There should be ttyo0 on UART0. You can use it to receive messages from bootloaders and kernel.
You can probably use XDS emulator and Sitara JTAG.
Regards,
Maciej
Hi MaciejKucia,
Thanks for the reply,
As you said i can able to see messages from bootloaders and kernel on UART.
By using JTAG i can able to do step by step debugging of UBL code.
Now i want to know how to debug Kernel step by step by step just like a simple application program. The hole execution should be under control like putting break points and observing the register values at that instance.
Thank you
Sreenivas
You can use GDB to do that. Furthermore you can use CCS! http://processors.wiki.ti.com/index.php/Linux_Debug_in_CCSv5
Regards,
Maciej
Hi MaciejKucia,
Thanks for your reply, but i dont want to debug a particular program in linux, i want to debug total linux kernel right from the begging, is there any way to to that.
Thanks and regards
Sreenivas
There is a plenty of information on kernel degugging in CCS available on the internet.
Sample E2E thread: http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/114583.aspx
Regards,
Maciej