Hi all,
I created an image of my ORIN NX with a Seeedstudio A603 using:
sudo ./tools/backup_restore/l4t_backup_restore.sh -b p3509-a02+p3767-0000
Jetpack 5.1.2
As SSD I used a KingSpec 1TB M.2 2242 NVMe SSD - M.2 PCIe 3.0x4
I can correctly see the partitions saved here:
gorgo@razer:/media/gorgo/PopOS/home/gorgo/ORIN_RT_5_1_2/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra$ ll tools/backup_restore/images/
total 15622108
drwxr-xr-x 3 root root 4096 apr 23 11:18 ./
drwxr-xr-x 3 root root 4096 mar 1 15:27 âŠ/
-rw-râr-- 1 root root 16896 apr 23 10:48 gptbackup.img
-rw-râr-- 1 root root 20480 apr 23 10:48 gptmbr.img
-rw-râr-- 1 root root 1407123 apr 23 11:18 nvme0n1p10_bak.img
-rw-râr-- 1 root root 332878 apr 23 11:18 nvme0n1p11_bak.img
-rw-râr-- 1 root root 504948 apr 23 11:18 nvme0n1p12_bak.img
-rw-râr-- 1 root root 4608 apr 23 11:18 nvme0n1p13_bak.img
-rw-râr-- 1 root root 292755 apr 23 11:18 nvme0n1p14_bak.img
-rw-râr-- 1 root root 15802265637 apr 23 11:05 nvme0n1p1.tar.gz
-rw-râr-- 1 root root 37801401 apr 23 11:18 nvme0n1p2_bak.img
-rw-râr-- 1 root root 312317 apr 23 11:18 nvme0n1p3_bak.img
-rw-râr-- 1 root root 9254801 apr 23 11:18 nvme0n1p4_bak.img
-rw-râr-- 1 root root 46768185 apr 23 11:18 nvme0n1p5_bak.img
-rw-râr-- 1 root root 77752 apr 23 11:18 nvme0n1p6_bak.img
-rw-râr-- 1 root root 146388 apr 23 11:18 nvme0n1p7_bak.img
-rw-râr-- 1 root root 30584777 apr 23 11:18 nvme0n1p8_bak.img
-rw-râr-- 1 root root 77752 apr 23 11:18 nvme0n1p9_bak.img
-rw-râr-- 1 root root 1817 apr 23 11:18 nvpartitionmap.txt
-rw-râr-- 1 root root 67108864 apr 23 10:48 QSPI0.img
drwxr-xr-x 3 root root 4096 apr 23 10:48 tmp/
When I have to restore the image the problems start.
If I used a new KingSpec 1TB M2 ssd, everything works like expected and I can boot into the image.
I bought some Corsair MP600 Micro 1TB M.2 NVMe PCIe x4 Gen4 2 SSD - M.2 2242 which shall perform better.
Initially I flash the brand new Orin NX with the Corsair SSD with:
sudo ADDITIONAL_DTB_OVERLAY_OPT=âBootOrderNvme.dtboâ ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_external.xml -p â-c bootloader/t186ref/cfg/flash_t234_qspi.xmlâ --showlogs --network usb0 p3509-a02+p3767-0000 internal
The flashing works and I can boot into the vanilla Jetpack 5.1.2.
I eventually put my Orin into recovery and I restore the image previously created.
The flashing procedure finished correctly:
restore_log.log (112.3 KB)
Unfortunately the boot doesnât complete correctly and I eventually get:
[ 2.831358] Root device found: nvme0n1p1
[ 2.907885] usb 1-3: new full-speed USB device number 3 using tegra-xusb
[ 3.037778] usb 1-3: New USB device found, idVendor=8087, idProduct=0a2b, bcdDevice= 0.10
[ 3.037784] usb 1-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 5.201091] random: crng init done
[ 12.969082] ERROR: nvme0n1p1 not found
Full boot log:
boot_corsair.log (83.0 KB)
Note:
- I formatted the SSD to ext4 before running
l4t_initrd_flash.sh
- In the image I created I changed the
root
bootarg to:
APPEND ${cbootargs} root=/dev/nvme0n1p1 rw rootwait rootfstype=ext4 mminit_loglevel=4 console=ttyTCU0,115200 console=ttyAMA0,115200 firmware_class.path=/etc/firmware fbcon=map:0 net.ifnames=0 nospectre_bhb
I manually set /dev/nvme0n1p1 because in my previous test I got a similar ânot foundâ error with the old PARTUID.
Any clue?