Hi ,
We are working on a development board which has come from APPRO with ipnc_rdk.3.0 .
I am trying to setup kgdb over serial console for the above board.
I tried the steps in following threads
http://e2e.ti.com/support/arm/sitara_arm/f/416/t/139434.aspx
http://e2e.ti.com/support/embedded/linux/f/354/p/132640/479435.aspx#479435
As mentioned on the above threads we applied a patch on drivers/serial/omap-serial.c .
Still we are facing the following issues.
1. Even if we give bootargs as kgdboc="tty0O, 115200" kgdbwait , target board is not waiting on booting for remote gdb connection.
2. After the target board is booted we followed the steps below.
On target side :
echo ttyO0 > /sys/module/kgdboc/parameters/kgdboc
echo g >/proc/sysrq-trigger
On PC side :
gdb ./vmlinux
set remotebaud 115200
target remote /dev/ttyS0
A few times, we are able to establish gdb connection between host to target, but we are not able to type any characters on target serial console.
Most times we are not even able to establish the connection and on host side we get gdb messages like
"Ignoring packet error, continuing.."
On the target console we get some garbage messages .
Is there any patches available to resolve these ?
Do we have patches for kgdb over ethernet ?