Flashing a 512 GB NVMe SSD Using a Backup Image from a 2 TB SSD on Jetson Orin NX (JetPack 6.2)

Hello,
I am currently using a Hadron carrier board from Connect Tech in my project, equipped with a 2 TB NVMe SSD. I have successfully created backup images and stored them in the tools/backup_restore/images directory. Additionally, I am able to restore (flash) these images onto another Hadron carrier board using the same Orin NX module and a new 2 TB NVMe SSD of the same type. So far, I have no issues about backup and restore process.

Now, I would like to flash a new 512 GB NVMe SSD using the backup image originally created from the 2 TB NVMe SSD. I am using the following command:

sudo ./tools/backup_restore/l4t_backup_restore.sh -r ./cti/orin-nx/hadron/base

However, the flashing process stalls at line 327 in the /tools/backup_restore/nvrestore_partitions.sh script and returns the following error:
“Error: Unable to partprobe /dev/nvme0n1”

From what I understand, the flashing process initially attempts to write the nvme0n1_gptmbr.img file to the new 512 GB SSD. Since this image contains partition information specific to the original 2 TB NVMe SSD, the process fails due to the mismatch in storage capacity. It appears that I may need to modify the tools/backup_restore/images/nvpartitionmap.txt

I wonder if it is possible to flash this new 512 GB SSD using the backup image created from the 2TB SSD? If so, could you please advise modifications required to make this work?

NOTE: Jetpack 6.2, Ubuntu 20.04

Hi,

We don’t support it.

You could refer to README_initrd_flash.txt and add -s <APP-SIZE> to make original APP-SIZE 512 GB to fit other kits.

Thanks