KGDB on Xavier NX platform

I was tryng to follow the guide
to enable KGDB for Xavier NX development board, but something goes wrong in the procedure.

  • The ttySO is not working but I found that on Xavier there is a ttyTCU0 (that, from what I see, it is linked to uart2 pins)
  • I add the strings “kgdboc=ttyTCU0,115200 kgdbwait” to boot config
  • I compiled the Kernel with KGDB and disabling WATCHDOG
  • I connected a serial converter on uart2 pins (J14)

What I’m facing is that:

  • Kernel never stops on console, it reaches the login without kdb console prompt
  • If I force the kdb with “echo ttyTCU0,115200 > /sys/module/kgdboc/parameters/kgdboc” from an ssh console, I see that on serial console appears “kdb>” but I can’t do anything else (the system is stopped)
  • If I remove from ext config “kgdboc=ttyTCU0,115200 kgdbwait” and put the string “echo ttyTCU0,115200 > /sys/module/kgdboc/parameters/kgdboc”, the system let me to insert also “echo -n g > /proc/sysrq-trigger” but after that all is stopped.
  • How to use kgdb on Xavier?
  • What is the difference between ttyS0 and ttyTCU0?

Thanks for the help

Did you work on r32.7.1?

The document tell support TX2 only.

Applies to: Jetson TX2 series devices only

Ok my mistake, I though that was referred to all.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.