Generate and load custom image Jetson Nano 16 GB eMMC

I have a Jetson Nano 16 GB eMMC (not micro-SD) with a custom program installed with all the required libraries and files. I have others Jetson prepared, and I want to install the same image in these new modules. So I want to generate an image of the system in a pendrive USB and load that image on the other modules. But I can’t find any program or script to do it properly.

I installed the program in the first Jetson by sdkmanager and used apt and python to install all the other libraries, but I want to do it more simply, just generating the image.

Thanks so much for the help

Hi colablabo,

Are you using the devkit or custom board?

You could refer to the following instruction to flash to a USB drive.
Flashing and Booting the Target Device - Flashing to a USB Drive

For this use case, you could just clone this all ready(with required packages/libraries installed) module and restore to other modules.
Basic Flash Script Usage - To clone a Jetson device and flash

1 Like

I will leave a basic tutorial of what I just do:
Execute everything on an external Linux PC.

  1. Enter on this link:
    a. Select the Jetson Linux Archive of your board, you can check it by executing this on your Jetson
    device: head -n 1 /etc/nv_tegra_release
    b. Download the Driver Package (BSP)
    c. Download the Sample Root Filesystem

  2. Execute this inside the Download folder:

cd Linux_for_Tegra/rootfs/    
sudo tar xpf ../../${SAMPLE_FS_PACKAGE}  
cd ..
  1. To copy the image of your Jetson into the PC, connect the microUSB in your Jetson and PC and power the Jetson in
    recovery mode. Execute this:
sudo ./ -r -k APP -G jetson.img <board> mmcblk0p1
sudo cp jetson.img bootloader/system.img
  1. To paste the img generated into a Jetson, connect the microUSB in your Jetson and PC and power the
    Jetson in recovery mode, if the Jetson contains any information (the target board has already been flashed).
    Execute this:
sudo ./ -r -k APP <board> mmcblk0p1
sudo ./ -r <board> mmcblk0p1

If not just execute this:

sudo ./ -r <board> mmcblk0p1

Thanks so much for the answer


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