-
Notifications
You must be signed in to change notification settings - Fork 1
Flash AGX Orin through flash script or for Emulation of Orin into Nano or NX
-
Prepare the host Linux system for flashing the AGX Orin Board
-
Download the latest Jetson Linux release package and sample file system for your Jetson developer kit from here
a. For the any L4T Latest release this kind of page will be shown from these are supposed to be downloaded as shown in the picture.
b. You will be able to see these two files after downloading.
i. Jetson_Linux_Rxx.x.x_aarch64.tbz2
ii. Tegra_Linux_Sample-Root-Filesystem_Rxx.x.x_aarch64.tbz2
-
Create environment variables for L4T_RELEASE_PACKAGE, SAMPLE_FS_PACKAGE and BOARD as follows:
a. ${L4T_RELEASE_PACKAGE} contains the pathname of a file that contains the Jetson Linux release package name.
$ export L4T_RELEASE_PACKAGE= $path/Jetson_Linux_Rxx.x.x_aarch64.tbz2
b. ${SAMPLE_FS_PACKAGE} contains the sample file system package’s filename: Tegra_Linux_Sample-Root-Filesystem_L4TRELEASEVERSION.tbz2.
$ export SAMPLE_FS_PACKAGE=Tegra_Linux_Sample-Root-Filesystem_Rxx.x.x_aarch64.tbz2
c. ${BOARD} contains the name of a supported configuration of Jetson module and carrier board. In case of emulation this enviorument variable can be set according to whichever module is expected.
$ echo $BOARD= jetson-agx-orin-devkit $ echo $BOARD= jetson-agx-orin-devkit-as-nano4gb $ echo $BOARD= jetson-agx-orin-devkit-as-nano8gb $ echo $BOARD= jetson-agx-orin-devkit-as-nx-8gb $ echo $BOARD= jetson-agx-orin-devkit-as-nx-16gb
-
Enter the following commands to unzip the files and assemble the rootfs:
$ tar xf ${L4T_RELEASE_PACKAGE} $ cd Linux_for_Tegra/rootfs/ $ sudo tar xpf ../../${SAMPLE_FS_PACKAGE} $ cd .. $ sudo ./apply_binaries.sh
-
Connect the board to the host machine with USB-C to USB-A cable.
-
Put board in the force recovery mode. Press the force recovery button, keep it till 5 sec and press reset button and then release both at once.
-
Using lsusb command you can check whether the board is connected or not. To determine whether the developer kit is in force recovery mode.
-
Then run
$ sudo ./flash.sh ${BOARD} mmcblk0p1
- Setup Requirements for Software and Hardware Components
- Setup for ROS2 Humble docker
- Setup for ROS2 Galactic docker
- Setup for TOF
- Setup for IMU