Skip to content

Cart

Your cart is empty

Custom Image Backup Procedure for JetPack-6.x

WHAT YOU WILL LEARN?

1- How to get backup image from Jetson module


ENVIRONMENT

Hardware: DSBOARD-ORNX

OS: JetPack-6.x

In this blog post, we will clone a Jetson Orin NX module. First, wewill put the it in Recovery Mode. Then, we clone the file system onNVME 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-6.0, 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_JP60.patch

For JetPack-6.1, you won't need a patch file to download. You can directly continue from the backup image creating part below.

For JetPack-6.2, you won't need a patch file to download. You can directly continue from the backup image creating part below.


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

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


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.