Disabling Watchdog for Kernel Debugging

Hi,

Is there a way to disable watchdog timer/reset on Jetson TX2? I was debugging the kernel module I have made and if I waited too long (ex. examining stack traces, symbols, registers), TX2 resets and this makes it almost impossible to debug my module. Any help is appreciated!

I tried to disable it by running the following command:

echo 1 > /sys/kernel/debug/30c0000.watchdog/disable_dbg_reset
echo 1 > /sys/kernel/debug/30c0000.watchdog/disable_por_reset

But this throws the following error:

-bash: echo: write error: Invalid argument

Try reference to below to implement user space APP for it.
Or disable the kernel config to rebuild the kernel.

Thanks

Try reference to below to implement user space APP for it.

  • Can you link to a reference for me to see?

disable the kernel config to rebuild the kernel

  • Completely disabling it makes the debugger not working…

Have a check below topic.

I already removed CONFIG_WATCHDOG_NOWAYOUT from my kernel config but the device still resets itself if you sit in the debugger for a long duration…

Write the APP to disable the WDT by IOCTL.

Thanks

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