Hello Team,
I have a Jetson Orin NX (nvme128GB) with Jetpack 6.2. Its Rootfs A/B and Disk encryption enabled.
Below are the flashing commands that I used.
sudo ROOTFS_AB=1 ./tools/kernel_flash/l4t_initrd_flash.sh --showlogs -p "-c bootloader/generic/cfg/flash_t234_qspi.xml" --no-flash --network usb0 p3509-a02-p3767-0000 internal
sudo ROOTFS_AB=1 ROOTFS_ENC=1 ./tools/kernel_flash/l4t_initrd_flash.sh --showlogs --no-flash --external-device nvme0n1p1 -i ./sym2_t234.key -c ./tools/kernel_flash/flash_l4t_t234_nvme_rootfs_ab_enc.xml --external-only --append --network usb0 p3509-a02-p3767-0000 external
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --flash-only
After that, I wanted to update the rootfs only through OTA update. and generated the ota payload by this command here,
sudo -E ROOTFS_ENC=1 ROOTFS_AB=1 ./tools/ota_tools/version_upgrade/l4t_generate_ota_package.sh -r -i ./sym2_t234.key --external-device nvme0n1 p3509-a02-p3767-0000 R36-4
and ota update triggered by,
cd $WORKDIR/Linux_for_Tegra/tools/ota_tools/version_upgrade
sudo ./nv_ota_start.sh /ota/ota_payload_package.tar.gz
This process worked perfectly fine few times. However, now in some devices when I tried to make an rootfs update, it’s throwing failure.
.....
The recovery-dtb is already updated. Skip update process.
Updating recovery-dtb and recovery-dtb_alt partitions done
install_partition_with_alt /ota_work/external_device/images-R36-ToT esp
prerequisite_check esp
The /ota_work/external_device/images-R36-ToT/esp.img for partition esp is not found
Skip updating esp partition as no valid image is found
clean_up_boot_partition
update_rootfs /ota_work
update_rootfs_with_a_b_enabled /ota_work
update_rootfs_runtime /ota_work B external_device
Use rootfs updater: /ota_work/nv_ota_rootfs_updater.sh
get_unlocked_devnode /dev/nvme0n1p4 rootfs_part_devnode
Encrypted partition is unlocked at /dev/mapper/crypt_root_other
Failed to run "umount /mnt/crypt_root_other"
Failed to run "get_unlocked_devnode /dev/nvme0n1p4 rootfs_part_devnode"
Failed to run "update_rootfs_runtime /ota_work B external_device"
Failed to run "update_rootfs_with_a_b_enabled /ota_work"
Failed to run "update_rootfs /ota_work"
here is the full ota_log file.
ota_20250521-163036.log (7.5 KB)
Expecting your advice to solve this issue.
Thanks in advance :)