Skip to content

Commit

Permalink
Merge branch 'docusaurus-version' into A1102_Camera
Browse files Browse the repository at this point in the history
  • Loading branch information
Jasionf authored Jan 8, 2025
2 parents 5e453ba + 9265385 commit 69c6e3a
Show file tree
Hide file tree
Showing 14 changed files with 724 additions and 257 deletions.
27 changes: 26 additions & 1 deletion docs/Edge/M_2_Hat/m_2_hat_start_with_pi5.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,37 @@ last_update:

## Introduction

This tutorial mainly introduces the hardware connection configuration of M.2 Hat/dual Hat and how to make the Raspberry Pi boot from the SSD.And introduces two installation methods, with and without casing.
This tutorial primarily introduces the hardware connection configuration of the M.2 Hat/Dual Hat and how to boot the Raspberry Pi from an SSD. It also covers two installation methods: with and without a casing, and tests the SSD read/write speeds under different conditions.

## Getting Start

### Hardware Preparation

<div class="table-center">
<table align="center">
<tr>
<th>Raspberry Pi5 8GB</th>
<th>M.2 Hat/dual Hat</th>
</tr>
<tr>
<td><div style={{textAlign:'center'}}><img src="https://media-cdn.seeedstudio.com/media/catalog/product/cache/bb49d3ec4ee05b6f018e93f896b8a25d/2/-/2-102110919-raspberry-pi-5-8gb-font.jpg" style={{width:600, height:'auto'}}/></div></td>
<td><div style={{textAlign:'center'}}><img src="https://media-cdn.seeedstudio.com/media/catalog/product/cache/bb49d3ec4ee05b6f018e93f896b8a25d/3/-/3-103110064-pcie-to-m.2-dual-hat-for-raspberry-pi-5-fonmt.jpg" style={{width:600, height:'auto'}}/></div></td>
</tr>
<tr>
<td><div class="get_one_now_container" style={{textAlign: 'center'}}>
<a class="get_one_now_item" href="https://www.seeedstudio.com/Raspberry-Pi-5-8GB-p-5810.html">
<strong><span><font color={'FFFFFF'} size={"4"}> Get One Now 🖱️</font></span></strong>
</a>
</div></td>
<td><div class="get_one_now_container" style={{textAlign: 'center'}}>
<a class="get_one_now_item" href="https://www.seeedstudio.com/PCIe-to-dual-M-2-hat-for-Raspberry-Pi-5-p-5973.html">
<strong><span><font color={'FFFFFF'} size={"4"}> Get One Now 🖱️</font></span></strong>
</a>
</div></td>
</tr>
</table>
</div>

For installation without a casing, you need to prepare the following materials:

- ① Raspberry Pi 5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ This wiki provides the assembly and debugging tutorial for the SO ARM100 and rea
</div>

<div class="get_one_now_container" style={{textAlign: 'center'}}>
<a class="get_one_now_item" href="https://www.seeedstudio.com/reComputer-J4012-p-5586.html">
<a class="get_one_now_item" href="https://www.seeedstudio.com/SO-ARM100-Low-Cost-AI-Arm-Kit.html">
<strong><span><font color={'FFFFFF'} size={"4"}> Get One Now 🖱️</font></span></strong>
</a></div>

Expand Down
74 changes: 71 additions & 3 deletions docs/Edge/NVIDIA_Jetson/Carrier_Boards/A607/A607_Flash_JetPack.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ First of all, you need to install the peripheral drivers for this board. These a
</thead>
<tbody>
<tr>
<td rowSpan={3}>Jetson Orin NX 8GB/ 16GB</td>
<td rowSpan={4}>Jetson Orin NX 8GB/ 16GB</td>
<td>5.1</td>
<td>35.2.1</td>
<td><a href="https://sourceforge.net/projects/nvidia-jetson/files/A607-Carrier-Board/Orin-NX/A607-Orin-NX-JP5.1.zip/download" target="_blank" rel="noopener noreferrer">Download</a></td>
Expand All @@ -85,7 +85,12 @@ First of all, you need to install the peripheral drivers for this board. These a
<td><a href="https://seeedstudio88-my.sharepoint.com/:u:/g/personal/youjiang_yu_seeedstudio88_onmicrosoft_com/EQS4f032w2VIsYE-4Bs80K8BIRD7YGXgBdDq6umW3zCIlw?e=l0LWr0" target="_blank" rel="noopener noreferrer">Download</a></td>
</tr>
<tr>
<td rowSpan={2}>Jetson Orin Nano 4GB</td>
<td>6.1</td>
<td>36.4</td>
<td><a href="https://seeedstudio88-my.sharepoint.com/:u:/g/personal/youjiang_yu_seeedstudio88_onmicrosoft_com/Ecv3iI8SWcNJs7f_6_bOcyIB9xr9o9x7Ghs98Hj07Im1Ew?e=fkwe6b" target="_blank" rel="noopener noreferrer">Download</a></td>
</tr>
<tr>
<td rowSpan={3}>Jetson Orin Nano 4GB</td>
<td>5.1.1</td>
<td>35.3.1</td>
<td><a href="https://sourceforge.net/projects/nvidia-jetson/files/A607-Carrier-Board/Orin-NX/A607-Orin-Nano-4GB-JP5.1.1.zip/download" target="_blank" rel="noopener noreferrer">Download</a></td>
Expand All @@ -96,7 +101,12 @@ First of all, you need to install the peripheral drivers for this board. These a
<td><a href="https://seeedstudio88-my.sharepoint.com/:u:/g/personal/youjiang_yu_seeedstudio88_onmicrosoft_com/EQS4f032w2VIsYE-4Bs80K8BIRD7YGXgBdDq6umW3zCIlw?e=l0LWr0" target="_blank" rel="noopener noreferrer">Download</a></td>
</tr>
<tr>
<td rowSpan={2}>Jetson Orin Nano 8GB</td>
<td>6.1</td>
<td>36.4</td>
<td><a href="https://seeedstudio88-my.sharepoint.com/:u:/g/personal/youjiang_yu_seeedstudio88_onmicrosoft_com/Ecv3iI8SWcNJs7f_6_bOcyIB9xr9o9x7Ghs98Hj07Im1Ew?e=fkwe6b" target="_blank" rel="noopener noreferrer">Download</a></td>
</tr>
<tr>
<td rowSpan={3}>Jetson Orin Nano 8GB</td>
<td>5.1.1</td>
<td>35.3.1</td>
<td><a href="https://sourceforge.net/projects/nvidia-jetson/files/A607-Carrier-Board/Orin-NX/A607-Orin-Nano-8GB-JP5.1.1.zip/download" target="_blank" rel="noopener noreferrer">Download</a></td>
Expand All @@ -106,6 +116,11 @@ First of all, you need to install the peripheral drivers for this board. These a
<td>36.3</td>
<td><a href="https://seeedstudio88-my.sharepoint.com/:u:/g/personal/youjiang_yu_seeedstudio88_onmicrosoft_com/EQS4f032w2VIsYE-4Bs80K8BIRD7YGXgBdDq6umW3zCIlw?e=l0LWr0" target="_blank" rel="noopener noreferrer">Download</a></td>
</tr>
<tr>
<td>6.1</td>
<td>36.4</td>
<td><a href="https://seeedstudio88-my.sharepoint.com/:u:/g/personal/youjiang_yu_seeedstudio88_onmicrosoft_com/Ecv3iI8SWcNJs7f_6_bOcyIB9xr9o9x7Ghs98Hj07Im1Ew?e=fkwe6b" target="_blank" rel="noopener noreferrer">Download</a></td>
</tr>
</tbody>
</table>
</div>
Expand Down Expand Up @@ -315,6 +330,59 @@ You will see the following output if the flashing process is successful:
<div align="center"><img width={800} src="https://files.seeedstudio.com/wiki/A603/10.jpg" /></div>

</TabItem>

<TabItem value="JP6.1" label="JP6.1">

Here we will use NVIDIA L4T **36.4** to install **Jetpack 6.1** on the A607 Carrier Board with Jetson Orin NX module.

**Step 1:** [Download](https://developer.nvidia.com/embedded/jetson-linux-r3640) the NVIDIA drivers on the host PC. The required drivers are shown below:

<div align="center"><img width={800} src="https://files.seeedstudio.com/wiki/Jetson-AGX-Orin-32GB-H01-Kit/2.jpg" /></div>

**Step 2:** Move the downloaded peripheral drivers from before into the same folder with NVIDIA drivers. Now you will see three compressed files in the same folder.

<div align="center"><img width={800} src="https://files.seeedstudio.com/wiki/reComputer-Jetson/A607/a607_jp6.1.png" /></div>

:::note
You can use the following command to verify that the downloaded file is complete.

<div align="center">
<img width ="800" src="https://files.seeedstudio.com/wiki/reComputer-Jetson/A607/verify_download_file.webp"/>
</div>
:::

**Step 3:** Extract **Jetson_Linux_R36.4.0_aarch64.tbz2** and **Tegra_Linux_Sample-Root-Filesystem_R36.4.0_aarch64.tbz2** by navigating to the folder containing these files and apply the changes:

```bash
cd <path_to_files>
tar xf Jetson_Linux_R36.4.0_aarch64.tbz2
sudo tar xfp Tegra_Linux_Sample-Root-Filesystem_R36.4.0_aarch64.tbz2 -C Linux_for_tegra/rootfs
cd Linux_for_tegra
sudo ./tools/l4t_flash_prerequisites.sh
sudo ./apply_binaries.sh
```

**Step 4:** Extract **A607_Jetpack_6.1.tar.gz**:

```sh
cd ..
tar xf A607_Jetpack_6.1.tar.gz
sudo cp -r 607_jetpack6.1/Linux_for_Tegra/* Linux_for_Tegra/
```

**Step 5:** Flash the system to either NVMe SSD:

```sh
cd Linux_for_Tegra
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
```

You will see the following output if the flashing process is successful:

<div align="center"><img width={800} src="https://files.seeedstudio.com/wiki/A603/10.jpg" /></div>

</TabItem>

</Tabs>


Expand Down
66 changes: 53 additions & 13 deletions docs/Edge/NVIDIA_Jetson/Carrier_Boards/A608/A608_Flash_JetPack.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ import TabItem from '@theme/TabItem';
<Tabs>
<TabItem value="JP5.1.1" label="JP5.1.1">

## Download the system image package to the PC host

Here we will use NVIDIA L4T 35.3.1 to install Jetpack 5.1.1 on the A608 Carrier Board with Jetson Orin NX module.

Expand All @@ -117,7 +116,7 @@ Now you will see three compressed files in the same folder:

Open a terminal window on the host PC and run the following command:

```sh
```bash
cd <path to drivers>
sudo apt install unzip
tar xf Jetson_Linux_R35.3.1_aarch64.tbz2
Expand All @@ -134,17 +133,17 @@ cp -r ./608_jp511/Linux_for_Tegra/* ./Linux_for_Tegra/
**Step 4.** Flash the system to A608.

- Flash to NVMe
```sh
```bash
cd Linux_for_Tegra
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-nano-devkit internal
```
- Flash to USB
```sh
```bash
cd Linux_for_Tegra
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device sda1 -c tools/kernel_flash/flash_l4t_external.xml -p "-c bootloader/t186ref/cfg/flash_t234_qspi.xml" --showlogs --network usb0 jetson-orin-nano-devkit internal
```
- Flash to SD
```sh
```bash
cd Linux_for_Tegra
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device mmcblk1p1 -c tools/kernel_flash/flash_l4t_external.xml -p "-c bootloader/t186ref/cfg/flash_t234_qspi.xml" --showlogs --network usb0 jetson-orin-nano-devkit internal
```
Expand All @@ -157,8 +156,6 @@ After flashing, power on Jetson Device again and log into the system.
</TabItem>
<TabItem value="JP5.1.2" label="JP5.1.2">

## Download the system image package to the PC host

Here we will use NVIDIA L4T 35.4.1 to install Jetpack 5.1.2 on the A608 Carrier Board with Jetson Orin NX module.

**Step 1.** [Download](https://developer.nvidia.com/embedded/jetson-linux-r3541) the NVIDIA drivers on the host PC. The required drivers are shown below:
Expand All @@ -176,7 +173,7 @@ Now you will see three compressed files in the same folder:

Open a terminal window on the host PC and run the following command:

```sh
```bash
cd <path to drivers>
sudo apt install unzip
tar xf Jetson_Linux_R35.4.1_aarch64.tbz2
Expand All @@ -192,17 +189,17 @@ cp -r ./608_jp512/Linux_for_Tegra/* ./Linux_for_Tegra/
**Step 4.** Flash the system to A608.

- Flash to NVMe
```sh
```bash
cd Linux_for_Tegra
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-nano-devkit internal
```
- Flash to USB
```sh
```bash
cd Linux_for_Tegra
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device sda1 -c tools/kernel_flash/flash_l4t_external.xml -p "-c bootloader/t186ref/cfg/flash_t234_qspi.xml" --showlogs --network usb0 jetson-orin-nano-devkit internal
```
- Flash to SD
```sh
```bash
cd Linux_for_Tegra
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device mmcblk1p1 -c tools/kernel_flash/flash_l4t_external.xml -p "-c bootloader/t186ref/cfg/flash_t234_qspi.xml" --showlogs --network usb0 jetson-orin-nano-devkit internal
```
Expand All @@ -217,8 +214,6 @@ After flashing, power on Jetson Device again and log into the system.

<TabItem value="JP6.0" label="JP6.0">

## Download the system image package to the PC host

Here we will use NVIDIA L4T 36.3 to install Jetpack 6.0 on the A608 Carrier Board with Jetson Orin NX module.

**Step 1.** [Download](https://developer.nvidia.com/embedded/jetson-linux-r363) the NVIDIA drivers on the host PC. The required drivers are shown below:
Expand Down Expand Up @@ -263,6 +258,51 @@ After flashing, power on Jetson Device again and log into the system.

</TabItem>

<TabItem value="JP6.1" label="JP6.1">

Here we will use NVIDIA L4T 36.4 to install Jetpack 6.1 on the A608 Carrier Board with Jetson Orin NX module.

**Step 1.** [Download](https://developer.nvidia.com/embedded/jetson-linux-r3640) the NVIDIA drivers on the host PC. The required drivers are shown below:
<div align="center"><img width="{800}" src="https://files.seeedstudio.com/wiki/reComputer-Jetson/A608/5.1.2_P1.png" /></div>

**Step 2.** [Download](https://seeedstudio88-my.sharepoint.com/:u:/g/personal/youjiang_yu_seeedstudio88_onmicrosoft_com/EVrGntfS1wxHhrgnwGeHQmQBtQ0gvHj4udkREIDIACvFDw?e=5B07Za) peripheral drivers and put all the drivers in same folder.

Now you will see three compressed files in the same folder:

<div align="center"><img width="{800}" src="https://files.seeedstudio.com/wiki/reComputer-Jetson/A608/a608_jp6.1.png" /></div>


**Step 3.** Prepare system image.

Open a terminal window on the host PC and run the following command:

```bash
cd <path to drivers>
tar xf Jetson_Linux_R36.3.0_aarch64.tbz2
sudo tar xpf Tegra_Linux_Sample-Root-Filesystem_R36.3.0_aarch64.tbz2 -C Linux_for_Tegra/rootfs/
cd Linux_for_Tegra/
sudo ./apply_binaries.sh
sudo ./tools/l4t_flash_prerequisites.sh
cd ..
tar xf A608_Jetpack_6.1.tar.gz
sudo cp -r 608_jetpack6.1/Linux_for_Tegra/* Linux_for_Tegra/
```

**Step 4.** Flash the system to Nvme of A608.

```bash
cd Linux_for_Tegra
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
```

You will see the following output if the flashing process is successful.

<div align="center"><img width="{800}" src="https://files.seeedstudio.com/wiki/reComputer-Jetson/A608/5.1.2_P3.png" /></div>

After flashing, power on Jetson Device again and log into the system.

</TabItem>

</Tabs>

## Tech Support & Product Discussion
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -444,12 +444,41 @@ Here we have used [USB to CAN Analyzer Adapter](https://www.seeedstudio.com/USB-

**Step2.** Some adapters also come with the necessary software for the PC in order to communicate with the CAN device. In our case, according to the adapter that we used, we have downloaded and installed the software which can be found [here](https://github.com/SeeedDocument/USB-CAN-Analyzer/tree/master/res/Program).

**Step3.** Open a terminal on the Jetson device and execute the following commands to configure and enable the CAN interface:
**Step3.** Initialize the CAN interface of Jetson.

Create a new file named **`can_init.sh`** in Jetson and write the following content:

```bash
#!/bin/bash

sudo gpioset gpiochip2 9=0
sudo gpioset gpiochip2 8=0

sudo busybox devmem 0x0c303018 w 0xc458
sudo busybox devmem 0x0c303010 w 0xc400
sudo busybox devmem 0x0c303008 w 0xc458
sudo busybox devmem 0x0c303000 w 0xc400

sudo modprobe can
sudo modprobe can_raw
sudo modprobe mttcan

sudo ip link set can0 down
sudo ip link set can1 down

sudo ip link set can0 type can bitrate 125000
sudo ip link set can1 type can bitrate 125000
sudo ip link set can0 up
sudo ip link set can1 up

```
Then, run the file we just created in the Jetson terminal window:

```bash
sudo apt-get install gpiod
cd <path to can_init.sh>
sudo chmod +x can_init.sh
./can_init.sh
```

**Step4.** Type ifconfig on the terminal and you will see the CAN interface in enabled.
Expand Down
Loading

0 comments on commit 69c6e3a

Please sign in to comment.