Yout can use NVIDIA® Jetson™ RTRACE to determine what register access happened before a reset or panic. With RTRACE, kernel traces trigger read/write calls into a persistent register trace buffer that can be decoded and dumped after reboot, using the pstore file system. RTRACE does not require ramdump. It prints parsed output from the device directly.
To enable RTRACE
1. this setting to the kernel configuration:
CONFIG_PSTORE_RTRACE=y
2. Add this setting to start RTRACE automatically:
CONFIG_PSTORE_RTRACE_ENABLE_AT_STARTUP=y
To start and stop RTRACE
• To start RTRACE, enter the command:
$ echo 1 > /sys/kernel/debug/pstore/record_rtrace
To stop RTRACE, enter the command:
$ echo 0 > /sys/kernel/debug/pstore/record_rtrace
Locating RTRACE Output
Output from RTRACE is available after reboot in the following file on the device: