Restore the system to my homemade carrier board

I use Jetson Orin NX 16GB modules and the Jetson Xavier NX Developer Kit carrier board.
I modify nvbackup_partitions.sh and nvrestore_partitions.sh to make it work for NVMe SSD. I modify those script by replacing all mmcblk0 reference with nvme0n1.

Now I want to swipe this backup into my homemade carrier board, which is using an sd card for storage, but failed.
The package used is Jetson_Linux_R35.2.1_aarch64.tbz2.
orin-nx-overlay-35.2.1.tbz2, Tegra_Linux_Sample-Root-Filesystem_R35.2.1_aarch64.tbz2
Commands used:

sudo ./tools/backup_restore/l4t_backup_restore.sh -b p3768-0000+p3767-0000

Terminal print:

[   0.1395 ] Added binary blob_tegra234-p3767-0000-p3768-0000-a0.dtb of size 341710
[   0.1867 ] tegrarcm_v2 --instance 3-9 --chip 0x23 0 --pollbl --download bct_mem mem_rcm_sigheader.bct.encrypt --download blob blob.bin
[   0.1874 ] BL: version 0.28.0.0-t234-54845784-ec016368 last_boot_error: 0
[   0.2775 ] Sending bct_mem
[   0.2931 ] Sending blob
[   3.1279 ] RCM-boot started

/data/jetson/orin/Linux_for_Tegra
***************************************
*                                     *
*  Step 3: Start the flashing process *
*                                     *
***************************************
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Timeout
Cleaning up...
exportfs: /etc/exports [1]: Neither 'subtree_check' or 'no_subtree_check' specified for export "*:/data/work/strun".
  Assuming default behaviour ('no_subtree_check').
  NOTE: this default has changed since nfs-utils version 1.0.x

exportfs: /etc/exports [2]: Neither 'subtree_check' or 'no_subtree_check' specified for export "*:/data/work/05.zx".
  Assuming default behaviour ('no_subtree_check').
  NOTE: this default has changed since nfs-utils version 1.0.x


Which scripts should I change?
log.txt (80.6 KB)


Note that on eMMC models the non-rootfs content must remain on the eMMC. You could in theory back those up, but restore might be difficult if you don’t know exactly how flash sets up. On the other hand, if the device tree is in “/boot” of the rootfs, and this device tree is the one used, then you might not have to back up any of that other content (unless it is customized).

Note that Jetsons don’t have a BIOS, and in part, the idea of moving all of the partitions to an external devices is the same as suggesting moving the BIOS (or what the BIOS does) to the external device (which won’t work).

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