Hi,
I am trying to use KGDB with RDK, but I find no option of CONFIG_KGDB_ETH, is it missing from kernel, and I should patch it by myelf ?
Thanks,
Ran
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 Ran,
You can search internet and you would get lot of patches for this and try to patch into your kernel.
http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/99/p/7242/28312.aspx
http://processors.wiki.ti.com/index.php/Debugging_on_DaVinci_using_kgdb
Hi Titus,
I searched the internet....
I did not find patch for 2.6.37. Do you know maybe where I can find it ?
I also don't understand why the git in SDK does not contain ethernet support if the explanation in the link
http://processors.wiki.ti.com/index.php/Debugging_on_DaVinci_using_kgdb used the ethernet for the debugging.
Anyway, If it is not founded, I thought of using the existing kgdb from SDK, which supports serial.
But When trying to do I get the following error:
root@dm814x:~# echo ttyS0 > /sys/module/kgdboc/parameters/kgdboc
kgdb: Registered I/O driver kgdboc.
root@dm814x:~# echo g > /proc/sysrq-trigger
SysRq : DEBUG
Entering KGDB
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c4368000
Is there any way I can use TI's SDK with kgdb (serial/ethernet any option that works will be OK) ? It is most essential.
Thanks for any idea,
Ran
Hi Ran,
Have you tried anytime with "gdbserver ?
Please refer the following TI wiki.
http://processors.wiki.ti.com/index.php/Debugging_remotely_on_DaVinci_using_gdb