Skip to content

Commit

Permalink
Add v0.6.0 feature
Browse files Browse the repository at this point in the history
Signed-off-by: weilinfox <[email protected]>
  • Loading branch information
weilinfox committed Mar 18, 2024
1 parent e67743c commit 2571cb2
Show file tree
Hide file tree
Showing 2 changed files with 85 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ export default defineConfig({
items: [
{ text: 'v0.3.0 版本新增特性', link: '/zh/ruyi/updates/0.3.0' },
{ text: 'v0.4.0 版本新增特性', link: '/zh/ruyi/updates/0.4.0' },
{ text: 'v0.5.0 版本新增特性', link: '/zh/ruyi/updates/0.5.0' }
{ text: 'v0.5.0 版本新增特性', link: '/zh/ruyi/updates/0.5.0' },
{ text: 'v0.6.0 版本新增特性', link: '/zh/ruyi/updates/0.6.0' }
]
}
]
Expand Down
83 changes: 83 additions & 0 deletions docs/zh/ruyi/updates/0.6.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
# v0.6.0 版本新增特性

+ 使用 pygit2 替代对 git 的依赖
+ SiFive HiFive Unmatched 镜像支持增加到 5 种

## 安装 v0.6.0

在 amd64 架构环境安装:

```bash
$ wget https://mirror.iscas.ac.cn/RuyiSDK/ruyi/releases/0.6.0/ruyi.amd64
$ chmod +x ./ruyi.amd64
$ sudo cp ./ruyi.amd64 /usr/local/bin/ruyi
```

在 riscv64 架构环境安装:

```bash
$ wget https://mirror.iscas.ac.cn/RuyiSDK/ruyi/releases/0.6.0/ruyi.riscv64
$ chmod +x ./ruyi.riscv64
$ sudo cp ./ruyi.riscv64 /usr/local/bin/ruyi
```

检查安装版本:

```bash
$ ruyi version
Ruyi 0.6.0
Copyright (C) 2023 Institute of Software, Chinese Academy of Sciences (ISCAS).
All rights reserved.
License: Apache-2.0 <https://www.apache.org/licenses/LICENSE-2.0>
```

## 依赖变化

从 v0.6.0 版本开始 RUYI 包管理不再依赖 git,而是使用 pygit2 作为替代方案。

## 板卡镜像刷写

在 0.6.0 版本, SiFive HiFive Unmatched 镜像支持增加到 5 种。

板卡支持列表:

| 开发板 | 版本 | 镜像 | 刷写方式 |
|:-:|:-:|:-:|:-:|
| Allwinner Nezha D1 | Allwinner Nezha D1 (generic variant) | openEuler RISC-V (base system) for Allwinner D1 | dd |
| | | openEuler RISC-V (XFCE) for Allwinner D1 | dd |
| Canaan Kendryte K230 | Canaan Kendryte K230 (generic variant) | Canaan Kendryte K230 Official CanMV Debian SDK | dd |
| | | Canaan Kendryte K230 Official CanMV Ubuntu SDK | dd |
| Milk-V Duo | Milk-V Duo (64M RAM) | Milk-V Duo Official buildroot SDK (64M RAM) | dd |
| | | Milk-V Duo Official buildroot SDK (64M RAM, with Python) | dd |
| | Milk-V Duo (256M RAM) | Milk-V Duo Official buildroot SDK (256M RAM) | dd |
| | | Milk-V Duo Official buildroot SDK (256M RAM, with Python) | dd |
| Milk-V Pioneer Box | Milk-V Pioneer Box (v1.3) | openEuler RISC-V (base system) for Milk-V Pioneer (rootfs on NVMe) | dd |
| | | openEuler RISC-V (XFCE) for Milk-V Pioneer (rootfs on NVMe) | dd |
| | | RevyOS for Milk-V Pioneer | dd |
| | Milk-V Pioneer Box (v1.2) | openEuler RISC-V (base system) for Milk-V Pioneer (rootfs on NVMe) | dd |
| | | openEuler RISC-V (XFCE) for Milk-V Pioneer (rootfs on NVMe) | dd |
| | Milk-V Pioneer Box (v1.1) | openEuler RISC-V (base system) for Milk-V Pioneer (rootfs on NVMe) | dd |
| | | openEuler RISC-V (XFCE) for Milk-V Pioneer (rootfs on NVMe) | dd |
| SiFive HiFive Unmatched | SiFive HiFive Unmatched (generic variant) | openEuler RISC-V (base system) for SiFive HiFive Unmatched | dd |
| | | openKylin for SiFive HiFive Unmatched | dd |
| | | openEuler RISC-V (XFCE) for SiFive HiFive Unmatched | dd |
| | | OpenWrt for SiFive HiFive Unmatched | dd |
| | | Ubuntu Server for SiFive HiFive Unmatched | dd |
| Sipeed Lichee RV | Sipeed Lichee RV (generic variant) | openEuler RISC-V (base system) for Allwinner D1 | dd |
| | | openEuler RISC-V (XFCE) for Allwinner D1 | dd |
| Sipeed LicheePi 4A | Sipeed LicheePi 4A (8G RAM) | openEuler RISC-V (headless) for Sipeed LicheePi 4A (8G RAM) | fastboot |
| | | openEuler RISC-V (XFCE) for Sipeed LicheePi 4A (8G RAM) | fastboot |
| | | RevyOS for Sipeed LicheePi 4A (8G RAM) | fastboot |
| | Sipeed LicheePi 4A (16G RAM) | openEuler RISC-V (headless) for Sipeed LicheePi 4A (16G RAM) | fastboot |
| | | openEuler RISC-V (XFCE) for Sipeed LicheePi 4A (16G RAM) | fastboot |
| | | RevyOS for Sipeed LicheePi 4A (16G RAM) | fastboot |
| StarFive VisionFive | StarFive VisionFive (generic variant) | openEuler RISC-V (base system) for StarFive VisionFive | dd |
| | | openEuler RISC-V (XFCE) for StarFive VisionFive | dd |
| StarFive VisionFive2 | StarFive VisionFive2 (generic variant) | openEuler RISC-V (base system) for StarFive VisionFive2 | dd |
| | | openEuler RISC-V (XFCE) for StarFive VisionFive2 | dd |

刷写工具根据板卡的不同依赖 ``dd````fastboot`` 命令, RUYI 将自动调用 ``sudo`` 提权。

需要注意的是一些镜像的解包需要占用大量的磁盘空间,使用 RUYI 工具刷写镜像前请务必留足磁盘空间;
一些厂家提供的镜像在刷写后并不会自动扩展分区来充分利用整块磁盘,而需要用户自行扩展磁盘分区大小。

0 comments on commit 2571cb2

Please sign in to comment.