JetPack 6.0 and 5.1.3 Fast flash

Hello!
I’m trying to create a script called “fast flash” that flash and restore all my data from another Jetson.
I’m currently using backup-restore scripts and it was very useful when I was using JP 5.1 on Xavier NX, I had a working script that flashing and restoring all the data for every flash I did
I’m looking to do it on the Orin NX as well but I am experiencing problems that you may be able to help me with.

First of all, the first step include a manual flash using ./flash.sh script or ./l4t_initrd_flash.sh when having the config files, now I have only succeed with SDK Manager to flash the Orin NX, can you provide me a ./flash.sh command to try a manual flash for both JetPack 6.0 and 5.1.3

There is any chance to flash a Jetson using the backup-restore images? I tried to do it but the boot directory didn’t has all the config files and the Jetson couldn’t boot

Adding my custom script for those who looking to flash their Jetson’s fast with backup restore files

P.S
That’s the first time using Orin NX, glad to upgrade the firmware
The carrier board is a custom carrier but working with the OEM BSP of the Orin NX, as mention before I’m using SDK Manager to flash this carrier

Best regards!

flash+backuprestore.txt (1.7 KB)

Hi BanjoS,

Are you using the devkit or custom board for Orin NX?

Are you trying to flash into external NVMe SSD connected on your board?
If so, please try running the following command to flash your board with JP5.1.3.

$ sudo ADDITIONAL_DTB_OVERLAY_OPT="BootOrderNvme.dtbo" ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_t234_nvme.xml -p "-c bootloader/t186ref/cfg/flash_t234_qspi.xml" --showlogs --network usb0 jetson-orin-nano-devkit internal

I want to flash a devkit Orin that support Nvidia OEM BSP (regular flashing)
to this process I want to add the restore the data i have backed up using backup_restore scripts

I want to flash into NVMe

JP 6.0 is more critical for me now, please let me know if you have something like it
Thanks!

Sorry that I get confused about what are you using. You said that you are using a custom carrier board here.

But you are trying to flash the devkit board?

To flash JP6.0 to NVMe, please use the following command instead.

$ sudo ADDITIONAL_DTB_OVERLAY_OPT="BootOrderNvme.dtbo" ./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 jetson-orin-nano-devkit internal

The carrier board is a custom board BUT! it uses the exact same BSP files for flashing
Hope it answered your question, I’ll try to flash manually and will update soon

Thank you!

If you custom board has the exact same design as the devkit, then you can use official BSP package.
But if you have any (slight) custom design, you may also modify the BSP package to match your design.

I would like to know if there’s also the issue on the devkit so that we can debug the issue more efficient.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.