Clone and distribute for Jetson Xavier NX Developer Kit

Hi All,

I built my applications and stored them on a SD card. I need to clone the SD card image and distribute to several NX devkits. (Maybe use nvmflash.sh?)

Anyway, I tried to flash to a new NX device first by following the steps below:
sudo ./flash.sh -r -k APP -G backup.img jetson-xavier-nx-devkit mmcblk1p1
sudo cp backup.img.raw bootloader/system.img
sudo ./flash.sh -r -k APP jetson-xavier-nx-devkit mmcblk1p1

The error output is:
[ 18.5621 ] tegradevflash_v2 --write APP /home/gpu/nvidia/Linux_for_Tegra/bootloader/system.img
[ 18.5642 ] Bootloader version 01.00.0000
[ 18.5826 ] Writing partition APP with /home/gpu/nvidia/Linux_for_Tegra/bootloader/system.img
[ 18.5840 ] 0000000074740204: E> NV3P_SERVER: Accessing offset 40026243072 after boundary partition size 15032385536
[ 18.5841 ]
[ 18.5841 ]
Error: Return value 4
Command tegradevflash_v2 --write APP /home/gpu/nvidia/Linux_for_Tegra/bootloader/system.img
Failed to flash/read t186ref.

Can anyone help me?
Thanks in advance.

hello pedin024,

we don’t support to clone SD card image with flash scripts.
however, suggest you might check Topic 141235 for an alternative way to generate sd image locally.
thanks

Hi @JerryChang ,

Thanks. I used jetson-disk-image-creator.sh to generate a sd-blob.img.
And I can use it to flash by Etcher.
But I have many jetson devices to distribute.
Is there any ways to mass flash sd image?

hello pedin024,

you may use dd commands to duplicate SD card images.
here’s documentation, Flashing to Multiple Jetson Devices for your reference. BUT, please note that only support with emmc platforms.
thanks

Ok, thanks a lot.