Hi,
unfortunately, I could not use my backup images to massflash my other Jetsons. :(
So, at the moment, I took a different approach of using customized ROOTFS (by copying a rootfs from a working Jetson). This way, both of my test devices are successfully booting and reflecting my customization’s at both Root A/B partition.
However, I ended up having an issue of OTA update which is my another goal to achieve.
While generating the massflash image, I used generic-passphrase.
Here is this command:
sudo ROOTFS_AB=1 ROOTFS_ENC=1 ./tools/kernel_flash/l4t_initrd_flash.sh --showlogs --no-flash --external-device nvme0n1p1 -i ./sym2_t234.key ``-p "--generic-passphrase"`` --massflash 2 -c ./tools/kernel_flash/flash_l4t_t234_nvme_rootfs_ab_enc.xml --external-only --append --network usb0 p3509-a02-p3767-0000 external
and the same way, I have included the disk encryption key while generating OTA payload package,
sudo -E ROOTFS_ENC=1 ROOTFS_AB=1 ./tools/ota_tools/version_upgrade/l4t_generate_ota_package.sh -s -r -i ./sym2_t234.key --external-device nvme0n1 p3509-a02-p3767-0000 R36-4
The ota payload generation was successful, but when I trigger the ota update process it got failed.
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/nvme0n1p3 rootfs_part_devnode"
Failed to run "update_rootfs_runtime /ota_work A external_device"
Failed to run "update_rootfs_with_a_b_enabled /ota_work"
Failed to run "update_rootfs /ota_work"
here is the full log:
ota_20250520-112330.log (7.7 KB)
So, wanted to know if i use generic-passphrase, is it possible to create a common ota payload that includes the disk encryption key to update my device?
Expecting your kind help.
Thanks in advance.