[meta-xilinx] [linux-xlnx] kgdboc and kgdbwait don't work

Adrian Fiergolski Adrian.Fiergolski at cern.ch
Wed Jan 18 10:38:50 PST 2017


Hi,

My machine is zc706-zynq7 and I work with morty.

I have compiled kernel with DEBUG support:

# CONFIG_SERIAL_KGDB_NMI is not set
CONFIG_CONSOLE_POLL=y
CONFIG_DEBUG_INFO=y
# CONFIG_DEBUG_INFO_REDUCED is not set
# CONFIG_DEBUG_INFO_SPLIT is not set
# CONFIG_DEBUG_INFO_DWARF4 is not set
CONFIG_GDB_SCRIPTS=y
CONFIG_MAGIC_SYSRQ=y
CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x1
CONFIG_KGDB=y
CONFIG_KGDB_SERIAL_CONSOLE=y
# CONFIG_KGDB_TESTS is not set
# CONFIG_KGDB_KDB is not set

I boot kernel with the following options:

[    0.000000] Kernel command line: root=/dev/mmcblk0p2 rw rootwait
kgdboc=ttyPS0,115200 kgdbwait

However, the kernel booting process doesn't stop. Moreover, after boot,
I can find that kgdboc has not been set actually:

root at caribou:~# cat /sys/module/kgdboc/parameters/kgdboc

returns nothing.

Has anybody tried it ?

Regards,
Adrian





More information about the meta-xilinx mailing list