Skip to content

Commit 27cf279

Browse files
committed
pioneer: update flash doc
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
1 parent 29f2c41 commit 27cf279

2 files changed

Lines changed: 29 additions & 29 deletions

File tree

docs/Installation/milkv-pioneer.mdx

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ RevyOS 镜像目录:[镜像下载](https://mirror.iscas.ac.cn/revyos/extra/ima
2121

2222
目前最新镜像版本为:{<DownloadLink device="Milk-V Pioneer" />}
2323

24-
以下以 20241230 镜像目录为例:
24+
以下以 20251226 镜像目录为例:
2525

2626
![](/img/image-for-flash/pioneer-image-dir.png)
2727

@@ -31,16 +31,16 @@ RevyOS 镜像刷写遵循固件文件 + 系统文件的方式,因此会用到
3131

3232
这部分固件可刷写到 SPI Flash 中,也可以刷写到 microSD 卡中:
3333

34-
- `firmware_single_sg2042-v6.6-lts-v0p7.bin`(刷写进 SPI Flash 中)
35-
- `firmware_single_sg2042-v6.6-lts-v0p7.img`(刷写进 SD 卡中)
34+
- `firmware_sg2042-single-revyos_6.18.y-sg204x-v1.7.bin`(刷写进 SPI Flash 中)
35+
- `firmware_sg2042-single-revyos_6.18.y-sg204x-v1.7.img`(刷写进 SD 卡中)
3636

3737
另一部分是 MCU 固件,新版本解决了一些已知问题,推荐在刷写系统完成后进行更新。
3838

3939
- https://github.com/sophgo/mcu/releases
4040

4141
此外是系统镜像本体,这部分需刷写至 M.2 NVMe SSD 中:
4242

43-
- `revyos-pioneer-20241230-212249.img.zst`
43+
- `revyos-pioneer-20251226-002451.img.zst`
4444

4545
## 固件刷写
4646

@@ -52,18 +52,18 @@ RevyOS 镜像刷写遵循固件文件 + 系统文件的方式,因此会用到
5252

5353
#### 使用 BalenaEtcher 写入
5454

55-
1、选择文件 firmware_single_sg2042-v6.6-lts-v0p7.img
55+
1、选择文件 firmware_sg2042-single-revyos_6.18.y-sg204x-v1.7.img
5656
2、选择目标 SD 卡
5757
3、点击烧录
5858

5959
#### 通过命令行写入
6060

6161
将 SD 卡插入读卡器并连接至电脑,确认是否正确连接以及设备路径
6262

63-
在存放 `firmware_single_sg2042-v6.6-lts-v0p7.img` 文件的目录下时,使用 dd 命令将文件刷写到 SD 卡中
63+
在存放 `firmware_sg2042-single-revyos_6.18.y-sg204x-v1.7.img` 文件的目录下时,使用 dd 命令将文件刷写到 SD 卡中
6464

6565
```shell
66-
sudo dd if=firmware_single_sg2042-v6.6-lts-v0p7.img of=/dev/sdX bs=4M status=progress
66+
sudo dd if=firmware_sg2042-single-revyos_6.18.y-sg204x-v1.7.img of=/dev/sdX bs=4M status=progress
6767
```
6868

6969
`of=/dev/sdX` 此项请根据设备路径进行更改
@@ -72,7 +72,7 @@ sudo dd if=firmware_single_sg2042-v6.6-lts-v0p7.img of=/dev/sdX bs=4M status=pro
7272

7373
### 将固件刷写到 SPI Flash 中
7474

75-
操作环境:RevyOS 20241230
75+
操作环境:RevyOS 20251226
7676

7777
注意事项:首次使用时推荐使用 SD 卡存放固件
7878

@@ -88,13 +88,13 @@ sudo modprobe mtdblock
8888
然后下载文件
8989

9090
```shell
91-
wget https://mirror.iscas.ac.cn/revyos/extra/images/sg2042/20241230/firmware_single_sg2042-v6.6-lts-v0p7.bin
91+
wget https://mirror.iscas.ac.cn/revyos/extra/images/sg2042/20251226/firmware_sg2042-single-revyos_6.18.y-sg204x-v1.7.bin
9292
```
9393

94-
下载完成后切换到 firmware_single_sg2042-v6.6-lts-v0p7.bin 的下载目录下,执行以下命令
94+
下载完成后切换到 firmware_sg2042-single-revyos_6.18.y-sg204x-v1.7.bin 的下载目录下,执行以下命令
9595

9696
```shell
97-
sudo flashcp -v firmware_single_sg2042-v6.6-lts-v0p7.bin /dev/mtd1
97+
sudo flashcp -v firmware_sg2042-single-revyos_6.18.y-sg204x-v1.7.bin /dev/mtd1
9898
```
9999

100100
至此刷写完成
@@ -105,20 +105,20 @@ sudo flashcp -v firmware_single_sg2042-v6.6-lts-v0p7.bin /dev/mtd1
105105

106106
### 通过命令行写入
107107

108-
首先需要解压`revyos-pioneer-20241230-212249.img.zst`文件
108+
首先需要解压`revyos-pioneer-20251226-002451.img.zst`文件
109109

110110
```shell
111-
unzstd revyos-pioneer-20241230-212249.img.zst
111+
unzstd revyos-pioneer-20251226-002451.img.zst
112112
```
113113

114-
得到`revyos-pioneer-20241230-212249.img`文件
114+
得到`revyos-pioneer-20251226-212249.img`文件
115115

116116
将 NVMe SSD 插入硬盘盒并连接至电脑,确认是否正确连接以及设备路径。
117117

118-
在存放 `revyos-pioneer-20241230-212249.img` 文件的目录下时,使用 dd 命令将文件刷写到 NVMe SSD 中
118+
在存放 `revyos-pioneer-20251226-212249.img` 文件的目录下时,使用 dd 命令将文件刷写到 NVMe SSD 中
119119

120120
```shell
121-
sudo dd if=revyos-pioneer-20241230-212249.img of=/dev/nvme0n1 bs=4M status=progress
121+
sudo dd if=revyos-pioneer-20251226-212249.img of=/dev/nvme0n1 bs=4M status=progress
122122
```
123123

124124
`of=/dev/nvme0n1` 此项请根据设备路径进行更改

i18n/en/docusaurus-plugin-content-docs/current/Installation/milkv-pioneer.mdx

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ RevyOS image directory: [Download Link](https://mirror.iscas.ac.cn/revyos/extra/
2121

2222
Latest image version: {<DownloadLink device="Milk-V Pioneer" />}
2323

24-
Example directory for the 20241230 image:
24+
Example directory for the 20251226 image:
2525

2626
![Image Directory](/img/image-for-flash/pioneer-image-dir.png)
2727

@@ -32,16 +32,16 @@ There are two separate firmware, one include `zsbl`, `linuxboot`, device trees a
3232
This part of firmware can be flashed to either the SPI Flash or microSD card:
3333

3434
- **Firmware files**:
35-
- `firmware_single_sg2042-v6.6-lts-v0p7.bin` (for SPI Flash)
36-
- `firmware_single_sg2042-v6.6-lts-v0p7.img` (for SD card)
35+
- `firmware_sg2042-single-revyos_6.18.y-sg204x-v1.7.bin` (for SPI Flash)
36+
- `firmware_sg2042-single-revyos_6.18.y-sg204x-v1.7.img` (for SD card)
3737

3838
The other part is the MCU firmware. Newer versions of MCU firmware has fixed some known issues, an upgrade is recommended, after completing the system installation.
3939

4040
- https://github.com/sophgo/mcu/releases
4141

4242
And also the system image itself which needs to be flashed to M.2 NVMe SSD:
4343

44-
- `revyos-pioneer-20241230-212249.img.zst`
44+
- `revyos-pioneer-20251226-002451.img.zst`
4545

4646
---
4747

@@ -53,18 +53,18 @@ And also the system image itself which needs to be flashed to M.2 NVMe SSD:
5353

5454
#### Using BalenaEtcher
5555

56-
1. Select the file `firmware_single_sg2042-v6.6-lts-v0p7.img`.
56+
1. Select the file `firmware_sg2042-single-revyos_6.18.y-sg204x-v1.7.img`.
5757
2. Choose the target SD card.
5858
3. Click "Flash" to start the process.
5959

6060
#### Using Command Line
6161

6262
Insert the SD card into a reader connected to your computer, then verify the device path.
6363

64-
Navigate to the directory with `firmware_single_sg2042-v6.6-lts-v0p7.img` and flash it with the following command:
64+
Navigate to the directory with `firmware_sg2042-single-revyos_6.18.y-sg204x-v1.7.img` and flash it with the following command:
6565

6666
```shell
67-
sudo dd if=firmware_single_sg2042-v6.6-lts-v0p7.img of=/dev/sdX bs=4M status=progress
67+
sudo dd if=firmware_sg2042-single-revyos_6.18.y-sg204x-v1.7.img of=/dev/sdX bs=4M status=progress
6868
```
6969

7070
Replace `of=/dev/sdX` with your specific device path if different.
@@ -73,7 +73,7 @@ After flashing, use `sync` to ensure data is fully written to the SD card.
7373

7474
### Flashing Firmware to SPI Flash
7575

76-
**Operating System**: RevyOS 20241230
76+
**Operating System**: RevyOS 20251226
7777

7878
> **Note**: For first-time installation, using an SD card to store the firmware is recommended.
7979
@@ -91,13 +91,13 @@ Install necessary packages:
9191
Download the firmware file:
9292

9393
```bash
94-
wget https://mirror.iscas.ac.cn/revyos/extra/images/sg2042/20241230/firmware_single_sg2042-v6.6-lts-v0p7.bin
94+
wget https://mirror.iscas.ac.cn/revyos/extra/images/sg2042/20251226/firmware_sg2042-single-revyos_6.18.y-sg204x-v1.7.bin
9595
```
9696

97-
Navigate to the directory where `firmware_single_sg2042-v6.6-lts-v0p7.bin` was downloaded and run:
97+
Navigate to the directory where `firmware_sg2042-single-revyos_6.18.y-sg204x-v1.7.bin` was downloaded and run:
9898

9999
```bash
100-
sudo flashcp -v firmware_single_sg2042-v6.6-lts-v0p7.bin /dev/mtd1
100+
sudo flashcp -v firmware_sg2042-single-revyos_6.18.y-sg204x-v1.7.bin /dev/mtd1
101101
```
102102

103103
Flashing to SPI Flash is now complete.
@@ -110,11 +110,11 @@ Flashing to SPI Flash is now complete.
110110

111111
### Using Command Line
112112

113-
1. Decompress the `revyos-pioneer-20241230-212249.img.zst` file using `unzstd revyos-pioneer-20241230-212249.img.zst`. This produces the `revyos-pioneer-20241230-212249.img` file.
113+
1. Decompress the `revyos-pioneer-20251226-002451.img.zst` file using `unzstd revyos-pioneer-20251226-002451.img.zst`. This produces the `revyos-pioneer-20251226-212249.img` file.
114114

115115
2. Insert the NVMe SSD into the reader and connect it to your computer, then confirm the device path.
116116

117-
3. In the directory containing `revyos-pioneer-20241230-212249.img`, flash the image to the NVMe SSD with dd command: `sudo dd if=revyos-pioneer-20241230-212249.img of=/dev/nvme0n1 bs=4M status=progress`. Replace `of=/dev/nvme0n1` with the correct device path if different.
117+
3. In the directory containing `revyos-pioneer-20251226-212249.img`, flash the image to the NVMe SSD with dd command: `sudo dd if=revyos-pioneer-20251226-212249.img of=/dev/nvme0n1 bs=4M status=progress`. Replace `of=/dev/nvme0n1` with the correct device path if different.
118118

119119
4. After flashing, use `sync` to ensure the data is fully written to the NVMe SSD.
120120

0 commit comments

Comments
 (0)