I’m using Orin NX 16GB with JetPack 5.1. I’d like to clone the APP partition to my PC.
I tried using
https://docs.nvidia.com/jetson/archives/r35.2.1/DeveloperGuide/text/SD/FlashingSupport.html#to-clone-a-jetson-device-and-flash, so I executed:
sudo ./flash.sh -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
sudo ./tools/backup_restore/l4t_backup_restore.sh -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?
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.
February 6, 2023, 4:04am
Yeah you can modify nvbackup_partitions.sh and nvrestore_partitions.sh to make it work for NVMe SSD. l4t_backup_restore.sh works by recovery boot the device to a initial ramdisk, which can communicate with the host via SSH. The host basically runs nvbackup_partitions.sh to backup images and nvrestore_partitions.sh to restore those image though SSH and NFS. You can start with modifying those script by replacing all
mmcblk0 reference with
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.
March 7, 2023, 3:57am
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.