Skip to content

Commit

Permalink
Merge pull request #445 from vamrs-feng/main
Browse files Browse the repository at this point in the history
Add sirider s1 image build doc
  • Loading branch information
peterwang2050 authored Sep 9, 2024
2 parents 8b0cffa + 6a4a729 commit 43cbd06
Show file tree
Hide file tree
Showing 6 changed files with 75 additions and 4 deletions.
12 changes: 11 additions & 1 deletion docs/sirider/s1/getting-started/install-os/boot_from_emmc.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,20 @@ sidebar_position: 2

# 安装系统到 eMMC/UFS

## 文件下载
## 资源下载

镜像及刷机工具请到[资源下载汇总](../../download) 下载.

## 进入烧录模式

使用typec数据线接入Debug 调试口连接到主机,此时会在PC上显示出4个串口设备,打开其中序号排列最后的一个(波特率115200),按住 FastBoot 按键
之后上电,板子会进入烧录模式,此时串口会有数据输出,运行 `fastboot devices` 命令检测设备

```shell
name@your-pc:$ fastboot devices
14007211532C0033 fastboot
```

## 镜像烧录

:::tip
Expand Down
2 changes: 1 addition & 1 deletion docs/sirider/s1/getting-started/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ SiRider S1 是 Radxa 与芯擎科技及安谋科技联合推出工业单板计
<th>8</th>
<th>Ethernet</th>
<th>16</th>
<th>MaskRom 按键</th>
<th>FastBoot 按键</th>
<th>24</th>
<th> FAN </th>
<th>32</th>
Expand Down
26 changes: 26 additions & 0 deletions docs/sirider/s1/low-level-dev/image_build.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
sidebar_position: 1
---

# 镜像构建

### 下载SDK

1. 访问SDK源码目录 [SIENGINE_SDK](https://gitlab.com/siengine-ubuntu-sdk/manifests) 查看具体的源码下载步骤
2. `toolchain` 目录下的文件以`lfs`的形式存储,请根据目录下的`readme`文件操作,下载完成后手动解压工具链

### 编译SDK

1. 参考文档 [SE1000 Linux SDK 编译参考手册](https://gitlab.com/siengine-ubuntu-sdk/docs/-/blob/master/UM_SE1000_AIoT_Linux_SDK_User_Manual.pdf?ref_type=heads) 进行环境搭建和镜像编译


2. 编译出来的相关固件将会存在 `deploy/build/` 目录下,请根据对应的 DDR 容量下载相应的 `LUN5` 固件替换目录下的 `lun5_fip.bin`

- [lun5_fip_LP5_4GB_5500_DS.bin](https://dl.radxa.com/sirider/s1/lun5_fip_LP5_4GB_5500_DS.bin) 单颗4GB下载

- [lun5_fip_LP5_8GB_5500_DS.bin](https://dl.radxa.com/sirider/s1/lun5_fip_LP5_8GB_5500_DS.bin) 单颗8GB下载


## 参考

- [SIENGINE DOCS ](https://gitlab.com/siengine-ubuntu-sdk/docs) SIENGINE 相关文档
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,21 @@ sidebar_position: 2

# Install System On eMMC/UFS

## File Download
## Resource Download

For image and flashing tool, please refer to [download](../../download).

## Enter Flash mode

Connect the Type-C data cable to the debug port and the PC. This will display four serial port devices on the PC.
Open the last one in the sequence (Baud rate is 115200). Hold the FastBoot button and power on the board to enter flashing mode.
At this point, data will output on the serial port. Run the `fastboot devices` command to detect the device.

```bash
name@your-pc:$ fastboot devices
14007211532C0033 fastboot
```

## Image Installation

:::tip
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ SiRider S1 is an industrial single-board computer jointly launched by Radxa, Sie
<th>8</th>
<th>Ethernet</th>
<th>16</th>
<th>MaskRom Button</th>
<th>FastBoot Button</th>
<th>24</th>
<th> FAN </th>
<th>32</th>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
sidebar_position: 1
---

# Image Building

## Download the SDK

Visit the [SIENGINE_SDK](https://gitlab.com/siengine-ubuntu-sdk/manifests) source directory to view the detailed source download steps.
The files in the `toolchain` directory are stored in `lfs` format. Please follow the instructions in the `readme` file within the directory. After downloading, manually extract the toolchain.

## Compile the SDK

Refer to the [SE1000 Linux SDK Compilation Reference Manual](https://gitlab.com/siengine-ubuntu-sdk/docs/-/blob/master/UM_SE1000_AIoT_Linux_SDK_User_Manual.pdf?ref_type=heads) for setting up the environment and compiling the image.
The compiled firmware will be located in the `deploy/build/` directory. Please download the corresponding `LUN5` firmware based on the DDR capacity and replace the `lun5_fip.bin` in the directory.


- [lun5_fip_LP5_4GB_5500_DS.bin](https://dl.radxa.com/sirider/s1/lun5_fip_LP5_4GB_5500_DS.bin) for single 4GB DDR download

- [lun5_fip_LP5_8GB_5500_DS.bin](https://dl.radxa.com/sirider/s1/lun5_fip_LP5_8GB_5500_DS.bin) for single 8GB DDR download

## Reference

- [SIENGINE DOCS ](https://gitlab.com/siengine-ubuntu-sdk/docs) SIENGINE related documentation

0 comments on commit 43cbd06

Please sign in to comment.