Hi,
I have enabled the KGDB for kernel debugging through serial in kernel config and passing the below arguments in kernel parameter, but kernel is not waiting for GDB to debug. I mean "kgdbwait" parameter is not working while booting the kernel.
Kernel arguments:
setenv bootargs console=ttyPS0,115200 kgdboc=ttyPS0,115200 kgdbwait root=/dev/nfs nfsroot=<NFS-server-ip>:/home/nfs-setup/rfs ip=::::zed:eth0:off rw earlyprintk
kernel configuaration:
CONFIG_HAVE_ARCH_KGDB=y
CONFIG_KGDB=y
CONFIG_KGDB_SERIAL_CONSOLE=y
# CONFIG_KGDB_TESTS is not set
# CONFIG_KGDB_KDB is not set
and
CONFIG_DEBUG_INFO=y
# CONFIG_DEBUG_INFO_REDUCED is not set
Please let me know how to enable the kgdb in zedboards to debug the kernel while booting the board.
Thanks & Regards,
Dharani.R