Difference between revisions of "AIR-020"
| (6 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
== Linux BSP Version == | == Linux BSP Version == | ||
| − | Ubuntu 18.04<br/> Kernel 4.9.201 | + | ===AIR-020=== |
| + | Ubuntu 18.04 <br/> | ||
| + | Kernel 4.9.201 <br/> | ||
| + | |||
| + | ===AIR-020R=== | ||
| + | Ubuntu 22.04 <br/> | ||
| + | Kernel 5.15.148 <br/> | ||
== Released Image == | == Released Image == | ||
| − | *[http://ess-wiki.advantech.com.tw/view/AIM-Linux/BSP/NV/Linux_Ubuntu_OS_Release_note/Ubuntu18/Internal OS Support List(based on Ubuntu18)] | + | ===AIR-020=== |
| + | |||
| + | *[http://ess-wiki.advantech.com.tw/view/AIM-Linux/BSP/NV/Linux_Ubuntu_OS_Release_note/Ubuntu18/Internal OS Support List(based on Ubuntu18)] | ||
| + | |||
| + | ===AIR-020R=== | ||
| + | |||
| + | *[http://ess-wiki.advantech.com.tw/view/AIM-Linux/BSP/NV/Linux_Ubuntu_OS_Release_note/Ubuntu22/Internal OS Support List(based on Ubuntu22)] | ||
== Build Environment on Host == | == Build Environment on Host == | ||
| Line 30: | Line 42: | ||
== Getting Linux Source Code == | == Getting Linux Source Code == | ||
| + | ===AIR-020=== | ||
<pre>$ export GIT_SSL_NO_VERIFY=1 | <pre>$ export GIT_SSL_NO_VERIFY=1 | ||
</pre> | </pre> | ||
| Line 55: | Line 68: | ||
</pre> | </pre> | ||
| + | ===AIR-020R=== | ||
Jetpack 6.2 / L4T 36.4.3 | Jetpack 6.2 / L4T 36.4.3 | ||
<pre>$ repo init -u https://AIM-Linux@dev.azure.com/AIM-Linux/risc_nvidia_jetson_36.4.3/_git/manifest -m air020-aiw173.xml | <pre>$ repo init -u https://AIM-Linux@dev.azure.com/AIM-Linux/risc_nvidia_jetson_36.4.3/_git/manifest -m air020-aiw173.xml | ||
| Line 71: | Line 85: | ||
Build 34.1.1 public board / L4T 35.2.1 / L4T 35.4.1 | Build 34.1.1 public board / L4T 35.2.1 / L4T 35.4.1 | ||
<pre>sudo ./scripts/build_release.sh -v <VERSION> | <pre>sudo ./scripts/build_release.sh -v <VERSION> | ||
| + | </pre> | ||
| + | |||
| + | Build Jetpack 6.2 / L4T 36.4.3 | ||
| + | <pre>sudo ./scripts/build_release.sh | ||
</pre> | </pre> | ||
| Line 88: | Line 106: | ||
== Flash Image == | == Flash Image == | ||
| − | + | ===AIR-020=== | |
Make sure your Host PC has installed following package: | Make sure your Host PC has installed following package: | ||
<pre>$ sudo apt-get update | <pre>$ sudo apt-get update | ||
| Line 129: | Line 147: | ||
[https://docs.nvidia.com/jetson/archives/r34.1/DeveloperGuide/text/SD/FlashingSupport.html nVidia : Flash Support]<br/> '''Flash to NVME / SD directly'''<br/> The nVidia provide another flash option : [https://docs.nvidia.com/jetson/archives/l4t-archived/l4t-3261/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/flashing.html#wwpID0E0PI0HA Flashing with initrd]<br/> Applies to: <u>Jetson Xavier NX and Jetson AGX Xavier series only</u> | [https://docs.nvidia.com/jetson/archives/r34.1/DeveloperGuide/text/SD/FlashingSupport.html nVidia : Flash Support]<br/> '''Flash to NVME / SD directly'''<br/> The nVidia provide another flash option : [https://docs.nvidia.com/jetson/archives/l4t-archived/l4t-3261/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/flashing.html#wwpID0E0PI0HA Flashing with initrd]<br/> Applies to: <u>Jetson Xavier NX and Jetson AGX Xavier series only</u> | ||
| + | |||
| + | ===AIR-020R=== | ||
| + | Flash Jetpack 6.2 / L4T 36.4.3 (orin nano 8G) | ||
| + | <pre>$ cd $TOP/Linux_for_Tegra | ||
| + | $ sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_external.xml -p "-c bootloader/generic/cfg/flash_t234_qspi.xml" --showlogs --network usb0 jetson-orin-nano-devkit-super internal | ||
| + | </pre> | ||
== Flash DTB == | == Flash DTB == | ||
Latest revision as of 04:24, 14 August 2025
Contents
Linux BSP Version
AIR-020
Ubuntu 18.04
Kernel 4.9.201
AIR-020R
Ubuntu 22.04
Kernel 5.15.148
Released Image
AIR-020
AIR-020R
Build Environment on Host
Currently, we adopt Docker as build environment.
You can get the latest version of advrisc/u18.04-imx8lbv1 Docker image for developing nVidia jetson projects.
Docker command:
$ docker pull advrisc/u18.04-imx8lbv1
Run Docker example
Step1 Run docker container (example)
sudo docker run -it --name jetson_linux_risc -v /home/bsp/myLinux:/home/adv/BSP:rw --privileged advrisc/u18.04-imx8lbv1:latest /bin/bash
Step2 In container, change the user. (example)
adv@7cc0fa834366:~$ sudo chown adv:adv -R BSP
Dependncy Library
Please install library in the HOST outside of docker if you get Exec format error.
$sudo apt-get install qemu-user-static
Getting Linux Source Code
AIR-020
$ export GIT_SSL_NO_VERIFY=1
Jetpack 4.5.1 / L4T 32.5.1
$ cd ~/BSP $ mkdir jetson_linux_risc $ cd jetson_linux_risc $ git config --global user.name "Your Name" $ git config --global user.email you@example.com $ repo init -u https://AIM-Linux@dev.azure.com/AIM-Linux/AIR-020/_git/manifests $ repo sync
Jetpack 4.6.1 / L4T 32.7.1
$ repo init -u https://AIM-Linux@dev.azure.com/AIM-Linux/AIR-020/_git/manifests -m 3271.xml
Jetpack 5.1.0 / L4T 35.2.1
$ repo init -u https://dev.azure.com/AIM-Linux/risc_nvidia_jetson_35.2.1/_git/manifests -m air020.xml
Jetpack 5.1.2 / L4T 35.4.1
$ repo init -u https://AIM-Linux@dev.azure.com/AIM-Linux/risc_nvidia_jetson_35.4.1/_git/manifest -m air020.xml
AIR-020R
Jetpack 6.2 / L4T 36.4.3
$ repo init -u https://AIM-Linux@dev.azure.com/AIM-Linux/risc_nvidia_jetson_36.4.3/_git/manifest -m air020-aiw173.xml
Build Image
Build Release Image
sudo ./scripts/build_release.sh -s <SOC> -v <VERSION> Where "-v : Image version" 00001~99999 "-s : 186 - Jetson TX2 NX" " : 194 - Jetson Xavier NX" " : 210 - Jetson Nano"
Build 34.1.1 public board / L4T 35.2.1 / L4T 35.4.1
sudo ./scripts/build_release.sh -v <VERSION>
Build Jetpack 6.2 / L4T 36.4.3
sudo ./scripts/build_release.sh
== Build Kernel
sudo ./scripts/build_kernel.sh -s <SOC> -v <VERSION>
Enter Download Mode
Press following button + power ON, or
Enter following command in the device,
$ sudo reboot --force forced-recovery
Flash Image
AIR-020
Make sure your Host PC has installed following package:
$ sudo apt-get update $ sudo apt-get install binutils device-tree-compiler libxml2-utils python -y
For l4t_initrd_flash.sh using, please install other packages
$ sudo apt-get install sshpass abootimg
For Ubuntu 22.04, please install this pakcage
$ sudo apt-get install python-is-python3
Before flashing the image, power off the DUT, press recovery button and power on.
MARK : For AIR-020 project, please add sudo in front of untar command to extracet the image.
| AIR-020 | |
|---|---|
| Xavier NX |
$ cd $TOP/Linux_for_Tegra/186/ |
| TX2 NX | $ cd $TOP/Linux_for_Tegra/186/ $ sudo ./flash.sh jetson-xavier-nx-devkit-tx2-nx mmcblk0p1 |
| Nano |
$ cd $TOP/Linux_for_Tegra/210/ |
Flash image to NVME
$ sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1 -c ./tools/kernel_flash/flash_l4t_nvme.xml -S 24GiB --showlogs --erase-all jetson-xavier-nx-devkit-emmc nvme0n1p1
nVidia : Flash Support
Flash to NVME / SD directly
The nVidia provide another flash option : Flashing with initrd
Applies to: Jetson Xavier NX and Jetson AGX Xavier series only
AIR-020R
Flash Jetpack 6.2 / L4T 36.4.3 (orin nano 8G)
$ cd $TOP/Linux_for_Tegra $ sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_external.xml -p "-c bootloader/generic/cfg/flash_t234_qspi.xml" --showlogs --network usb0 jetson-orin-nano-devkit-super internal
Flash DTB
| AIR-020 | |
|---|---|
| Xavier NX | $ cd $TOP/Linux_for_Tegra/186/ $ sudo ./flash.sh -r -k kernel-dtb jetson-xavier-nx-devkit-emmc mmcblk0p1 |
| TX2 NX | $ cd $TOP/Linux_for_Tegra/186/ $ sudo ./flash.sh -r -k kernel-dtb jetson-xavier-nx-devkit-tx2-nx mmcblk0p1 |
| Nano | $ cd $TOP/Linux_for_Tegra/210/ $ sudo ./flash.sh -r -k kernel-dtb jetson-nano-devkit-emmc mmcblk0p1 |
Test
Factory Test
$ git clone https://AIM-Linux@dev.azure.com/AIM-Linux/ELAA/_git/advtest-factory