Restore failed! To back up and restore a Jetson device

device: Jeston AGX orin developer kit
number :2
action: clone the total system of device A to device B
Instructions:

command:
sudo ./tools/backup_restore/l4t_backup_restore.sh -r jetson-agx-orin-devkit

Error:
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for device to expose ssh …RTNETLINK answers: File exists
RTNETLINK answers: File exists
Device has booted into initrd. You can ssh to the target by the command:
$ ssh root@fe80::1%usb0
Cleaning up…
Log is saved to Linux_for_Tegra/initrdlog/flash_3-1_0_20230327-152121.log
Run command:
ln -s /proc/self/fd /dev/fd && mount -o nolock [fc00:1:1::1]:/home/psr/nvidia/nvidia_sdk/JetPack_5.1_Linux_JETSON_AGX_ORIN_TARGETS/Linux_for_Tegra/tools/backup_restore /mnt && /mnt/nvrestore_partitions.sh -n
on root@fc00:1:1::2
/mnt/images ~
nvrestore_partitions.sh: Use the default nvpartitionmap.txt as the index file.
nvrestore_partitions.sh: You are trying to flash images from a board model that does not
match the current board you’re flashing onto.
flash_3-1_0_20230327-152121.log (6.7 KB)

log: flash_3-1_0_20230327-152121.log

Hi 2909474978,

Do you want to backup and restore for internal eMMC or external NVMe?

Do you run the following backup command before running restore command?

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

internal eMMC.
thank you!

yes:
I run two commands:

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

successful

sudo ./tools/backup_restore/l4t_backup_restore.sh -r jetson-agx-orin-devkit

failed

Do you run backup command on device A and run restore command on device B?

What’s the original Jetpack version in both device A and B?

Could you help to provide both flash logs when you run the backup and restore command?

yes. Can you help me? what’s wrong with AGX Orin?

Could you help to answer all of my questions from previous response?

[1]Jetpack version is 5.0.2 in both A and B
[2]the backup log:
flash_3-1_0_20230403-160100.log (44.5 KB)
and terminal output:

/home/psr/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_AGX_ORIN_TARGETS/Linux_for_Tegra
***************************************
*                                     *
*  Step 3: Start the flashing process *
*                                     *
***************************************
Waiting for target to boot-up...
Waiting for device to expose ssh ......RTNETLINK answers: File exists
RTNETLINK answers: File exists
Device has booted into initrd. You can ssh to the target by the command:
$ ssh root@fe80::1%usb0
Cleaning up...
Log is saved to Linux_for_Tegra/initrdlog/flash_3-1_0_20230403-160100.log 
Run command: 
ln -s /proc/self/fd /dev/fd && mount -o nolock [fc00:1:1::1]:/home/psr/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_AGX_ORIN_TARGETS/Linux_for_Tegra/tools/backup_restore /mnt && /mnt/nvbackup_partitions.sh -n  && echo Backup image is stored in /home/psr/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_AGX_ORIN_TARGETS/Linux_for_Tegra/tools/backup_restore/images
 on root@fc00:1:1::2
nvbackup_partitions.sh: The detected partitions in mmcblk0 are:
/dev/mmcblk0p1
/dev/mmcblk0p2
/dev/mmcblk0p3
/dev/mmcblk0p4
/dev/mmcblk0p5
/dev/mmcblk0p6
/dev/mmcblk0p7
/dev/mmcblk0p8
/dev/mmcblk0p9
/dev/mmcblk0p10
/dev/mmcblk0p11
/dev/mmcblk0p12
/dev/mmcblk0p13
/dev/mmcblk0p14

[3] the restore log:
flash_3-1_0_20230403-164746.log (44.6 KB)
the restore terminal output:

/home/psr/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_AGX_ORIN_TARGETS/Linux_for_Tegra
***************************************
*                                     *
*  Step 3: Start the flashing process *
*                                     *
***************************************
Waiting for target to boot-up...
Waiting for device to expose ssh ......RTNETLINK answers: File exists
RTNETLINK answers: File exists
Device has booted into initrd. You can ssh to the target by the command:
$ ssh root@fe80::1%usb0
Cleaning up...
Log is saved to Linux_for_Tegra/initrdlog/flash_3-1_0_20230403-164746.log 
Run command: 
ln -s /proc/self/fd /dev/fd && mount -o nolock [fc00:1:1::1]:/home/psr/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_AGX_ORIN_TARGETS/Linux_for_Tegra/tools/backup_restore /mnt && /mnt/nvrestore_partitions.sh -n 
 on root@fc00:1:1::2
/mnt/images ~
nvrestore_partitions.sh: Use the default nvpartitionmap.txt as the index file.
nvrestore_partitions.sh: You are trying to flash images from a board model that does not
match the current board you're flashing onto.

It seems both logs from you are not completed as the log you paste above.

It seems the board config is wrong.
If you are using AGX Orin devkit, then the jetson-agx-orin-devkit should be the right board config.

Could you flash the board with the following command successfully?

$sudo ./flash.sh jetson-agx-orin-devkit mmcblk0p1

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