emmc image and microSD image are one-by-one mapping. That is, you have to flash emmc and microSD image with same version. For example, jetpack 5.0.2 emmc + jetpack 5.0.2 microSD image
To perform this step the following equipment is required:
For Jetpack 5.0.2: Install neccessary package at first
sudo apt-get install sshpass
On the Host PC unzip the file downloaded.
tar -zxvf EOS-JNX_JP502_emmc.tar.gz
Set EOS-JNX as recovery mode
Connect the microUSB cable to the EOS-JNX 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 EOS-JNX_JP502_emmc
Flash the EOS-JNX
Jetpack before 5.0.2
sudo ./nvmflash.sh
For Jetpack 5.0.2
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --flash-only --massflash 20
Once the flash script is complete and shows Flash complete (SUCCESS)
reboot the EOS-JNX
method 1
tar -zxvf deploy.eosjnx.tar.gz
sudo ./flash.sh -r -k APP -G backup.img jetson-xavier-nx-eosjnx-emmc mmcblk0p1
method 2
Backup emmc
cd ~/
mkdir mntTemp
sudo mount /dev/mmcblk0p1 mntTemp
cd mntTemp
sudo tar -jcf ../customerEMMC.tbz2 *
sync
cd ../
sudo umount mntTemp
rmdir mntTemp
- Restore emmc
<div>
<iframe
src="https://sftp.adlinktech.com/image/EOS-JNX/sop/Restore_emmc.mp4"
width="640" height="385"
scrolling="no" framespacing="0" webkitallowfullscreen mozallowfullscreen allowfullscreen>
</iframe>
</div>
cd ~/ mkdir mntTemp sudo mount /dev/mmcblk0p1 mntTemp sudo tar jxf customerEMMC.tbz2 -C mntTemp sync sudo umount mntTemp rmdir mntTemp
SOP
$ md5sum EOS-JNX_JP502_emmc.tar.gz
588e91411bb61f5b95b190bebb8373de EOS-JNX_JP502_emmc.tar.gz
$ md5sum EOS-JNX_JP502_microSD_v1.0.3.img.tar.gz
dda62d5d21f84d25368b5080eaed80e0 EOS-JNX_JP502_microSD_v1.0.3.img.tar.gz
check md5 check sum to make sure image file is correct
$ md5sum [file]
$ md5sum files.tar.gz
Windows 10
certutil -hashfile [file] MD5
certutil -hashfile files.tar.gz MD5