Difference between revisions of "Linux BSP User Guide for jetson series"

From ESS-WIKI
Jump to: navigation, search
Line 1: Line 1:
<parsererror style="display: block; white-space: pre; border: 2px solid #c77; padding: 0 1em 0 1em; margin: 1em; background-color: #fdd; color: black">
+
&lt;parsererror style="display: block; white-space: pre; border: 2px solid #c77; padding: 0 1em 0 1em; margin: 1em; background-color: #fdd; color: black"&gt;
 +
 
 
=== This page contains the following errors: ===
 
=== This page contains the following errors: ===
<div style="font-family:monospace;font-size:12px">error on line 24 at column 3315: Opening and ending tag mismatch: table line 24 and colgroup </div>
+
<div style="font-family:monospace;font-size:12px">error on line 24 at column 3315: Opening and ending tag mismatch: table line 24 and colgroup</div>
 
=== Below is a rendering of the page up to the first error. ===
 
=== Below is a rendering of the page up to the first error. ===
</parsererror>
+
 
&lt;parsererror style="display: block; white-space: pre; border: 2px solid #c77; padding: 0 1em 0 1em; margin: 1em; background-color: #fdd; color: black"&gt;
+
&lt;/parsererror&gt; &lt;parsererror style="display: block; white-space: pre; border: 2px solid #c77; padding: 0 1em 0 1em; margin: 1em; background-color: #fdd; color: black"&gt;
  
 
=== This page contains the following errors: ===
 
=== This page contains the following errors: ===
Line 133: Line 134:
 
Reference
 
Reference
  
{| width="760px" cellspacing="0" data-pm-slice="1 1 []" data-en-clipboard="true"
+
{| border="1" cellspacing="1" cellpadding="1" style="width: 891px;"
 +
|-
 +
| colspan="4" height="67" width="272" |
 +
Jetson Modules and Configurationswith Respective Jetson Developer Kit Carrier Board
 +
 
 
|-
 
|-
|  
+
| height="67" width="68" |
|}
+
ModulePart Number
 +
 
 +
| width="68" |
 +
Module Notes
 +
 
 +
| width="68" |
 +
Value of&nbsp;$(BOARD)
 +
 
 +
| width="68" |
 +
Notes
 +
 
 +
|-
 +
| height="133" width="68" data-colwidth="190" |
 +
Jetson Xavier NX P3668-0000
 +
 
 +
| width="68" data-colwidth="190" |
 +
For development; not for production use.
 +
 
 +
| width="68" data-colwidth="190" |
 +
jetson-xavier-nx-devkit
 +
 
 +
| width="68" data-colwidth="190" |
 +
Flashes QSPI-NOR and microSD card.
 +
 
 +
|-
 +
| height="67" width="68" data-colwidth="190" |  
 +
Jetson Xavier NX
 +
 
 +
| rowspan="2" width="68" data-colwidth="190" |
 +
For Development or production use.
 +
 
 +
| rowspan="2" width="68" data-colwidth="190" |
 +
jetson-xavier-nx-devkit-emmc
 +
 
 +
| rowspan="2" width="68" data-colwidth="190" |
 +
Flashes QSPI-NOR and eMMC.
 +
 
 +
|-
 +
| height="44" width="68" |
 +
P3668-0001
 +
 
 +
|-
 +
| height="267" width="68" data-colwidth="190" |
 +
Jetson Nano 2GBP3448-0003
 +
 
 +
| width="68" data-colwidth="190" |
 +
For educational and experimental use; not for production or developing production devices.
 +
 
 +
| width="68" data-colwidth="190" |
 +
jetson-nano-2gb-devkit
 +
 
 +
| width="68" data-colwidth="190" |
 +
Flashes QSPI‑NOR and microSD card.
 +
 
 +
|-
 +
| height="267" width="68" data-colwidth="190" |
 +
Jetson Nano 4GBP3448-0000
 +
 
 +
| width="68" data-colwidth="190" |
 +
For development; not for production use. Has a microSD card slot instead of eMMC memory.
 +
 
 +
| width="68" data-colwidth="190" |
 +
jetson-nano-devkit
 +
 
 +
| width="68" data-colwidth="190" |
 +
Flashes QSPI‑NOR and microSD card.
 +
 
 +
|-
 +
| height="111" width="68" data-colwidth="190" |
 +
Jetson Nano 4GBP3448-0002
 +
 
 +
| width="68" data-colwidth="190" |
 +
For development or production use.
 +
 
 +
| width="68" data-colwidth="190" |
 +
jetson-nano-emmc
 +
 
 +
| width="68" data-colwidth="190" |
 +
Flashes QSPI-NOR and eMMC.
 +
 
 +
|-
 +
| height="67" width="68" data-colwidth="190" |
 +
Jetson AGX Xavier
 +
 
 +
| rowspan="4" width="68" data-colwidth="190" |
 +
For development or production use.
 +
 
 +
| rowspan="3" width="68" data-colwidth="190" |
 +
jetson-agx-xavier-devkit
 +
 
 +
| rowspan="3" width="68" data-colwidth="190" |
 +
Flashes eMMC for P2888-0001 (16&nbsp;GB) or P2888-004 (32&nbsp;GB).
 +
 
 +
|-
 +
| height="67" width="68" | P2888-0001 (16&nbsp;GB)
 +
|-
 +
| height="67" width="68" |
 +
P2888-0004 (32&nbsp;GB)
 +
 
 +
|-
 +
| height="111" width="68" data-colwidth="190" |
 +
P2888-0006 (8&nbsp;GB)
 +
 
 +
| width="68" data-colwidth="190" |
 +
jetson-agx-xavier-devkit-8gb
 +
 
 +
| width="68" data-colwidth="190" |
 +
Flashes eMMC to P2888-006 (8&nbsp;GB).
 +
 
 +
|-
 +
| height="44" width="68" data-colwidth="190" |
 +
Jetson TX2
 +
 
 +
| rowspan="6" width="68" data-colwidth="190" |
 +
For development or production use.
 +
 
 +
| rowspan="2" width="68" data-colwidth="190" |
 +
jetson-tx2-devkit
 +
 
 +
| rowspan="6" width="68" data-colwidth="190" |
 +
Flashes eMMC.
 +
 
 +
|-
 +
| height="44" width="68" |
 +
P3310-1000
 +
 
 +
|-
 +
| height="44" width="68" data-colwidth="190" |
 +
Jetson TX2i
 +
 
 +
| rowspan="2" width="68" data-colwidth="190" |
 +
jetson-tx2-devkit-tx2i
 +
 
 +
|-
 +
| height="44" width="68" |
 +
P3489-0000
 +
 
 +
|-
 +
| height="44" width="68" data-colwidth="190" |
 +
Jetson TX2&nbsp;4GB
 +
 
 +
| rowspan="2" width="68" data-colwidth="190" |
 +
jetson-tx2-devkit-4GB
 +
 
 +
|-
 +
| height="44" width="68" |
 +
P3489-0080
 +
 
 +
|-
 +
| height="178" width="68" data-colwidth="190" |
 +
Jetson TX1
 +
 
 +
| rowspan="2" width="68" data-colwidth="190" |
 +
For development with Jetson TX1 or TX2 developer kit, or production use.
 +
 
 +
| rowspan="2" width="68" data-colwidth="190" |
 +
jetson-tx1-devkit
 +
 
 +
| rowspan="2" width="68" data-colwidth="190" |
 +
|-
 +
| height="44" width="68" |
 +
P2180-1000
  
{| width="760px" cellspacing="0" data-pm-slice="1 1 []" data-en-clipboard="true"
 
 
|}
 
|}

Revision as of 02:59, 10 November 2021

<parsererror style="display: block; white-space: pre; border: 2px solid #c77; padding: 0 1em 0 1em; margin: 1em; background-color: #fdd; color: black">

This page contains the following errors:

error on line 24 at column 3315: Opening and ending tag mismatch: table line 24 and colgroup

Below is a rendering of the page up to the first error.

</parsererror> <parsererror style="display: block; white-space: pre; border: 2px solid #c77; padding: 0 1em 0 1em; margin: 1em; background-color: #fdd; color: black">

This page contains the following errors:

error on line 24 at column 3164: Opening and ending tag mismatch: table line 24 and colgroup

Below is a rendering of the page up to the first error.

</parsererror>

Linux BSP Version

Ubuntu 18.04

Kernel 4.9.201

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

Install Some tools

$sudo apt-get install expect 

Getting Linux Source Code

EPC-R7200

$ 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/repo init -u https://gitlab.wise-paas.com/epc-r7200/manifests.git
$ ../repo/repo sync

AIR-020

$ 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/repo init -u https://gitlab.wise-paas.com/air-020/manifests.git
$ ../repo/repo sync

Build Image ( EPC-R7200 / AIR-020 )

Xavier NX / TX2 NX

$ cd $TOP
$ sudo ./scripts/build.sh -s 186

Nano

$ cd $TOP
$ sudo ./scripts/build.sh -s 210

Build Kernel

Xavier NX / TX2 NX

$ cd $TOP
$ sudo ./scripts/build_kernel.sh -s 186

Nano

$ cd $TOP
$ sudo ./scripts/build_kernel.sh -s 210

Flash Image

Before flashing the image, power off the DUT, press recovery button and power on.


EPC-R7200
AIR-020
Xavier NX
$ cd $TOP/Linux_for_Tegra/186/
$ sudo ./flash.sh -d ./bootloader/tegra194-epcr7200.dtb  jetson-xavier-nx-devkit-emmc mmcblk0p1
$ cd $TOP/Linux_for_Tegra/186/
$ sudo ./flash.sh jetson-xavier-nx-devkit-emmc mmcblk0p1
TX2 NX
$ cd $TOP/Linux_for_Tegra/186/
$ sudo ./flash.sh -d ./bootloader/tegra186-epcr7200.dtb  jetson-xavier-nx-devkit-tx2-nx mmcblk0p1
$ cd $TOP/Linux_for_Tegra/186/
$ sudo ./flash.sh jetson-xavier-nx-devkit-tx2-nx mmcblk0p1
Nano $ cd $TOP/Linux_for_Tegra/210/
$ sudo ./flash.sh -d ./bootloader/tegra210-epcr7200.dtb  jetson-nano-devkit-emmc mmcblk0p1
$ cd $TOP/Linux_for_Tegra/210/
$ sudo ./flash.sh jetson-nano-devkit-emmc mmcblk0p1

Flash DTB


EPC-R7200
AIR-020
Xavier NX
$ cd $TOP/Linux_for_Tegra/186/
$ sudo ./flash.sh -r -k kernel-dtb xavier-nx-epcr7200 mmcblk0p1
$ 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 tx2-nx-epcr7200 mmcblk0p1
$ 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 DTB nano-epcr7200 mmcblk0p1
$ cd $TOP/Linux_for_Tegra/210/
$ sudo ./flash.sh -r -k kernel-dtb jetson-nano-devkit-emmc mmcblk0p1


Reference

Jetson Modules and Configurationswith Respective Jetson Developer Kit Carrier Board

ModulePart Number

Module Notes

Value of $(BOARD)

Notes

Jetson Xavier NX P3668-0000

For development; not for production use.

jetson-xavier-nx-devkit

Flashes QSPI-NOR and microSD card.

Jetson Xavier NX

For Development or production use.

jetson-xavier-nx-devkit-emmc

Flashes QSPI-NOR and eMMC.

P3668-0001

Jetson Nano 2GBP3448-0003

For educational and experimental use; not for production or developing production devices.

jetson-nano-2gb-devkit

Flashes QSPI‑NOR and microSD card.

Jetson Nano 4GBP3448-0000

For development; not for production use. Has a microSD card slot instead of eMMC memory.

jetson-nano-devkit

Flashes QSPI‑NOR and microSD card.

Jetson Nano 4GBP3448-0002

For development or production use.

jetson-nano-emmc

Flashes QSPI-NOR and eMMC.

Jetson AGX Xavier

For development or production use.

jetson-agx-xavier-devkit

Flashes eMMC for P2888-0001 (16 GB) or P2888-004 (32 GB).

P2888-0001 (16 GB)

P2888-0004 (32 GB)

P2888-0006 (8 GB)

jetson-agx-xavier-devkit-8gb

Flashes eMMC to P2888-006 (8 GB).

Jetson TX2

For development or production use.

jetson-tx2-devkit

Flashes eMMC.

P3310-1000

Jetson TX2i

jetson-tx2-devkit-tx2i

P3489-0000

Jetson TX2 4GB

jetson-tx2-devkit-4GB

P3489-0080

Jetson TX1

For development with Jetson TX1 or TX2 developer kit, or production use.

jetson-tx1-devkit

P2180-1000