Unable to create Jetson Xavier NX dev kit image clone

I run sudo ./flash.sh -r -k APP -G tt.img jetson-xavier-nx-devkit mmcblk0p1 and after 8 seconds it stops and do nothing (0 percent progress)

I am using Jetson Xavier NX dev kit with SD card

lsusb on host shows: Bus 003 Device 073: ID 0955:7e19 NVIDIA Corp. APX

flash command taken from here

P.S. output after flash.sh

[   5.0998 ] Sending bootloader and pre-requisite binaries
[   5.1007 ] tegrarcm_v2 --download blob blob.bin
[   5.1014 ] Applet version 01.00.0000
[   5.1179 ] Sending blob
[   5.1180 ] [................................................] 100%
[   5.9540 ] 
[   5.9548 ] tegrarcm_v2 --boot recovery
[   5.9555 ] Applet version 01.00.0000
[   5.9788 ] 
[   6.9812 ] tegrarcm_v2 --isapplet
[   7.2208 ] 
[   7.2226 ] tegrarcm_v2 --ismb2
[   7.2463 ] 
[   7.2482 ] tegradevflash_v2 --iscpubl
[   7.2498 ] Bootloader version 01.00.0000
[   7.2719 ] Bootloader version 01.00.0000
[   7.2734 ] 
[   8.2764 ] tegrarcm_v2 --isapplet
[   8.2948 ] 
[   8.2968 ] tegrarcm_v2 --ismb2
[   8.3348 ] 
[   8.3367 ] tegradevflash_v2 --iscpubl
[   8.3382 ] Bootloader version 01.00.0000
[   8.3549 ] Bootloader version 01.00.0000
[   8.3568 ] 
[   8.3568 ] Reading partition
[   8.3576 ] tegradevflash_v2 --read APP /home/dikey/Documents/L4T/32_5_1/Linux_for_Tegra/tt.img
[   8.3583 ] Bootloader version 01.00.0000
[   8.3751 ] [                                                ] 000%

Do you have an SD card reader on your host PC? If so, then just clone from the host PC.

Basically, you’d want to make sure none of the partitions are auto-mounted by the host PC. If the SD card shows up as “/dev/sdb” (adjust for whatever the device actually is on the PC), and assuming you have a lot of spare disk space (more than the size of the SD card), then something like this:
sudo dd if=/dev/sdb of=my_backup.img bs=1M

This will take some time, and technically it doesn’t need the “bs=1M”, this is just to speed it up by using a larger buffer. You could then copy from one SD to another with this file. For example, if you add yet another SD card to the host PC, and that SD shows up as “/dev/sdc”, then this would clone:
sudo dd if=./my_backup.img of=/dev/sdc bs=1M

Just be very careful to get the right device name. I recommend monitoring “dmesg --follow” prior to inserting any SD card.

1 Like