Difference between revisions of "EPC-R7200"
(3 intermediate revisions by the same user not shown) | |||
Line 105: | Line 105: | ||
== Flash DTB == | == Flash DTB == | ||
− | {| border="1" cellpadding="1" cellspacing="1" style="width: | + | {| border="1" cellpadding="1" cellspacing="1" style="width: 600px;" |
|- | |- | ||
! scope="row" | | ! scope="row" | | ||
! scope="col" style="width: 389px;background-color:rgb(80, 80, 80);color:#FFFFFF" | EPC-R7200 | ! scope="col" style="width: 389px;background-color:rgb(80, 80, 80);color:#FFFFFF" | EPC-R7200 | ||
− | |||
|- | |- | ||
! scope="row" | Xavier NX | ! scope="row" | Xavier NX | ||
− | | style="width: | + | | style="width: 700px;" | $ cd $TOP/Linux_for_Tegra/186/<br/> $ sudo ./flash.sh -r -k kernel-dtb <span style="color:#0000FF;">xavier-nx-epcr7200</span> mmcblk0p1 |
|- | |- | ||
! scope="row" | TX2 NX | ! scope="row" | TX2 NX | ||
− | | style="width: | + | | style="width: 700px;" | $ cd $TOP/Linux_for_Tegra/186/<br/> $ sudo ./flash.sh -r -k kernel-dtb <span style="color:#0000FF;">tx2-nx-epcr7200</span> mmcblk0p1 |
|- | |- | ||
! scope="row" | Nano | ! scope="row" | Nano | ||
− | | style="width: | + | | style="width: 700px;" | $ cd $TOP/Linux_for_Tegra/210/<br/> $ sudo ./flash.sh -r -k DTB <span style="color:#0000FF;">nano-epcr7200</span> mmcblk0p1 |
|} | |} | ||
Line 126: | Line 125: | ||
<pre>$ git clone https://AIM-Linux@dev.azure.com/AIM-Linux/ELAA/_git/advtest-factory | <pre>$ git clone https://AIM-Linux@dev.azure.com/AIM-Linux/ELAA/_git/advtest-factory | ||
</pre> | </pre> | ||
+ | |||
+ | == Reference == | ||
+ | [[EPC-R7200-UIO|EPC-R7200-UIO]]<br/> |
Latest revision as of 08:33, 23 May 2023
Contents
Linux BSP Version
Ubuntu 18.04
Kernel 4.9.201
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
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/EPC-R7200/_git/manifests $ repo sync
Jetpack 4.6.1 / L4T 32.7.1
$ repo init -u https://AIM-Linux@dev.azure.com/AIM-Linux/EPC-R7200/_git/manifests -m 3271.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 factory test image
sudo ./scripts/build_release_factory_test.sh -s 194 -v 00001
SOP:Factory_Board_Level_Test_for_EPC-R7200.pdf
Image:epcr7200_194_factory_20221130.tar.gz
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
Make sure your Host PC has installed following package:
$ sudo apt-get update $ sudo apt-get install binutils device-tree-compiler libxml2-utils -y
Before flashing the image, power off the DUT, press recovery button and power on.
MARK : For the EPC-R7200 project, please add sudo in front of untar command to extracet the image.
EPC-R7200 | |
---|---|
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 DTB
EPC-R7200 | |
---|---|
Xavier NX | $ cd $TOP/Linux_for_Tegra/186/ $ sudo ./flash.sh -r -k kernel-dtb xavier-nx-epcr7200 mmcblk0p1 |
TX2 NX | $ cd $TOP/Linux_for_Tegra/186/ $ sudo ./flash.sh -r -k kernel-dtb tx2-nx-epcr7200 mmcblk0p1 |
Nano | $ cd $TOP/Linux_for_Tegra/210/ $ sudo ./flash.sh -r -k DTB nano-epcr7200 mmcblk0p1 |
Test
Factory Test
$ git clone https://AIM-Linux@dev.azure.com/AIM-Linux/ELAA/_git/advtest-factory