The process to flash one of these device is slightly different to the process to flash a NEON-2000-JT2 device. To flash a JNX device you need to flash both the internal eMMC and external storage device. The internal eMMC device hosts the bootloader and kernel, the external storage device hosts the operating system and Jetpack.
Other useful information about flashing a Jetson based device can be found here.
If upgrading the Jetpack version make sure to also download the eMMC image. This is because the internal eMMC and microSD card must be flashed with same version of Jetpack. For example, jetpack 5.0.2 emmc + jetpack 5.0.2 microSD image
eMMC image - required if changing Jetpack version
Check the md5 checksum to make sure image file is correct
$ md5sum [file]
$ md5sum NeonJNX_A3_JP502_emmc_v1.0.7.tar.gz
$ certutil -hashfile [file] MD5
$ certutil -hashfile NeonJNX_A3_JP502_emmc_v1.0.7.tar.gz MD5
To flash the microSD card you are going to need the following:
Make sure to use a high quality microSD card to prevent corruption
Unzip the microSD zip file downloaded in Step 1 to get a
tar -zxvf NeonJNX_A3_JP502_microSD_v1.0.7_woEVA.img.tar.gz
Clone image file to microSD card using one of the following methods
sudo dd if=<image file>.img of=/dev/sdX bs=4M conv=fsync
Insert SD card into the NEON camera
The internal eMMC must be flashed if the Jetpack version on the microSD card has changed, so the Jetpack version on the eMMC and microSD card match.
This step involves connecting the NEON camera to the Host machine and flashing the image.
To perform this step the following equipment is required:
On the Host PC unzip the file downloaded in Step 1
tar -zxvf NeonJNX_A3_JP502_emmc_v1.0.7.tar.gz
Put the NEON into recovery mode You can refer to pin definition below, and try to enter recover mode.
Connect the microUSB cable to the NEON and the Host PC
Open a terminal and execute the
lsusb command, to see if the NEON is connected. If a device called
Nvidia Corp. is detected, the device has successfully entered recovery mode.
Go to folder unzipped in step 1
Flash the Neon-2000-JNX
For Jetpack 5.0.2: Install neccessary package at first
sudo apt-get install sshpass
Jetpack before 5.0.2
For Jetpack 5.0.2
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --flash-only --massflash 1
Once the flash script is complete and shows
Flash complete (SUCCESS) reboot the NEON
Below is a video of the process to flash a NEON-2000-JNX
tar -zxvf deploy.neonjnx.tar.gz
sudo ./flash.sh -r -k APP -G backup.img jetson-xavier-nx-neonjnx-emmc mmcblk0p1
sudo mount /dev/mmcblk0p1 mntTemp
sudo tar -jcf ../customerEMMC.tbz2 *
sudo umount mntTemp
- Restore emmc
scrolling="no" framespacing="0" webkitallowfullscreen mozallowfullscreen allowfullscreen>
cd ~/ mkdir mntTemp sudo mount /dev/mmcblk0p1 mntTemp sudo tar jxf customerEMMC.tbz2 -C mntTemp sync sudo umount mntTemp rmdir mntTemp