Skip to content

Cart

Your cart is empty

Custom Image Backup Procedure for JetPack-5.x

WHAT YOU WILL LEARN?

1- How to get backup image from Jetson module



ENVIRONMENT

Compatible Hardware: DSBOARD-ORNX, ORNX-LAN & ORNXS

Compatible OS: JetPack-5.x

In this blog post, we will clone a Jetson Orin NX module. First, we will put the it in Recovery Mode. Then, we clone the file system on NVME SSD.


Attention: This guide is compatible for Jetson Orin Nano modules as well.

Getting the Backup Image from Jetson Module

After the JetPack installation has completed from our one of the installation guides, you can use the "Linux_for_Tegra" folder generated by the NVIDIA SDK Manager to get the backup image and restore it.

To get the backup image for Orin NX (or Orin Nano), there are some modifications on the script files. Firstly, we need to download the correct patch file.

For JetPack-5.1.1, run this command below:

wget -O orin_backup_restore.patch -c https://github.com/forecr/forecr_blog_files/raw/master/patch_files/orin_backup_restore_JP511.patch

For JetPack-5.1.2, run this command below:

wget -O orin_backup_restore.patch -c https://github.com/forecr/forecr_blog_files/raw/master/patch_files/orin_backup_restore_JP512.patch

For JetPack-5.1.3, run this command below:

wget -O orin_backup_restore.patch -c https://github.com/forecr/forecr_blog_files/raw/master/patch_files/orin_backup_restore_JP513.patch

For JetPack-5.1.4, run this command below:

wget -O orin_backup_restore.patch -c https://github.com/forecr/forecr_blog_files/raw/master/patch_files/orin_backup_restore_JP514.patch


Then, open a terminal from the "Linux_for_Tegra" folder and type the following commands below:

chmod +x orin_backup_restore.patch
sudo patch -p1 -i orin_backup_restore.patch


Then, set the Jetson in recovery mode and connect it to the host PC. Afterwards, type "lsusb" and check the device connected in Recovery mode.
• "0955:7323 NVidia Corp." for Orin NX 16GB
• "0955:7423 NVidia Corp." for Orin NX 8GB
• "0955:7523 NVidia Corp." for Orin Nano 8GB
• "0955:7623 NVidia Corp." for Orin Nano 4GB


lsusb


For JetPack-5.1.1, create the backup image with this command below:


sudo ./tools/backup_restore/l4t_backup_restore.sh -b jetson-orin-nano-devkit


For JetPack-5.1.2 or later, create the backup image with this command below:


sudo ./tools/backup_restore/l4t_backup_restore.sh -e nvme0n1 -b jetson-orin-nano-devkit


A few seconds later, the script file will start the backup process.


At the end of the clone command, the backup images for each partition was created and the system is ready to restore to another Jetson module.

Finally, save the tools/backup_restore folder in an archive file to share the backup image.


Thank you for reading our blog post.