Clone data from ssd jetson to new jetson device problem

  • Hello, currently I want to copy all ssd data from the already working jetson orin nano (environment, code…) to the new jetson device.

  • I am following the instructions README_backup_restore.txt Workflow 3: To massflash the backup image

  • I fixed l4t_backup_restore.func according to the instructions Backup restore, workflow #3 massflash jetson orin nano problem - #4 by nox.gias

  • I ran the command “sudo ./tools/backup_restore/l4t_backup_restore.sh -b -c jetson-orin-nano-devkit” but got the error “flashimg0=boot0.img
    /home/myir/Videos/bootFromExternalStorage/R35.4.1/Linux_for_Tegra
    Success
    Cleaning up…
    Finish generating flash package.
    No devices to flash” (although I tried that command before and it said it was successful ~~)

  • Please help me solve this problem, thank you

I read Workflow 3: Fail to make the massflash backup image, device is orin nx 8gb - #21 by HeapCorrupt

So JP 5.1.2 won’t be able to use backup images ? (I’m using JP 5.1.2 , L4T 35.4.1)

Put the entire log here.

  1. “Please replace every instance of mmcblk0 with nvme0n1 in nvbackup_partitions.sh and nvrestore_partitions.sh and generate the image again.” (Ok)
  2. apply patch ( l4t_backup_restore.func)
  3. Run command “sudo ./tools/backup_restore/l4t_backup_restore.sh -b -c jetson-orin-nano-devkit”

Here is the log of the returned result:

log.txt (92.8 KB)

What do you get from serial console?

This is not required for 35.4.1.
You do -e nvme0n1 instead.

1 Like

hi, I ran the command

  • "sudo ./tools/backup_restore/l4t_backup_restore.sh -e nvme0n1 -b -c jetson-orin-nano-devkit " ==> created /tools/backup_restore/images/nvme0n1p1.tar.gz about 70GB of data (quite similar to the data size in ssd)

  • “sudo ./tools/kernel_flash/l4t_initrd_flash.sh --use-backup-image --no-flash --network usb0 --massflash 1 jetson-orin-nano-devkit nvme0n1”
    here is the result: Massflash package is generated at /home/myir/Desktop/Flash_Jetson_Orin/bootFromExternalStorage/R35.4.1/Linux_for_Tegra/mfi_jetson-orin-nano-devkit.tar.gz
    Success
    Cleaning up…
    Finish generating flash package.
    Put device in recovery mode, run with option --flash-only to flash device

  • However next step: put new jetson device and run “sudo ./tools/kernel_flash/l4t_initrd_flash.sh --flash-only --massflash 1 --network usb0”

Error result:
log2.txt (5.7 KB)

Are you able to run following commands without massflash?

sudo ./tools/backup_restore/l4t_backup_restore.sh -e nvme0n1 -b jetson-orin-nano-devkit
sudo ./tools/backup_restore/l4t_backup_restore.sh -e nvme0n1 -r jetson-orin-nano-devkit

At least this should work properly.

[   0.3115 ] Sending bct_mem
[   0.3213 ] Sending blob
[   0.4036 ] ERROR: might be timeout in USB write.

Put the serial console log here.
I mean this one:

1 Like

Hi, I used the command “sudo ./tools/backup_restore/l4t_backup_restore.sh -e nvme0n1 -r jetson-orin-nano-devkit” which seems to have succeeded:

  • What do I need to do next to use the restored Jetson device, I can’t ssh into it at the moment, I tried plugging in a hdmi monitor but it says “the current input timing is not supported by the monitor display”

Do this.

Sorry the jetson board has been modified by a 3rd party, I don’t know how to get the serial log as instructed, do you have any other way, I feel like this is very close to success when the steps have reported success.

Use SSH or the USB-C port gives you /dev/ttyGS0 on your host PC.

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