I use the 35.3.1 for jetson orin nx 16GB, the ROOTFS_AB works well.
While I use 36.3.0, it fail to reboot when I remove the /usr/sbin/init /usr/bin/systemd to let the rootfs broken. The boot process will stop, and cannot reboot to retry boot rootfs_A.
The flash process is OK, and can boot successfuly to rootfs A.
When I test the ROOTFS_AB function, I remove the /lib to corrupt rootfs_A file system . Then reboot the device.
It hit kernel panic at boot up (due to filesystem corrupted) follow as Rootfs A/B redundancy fail-over mechanism in Jetpack5.1
But the device will keep the panic and canāt reboot automantical. So it canāt implement the 3 time retry and switch to rootfs_B.
After modifiy the watchdog@2190000 status from disable ā okay in tegra234-p3768-0000+p3767-0000-nv.dtb,
I check the /proc/device-tree/bus@0/watchdog@2190000/status is āokayā now.
But the panic still not reboot suceessful. The bug still exist!
need help! thanks
let me re-cap the error logs..
could you please also confirm that PARTUUID.
for instance,
is it already switch to slot-B, or, itās now still at slot-A?
[ 9.905103] EXT4-fs (nvme0n1p1): recovery complete
[ 9.905113] EXT4-fs (nvme0n1p1): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[ 9.910048] Rootfs mounted over PARTUUID=7aa20bb2-07e3-453b-a9f1-90199df2f0f3
[ 9.917483] Switching from initrd to actual rootfs
anyways, did you put the device there for a while?
since it should have WDT timeout and then trigger a software reset.
hi @JerryChang
It still on the slot-A,
I let the device run here for 15-minutes at least, and not reboot.
How can I check the PARTUUID? please give me a hand, Thanks
patching file drivers/clocksource/timer-tegra186.c
Hunk #3 FAILED at 178.
Hunk #4 succeeded at 220 (offset 1 line).
Hunk #5 succeeded at 320 (offset 1 line).
Hunk #6 succeeded at 346 (offset 1 line).
Hunk #7 FAILED at 432.
2 out of 7 hunks FAILED -- saving rejects to file drivers/clocksource/timer-tegra186.c.rej
did you use the kernel source as:
https://docs.nvidia.com/jetson/archives/r36.3/DeveloperGuide/SD/Kernel/KernelCustomization.html#building-the-jetson-linux-kernel
To Manually Download and Expand the Kernel Sourcesļ
In your browser, go to https://developer.nvidia.com/embedded/jetson-linux-archive.
Locate and download the Jetson Linux source files for your release.
Extract the .tbz2 file:
please tell me which tag you are using for r36.3.0, and maybe you can try the steps same time as