hi nvidia:
I open the config:
CONFIG_MAGIC_SYSRQ=y
CONFIG_KGDB=y
CONFIG_KGDB_SERIAL_CONSOLE=y
and:
root@xavier: echo ttyTCU0,115200 >/sys/module/kgdboc/parameters/kgdboc
root@xavier:/home/dji# echo -n g >/proc/sysrq-trigger
[ 216.839280] sysrq: SysRq : DEBUG
[ 216.839382] KGDB: Entering KGDB
PC:
- sudo prebuilts/gcc/kernel/gcc-linaro-6.4.1-2017.08-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-gdb out/KERNEL/vmlinux
2)、set serial baud 115200
3)、
(gdb) target remote /dev/ttyUSB3
Remote debugging using /dev/ttyUSB3
Ignoring packet error, continuing…
warning: unrecognized item “timeout” in “qSupported” response
Ignoring packet error, continuing…
Remote replied unexpectedly to ‘vMustReplyEmpty’: timeout
I want to know how to solve this timeout??