justyn
September 23, 2024, 6:54am
1
Hi, I faced an issue regarding backup and restoring. Below are the method i used for backup and restore
PC:Ubuntu 20.04.6 LTS
Device: Jetson Orin Nano devkit (8GB)
JatPack6.0
Deepstream 7
Aim:
Able to backup image and restore to another new Jetson Orin Nano using ssd.
(For testing purposed, I will try with sd card first before trying ssd)
Here are the steps I did:
#1 Use SDKManager to flash a image to sd card using Jetson Orin Nano (connected with usb)
#2 Backup the image using workflow 1 from README_backup_restore.txt
$ sudo ./tools/backup_restore/l4t_backup_restore.sh -b jetson-orin-nano-devkit
#3 Restore he image using workflow 2 from README_backup_restore.txt
$ sudo ./tools/backup_restore/l4t_backup_restore.sh -r jetson-orin-nano-devkit
Problem:
When use backup and restore on the same Jetson Orin Nano, it works. But if i use the restored sd card to another new Jetson Orin Nano, it does not work.
When i tried to use the backup image ( Device A )and restore to new Jetson Orin nano (Device B) it states no match baord model
Hi justyn,
Have you flashed the QSPI before restoring the image on that new Jetson Orin Nano board?
Does the board A and board B using the exact same Orin Nano module?
Please share the result of cat /etc/nv_boot_control.conf
on both boards.
justyn
September 23, 2024, 9:15am
4
Hi Kevin,
Have you flashed the QSPI before restoring the image on that new Jetson Orin Nano board?
I followed exactly the same steps as mention in README_backup_restore.txt and i dont see any QSPI, so i guess i did not flash QSPI before restoring. What should i do to flash QSPI?
Does the board A and board B using the exact same Orin Nano module?
Please share the result of cat /etc/nv_boot_control.conf
on both boards.
I am only able to share the board A result as board B will not boot.
board A result:
TNSPEC 3767-300-0005-M.1-1-1-jetson-orin-nano-devkit-
COMPATIBLE_SPEC 3767–0005–1–jetson-orin-nano-devkit-
TEGRA_BOOT_STORAGE mmcblk0
TEGRA_CHIPID 0x23
TEGRA_OTA_BOOT_DEVICE /dev/mtdblock0
TEGRA_OTA_GPT_DEVICE /dev/mtdblock0
justyn
September 24, 2024, 4:07am
5
Update:
Tried using the following command and it works! But still curious on why backup and restore methods wont work.
Generate Flash image:
$ sudo ./flash.sh --no-flash --no-systemimg jetson-orin-nano-devkit mmcblk0p1
Flash Image:
$ cd bootloader
$ sudo bash ./flashcmd.txt
The above commands you used would flash QSPI.
It seems you can boot board B now.
Please also share the result of $ cat /etc/nv_boot_control.conf
on board B.
Please verify backup/restore script from board A and board B now.
justyn
September 26, 2024, 4:41am
7
board A result:
TNSPEC 3767-300-0005-M.1-1-1-jetson-orin-nano-devkit-
COMPATIBLE_SPEC 3767–0005–1–jetson-orin-nano-devkit-
TEGRA_BOOT_STORAGE mmcblk0
TEGRA_CHIPID 0x23
TEGRA_OTA_BOOT_DEVICE /dev/mtdblock0
TEGRA_OTA_GPT_DEVICE /dev/mtdblock0
board B result:
TNSPEC 3767-300-0005-K.2-1-1-jetson-orin-nano-devkit-
COMPATIBLE_SPEC 3767–0005–1–jetson-orin-nano-devkit-
TEGRA_BOOT_STORAGE mmcblk0
TEGRA_CHIPID 0x23
TEGRA_OTA_BOOT_DEVICE /dev/mtdblock0
TEGRA_OTA_GPT_DEVICE /dev/mtdblock0
Btw, i tried using both generate image and flash image command from sd card to sd card. The image generated and flashed is around 60GB and it took me few hours to get it done. Is it normal?
Generate Flash image:
$ sudo ./flash.sh --no-flash --no-systemimg jetson-orin-nano-devkit mmcblk0p1
Flash Image:
$ cd bootloader
$ sudo bash ./flashcmd.txt
Also when i tried using image generate by sd card 60GB and i try flash to ssd (500GB), it shows
[ 8.3043 ] Applet/MB2 is not running on device.
[ 2028.1486 ] Error: failed to get storage info
[ 2029.1533 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 3043.9598 ] tegrarcm_v2 --chip 0x23 0 --ismb2
[ 4060.7728 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 5075.5750 ] tegrarcm_v2 --chip 0x23 0 --ismb2
[ 6092.3842 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 7107.1910 ] tegrarcm_v2 --chip 0x23 0 --ismb2
[ 8124.0002 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 9138.8108 ] tegrarcm_v2 --chip 0x23 0 --ismb2
[ 10155.6162 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 11170.4229 ] tegrarcm_v2 --chip 0x23 0 --ismb2
[ 12187.2322 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 13202.0390 ] tegrarcm_v2 --chip 0x23 0 --ismb2
[ 14218.8481 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 15233.6549 ] tegrarcm_v2 --chip 0x23 0 --ismb2
[ 16250.4643 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 17265.2709 ] tegrarcm_v2 --chip 0x23 0 --ismb2
[ 18282.0801 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 19296.8869 ] tegrarcm_v2 --chip 0x23 0 --ismb2
[ 20313.6964 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 21328.5030 ] tegrarcm_v2 --chip 0x23 0 --ismb2
[ 22345.3123 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 23360.1191 ] tegrarcm_v2 --chip 0x23 0 --ismb2
[ 24376.9323 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 25391.7349 ] tegrarcm_v2 --chip 0x23 0 --ismb2
[ 26408.5444 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 27423.3510 ] tegrarcm_v2 --chip 0x23 0 --ismb2
[ 28440.1602 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 29454.9669 ] tegrarcm_v2 --chip 0x23 0 --ismb2
[ 30471.7762 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 31486.5830 ] tegrarcm_v2 --chip 0x23 0 --ismb2
[ 32503.3963 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 33518.1990 ] tegrarcm_v2 --chip 0x23 0 --ismb2
[ 34535.0082 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 35549.8150 ] tegrarcm_v2 --chip 0x23 0 --ismb2
[ 36566.6243 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 37581.4310 ] tegrarcm_v2 --chip 0x23 0 --ismb2
[ 38598.2444 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 39613.0470 ] tegrarcm_v2 --chip 0x23 0 --ismb2
[ 40629.8554 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 41644.6629 ] tegrarcm_v2 --chip 0x23 0 --ismb2
[ 42661.4723 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 43676.2790 ] tegrarcm_v2 --chip 0x23 0 --ismb2
[ 44693.0883 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 45707.8951 ] tegrarcm_v2 --chip 0x23 0 --ismb2
[ 46724.7042 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 47739.5111 ] tegrarcm_v2 --chip 0x23 0 --ismb2
[ 48756.3204 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 49771.1270 ] tegrarcm_v2 --chip 0x23 0 --ismb2
[ 50787.9363 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 51802.7430 ] tegrarcm_v2 --chip 0x23 0 --ismb2
[ 52819.5523 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 53834.3591 ] tegrarcm_v2 --chip 0x23 0 --ismb2
[ 54851.1681 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 55865.9749 ] tegrarcm_v2 --chip 0x23 0 --ismb2
[ 56882.7826 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 57897.5926 ] tegrarcm_v2 --chip 0x23 0 --ismb2
[ 58914.4664 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 59929.2088 ] tegrarcm_v2 --chip 0x23 0 --ismb2
[ 60946.0164 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 61960.8230 ] tegrarcm_v2 --chip 0x23 0 --ismb2
Error: None of the bootloaders are running on device. Check the UART log.
It is the expected result since SD card image cannot be used for NVMe SSD.
justyn
October 1, 2024, 8:58am
9
Update on using SSD to SSD
Generate Flash image:
$ sudo ./flash.sh --no-flash --no-systemimg jetson-orin-nano-devkit mmcblk0p1
Flash Image:
$ cd bootloader
$ sudo bash ./flashcmd.txt
Successfully generate images from SSD but when i tried to flash using other SSD it gives error:
[ 10.3727 ] Retrieving storage infomation
[ 10.3734 ] tegrarcm_v2 --chip 0x23 0 --oem platformdetails storage storage_info.bin
[ 10.3739 ] Applet/MB2 is not running on device.
[ 2028.9981 ] Error: failed to get storage info
[ 2030.0000 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 3044.8089 ] tegrarcm_v2 --chip 0x23 0 --ismb2
[ 4061.6184 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 5076.4250 ] tegrarcm_v2 --chip 0x23 0 --ismb2
[ 6093.2343 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 7108.0389 ] tegrarcm_v2 --chip 0x23 0 --ismb2
[ 8124.8502 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 9139.6547 ] tegrarcm_v2 --chip 0x23 0 --ismb2
[ 10156.4663 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 11171.2748 ] tegrarcm_v2 --chip 0x23 0 --ismb2
[ 12188.0822 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 13202.8893 ] tegrarcm_v2 --chip 0x23 0 --ismb2
[ 14219.6983 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 15234.5050 ] tegrarcm_v2 --chip 0x23 0 --ismb2
[ 16251.3145 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
justyn
October 2, 2024, 6:56am
10
Update: Using backup and restore command from README_backup_restore.txt
I have successfully backup and restore to a new 128GB ssd. The restored ssd works only in the backup’s Jetson Orin Nano, but not others Jetson Orin nano.
Here is a screenshot of the error:
Have you flashed QSPI of other Jetson Orin Nano with the following command before connecting the SSD?
$ sudo ./flash.sh -c bootloader/generic/cfg/flash_t234_qspi.xml jetson-orin-nano-devkit internal
system
Closed
October 23, 2024, 6:33am
13
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.