Difference between revisions of "AIR-030"

From ESS-WIKI
Jump to: navigation, search
Line 1: Line 1:
 +
 +
== Linux BSP Version ==
 +
 +
Ubuntu 20.04<br/> Kernel 5.10.104
 +
 +
== Released Image ==
 +
 +
*[http://ess-wiki.advantech.com.tw/view/AIM-Linux/BSP/NV/Linux_Ubuntu_OS_Release_note/Ubuntu20/Internal OS Support List(based on Ubuntu20)]
 +
 +
== Build Environment on Host ==
 +
 +
Currently, we adopt [https://www.docker.com/ Docker] as build environment.<br/> You can get the latest version of advrisc/u18.04-imx8lbv1 Docker image for developing nVidia jetson&nbsp;projects.<br/> Docker command:
 +
<pre>$ docker pull advrisc/u18.04-imx8lbv1</pre>
 +
 +
== Run Docker example ==
 +
 +
Step1 Run docker container (example)
 +
<pre>sudo docker run -it --name jetson_linux_risc -v /home/bsp/myLinux:/home/adv/BSP:rw --privileged advrisc/u18.04-imx8lbv1:latest /bin/bash
 +
</pre>
 +
 +
Step2 In container, change the user. (example)
 +
<pre> adv@7cc0fa834366:~$ sudo chown adv:adv -R BSP
 +
</pre>
 +
 +
== Dependncy Library ==
 +
 +
Please install library in the HOST outside of docker if you get <span style="color:#CD0000;">Exec format error</span>.
 +
<pre>$sudo apt-get install qemu-user-static
 +
</pre>
  
 
== Getting Linux Source Code ==
 
== Getting Linux Source Code ==

Revision as of 08:29, 23 May 2023

Linux BSP Version

Ubuntu 20.04
Kernel 5.10.104

Released Image

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

$ export GIT_SSL_NO_VERIFY=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

Jetpack 5.0.2 / L4T 35.1.0

$ repo init -u https://AIM-Linux@dev.azure.com/AIM-Linux/risc_nvidia_jetson/_git/manifest -m air030_3510.xml

Jetpack 5.1.1 / L4T 35.3.1

$ repo init -u https://AIM-Linux@dev.azure.com/AIM-Linux/risc_nvidia_jetson_35.3.1/_git/manifest -m air030.xml

Public Board
Jetpack 5.0.1 / L4T 34.1.1

$ repo init -u https://AIM-Linux@dev.azure.com/AIM-Linux/risc_nvidia_jetson/_git/manifest -m 3411.xml
$ repo sync

Reference

AIR-030 Development