Hi,
I have a Orin NX 16Gb board with Jetpack 6.2.1. I have developed an application in it, and it works perfectly . NOw this is my master orin. Now i need to take a backup of this entire orin along with the SSD it boots with, and then restore it on hundreds of new Orin NX 16Gb boards. The restored orin should be a clone of my master orin and contain the application so the new boards can be plugged into product.
Please help me in taking a backup image of the master orin and then do a massflash to restore it on 10 devices at a time.
Given below is the flashing command i use for my master orin Nx board.
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_t234_nvme.xml -p “-c bootloader/generic/cfg/flash_t234_qspi.xml” --showlogs --network usb0 p3509-a02-p3767-0000 internal
Hi,
Please refer to Flashing Support — NVIDIA Jetson Linux Developer Guide
Workflow 3: To massflash the backup image
Thanks
Hi David,
I already referred to that , but it doesn’t clearly say how to backup nvme+qspi BSP of the master orin Nx and then mass flash the backedup image to restore on multiple devices.
There is a lack of clear instructions.
Please help me by giving me the backup restore commands for my requested workflow.
Hi,
Please refer to below commands
sudo ./tools/backup_restore/l4t_backup_restore.sh -b -e nvme0n1 -c jetson-orin-nano-devkit
Thanks
Hi David,
I’m clear about the part of taking the backup.
I’m more concerned with the Massflash restoration of the backed up image. Where the below command is how i usually flash my orin on a p3509 board.
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_t234_nvme.xml -p “-c bootloader/generic/cfg/flash_t234_qspi.xml” --showlogs --network usb0 p3509-a02-p3767-0000 internal
SO please help me out with the mass restoration commands.
Hi David ,
I took the backup of my master orin using the command “sudo ./tools/backup_restore/l4t_backup_restore.sh -b -e nvme0n1 -c jetson-orin-nano-devkit” , Then i restored this backed up image on a new orin dev kit using the command “sudo ./tools/backup_restore/l4t_backup_restore.sh -e nvme0n1 -r jetson-orin-nano-devkit”.
The image is succesfully restored on the new devkit.
Now for massflashing, I understand that i need to generate the mass flash package. I generated the mass flash package using the command.
“sudo ./tools/kernel_flash/l4t_initrd_flash.sh --use-backup-image --no-flash --network usb0 --massflash 5 jetson-orin-nano-devkit internal”
Then i tried to mass flash to two devices using the command :-" sudo ./tools/kernel_flash/l4t_initrd_flash.sh --flash-only --massflash 2 --network usb0"
It sucessfully massflashes the two boards. But when i reeboot them and login , it has flashed the base jetpack image and not my backed up image.
I checked the massflash generated image and tarball, it didnt use the backedup image at all. " The --use-backup-image" option is not working.
Please help me fix this issue so i can massflash backeded up images on new orin devkits.
Please note that all the Orin nx devkits i am using are the same versions and the ssd are also the same sizes.
Hi,
Do you have flashing logs and serial console log about sudo ./tools/kernel_flash/l4t_initrd_flash.sh --use-backup-image --no-flash --network usb0 --massflash 5 jetson-orin-nano-devkit internal?
If have, please provide for us to review.
Also please make sure device in recovery mode before run this command.
Thanks
Hi David ,
When I ran “sudo ./tools/backup_restore/l4t_backup_restore.sh -b -e nvme0n1 -c jetson-orin-nano-devkit” and then “sudo ./tools/kernel_flash/l4t_initrd_flash.sh --use-backup-image --no-flash --network usb0 --massflash 5 jetson-orin-nano-devkit internal”, the backup image was not converted to massflash , so the massflash step flashed the base nvidia jetpack.
But when i ran “sudo ./tools/backup_restore/l4t_backup_restore.sh -b -c jetson-orin-nano-devkit” and then generated the massflash image and then flashed the Orins, I could login to them and see that it has indeed flashed my backup image.
Now what difference did “sudo ./tools/backup_restore/l4t_backup_restore.sh -b -e nvme0n1 -c jetson-orin-nano-devkit” make to have the mass restoration successfully?
since there is no internal memory in the Orin, we always have to use it with SSD right?
Now what is the correct way and commands to do this process?
Hi David,
I forgot to mention about something. when i run the mass flash on 5 Orin devkits, only 2 or 3 boards are getting flashed and booting. The terminal says flash complete(WITH FAILURES). i am using the same module, carrier board and SSD configuration on all boards. All of them are new items freshly taken out of the box.
Please analyse the log attached below and let me know how to fix this issue.
flash_1-8.2_4_20260123-131122.log (21.4 KB)
Hi,
We recommend recording the serial console log as shown in the demonstration video for further review.
Thanks
Hi David,
I checked the Serial Logs, and found out that there was an issue with the SSD,. Post changing that the mass flash worked successfully and all 5 boards are booting with the backedup Image.
But still after flashing , the terminal log says "Flashing Complete(WITH FAILURES)
why is that so ?
Now how do i the same mass restoration with Secure Boot enabled?
Hi,
Please provide the flashing log and serial log so we could review further.
Thanks