Difference between revisions of "EPC-R7300"
Darren.huang (talk | contribs) |
Darren.huang (talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
== Linux BSP Version == | == Linux BSP Version == | ||
+ | |||
+ | Jetpack 5.1.1 / L4T 35.3.1 | ||
+ | |||
+ | *Ubuntu 20.04 | ||
+ | *Kernel 5.10.104 | ||
Jetpack 6.1.1 / L4T 36.4.2 | Jetpack 6.1.1 / L4T 36.4.2 | ||
Line 6: | Line 11: | ||
*Ubuntu 22.04 | *Ubuntu 22.04 | ||
*Kernel 5.15.148 | *Kernel 5.15.148 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
== Released Image == | == 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)] | ||
*[http://ess-wiki.advantech.com.tw/view/AIM-Linux/BSP/NV/Linux_Ubuntu_OS_Release_note/Ubuntu22/Internal OS Support List(based on Ubuntu22)] | *[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 == | ||
Line 48: | Line 48: | ||
</pre> | </pre> | ||
− | Jetpack | + | For Jetpack 5.1.1 / L4T 35.3.1 : |
(1) repo current xml file: | (1) repo current xml file: | ||
− | <pre>$ repo init -u https://AIM-Linux@dev.azure.com/AIM-Linux/ | + | <pre>$ repo init -u https://AIM-Linux@dev.azure.com/AIM-Linux/risc_nvidia_jetson_35.3.1/_git/manifest -m epcr7300.xml |
$ repo sync | $ repo sync | ||
</pre> | </pre> | ||
(2) repo tag version xml file: | (2) repo tag version xml file: | ||
− | <pre>$ repo init -u https://AIM-Linux@dev.azure.com/AIM-Linux/ | + | <pre>$ repo init -u https://AIM-Linux@dev.azure.com/AIM-Linux/risc_nvidia_jetson_35.3.1/_git/manifest -m nvUBV20006.xml |
$ repo sync | $ repo sync | ||
</pre> | </pre> | ||
− | | + | For Jetpack 6.1.1 / L4T 36.4.2 : |
− | + | <span style="color:#cc0000;">'''You need to get the ADV_GIT_TOKEN by contacting the PM or AE of EPC-R7300.'''</span> | |
+ | <pre>$ git config --global credential.helper 'store --file ~/.my-credentials' | ||
+ | $ echo "https://AIM-Linux:${ADV_GIT_TOKEN}@dev.azure.com" > ~/.my-credentials</pre> | ||
(1) repo current xml file: | (1) repo current xml file: | ||
− | <pre>$ repo init -u https://AIM-Linux@dev.azure.com/AIM-Linux/ | + | <pre>$ repo init -u https://AIM-Linux@dev.azure.com/AIM-Linux/risc_nvidia_jetson_36.4.2/_git/manifest -m epcr7300.xml |
$ repo sync | $ repo sync | ||
</pre> | </pre> | ||
(2) repo tag version xml file: | (2) repo tag version xml file: | ||
− | <pre>$ repo init -u https://AIM-Linux@dev.azure.com/AIM-Linux/ | + | <pre>$ repo init -u https://AIM-Linux@dev.azure.com/AIM-Linux/risc_nvidia_jetson_36.4.2/_git/manifest -m epcr7300a1_uj06101_k0515148_nvona_8g.xml |
$ repo sync | $ repo sync | ||
</pre> | </pre> | ||
Line 95: | Line 97: | ||
</pre> | </pre> | ||
− | For Jackpack | + | For Jackpack 5.1.1: |
1.Extracted tarball file | 1.Extracted tarball file | ||
− | <pre>$ sudo tar -zxvf | + | <pre>$ sudo tar -zxvf 7300A1AIM35UIVXXXXXX.tgz |
$ cd Linux_for_Tegra | $ cd Linux_for_Tegra | ||
</pre> | </pre> | ||
Line 105: | Line 107: | ||
(1) To flash QSPI + NVME SSD: | (1) To flash QSPI + NVME SSD: | ||
− | <pre>$ sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_external.xml -p "-c bootloader/ | + | <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> | ||
+ | |||
+ | (2) To flash only QSPI: | ||
+ | <pre>$ sudo ./flash.sh --no-systemimg -c bootloader/t186ref/cfg/flash_t234_qspi.xml jetson-orin-epcr7300-a1 mmcblk0p1 | ||
</pre> | </pre> | ||
− | + | (3) To flash only NVMe SSD (Need to flash QSPI first): | |
+ | <pre>$ sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-only --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_external.xml --showlogs --network usb0 jetson-orin-epcr7300-a1 internal | ||
+ | </pre> | ||
− | For Jackpack | + | For Jackpack 6.1.1: |
1.Extracted tarball file | 1.Extracted tarball file | ||
− | <pre>$ sudo tar -zxvf | + | <pre>$ sudo tar -zxvf epcr7300a1_uj06101_k0515148_nvona_8g_nvme_2025-01-09.tgz |
$ cd Linux_for_Tegra | $ cd Linux_for_Tegra | ||
</pre> | </pre> | ||
Line 120: | Line 128: | ||
(1) To flash QSPI + NVME SSD: | (1) To flash QSPI + NVME SSD: | ||
− | <pre>$ sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_external.xml -p "-c bootloader/ | + | <pre>$ sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_external.xml -p "-c bootloader/generic/cfg/flash_t234_qspi.xml" --showlogs --network usb0 jetson-orin-nano-devkit-super internal |
</pre> | </pre> | ||
− | + | | |
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 03:01, 13 January 2025
Contents
Linux BSP Version
Jetpack 5.1.1 / L4T 35.3.1
- Ubuntu 20.04
- Kernel 5.10.104
Jetpack 6.1.1 / L4T 36.4.2
- Ubuntu 22.04
- Kernel 5.15.148
Released Image
Build Environment on Host
Currently, we adopt Docker as build environment.
You can get the latest version of advrisc/u20.04-nvlbv2 Docker image for developing nVidia jetson projects.
Docker command:
$ docker pull advrisc/u20.04-nvlbv2
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: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
For Jetpack 5.1.1 / L4T 35.3.1 :
(1) repo current xml file:
$ repo init -u https://AIM-Linux@dev.azure.com/AIM-Linux/risc_nvidia_jetson_35.3.1/_git/manifest -m epcr7300.xml $ repo sync
(2) repo tag version xml file:
$ repo init -u https://AIM-Linux@dev.azure.com/AIM-Linux/risc_nvidia_jetson_35.3.1/_git/manifest -m nvUBV20006.xml $ repo sync
For Jetpack 6.1.1 / L4T 36.4.2 :
You need to get the ADV_GIT_TOKEN by contacting the PM or AE of EPC-R7300.
$ git config --global credential.helper 'store --file ~/.my-credentials' $ echo "https://AIM-Linux:${ADV_GIT_TOKEN}@dev.azure.com" > ~/.my-credentials
(1) repo current xml file:
$ repo init -u https://AIM-Linux@dev.azure.com/AIM-Linux/risc_nvidia_jetson_36.4.2/_git/manifest -m epcr7300.xml $ repo sync
(2) repo tag version xml file:
$ repo init -u https://AIM-Linux@dev.azure.com/AIM-Linux/risc_nvidia_jetson_36.4.2/_git/manifest -m epcr7300a1_uj06101_k0515148_nvona_8g.xml $ repo sync
Build Image
$ sudo ./scripts/build_release.sh -v <VERSION>
Flash Image
Press the SW1 button and power on EPC-R7300.
Or enter following command in the device.
$ sudo reboot --force forced-recovery
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 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 072: ID 174c:2362 ASMedia Technology Inc. ASM236X series Bus 001 Device 073: ID 05ac:12a8 Apple, Inc. iPhone5/5C/5S/6 Bus 001 Device 074: ID 0955:7623 NVIDIA Corp. APX Bus 001 Device 003: ID 0bda:0169 Realtek Semiconductor Corp. Mass Storage Device
For Jackpack 5.1.1:
1.Extracted tarball file
$ sudo tar -zxvf 7300A1AIM35UIVXXXXXX.tgz $ cd Linux_for_Tegra
2. Flash
(1) To flash QSPI + NVME SSD:
$ 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
(2) To flash only QSPI:
$ sudo ./flash.sh --no-systemimg -c bootloader/t186ref/cfg/flash_t234_qspi.xml jetson-orin-epcr7300-a1 mmcblk0p1
(3) To flash only NVMe SSD (Need to flash QSPI first):
$ sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-only --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_external.xml --showlogs --network usb0 jetson-orin-epcr7300-a1 internal
For Jackpack 6.1.1:
1.Extracted tarball file
$ sudo tar -zxvf epcr7300a1_uj06101_k0515148_nvona_8g_nvme_2025-01-09.tgz $ cd Linux_for_Tegra
2. Flash
(1) To flash QSPI + NVME SSD:
$ sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_external.xml -p "-c bootloader/generic/cfg/flash_t234_qspi.xml" --showlogs --network usb0 jetson-orin-nano-devkit-super internal