Hello everyone,
I have custom carrier board which trying to mass clone, restore to one device are working fine, but with 500+ will be hell, so I trying to use workflow #3 from initrd README
First step make a backup from prepared device, success
./tools/backup_restore/l4t_backup_restore.sh -b -c p3509-a02+p3767-0000
Seconds step, create package for mass flashing, in guide last argument are mmcblk0p1
but I have only nvme inside so I replace it with nvme0n1
, success
./tools/kernel_flash/l4t_initrd_flash.sh --use-backup-image --no-flash --network usb0 --massflash 10 p3509-a02+p3767-0000
Third step, crashed after device rebooted for SSH commands, I dont fully understand why its trying to create GPT for emmc, which I dont have one, tried even manually removed it from scripts ( there was horrible things will happen if I do this ) failed
Attempts to add external device param dont do anything
./tools/kernel_flash/l4t_initrd_flash.sh --flash-only --massflash 10 --network usb0
Another variation of command and output
./tools/kernel_flash/l4t_initrd_flash.sh --flash-only --massflash 2 --network usb0 --external-device nvme0n1p1 -c ./tools/kernel_flash/flash_l4t_external.xml p3509-a02+p3767-0000 nvme0n1p1
.../JetPack_5.1.1_Linux_JETSON_ORIN_NANO_TARGETS/Linux_for_Tegra/tools/kernel_flash/l4t_initrd_flash_internal.sh --network usb0 --usb-instance 3-5.2 --device-instance 0 --flash-only --network usb0 p3509-a02+p3767-0000 nvme0n1
Start flashing device: 3-5.2, rcm instance: 0, PID: 52248
Log will be saved to Linux_for_Tegra/initrdlog/flash_3-5.2_0_20240124-125026.log
.../JetPack_5.1.1_Linux_JETSON_ORIN_NANO_TARGETS/Linux_for_Tegra/tools/kernel_flash/l4t_initrd_flash_internal.sh --network usb0 --usb-instance 3-13 --device-instance 1 --flash-only --network usb0 p3509-a02+p3767-0000 nvme0n1
Start flashing device: 3-13, rcm instance: 1, PID: 52249
Log will be saved to Linux_for_Tegra/initrdlog/flash_3-13_1_20240124-125026.log
Ongoing processes: 52248 52249
Ongoing processes: 52248 52249
Ongoing processes: 52248 52249
Ongoing processes: 52248 52249
Ongoing processes: 49879 49881
Ongoing processes: 49879 49881
Ongoing processes: 49879 49881
Ongoing processes: 49879 49881
Ongoing processes: 49879 49881
Ongoing processes: 49879 49881
Ongoing processes: 49879 49881
Ongoing processes: 49879 49881
Ongoing processes: 49879 49881
Ongoing processes:
Flash complete (WITH FAILURES)
***************************************
* *
* Step 3: Start the flashing process *
* *
***************************************
Waiting for target to boot-up...
<removed duplications>
Waiting for target to boot-up...
Waiting for device to expose ssh ......RTNETLINK answers: File exists
RTNETLINK answers: File exists
Waiting for device to expose ssh ...Run command: flash on fc00:1:1:1::2
SSH ready
blockdev: cannot open /dev/mmcblk0boot0: No such file or directory
[ 0]: l4t_flash_from_kernel: Starting to create gpt for emmc
Active index file is /mnt/internal/flash.idx
Number of lines is 17
max_index=16
writing item=1, 1:3:primary_gpt,0,20480,gptmbr.img,20480,fixed-<reserved>-0,5efbf594a175ca3dc7abcde2a6d8c0d9b9e895f0
Error: Could not stat device /dev/mmcblk0 - No such file or directory.
Flash failure
Cleaning up...
Tried different commands from this topic
Nothing works, still the same error