Difference between revisions of "AFE-R750"
(Created page with " == Linux BSP Version == Ubuntu 22.04<br/> Kernel 5.15.148 == Released Image == *[http://ess-wiki.advantech.com.tw/view/AIM-Linux/BSP/NV/Linux_Ubuntu_OS_Release_note/Ubuntu...") |
|||
| (15 intermediate revisions by 2 users not shown) | |||
| Line 6: | Line 6: | ||
== Released Image == | == Released Image == | ||
| − | *[http://ess-wiki.advantech.com.tw/view/AIM-Linux/BSP/NV/Linux_Ubuntu_OS_Release_note/ | + | *[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 == | ||
| − | + | Attention : <span data-darkreader-inline-color="" style="color: rgb(205, 0, 0); --darkreader-inline-color: #ff3d3d;">Your host OS please use a version higher than ubuntu 20.04</span> | |
| − | Currently, we adopt [https://www.docker.com/ Docker] as build environment.<br/> You can get the latest version of advrisc/ | + | <br/> |
| − | <pre>$ docker pull advrisc/ | + | Currently, we adopt [https://www.docker.com/ Docker] as build environment.<br/> You can get the latest version of advrisc/u20.04-nvlbv2:20240515 Docker image for developing nVidia jetson projects. |
| + | <br/>Docker command: | ||
| + | <pre>$ sudo docker pull advrisc/u20.04-nvlbv2:20240515</pre> | ||
== Run Docker example == | == Run Docker example == | ||
Step1 Run docker container (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/ | + | <pre>sudo docker run -it --name jetson_linux_risc -v /home/bsp/myLinux:/home/adv/BSP:rw --privileged advrisc/u20.04-nvlbv2:20240515 /bin/bash |
</pre> | </pre> | ||
| Line 26: | Line 28: | ||
Please install library in the HOST outside of docker if you get <span data-darkreader-inline-color="" style="color: rgb(205, 0, 0); --darkreader-inline-color: #ff3d3d;">Exec format error</span>. | Please install library in the HOST outside of docker if you get <span data-darkreader-inline-color="" style="color: rgb(205, 0, 0); --darkreader-inline-color: #ff3d3d;">Exec format error</span>. | ||
| − | <pre>$sudo apt-get install qemu-user-static | + | <pre>$ sudo apt-get install qemu-user-static |
</pre> | </pre> | ||
| Line 35: | Line 37: | ||
$ cd jetson_linux_risc | $ cd jetson_linux_risc | ||
$ git config --global user.name "Your Name" | $ git config --global user.name "Your Name" | ||
| − | $ git config --global user.email | + | $ git config --global user.email "Your@example.com" |
</pre> | </pre> | ||
| Line 44: | Line 46: | ||
== Build Image (flex bison) == | == Build Image (flex bison) == | ||
| − | <pre>$ sudo ./scripts/build_release.sh | + | <pre> |
| + | $ sudo ./scripts/build_release.sh | ||
</pre> | </pre> | ||
== Flash Image == | == Flash Image == | ||
| − | 1.Extracted tarball file | + | 1. HW setting recover mode |
| + | <br/> | ||
| + | Change the recover mode "2" to ON and press power button. | ||
| + | <br/> | ||
| + | [[File:750 image.png|600px|border]] | ||
| + | <br/> | ||
| + | Connect a linux OS host wired AFE-R750 with Flash USB cable. | ||
| + | <br/> | ||
| + | In the Host PC, make sure the AFE-R750 (NVidia Corp) has detectd. | ||
| + | <pre>[ubuntu@linux 11:55:43 ~]$ lsusb | ||
| + | Bus 001 Device 024: ID 0955:7223 NVidia Corp. | ||
| + | </pre> | ||
| + | |||
| + | 2.Extracted tarball file | ||
<pre>$ sudo tar -zxvf afer750_image_XXXXXX.tar.gz | <pre>$ sudo tar -zxvf afer750_image_XXXXXX.tar.gz | ||
$ cd Linux_for_Tegra | $ cd Linux_for_Tegra | ||
</pre> | </pre> | ||
| − | + | 3.Flash image to eMMC (AGX ORIN MODULE) | |
<pre>$ sudo ./flash.sh jetson-agx-orin-devkit mmcblk0p1 | <pre>$ sudo ./flash.sh jetson-agx-orin-devkit mmcblk0p1 | ||
</pre> | </pre> | ||
| + | |||
| + | 4.Flash image to NVMe (AGX ORIN MODULE) | ||
| + | <pre>$ sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_t234_nvme.xml -p "-c bootloader/generic/cfg/flash_t234_qspi.xml" --showlogs --network usb0 jetson-agx-orin-devkit nvme0n1p1 | ||
| + | </pre> | ||
| + | |||
| + | 5.Flash image to NVMe (ORIN NX MODULE) | ||
| + | <pre>$ sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_t234_nvme.xml -p "-c bootloader/generic/cfg/flash_t234_qspi.xml" --showlogs --network usb0 jetson-orin-nano-devkit internal | ||
| + | </pre> | ||
| + | |||
| + | == Reference == | ||
| + | |||
| + | [[AFE_R750_Development|AFE-R750 Development]] | ||
Latest revision as of 07:03, 25 September 2025
Contents
Linux BSP Version
Ubuntu 22.04
Kernel 5.15.148
Released Image
Build Environment on Host
Attention : Your host OS please use a version higher than ubuntu 20.04
Currently, we adopt Docker as build environment.
You can get the latest version of advrisc/u20.04-nvlbv2:20240515 Docker image for developing nVidia jetson projects.
Docker command:
$ sudo docker pull advrisc/u20.04-nvlbv2:20240515
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/u20.04-nvlbv2:20240515 /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 "Your@example.com"
Jetpack 6.1 / L4T 36.4
$ repo init -u https://AIM-Linux@dev.azure.com/AIM-Linux/risc_nvidia_jetson_36.4/_git/manifests -m afer750.xml $ repo sync
Build Image (flex bison)
$ sudo ./scripts/build_release.sh
Flash Image
1. HW setting recover mode
Change the recover mode "2" to ON and press power button.
Connect a linux OS host wired AFE-R750 with Flash USB cable.
In the Host PC, make sure the AFE-R750 (NVidia Corp) has detectd.
[ubuntu@linux 11:55:43 ~]$ lsusb Bus 001 Device 024: ID 0955:7223 NVidia Corp.
2.Extracted tarball file
$ sudo tar -zxvf afer750_image_XXXXXX.tar.gz $ cd Linux_for_Tegra
3.Flash image to eMMC (AGX ORIN MODULE)
$ sudo ./flash.sh jetson-agx-orin-devkit mmcblk0p1
4.Flash image to NVMe (AGX ORIN MODULE)
$ sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_t234_nvme.xml -p "-c bootloader/generic/cfg/flash_t234_qspi.xml" --showlogs --network usb0 jetson-agx-orin-devkit nvme0n1p1
5.Flash image to NVMe (ORIN NX MODULE)
$ sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_t234_nvme.xml -p "-c bootloader/generic/cfg/flash_t234_qspi.xml" --showlogs --network usb0 jetson-orin-nano-devkit internal