3 Replies Latest reply on Nov 9, 2014 11:49 PM by 100dharani

    kgdbwait parameter is not waiting while booting the board

    100dharani

      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.

      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 while booting the board.

      Thanks & Regards,
      Dharani.R