This page cover the process to flash a new operating system onto a NEON device.
There are 2 methods to flash the NEON-2000-JT2 and NEON-2000-JT2-X:
Other useful information about flashing a Jetson based device can be found here.
This method uses a host machine to flash the internal eMMC storage over USB.
To perform this method the following equipment is required:
Check md5 checksum to make sure image file is correct
Linux
$ md5sum [file]
$ md5sum JT2X_JP461_emmc_v1.0.6.tar.gz
Windows 10
$ certutil -hashfile [file] MD5
$ certutil -hashfile JT2X_JP461_emmc_v1.0.6.tar.gz MD5
This step involves connecting the NEON camera to the Host machine and flashing the image.
There is also a video and PDF showing the process
On the Host PC unzip the file downloaded in Step 1
$ tar -zxvf JT2X_JP461_emmc_v1.0.6.tar.gz
or
$ tar -jxvf A4_Linux_for_Tegra.20200528_JT2_JP43_v1.0.2.tbz2
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
cd JT2X_JP461_emmc_v1.0.6
Flash the Neon-2000-JT2/Neon-JT2X
sudo ./flash.sh -r jetson-tx2 mmcblk0p1
To flash the Neon-JT2(jetpack 4.6.1), Neon-JT2X(jetpack 4.6.1), Neon-2000-JNX
sudo ./flash.sh
Below is a video of the process to flash a NEON-2000-JT2
This method involves cloning the operating system image for the NEON camera to a microSD, booting the NEON camera from this image and then optionally copying the image from the microSD card to the internal emmc storage on the NEON camera.
Required tools:
If you plan on running the operating system from the microSD permanently, make sure to use a high quality microSD card to prevent corruption
Check the md5 checksum to make sure image file is correct
Linux
$ md5sum [file]
$ md5sum JT2_JP44_microSD_v1.0.3.tar.gz
Windows 10
$ certutil -hashfile [file] MD5
$ certutil -hashfile JT2_JP44_microSD_v1.0.3.tar.gz
Unzip the file downloaded in Step 1 to get a .img
file
$ tar -zxvf JT2_JP44_microSD_v1.0.3.tar.gz
Clone image file to microSD card using one of the following methods
GPT
partitioningExt4
sudo dd if=<image file>.img of=/dev/sdX bs=4M conv=fsync
Once cloned, check the boot config file is set to boot from the SD card
/<path to sd card>/boot/extlinux/extlinux.conf
Make sure the boot line is set to /dev/mmcblk2p1
APPEND ${cbootargs} rootfstype=ext4 root=/dev/mmcblk2p1 rw rootwait
Insert SD card into the NEON camera
Boot NEON
Clone image from microSD card to internal eMMC using rsync
sudo rsync -axHAWX --numeric-ids --info=progress2 / /media/adlink/ssd
Change boot config on the internal eMMC to boot from the internal eMMC mmcblk0p1
/media/adlink/ssd/boot/extlinux/extlinux.conf
Replace the following
# Replace this line
# APPEND ${cbootargs} rootfstype=ext4 root=/dev/mmcblk2p1 rw rootwait
# With this line
APPEND ${cbootargs} quiet
Remove the SD card and reboot the NEON