How to flash the JNX carriers with auvidea firmware
####################################################################################
This manual is written for the Jetson Orin NX/NANO

!!! Host PC should be Ubuntu 20.04 or higher !!!

You can use the "prepare_JP7_2_L4T_folder.sh" script in the auvidea sources to prepare the flashing folder and skip to step 6.

1. Download the following archives:
-> wget https://developer.nvidia.com/downloads/embedded/L4T/r39_Release_v2.0/release/Jetson_Linux_R39.2.0_aarch64.tbz2
-> wget https://developer.nvidia.com/downloads/embedded/L4T/r39_Release_v2.0/release/Tegra_Linux_Sample-Root-Filesystem_R39.2.0_aarch64.tbz2

2. unpack the archives
-> tar vxf Jetson_Linux_R39.2.0_aarch64.tbz2
-> sudo tar vxpf Tegra_Linux_Sample-Root-Filesystem_R39.2.0_aarch64.tbz2 -C Linux_for_Tegra/rootfs/

3. unpack the kernel_out folder into the Linux_for_Tegra folder
-> tar xvf kernel_out.tar.xz -C Linux_for_Tegra/

4. run apply_binaries.sh and l4t_flash_orerequisites.sh in the  Linux_for_Tegra folder	
-> cd Linux_for_Tegra/
-> sudo ./apply_binaries.sh --openrm
-> sudo ./tools/l4t_flash_prerequisites.sh

5. unpack auvidea_rootfs into the nvidia rootfs folder
-> sudo tar vxpf auvidea_rootfs.tar.gz -C Linux_for_Tegra/rootfs/

6. flash jetson:
You can add the parameters -s and/or -m to flash with super and/or maxn mode enabled.
Add --imx219 as an parameter if you want IMX219 camera support for your selected JNX carrier to be enabled by default

6a. for JNX40 carrier:
-> sudo ./flash_orin_nx_nano_jnx40.sh [-s] [-m] [--imx219]

6b. for JNX42 carrier:
-> sudo ./flash_orin_nx_nano_jnx42.sh [-s] [-m] [--imx219]

6c. for JNX45 carrier:
-> sudo ./flash_orin_nx_nano_jnx45.sh [-s] [-m] [--imx219]

6d. for JNX46 carrier:
-> sudo ./flash_orin_nx_nano_jnx46.sh [-s] [-m] [--imx219]

6e. for JNX90 carrier:
-> sudo ./flash_orin_nx_nano_jnx90.sh [-s] [-m] [--imx219]

6f. for JNX120 carrier:
-> sudo ./flash_orin_nx_nano_jnx120.sh [-s] [-m] [--imx219]



