Difference between revisions of "EPC-R7300"
From ESS-WIKI
Darren.huang (talk | contribs) |
Darren.huang (talk | contribs) (→Flash Image) |
||
Line 49: | Line 49: | ||
<pre>$ sudo ./scripts/build_release.sh -v <VERSION> | <pre>$ sudo ./scripts/build_release.sh -v <VERSION> | ||
</pre> | </pre> | ||
+ | |||
== Flash Image == | == Flash Image == | ||
− | + | Connect a linux OS host wired EPC-R7300 with usb-otg cable.<br/> In the Host PC, make sure the EPC-R7300 (<span style="color:#0070c0">'''NVidia Corp'''</span>) has detectd. | |
<pre>[ubuntu@linux 11:55:43 ~]$ lsusb | <pre>[ubuntu@linux 11:55:43 ~]$ lsusb | ||
Bus 002 Device 002: ID 8087:8000 Intel Corp. | Bus 002 Device 002: ID 8087:8000 Intel Corp. | ||
Line 61: | Line 62: | ||
</pre> | </pre> | ||
− | For | + | For Jackpack 5.1.1: |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | 1.Extracted tarball file | |
− | <pre>$ sudo tar -zxvf | + | <pre>$ sudo tar -zxvf 7300A1AIM35UIVXXXXXX.tgz |
$ cd Linux_for_Tegra | $ cd Linux_for_Tegra | ||
</pre> | </pre> | ||
2. Flash | 2. Flash | ||
− | <pre>$ sudo ./ | + | <pre>$ sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_external.xml -p "-c bootloader/t186ref/cfg/flash_t234_qspi.xml" --showlogs --network usb0 jetson-orin-epcr7300-a1 internal |
</pre> | </pre> | ||
− | + | | |
== Reference == | == Reference == | ||
[[AIR_030_Development|AIR-030 Development]] | [[AIR_030_Development|AIR-030 Development]] |
Revision as of 04:49, 24 May 2023
Contents
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.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 epcr7300.xml
$ repo sync
Build Image
$ sudo ./scripts/build_release.sh -v <VERSION>
Flash Image
Connect a linux OS host wired EPC-R7300 with usb-otg cable.
In the Host PC, make sure the EPC-R7300 (NVidia Corp) has detectd.
[ubuntu@linux 11:55:43 ~]$ lsusb Bus 002 Device 002: ID 8087:8000 Intel Corp. Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 003: ID 0bda:0161 Realtek Semiconductor Corp. Mass Storage Device Bus 001 Device 024: ID 0955:7223 NVidia Corp. Bus 001 Device 002: ID 8087:8008 Intel Corp.
For Jackpack 5.1.1:
1.Extracted tarball file
$ sudo tar -zxvf 7300A1AIM35UIVXXXXXX.tgz $ cd Linux_for_Tegra
2. Flash
$ sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_external.xml -p "-c bootloader/t186ref/cfg/flash_t234_qspi.xml" --showlogs --network usb0 jetson-orin-epcr7300-a1 internal