We’re having trouble getting the l4t_initrd_flash.sh
script to work correctly on our nvme SSD. When we flash it using the ROOTFS_AB=1
option and the appropriate XML file flash_l4t_nvme_rootfs_ab.xml
it works as expected.
However I’d like to be able to work with it using a non-A/B approach instead. If I remove the ROOTFS_AB
option and use flash_l4t_nvme.xml
I get this error:
Error: Return value 4
Command tegraparser_v2 --generategpt --pt flash.xml.bin
Error: /home/zik/mtdata/flash_ssd/img/0.1.38/bootloader/signed/flash.idx is not found
Error: failed to relocate images to /home/zik/mtdata/flash_ssd/img/0.1.38/tools/kernel_flash/images
I’m not sure why this error is occurring when using the non-A/B approach when the A/B approach is working fine.
The command I’m using is:
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1 -S 40GiB --showlogs -c ./tools/kernel_flash/flash_l4t_nvme.xml jetson-xavier-nx-devkit-tx2-nx external
We’re using JetPack 4.6.3.
Any suggestions?