Skip to content

Commit

Permalink
Merge branch 'main' into duo-tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
aisuneko authored Nov 12, 2024
2 parents acd63cd + 9648b7d commit 8ff35d8
Show file tree
Hide file tree
Showing 10 changed files with 187 additions and 274 deletions.
1 change: 1 addition & 0 deletions .github/workflows/table.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
pip install -r assets/requirements.txt
mkdir assets/output
python assets/generate_svgimage.py -p . -o assets/output --html https://${{ github.repository_owner }}.github.io/support-matrix | tee build.log
python assets/generate_svgimage.py -p . -o assets/output --html https://${{ github.repository_owner }}.github.io/support-matrix -l zh | tee -a build.log
- name: Check Commit ID
id: truecommit
run: |
Expand Down
28 changes: 11 additions & 17 deletions Duo/BuildRoot/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
sys: buildroot
sys_ver: null
sys_ver: v1.1.3
sys_var: null

status: basic
last_update: 2024-06-21
last_update: 2024-11-4
---

# BuildRoot Milk-V Duo Test Report
Expand All @@ -13,19 +13,15 @@ last_update: 2024-06-21

### Operating System Information

- System Version: Duo-V1.0.7
- System Version: Duo-V1.1.3
- Download Link: https://github.com/milkv-duo/duo-buildroot-sdk/releases
- Reference Installation Document: https://github.com/milkv-duo/duo-buildroot-sdk

### Hardware Information

- Milk-V Duo 64M
- A USB power adapter
- A USB-A to C or USB C to C cable
- A microSD card
- A USB to UART debugger (e.g., CH340, CH341, FT2232, etc.)
- Three Dupont wires
- Pins pre-soldered on the Milk-V Duo for debugging

## Installation Steps

Expand All @@ -48,20 +44,18 @@ The system booted successfully and login via the onboard serial port was also su
### Boot Log

```log
[root@milkv-duo]~# uname -a
Linux milkv-duo 5.10.4-tag- #1 PREEMPT Sat Dec 23 12:29:13 CST 2023 riscv64 GNU/Linux
[root@milkv-duo]~# cat /proc/cpuinfo
processor : 0
hart : 0
isa : rv64imafdvcsu
mmu : sv39
[root@milkv-duo]~#
[root@milkv-duo]~# uname -a
Linux milkv-duo 5.10.4-tag- #1 PREEMPT Thu Aug 1 13:44:06 CST 2024 riscv64 GNU/Linux
[root@milkv-duo]~# cat /proc/cpuinfo
processor : 0
hart : 0
isa : rv64imafdvcsu
mmu : sv39
```

Screen recording (from flashing the image to system login):

[![asciicast](https://asciinema.org/a/rsenSOJwdlmUXcJ8sQwubPgtr.svg)](https://asciinema.org/a/rsenSOJwdlmUXcJ8sQwubPgtr)
[![asciicast](https://asciinema.org/a/1Vp9JeYdRiyORXXGFlx5F9JY0.svg)](https://asciinema.org/a/1Vp9JeYdRiyORXXGFlx5F9JY0)

## Test Criteria

Expand Down
24 changes: 9 additions & 15 deletions Duo/BuildRoot/README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,15 @@

### 操作系统信息

- 系统版本:Duo-V1.0.7
- 系统版本:Duo-V1.1.3
- 下载链接:https://github.com/milkv-duo/duo-buildroot-sdk/releases
- 参考安装文档:https://github.com/milkv-duo/duo-buildroot-sdk

### 硬件信息

- Milk-V Duo 64M
- USB 电源适配器一个
- USB-A to C 或 USB C to C 线缆一条
- microSD 卡一张
- USB to UART 调试器一个(如:CH340, CH341, FT2232 等)
- 杜邦线三根
- Milk-V Duo 本体上预先焊接好调试所需的排针

## 安装步骤

Expand All @@ -39,20 +35,18 @@
### 启动信息

```log
[root@milkv-duo]~# uname -a
Linux milkv-duo 5.10.4-tag- #1 PREEMPT Sat Dec 23 12:29:13 CST 2023 riscv64 GNU/Linux
[root@milkv-duo]~# cat /proc/cpuinfo
processor : 0
hart : 0
isa : rv64imafdvcsu
mmu : sv39
[root@milkv-duo]~#
[root@milkv-duo]~# uname -a
Linux milkv-duo 5.10.4-tag- #1 PREEMPT Thu Aug 1 13:44:06 CST 2024 riscv64 GNU/Linux
[root@milkv-duo]~# cat /proc/cpuinfo
processor : 0
hart : 0
isa : rv64imafdvcsu
mmu : sv39
```

屏幕录像(从刷写镜像到登录系统):

[![asciicast](https://asciinema.org/a/rsenSOJwdlmUXcJ8sQwubPgtr.svg)](https://asciinema.org/a/rsenSOJwdlmUXcJ8sQwubPgtr)
[![asciicast](https://asciinema.org/a/1Vp9JeYdRiyORXXGFlx5F9JY0.svg)](https://asciinema.org/a/1Vp9JeYdRiyORXXGFlx5F9JY0)

## 测试判定标准

Expand Down
68 changes: 35 additions & 33 deletions Duo/Fedora/README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,21 @@
---
sys: fedora
sys_ver: 38
sys_ver: 41
sys_var: null

status: cfh
last_update: 2024-06-21
status: basic
last_update: 2024-11-6
---

# Fedora 38 Milk-V Duo Test Report
# Fedora 41 Milk-V Duo Test Report

## Test Environment

### Operating System Information

- System Version: Fedora 38
- Download Link: https://github.com/chainsx/fedora-riscv-builder/releases/download/20230719-1650/Fedora-38-Minimal-MilkV-Duo-riscv64.img.xz
- Reference Installation Document: https://github.com/chainsx/fedora-riscv-builder
- Issue/CFH: https://github.com/chainsx/fedora-riscv-builder/issues/6
- (Image fails to boot)
- System Version: Fedora 41
- Download Link: https://mirror.iscas.ac.cn/fedora-riscv/dl/Milk-V/Duo/images/latest/milkv-duo-fedora-minimal.img.gz
- Reference Installation Document: https://fedoraproject.org/wiki/Architectures/RISC-V/Installing

> Note: This image is provided by community developers and is not an official image.
Expand All @@ -37,51 +35,55 @@ last_update: 2024-06-21
### Flashing the Image to microSD Card Using `dd`

```shell
xzcat Fedora-38-Minimal-MilkV-Duo-riscv64.img.xz | sudo dd of=/dev/sdc bs=4M iflag=fullblock status=progress
zcat milkv-duo-fedora-minimal.img.gz | sudo dd of=/dev/sda bs=4M iflag=fullblock status=progress
```

### Logging into the System

Log into the system via the serial port.

Username: `root`
Password: `fedora`
Password: `riscv`

## Expected Results

The system should boot normally and allow login via the serial port.

## Actual Results

The system failed to boot successfully; systemd core dumps after powering on, preventing normal login.
The system booted successfully and login via the onboard serial port was also successful.

### Boot Log

```log
[ *** ] (2 of 7) Job systemd-update-utmp.se…ice/start running (20s / no limit)
[ 182.618625] (imesyncd)[130]: unhandled signal 11 code 0x1 at 0xffffffffffffffff in libsystemd-shared-253.2-614.7.riscv64.fc38.so]
[ 182.632471] CPU: 0 PID: 130 Comm: (imesyncd) Not tainted 5.10.4-tag- #1
[ 182.639349] epc: 0000003fb7b5aece ra : 0000003fb7b5aece sp : 0000003fffe42320
[ 182.646762] gp : 0000002ac2e73800 tp : 0000003fb71cb260 t0 : 0000003fb7c1d9d8
[ 182.654266] t1 : 0000003fb7b1dbbc t2 : 0000000000000000 s0 : 0000003fffe423a0
[ 182.661769] s1 : 0000003fb7ce9c20 a0 : 0000000000000000 a1 : 0000002ac2f6ee80
[ 182.669273] a2 : 0000002ac2f6ee80 a3 : 0000000000000000 a4 : 0000000000000000
[ 182.676778] a5 : 0000000000000000 a6 : fefefefefefefeff a7 : 0000000000000024
[ 182.684277] s2 : 0000002ac2f6ee80 s3 : 0000003fb7ce9c30 s4 : 0000000000000000
[ 182.691781] s5 : 0000002ac2f6ee80 s6 : 0000003fffe424c8 s7 : ffffffffffffffff
[ 182.699286] s8 : 000000000000002d s9 : ffffffffffffffff s10: ffffffffffffffff
[ 182.706789] s11: 0000000000000006 t3 : 0000003fb7bfc72e t4 : 0000000000000000
[ 182.714293] t5 : 0000000000000000 t6 : 000000000000002f
[ 182.719818] status: 8000000201804020 badaddr: ffffffffffffffff cause: 000000000000000d
[root@fedora-riscv ~]# uname -a
Linux fedora-riscv 5.10.4-tag- #1 PREEMPT Wed Jul 10 16:47:07 CST 2024 riscv64 GNU/Linux
[root@fedora-riscv ~]# cat /etc/os-release
NAME="Fedora Linux"
VERSION="41 (Rawhide Prerelease)"
ID=fedora
VERSION_ID=41
VERSION_CODENAME=""
PLATFORM_ID="platform:f41"
PRETTY_NAME="Fedora Linux 41 (Rawhide Prerelease)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:41"
DEFAULT_HOSTNAME="fedora"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/rawhide/system-administrators-guide/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=rawhide
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=rawhide
SUPPORT_END=2025-05-13
```

Screen recording of the boot process:

[![asciicast](https://asciinema.org/a/MxHNPZZ2MG8vPEBSmMNwTz6DY.svg)](https://asciinema.org/a/MxHNPZZ2MG8vPEBSmMNwTz6DY)

### Defect Report

https://github.com/chainsx/fedora-riscv-builder/issues/6
[![asciicast](https://asciinema.org/a/88V2VC1BWeFEVYRoj5s4YHO8o.svg)](https://asciinema.org/a/88V2VC1BWeFEVYRoj5s4YHO8o)

## Test Criteria

Expand All @@ -91,4 +93,4 @@ Failed: The actual result does not match the expected result.

## Test Conclusion

Test failed.
Test successful.
62 changes: 32 additions & 30 deletions Duo/Fedora/README_zh.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
# Fedora 38 Milk-V Duo 测试报告
# Fedora 41 Milk-V Duo 测试报告

## 测试环境

### 操作系统信息

- 系统版本:Fedora 38
- 下载链接:https://github.com/chainsx/fedora-riscv-builder/releases/download/20230719-1650/Fedora-38-Minimal-MilkV-Duo-riscv64.img.xz
- 参考安装文档:https://github.com/chainsx/fedora-riscv-builder
- Issue/CFH: https://github.com/chainsx/fedora-riscv-builder/issues/6
- (镜像无法启动)
- 系统版本:Fedora 41
- 下载链接:https://mirror.iscas.ac.cn/fedora-riscv/dl/Milk-V/Duo/images/latest/milkv-duo-fedora-minimal.img.gz
- 参考安装文档:https://fedoraproject.org/wiki/Architectures/RISC-V/Installing

> Note: 此镜像为社区开发者提供,非官方镜像。
Expand All @@ -28,51 +26,55 @@
### 使用 `dd` 刷写镜像到 microSD 卡

```shell
xzcat Fedora-38-Minimal-MilkV-Duo-riscv64.img.xz | sudo dd of=/dev/sdc bs=4M iflag=fullblock status=progress
zcat milkv-duo-fedora-minimal.img.gz | sudo dd of=/dev/sda bs=4M iflag=fullblock status=progress
```

### 登录系统

通过串口登录系统。

用户名:`root`
密码:`fedora`
密码:`riscv`

## 预期结果

系统正常启动,能够通过串口登录。

## 实际结果

系统未能成功启动,上电后 systemd 会 coredump,无法正常登录
系统正常启动,成功通过板载串口登录

### 启动信息

```log
[ *** ] (2 of 7) Job systemd-update-utmp.se…ice/start running (20s / no limit)
[ 182.618625] (imesyncd)[130]: unhandled signal 11 code 0x1 at 0xffffffffffffffff in libsystemd-shared-253.2-614.7.riscv64.fc38.so]
[ 182.632471] CPU: 0 PID: 130 Comm: (imesyncd) Not tainted 5.10.4-tag- #1
[ 182.639349] epc: 0000003fb7b5aece ra : 0000003fb7b5aece sp : 0000003fffe42320
[ 182.646762] gp : 0000002ac2e73800 tp : 0000003fb71cb260 t0 : 0000003fb7c1d9d8
[ 182.654266] t1 : 0000003fb7b1dbbc t2 : 0000000000000000 s0 : 0000003fffe423a0
[ 182.661769] s1 : 0000003fb7ce9c20 a0 : 0000000000000000 a1 : 0000002ac2f6ee80
[ 182.669273] a2 : 0000002ac2f6ee80 a3 : 0000000000000000 a4 : 0000000000000000
[ 182.676778] a5 : 0000000000000000 a6 : fefefefefefefeff a7 : 0000000000000024
[ 182.684277] s2 : 0000002ac2f6ee80 s3 : 0000003fb7ce9c30 s4 : 0000000000000000
[ 182.691781] s5 : 0000002ac2f6ee80 s6 : 0000003fffe424c8 s7 : ffffffffffffffff
[ 182.699286] s8 : 000000000000002d s9 : ffffffffffffffff s10: ffffffffffffffff
[ 182.706789] s11: 0000000000000006 t3 : 0000003fb7bfc72e t4 : 0000000000000000
[ 182.714293] t5 : 0000000000000000 t6 : 000000000000002f
[ 182.719818] status: 8000000201804020 badaddr: ffffffffffffffff cause: 000000000000000d
[root@fedora-riscv ~]# uname -a
Linux fedora-riscv 5.10.4-tag- #1 PREEMPT Wed Jul 10 16:47:07 CST 2024 riscv64 GNU/Linux
[root@fedora-riscv ~]# cat /etc/os-release
NAME="Fedora Linux"
VERSION="41 (Rawhide Prerelease)"
ID=fedora
VERSION_ID=41
VERSION_CODENAME=""
PLATFORM_ID="platform:f41"
PRETTY_NAME="Fedora Linux 41 (Rawhide Prerelease)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:41"
DEFAULT_HOSTNAME="fedora"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/rawhide/system-administrators-guide/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=rawhide
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=rawhide
SUPPORT_END=2025-05-13
```

启动流程屏幕录像:

[![asciicast](https://asciinema.org/a/MxHNPZZ2MG8vPEBSmMNwTz6DY.svg)](https://asciinema.org/a/MxHNPZZ2MG8vPEBSmMNwTz6DY)

### 缺陷报告

https://github.com/chainsx/fedora-riscv-builder/issues/6
[![asciicast](https://asciinema.org/a/88V2VC1BWeFEVYRoj5s4YHO8o.svg)](https://asciinema.org/a/88V2VC1BWeFEVYRoj5s4YHO8o)

## 测试判定标准

Expand All @@ -82,4 +84,4 @@ https://github.com/chainsx/fedora-riscv-builder/issues/6

## 测试结论

测试失败
测试成功
9 changes: 4 additions & 5 deletions Duo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ cpu_core: XuanTie C906
- Debian trixie/sid
- Download link: https://drive.google.com/file/d/1TqMuFsRo5Es2Y6-qAyxV8jnFdAkcCp4v/view?usp=sharing
- Reference Installation Document: https://github.com/hongwenjun/riscv64/tree/main/milkv-duo
- Fedora 38
- Download link: https://github.com/chainsx/fedora-riscv-builder/releases/download/20230719-1650/Fedora-38-Minimal-MilkV-Duo-riscv64.img.xz
- Reference Installation Document: https://github.com/chainsx/fedora-riscv-builder
- Fedora 41
- Download link: https://mirror.iscas.ac.cn/fedora-riscv/dl/Milk-V/Duo/images/latest/milkv-duo-fedora-minimal.img.gz
- Reference Installation Document: https://fedoraproject.org/wiki/Architectures/RISC-V/Installing
- RT-Thread / RT-Thread Smart
- Source Code Link: https://github.com/RT-Thread/rt-thread
- Reference Installation Document: https://github.com/RT-Thread/rt-thread/blob/master/bsp/cvitek/README.md
Expand All @@ -60,7 +60,6 @@ cpu_core: XuanTie C906

## Test Results


| Software Category | Package Name | Test Results (Test Report) |
| ------------------------------------ | ------------ | ---------------------------------------------------------------- |
| BuildRoot Image Boot | N/A | [Success][Duo] (flashed via `ruyi` CLI) |
Expand All @@ -70,7 +69,7 @@ cpu_core: XuanTie C906
| Debian Image Boot | N/A | [Success][Debian] |
| RT-Thread Image Build and Boot | N/A | [Success][RT-Thread] |
| RT-Thread Smart Image Build and Boot | N/A | [Success][RT-Smart] |
| Fedora Image Boot | N/A | [Failed][Fedora] |
| Fedora Image Boot | N/A | [Success][Fedora] |
| openEuler | N/A | [Success][oE] |
| ThreadX Image Build and Boot | N/A | [Success][ThreadX] |
| Zephyr Image Build and Boot | N/A | [Success][Zephyr] |
Expand Down
8 changes: 4 additions & 4 deletions Duo/README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
- Debian trixie/sid
- 下载链接:https://drive.google.com/file/d/1TqMuFsRo5Es2Y6-qAyxV8jnFdAkcCp4v/view?usp=sharing
- 参考安装文档:https://github.com/hongwenjun/riscv64/tree/main/milkv-duo
- Fedora 38
- 下载链接:https://github.com/chainsx/fedora-riscv-builder/releases/download/20230719-1650/Fedora-38-Minimal-MilkV-Duo-riscv64.img.xz
- 参考安装文档:https://github.com/chainsx/fedora-riscv-builder
- Fedora 41
- 下载链接:https://mirror.iscas.ac.cn/fedora-riscv/dl/Milk-V/Duo/images/latest/milkv-duo-fedora-minimal.img.gz
- 参考安装文档:https://fedoraproject.org/wiki/Architectures/RISC-V/Installing
- RT-Thread / RT-Thread Smart
- 源码链接:https://github.com/RT-Thread/rt-thread
- 参考安装文档:https://github.com/RT-Thread/rt-thread/blob/master/bsp/cvitek/README.md
Expand Down Expand Up @@ -63,7 +63,7 @@
| Debian 镜像启动 | N/A | [成功][Debian] |
| RT-Thread 镜像构建及启动 | N/A | [成功][RT-Thread] |
| RT-Thread Smart 镜像构建及启动 | N/A | [成功][RT-Smart] |
| Fedora 镜像启动 | N/A | [失败][Fedora] |
| Fedora 镜像启动 | N/A | [成功][Fedora] |
| openEuler | N/A | [成功][oE] |
| ThreadX 镜像构建及启动 | N/A | [成功][ThreadX] |
| Zephyr 镜像构建及启动 | N/A | [成功][Zephyr] |
Expand Down
Loading

0 comments on commit 8ff35d8

Please sign in to comment.