Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

duo/duo256m: update Buildroot to V2 #134

Merged
merged 2 commits into from
Jan 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 34 additions & 25 deletions Duo/BuildRoot/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
sys: buildroot
sys_ver: v1.1.4
sys_ver: v2.0.0
sys_var: null

status: basic
last_update: 2025-1-1
last_update: 2025-01-08
---

# BuildRoot Milk-V Duo Test Report
Expand All @@ -13,9 +13,9 @@ last_update: 2025-1-1

### Operating System Information

- System Version: Duo-V1.1.4
- Download Link: https://github.com/milkv-duo/duo-buildroot-sdk/releases
- Reference Installation Document: https://github.com/milkv-duo/duo-buildroot-sdk
- System Version: Duo-V2.0.0
- Download Link: https://github.com/milkv-duo/duo-buildroot-sdk-v2/releases
- Reference Installation Document: https://github.com/milkv-duo/duo-buildroot-sdk-v2

### Hardware Information

Expand All @@ -25,26 +25,18 @@ last_update: 2025-1-1

## Installation Steps

### Download Duo Image
### Using `dd` to Flash the Image to the microSD Card

```bash
wget https://github.com/milkv-duo/duo-buildroot-sdk/releases/download/v1.1.4/milkv-duo-sd-v1.1.4.img.zip
unzip milkv-duo-sd-v1.1.4.img.zip
```

### Flashing the Image

Use `dd` to flash the image to the SD card:
```bash
sudo dd if=milkv-duo-sd-v1.1.4.img of=/dev/your/device bs=1M status=progress
```shell
sudo dd if=milkv-duo-musl-riscv64-sd_v2.0.0.img of=/path/to/your/device bs=4M status=progress
```

### Logging into the System

Logging into the system via serial port or SSH.

Default username: `root`
Default password: `milkv`
Default password: none

## Expected Results

Expand All @@ -57,22 +49,39 @@ The system booted successfully and login via the onboard serial port was also su
### Boot Log

```log
[ 2.892411] vi_core_probe:206(): irq(33) for isp get from platform driver.
[ 2.901240] sync_task_init:177(): sync_task_init vi_pipe 0
[ 2.906979] sync_task_init:177(): sync_task_init vi_pipe 1
[ 2.913081] sync_task_init:177(): sync_task_init vi_pipe 2
[ 2.919041] sync_task_init:177(): sync_task_init vi_pipe 3
[ 2.924997] sync_task_init:177(): sync_task_init vi_pipe 4
[ 2.931494] vi_core_probe:242(): isp registered as cvi-vi
[ 2.986778] vpss_start_handler:5134(): handler for dev(0) started
[ 2.986970] vpss_start_handler:5134(): handler for dev(1) started
[ 3.027421] cv180x-cooling cv180x_cooling: elems of dev-freqs=6
[ 3.040112] cv180x-cooling cv180x_cooling: dev_freqs[0]: 850000000 500000000
[ 3.048032] cv180x-cooling cv180x_cooling: dev_freqs[1]: 425000000 375000000
[ 3.055656] cv180x-cooling cv180x_cooling: dev_freqs[2]: 425000000 300000000
[ 3.063401] cv180x-cooling cv180x_cooling: Cooling device registered: cv180x_cooling
[ 3.093205] [INFO] Register SBM IRQ ###################################
[ 3.093235] [INFO] pvctx->s_sbm_irq = 38
[ 3.108700] jpu ctrl reg pa = 0xb030000, va = (____ptrval____), size = 256
[ 3.121295] end jpu_init result = 0x0
[ 3.206886] cvi_vc_drv_init result = 0x0
[ 3.220299] sh (163): drop_caches: 3
Starting app...

[root@milkv-duo]~# uname -a
Linux milkv-duo 5.10.4-tag- #1 PREEMPT Fri Nov 22 11:31:04 CST 2024 riscv64 GNU/Linux
Linux milkv-duo 5.10.4-tag- #1 PREEMPT Mon Dec 9 10:07:12 CST 2024 riscv64 GNU/Linux
[root@milkv-duo]~# cat /etc/os-release
NAME=Buildroot
VERSION=20241122-1139
VERSION=-g2b4e5fdbc
ID=buildroot
VERSION_ID=2021.05
PRETTY_NAME="Buildroot 2021.05"
VERSION_ID=2024.02.3
PRETTY_NAME="Buildroot 2024.02.3"
[root@milkv-duo]~#
```

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

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

## Test Criteria

Successful: The actual result matches the expected result.
Expand Down
62 changes: 37 additions & 25 deletions Duo/BuildRoot/README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

### 操作系统信息

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

### 硬件信息

Expand All @@ -16,23 +16,15 @@

## 安装步骤

### 下载 Duo 的镜像
### 使用 `dd` 刷写镜像到 microSD 卡

```bash
wget https://github.com/milkv-duo/duo-buildroot-sdk/releases/download/v1.1.4/milkv-duo-sd-v1.1.4.img.zip
unzip milkv-duo-sd-v1.1.4.img.zip
```

### 刷写镜像

用 dd 刷写镜像到 sd 卡:
```bash
sudo dd if=milkv-duo-sd-v1.1.4.img of=/dev/your/device bs=1M status=progress
```shell
sudo dd if=milkv-duo-musl-riscv64-sd_v2.0.0.img of=/path/to/your/device bs=4M status=progress
```

### 登录系统

通过串口或 ssh 登录系统。
通过串口或 ssh 登录系统。默认以 root 无密码登录。

## 预期结果

Expand All @@ -45,19 +37,39 @@ sudo dd if=milkv-duo-sd-v1.1.4.img of=/dev/your/device bs=1M status=progress
### 启动信息

```log
[ 2.892411] vi_core_probe:206(): irq(33) for isp get from platform driver.
[ 2.901240] sync_task_init:177(): sync_task_init vi_pipe 0
[ 2.906979] sync_task_init:177(): sync_task_init vi_pipe 1
[ 2.913081] sync_task_init:177(): sync_task_init vi_pipe 2
[ 2.919041] sync_task_init:177(): sync_task_init vi_pipe 3
[ 2.924997] sync_task_init:177(): sync_task_init vi_pipe 4
[ 2.931494] vi_core_probe:242(): isp registered as cvi-vi
[ 2.986778] vpss_start_handler:5134(): handler for dev(0) started
[ 2.986970] vpss_start_handler:5134(): handler for dev(1) started
[ 3.027421] cv180x-cooling cv180x_cooling: elems of dev-freqs=6
[ 3.040112] cv180x-cooling cv180x_cooling: dev_freqs[0]: 850000000 500000000
[ 3.048032] cv180x-cooling cv180x_cooling: dev_freqs[1]: 425000000 375000000
[ 3.055656] cv180x-cooling cv180x_cooling: dev_freqs[2]: 425000000 300000000
[ 3.063401] cv180x-cooling cv180x_cooling: Cooling device registered: cv180x_cooling
[ 3.093205] [INFO] Register SBM IRQ ###################################
[ 3.093235] [INFO] pvctx->s_sbm_irq = 38
[ 3.108700] jpu ctrl reg pa = 0xb030000, va = (____ptrval____), size = 256
[ 3.121295] end jpu_init result = 0x0
[ 3.206886] cvi_vc_drv_init result = 0x0
[ 3.220299] sh (163): drop_caches: 3
Starting app...

[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
Linux milkv-duo 5.10.4-tag- #1 PREEMPT Mon Dec 9 10:07:12 CST 2024 riscv64 GNU/Linux
[root@milkv-duo]~# cat /etc/os-release
NAME=Buildroot
VERSION=-g2b4e5fdbc
ID=buildroot
VERSION_ID=2024.02.3
PRETTY_NAME="Buildroot 2024.02.3"
[root@milkv-duo]~#
```

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

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

## 测试判定标准

测试成功:实际结果与预期结果相符。
Expand Down
71 changes: 44 additions & 27 deletions Duo256m/BuildRoot/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
sys: buildroot
sys_ver: v1.1.0
sys_ver: v2.0.0
sys_var: null

status: basic
last_update: 2024-06-21
last_update: 2025-01-08
---

# BuildRoot Milk-V Duo 256M Test Report
Expand All @@ -13,9 +13,9 @@ last_update: 2024-06-21

### Operating System Information

- System Version: Duo 256M
- Download Link: [https://github.com/milkv-duo/duo-buildroot-sdk/releases](https://github.com/milkv-duo/duo-buildroot-sdk/releases)
- Reference Installation Document: [https://github.com/milkv-duo/duo-buildroot-sdk](https://github.com/milkv-duo/duo-buildroot-sdk)
- System Version: Duo 256M v2.0.0
- Download Link: https://github.com/milkv-duo/duo-buildroot-sdk-v2/releases
- Reference Installation Document: https://github.com/milkv-duo/duo-buildroot-sdk-v2

### Hardware Information

Expand All @@ -29,23 +29,23 @@ last_update: 2024-06-21
### Download Duo 256M Image

```bash
wget https://github.com/milkv-duo/duo-buildroot-sdk/releases/download/Duo-V1.1.0/milkv-duo256m-v1.1.0-2024-0410.img.zip
unzip milkv-duo256m-v1.1.0-2024-0410.img
wget https://github.com/milkv-duo/duo-buildroot-sdk-v2/releases/download/v2.0.0/milkv-duo256m-musl-riscv64-sd_v2.0.0.img.zip
unzip milkv-duo256m-musl-riscv64-sd_v2.0.0.img.zip
```

### Flashing the Image

Use `dd` to flash the image to the SD card:
```bash
sudo dd if=milkv-duo256m-v1.1.0-2024-0410.img of=/dev/your/device bs=1M status=progress

```shell
sudo dd if=milkv-duo256m-musl-riscv64-sd_v2.0.0.img of=/path/to/your/device bs=4M status=progress
```

### Logging into the System

Logging into the system via serial port or SSH.

Default username: `root`
Default password: `milkv`
System will login as root automatically with no password required.

## Expected Results

Expand All @@ -57,26 +57,43 @@ The system booted successfully, and login through the onboard serial port was al

### Boot Log

Screen recording (From flashing image to system login):
[![asciicast](https://asciinema.org/a/ptdjXiBZX2FuisTBuEZis7JoK.svg)](https://asciinema.org/a/ptdjXiBZX2FuisTBuEZis7JoK)

```log
The authenticity of host '192.168.42.1 (192.168.42.1)' can't be established.
ED25519 key fingerprint is SHA256:Lt+dfAQr7Ih8tgb+j9KPZaQDKNRhbHSZfWLIjNYB0Ko.
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '192.168.42.1' (ED25519) to the list of known hosts.
root@192.168.42.1's password:
[ 2.955329] vi_core_probe:206(): irq(29) for isp get from platform driver.
[ 2.964050] sync_task_init:177(): sync_task_init vi_pipe 0
[ 2.969787] sync_task_init:177(): sync_task_init vi_pipe 1
[ 2.975960] sync_task_init:177(): sync_task_init vi_pipe 2
[ 2.981935] sync_task_init:177(): sync_task_init vi_pipe 3
[ 2.987940] sync_task_init:177(): sync_task_init vi_pipe 4
[ 2.994496] vi_core_probe:242(): isp registered as cvi-vi
[ 3.056104] vpss_start_handler:5134(): handler for dev(0) started
[ 3.056305] vpss_start_handler:5134(): handler for dev(1) started
[ 3.089343] cvi-mipi-tx mipi_tx: IRQ index 0 not found
[ 3.101222] cvi-mipi-tx mipi_tx: vbat irq(-6)
[ 3.106349] cvi-mipi-tx mipi_tx: reset gpio pin(495) active(0)
[ 3.112718] cvi-mipi-tx mipi_tx: power ctrl gpio pin(499) active(1)
[ 3.119504] cvi-mipi-tx mipi_tx: pwm gpio pin(498) active(1)
[ 3.152127] cv181x-cooling cv181x_cooling: elems of dev-freqs=6
[ 3.158359] cv181x-cooling cv181x_cooling: dev_freqs[0]: 850000000 500000000
[ 3.166143] cv181x-cooling cv181x_cooling: dev_freqs[1]: 425000000 375000000
[ 3.173798] cv181x-cooling cv181x_cooling: dev_freqs[2]: 425000000 300000000
[ 3.181520] cv181x-cooling cv181x_cooling: Cooling device registered: cv181x_cooling
[ 3.213990] [INFO] Register SBM IRQ ###################################
[ 3.214017] [INFO] pvctx->s_sbm_irq = 35
[ 3.231513] jpu ctrl reg pa = 0xb030000, va = (____ptrval____), size = 256
[ 3.243330] end jpu_init result = 0x0
[ 3.342841] cvi_vc_drv_init result = 0x0
[ 3.416924] sh (163): drop_caches: 3
Starting app...

[root@milkv-duo]~# uname -a
Linux milkv-duo 5.10.4-tag- #1 PREEMPT Mon Dec 9 10:13:49 CST 2024 riscv64 GNU/Linux
[root@milkv-duo]~# cat /etc/os-release
NAME=Buildroot
VERSION=20240410-2139
VERSION=-g2b4e5fdbc
ID=buildroot
VERSION_ID=2021.05
PRETTY_NAME="Buildroot 2021.05"
[root@milkv-duo]~# uname -a
Linux milkv-duo 5.10.4-tag- #1 PREEMPT Wed Apr 10 21:37:02 CST 2024 riscv64 GNU/Linux
[root@milkv-duo]~#

VERSION_ID=2024.02.3
PRETTY_NAME="Buildroot 2024.02.3"
[root@milkv-duo]~#
```

## Test Criteria
Expand Down
Loading
Loading