How to clone Orin NX APP partition to host PC


I’m using Orin NX 16GB with JetPack 5.1. I’d like to clone the APP partition to my PC.

I tried using, so I executed:

sudo ./ -r -k APP -G clone.img p3509-a02+p3767-0000 nvme0n1p1

But it stuck at

[ 8.7803 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet

and never proceed on.

Then I tried the method in

I entered:

sudo ./tools/backup_restore/ -b p3509-a02+p3767-0000

and it gave me this error:

fdisk: cannot open /dev/mmcblk0: No such file or directory

So I guess that both these tools are designed for EMMC devices? Is there any approach to clone an NVMe drive?

The logs are uploaded.

clone.txt (61.5 KB)
backup.txt (79.3 KB)

Can I modify some of the scripts to make these two methods work for NVMe?

Hi user49922,

Sorry, there is currently no official way of the clone and restore feature for NVMe drive.
It’s only available for internal storage.

We will feedback this feature request to internal team.
I would let you know if there’s any available approach.

1 Like

Yeah you can modify and to make it work for NVMe SSD. works by recovery boot the device to a initial ramdisk, which can communicate with the host via SSH. The host basically runs to backup images and to restore those image though SSH and NFS. You can start with modifying those script by replacing all mmcblk0 reference with nvme0n1

1 Like

Thanks for replying. I followed your advice and it seems to work fine. I’ve got nvme0n1p1.tar.gz under Linux_for_Tegra/tools/backup_restore/images now.

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