Error: /workshop/Linux_for_Tegra/bootloader/signed/flash.idx is not found
Error: failed to relocate images to /workshop/Linux_for_Tegra/tools/kernel_flash/images
Cleaning up...
Thanks for your reply.
Yes, I already follow workflow 5 of “Linux_for_Tegra/tools/kernel_flash/README_initrd_flash.txt”
You can find that I add ROOTFS_AB=1 to create internal and external, but it return error messages.
And I tried those commands you provided,
(1)sudo ROOTFS_AB=1 ./tools/kernel_flash/l4t_initrd_flash.sh --showlogs -p "-c bootloader/t186ref/cfg/flash_t234_qspi.xml" --no-flash --network usb0 jetson-orin-nano-devkit internal
There is no bootloader/t186ref/ folder
(2)sudo ROOTFS_AB=1 ./tools/kernel_flash/l4t_initrd_flash.sh --showlogs --no-flash --external-device nvme0n1p1 --external-only --append --network usb0 jetson-orin-nano-devkit external
Flashing external device requires -c option to specify device partition layout
(3)sudo ./tools/kernel_flash/l4t_initrd_flash.sh --showlogs --network usb0 --flash-only
I cannot try this because (1), (2) failed
Let’s skip ROOTFS_RETRY_COUNT_MAX setting since it’s by default as 3-trials.
Since JP-6 public release, the board name has changed to… $OUT/Linux_for_Tegra/bootloader/generic/
Upon system boot up, you may running below to confirm Rootfs-A/B slots are available.
for instance, $ sudo nvbootctrl -t rootfs dump-slots-info $ df -h
It works and I can use nvbootctrl to switch A/B slot, thank you.
I compared the difference between commands,
and found parameter “-S 50GiB” cause these error message:
Error: /workshop/Linux_for_Tegra/bootloader/signed/flash.idx is not found
Error: failed to relocate images to /workshop/Linux_for_Tegra/tools/kernel_flash/images
Cleaning up...
But it has “-S” in workflow 5 of “Linux_for_Tegra/tools/kernel_flash/README_initrd_flash.txt”
Do you know what happened here?
you should add EXT_NUM_SECTORS to generate images for external storage device.
here’s an example,
If your NVMe SSD is 128GiB
Set EXT_NUM_SECTORS=240000000 (about 114GiB) → smaller than NVMe actual size.
Set -S = 100GiB → bigger than APP size.