Skip to content

Commit 12de53d

Browse files
authored
Merge pull request #59 from stydxm/Mars
Mars/Ubuntu: update test report for Ubuntu 24.10 and Ubuntu 24.04.1 LTS
2 parents c321210 + f54e83e commit 12de53d

File tree

6 files changed

+291
-30
lines changed

6 files changed

+291
-30
lines changed

Mars/README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ cpu_core: SiFive U74 + SiFive S7 + SiFive E24
1313
- BuildRoot/Debian (officially provided)
1414
- Download Link: https://github.com/milkv-mars/mars-buildroot-sdk/releases/
1515
- Reference Installation Document: https://milkv.io/zh/docs/mars/getting-started/boot
16-
- Ubuntu
17-
- Download Link: https://cdimage.ubuntu.com/releases/24.04/release/ubuntu-24.04-preinstalled-server-riscv64+milkvmars.img.xz
16+
- Ubuntu 24.10
17+
- Download Link: https://cdimage.ubuntu.com/releases/24.10/release/ubuntu-24.10-preinstalled-server-riscv64+milkvmars.img.xz
18+
- Ubuntu 24.04.1 LTS
19+
- Download Link: https://cdimage.ubuntu.com/releases/24.04.1/release/ubuntu-24.04.1-preinstalled-server-riscv64+milkvmars.img.xz
1820
- Reference Installation Document: https://milkv.io/zh/docs/mars/getting-started/boot
1921
- Deepin
2022
- Download Link: https://cdimage.deepin.com/RISC-V/preview-20240613-riscv64/deepin-23-beige-preview-riscv64-milkv-mars-20240613-123442.tar.xz
@@ -30,10 +32,12 @@ cpu_core: SiFive U74 + SiFive S7 + SiFive E24
3032
| ---------------------- | ------------ | -------------------------------------------- |
3133
| Debian Image Boot | N/A | [Successful][Debian] (Milk-V Official Image) |
3234
| BuildRoot Build & Boot | N/A | [Successful][BuildRoot] |
33-
| Ubuntu Image Boot | N/A | [Successful][Ubuntu] |
35+
| Ubuntu Image Boot | N/A | [CFT][Ubuntu] |
36+
| Ubuntu LTS Image Boot | N/A | [CFT][Ubuntu LTS] |
3437
| Deepin Image Boot | N/A | [CFT][Deepin] |
3538

3639
[Debian]: ./Debian/README.md
3740
[BuildRoot]: ./BuildRoot/README.md
3841
[Ubuntu]: ./Ubuntu/README.md
42+
[Ubuntu LTS]: ./Ubuntu/README_LTS.md
3943
[Deepin]: ./Deepin/README.md

Mars/README_zh.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@
77
- BuildRoot/Debian(官方提供)
88
- 下载链接:https://github.com/milkv-mars/mars-buildroot-sdk/releases/
99
- 参考安装文档:https://milkv.io/zh/docs/mars/getting-started/boot
10-
- Ubuntu
11-
- 下载链接:https://cdimage.ubuntu.com/releases/24.04/release/ubuntu-24.04-preinstalled-server-riscv64+milkvmars.img.xz
10+
- Ubuntu 24.10
11+
- 下载链接:https://cdimage.ubuntu.com/releases/24.10/release/ubuntu-24.10-preinstalled-server-riscv64+milkvmars.img.xz
12+
- Ubuntu 24.04.1 LTS
13+
- 下载链接:https://cdimage.ubuntu.com/releases/24.04.1/release/ubuntu-24.04.1-preinstalled-server-riscv64+milkvmars.img.xz
1214
- 参考安装文档:https://milkv.io/zh/docs/mars/getting-started/boot
1315
- Deepin
1416
- 下载链接:https://cdimage.deepin.com/RISC-V/preview-20240613-riscv64/deepin-23-beige-preview-riscv64-milkv-mars-20240613-123442.tar.xz
@@ -24,10 +26,12 @@
2426
| -------------------- | -------- | --------------------------------- |
2527
| Debian 镜像启动 | N/A | [成功][Debian](Milk-V 厂商镜像) |
2628
| BuildRoot 构建及启动 | N/A | [成功][BuildRoot] |
27-
| Ubuntu 镜像启动 | N/A | [成功][Ubuntu] |
29+
| Ubuntu 镜像启动 | N/A | [CFT][Ubuntu] |
30+
| Ubuntu LTS 镜像启动 | N/A | [CFT][Ubuntu LTS] |
2831
| Deepin 镜像启动 | N/A | [CFT][Deepin] |
2932

3033
[Debian]: ./Debian/README_zh.md
3134
[BuildRoot]: ./BuildRoot/README_zh.md
3235
[Ubuntu]: ./Ubuntu/README_zh.md
36+
[Ubuntu LTS]: ./Ubuntu/README_LTS_zh.md
3337
[Deepin]: ./Deepin/README_zh.md

Mars/Ubuntu/README.md

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
---
22
sys: ubuntu
3-
sys_ver: 24.04
3+
sys_ver: 24.10
44
sys_var: null
55

66
status: basic
7-
last_update: 2024-06-21
7+
last_update: 2024-10-25
88
---
99

10-
# Ubuntu 24.04 LTS on Milk-V Mars Test Report
10+
# Ubuntu 24.10 on Milk-V Mars Test Report
1111

1212
## Test Environment
1313

1414
### Operating System Information
1515

16-
- Ubuntu 24.04 LTS
17-
- Download Link: https://cdimage.ubuntu.com/releases/24.04/release/ubuntu-24.04-preinstalled-server-riscv64+milkvmars.img.xz
16+
- Ubuntu 24.10
17+
- Download Link: https://cdimage.ubuntu.com/releases/24.10/release/ubuntu-24.10-preinstalled-server-riscv64+milkvmars.img.xz
1818
- Reference Installation Document: https://milkv.io/zh/docs/mars/getting-started/boot
1919

2020
### Hardware Information
@@ -31,8 +31,8 @@ Use `dd` to flash the image to the microSD card.
3131
Here, `/dev/sdc` corresponds to the storage device.
3232

3333
```bash
34-
unxz -d ubuntu-24.04-preinstalled-server-riscv64+milkvmars.img.xz
35-
sudo dd if=ubuntu-24.04-preinstalled-server-riscv64+milkvmars.img of=/dev/sdc bs=1M status=progress
34+
unxz -d ubuntu-24.10-preinstalled-server-riscv64+milkvmars.img.xz
35+
sudo dd if=ubuntu-24.10-preinstalled-server-riscv64+milkvmars.img of=/dev/sdc bs=1M status=progress
3636
```
3737

3838
### Updating U-Boot
@@ -61,21 +61,14 @@ Default password: `ubuntu`
6161
The system should boot normally, allowing login via the onboard serial port, and should enter the installation wizard.
6262

6363
## Actual Results
64-
64+
<details>
65+
<summary>result is outdated(24.04)</summary>
6566
The system booted successfully, and the output was successfully viewed via the serial port.
6667

6768
### Boot Information
6869

6970
Screen recording:
70-
[![asciicast](https://asciinema.org/a/a3DgDMfhYPQgWhUjTTScbJ04n.svg)](https://asciinema.org/a/a3DgDMfhYPQgWhUjTTScbJ04n)
71-
72-
```log
73-
Welcome to Ubuntu 24.04 LTS (GNU/Linux 6.8.0-31-generic riscv64)
74-
75-
* Documentation: https://help.ubuntu.com
76-
* Management: https://landscape.canonical.com
77-
* Support: https://ubuntu.com/pro
78-
71+
[![asciicast](https://asciMars/Ubuntu/README_zh.md Mars/Ubuntu/README.md
7972
System information disabled due to load higher than 1.0
8073

8174
Expanded Security Maintenance for Applications is not enabled.
@@ -129,3 +122,4 @@ Failed: The actual result does not match the expected result.
129122
## Test Conclusion
130123
131124
Test successful.
125+
</details>

Mars/Ubuntu/README_LTS.md

Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
---
2+
sys: ubuntu
3+
sys_ver: 24.04.1
4+
sys_var: null
5+
6+
status: basic
7+
last_update: 2024-10-25
8+
---
9+
10+
# Ubuntu 24.04.1 LTS on Milk-V Mars Test Report
11+
12+
## Test Environment
13+
14+
### Operating System Information
15+
16+
- Ubuntu 24.04.1 LTS
17+
- Download Link: https://cdimage.ubuntu.com/releases/24.04.1/release/ubuntu-24.04.1-preinstalled-server-riscv64+milkvmars.img.xz
18+
- Reference Installation Document: https://milkv.io/zh/docs/mars/getting-started/boot
19+
20+
### Hardware Information
21+
22+
- Milk-V Mars
23+
24+
## Installation Steps
25+
26+
### Flashing the Image
27+
28+
Use `unxz` to decompress the image.
29+
Use `dd` to flash the image to the microSD card.
30+
31+
Here, `/dev/sdc` corresponds to the storage device.
32+
33+
```bash
34+
unxz -d ubuntu-24.04.1-preinstalled-server-riscv64+milkvmars.img.xz
35+
sudo dd if=ubuntu-24.04.1-preinstalled-server-riscv64+milkvmars.img of=/dev/sdc bs=1M status=progress
36+
```
37+
38+
### Updating U-Boot
39+
40+
**If a Kernel Panic occurs during startup, U-Boot update is required**
41+
42+
Insert the flashed SD card and quickly press Enter when "Hit any key to stop autoboot" appears on the serial terminal to enter the U-Boot command line interface.
43+
After entering the U-Boot console, input the following commands in sequence:
44+
```bash
45+
sf probe
46+
load mmc 1:1 $kernel_addr_r /usr/lib/u-boot/starfive_visionfive2/u-boot-spl.bin.normal.out
47+
sf update $kernel_addr_r 0 $filesize
48+
load mmc 1:1 $kernel_addr_r /usr/lib/u-boot/starfive_visionfive2/u-boot.itb
49+
sf update $kernel_addr_r 0x100000 $filesize
50+
```
51+
52+
### Logging into the System
53+
54+
Logging into the system via the serial port.
55+
56+
Default username: `ubuntu`
57+
Default password: `ubuntu`
58+
59+
## Expected Results
60+
61+
The system should boot normally, allowing login via the onboard serial port, and should enter the installation wizard.
62+
63+
## Actual Results
64+
<details>
65+
<summary>result is outdated(24.04)</summary>
66+
The system booted successfully, and the output was successfully viewed via the serial port.
67+
68+
### Boot Information
69+
70+
Screen recording:
71+
[![asciicast](https://asciinema.org/a/a3DgDMfhYPQgWhUjTTScbJ04n.svg)](https://asciinema.org/a/a3DgDMfhYPQgWhUjTTScbJ04n)
72+
73+
```log
74+
Welcome to Ubuntu 24.04 LTS (GNU/Linux 6.8.0-31-generic riscv64)
75+
76+
* Documentation: https://help.ubuntu.com
77+
* Management: https://landscape.canonical.com
78+
* Support: https://ubuntu.com/pro
79+
80+
System information disabled due to load higher than 1.0
81+
82+
Expanded Security Maintenance for Applications is not enabled.
83+
84+
0 updates can be applied immediately.
85+
86+
Enable ESM Apps to receive additional future security updates.
87+
See https://ubuntu.com/esm or run: sudo pro status
88+
89+
90+
91+
The programs included with the Ubuntu system are free software;
92+
the exact distribution terms for each program are described in the
93+
individual files in /usr/share/doc/*/copyright.
94+
95+
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
96+
applicable law.
97+
98+
To run a command as administrator (user "root"), use "sudo <command>".
99+
See "man sudo_root" for details.
100+
101+
ubuntu@ubuntu:~$ cat /etc-o
102+
cat: /etc-o: No such file or directory
103+
ubuntu@ubuntu:~$ cat /etc/os-release
104+
PRETTY_NAME="Ubuntu 24.04 LTS"
105+
NAME="Ubuntu"
106+
VERSION_ID="24.04"
107+
VERSION="24.04 LTS (Noble Numbat)"
108+
VERSION_CODENAME=noble
109+
ID=ubuntu
110+
ID_LIKE=debian
111+
HOME_URL="https://www.ubuntu.com/"
112+
SUPPORT_URL="https://help.ubuntu.com/"
113+
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
114+
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
115+
UBUNTU_CODENAME=noble
116+
LOGO=ubuntu-logo
117+
ubuntu@ubuntu:~$ uname -a
118+
Linux ubuntu 6.8.0-31-generic #31.1-Ubuntu SMP PREEMPT_DYNAMIC Sun Apr 21 01:12:53 UTC 2024 riscv64 riscv64 riscv64 GNU/Lix
119+
ubuntu@ubuntu:~$
120+
121+
122+
```
123+
124+
## Test Criteria
125+
126+
Successful: The actual result matches the expected result.
127+
128+
Failed: The actual result does not match the expected result.
129+
130+
## Test Conclusion
131+
132+
Test successful.
133+
</details>

Mars/Ubuntu/README_LTS_zh .md

Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
# Ubuntu 24.04.1 LTS on Milk-V Mars
2+
3+
## 测试环境
4+
5+
### 操作系统信息
6+
7+
- Ubuntu 24.04.1 LTS
8+
- 下载链接:https://cdimage.ubuntu.com/releases/24.04.1/release/ubuntu-24.04.1-preinstalled-server-riscv64+milkvmars.img.xz
9+
- 参考安装文档:https://milkv.io/zh/docs/mars/getting-started/boot
10+
11+
### 硬件开发板信息
12+
13+
- Milk-V Mars
14+
15+
## 安装步骤
16+
17+
### 刷写镜像
18+
19+
使用 `unxz` 解压镜像。
20+
使用 `dd` 将镜像写入 microSD 卡。
21+
22+
其中,`/dev/sdc` 为存储卡对应设备。
23+
24+
```bash
25+
unxz -d ubuntu-24.04.1-preinstalled-server-riscv64+milkvmars.img.xz
26+
sudo dd if=ubuntu-24.04.1-preinstalled-server-riscv64+milkvmars.img of=/dev/sdc bs=1M status=progress
27+
```
28+
29+
### 更新 U-Boot
30+
31+
**若出现启动时 Kernel Panic,需要更新 U-Boot**
32+
33+
插入烧好镜像的 SD 卡,在串口终端中出现 Hit any key to stop autoboot 时迅速按下回车键,进入 U-boot 命令行终端。
34+
进入 U-Boot 控制台后,依次输入:
35+
```bash
36+
sf probe
37+
load mmc 1:1 $kernel_addr_r /usr/lib/u-boot/starfive_visionfive2/u-boot-spl.bin.normal.out
38+
sf update $kernel_addr_r 0 $filesize
39+
load mmc 1:1 $kernel_addr_r /usr/lib/u-boot/starfive_visionfive2/u-boot.itb
40+
sf update $kernel_addr_r 0x100000 $filesize
41+
```
42+
43+
### 登录系统
44+
45+
通过串口登录系统。
46+
47+
默认用户名: `ubuntu`
48+
默认密码: `ubuntu`
49+
50+
## 预期结果
51+
52+
系统正常启动,能够通过板载串口登录。能进入安装向导。
53+
54+
## 实际结果
55+
<details>
56+
<summary>结果已过时(24.04)</summary>
57+
系统正常启动,成功通过串口查看输出。
58+
59+
### 启动信息
60+
61+
屏幕录像:
62+
[![asciicast](https://asciinema.org/a/a3DgDMfhYPQgWhUjTTScbJ04n.svg)](https://asciinema.org/a/a3DgDMfhYPQgWhUjTTScbJ04n)
63+
64+
```log
65+
Welcome to Ubuntu 24.04 LTS (GNU/Linux 6.8.0-31-generic riscv64)
66+
67+
* Documentation: https://help.ubuntu.com
68+
* Management: https://landscape.canonical.com
69+
* Support: https://ubuntu.com/pro
70+
71+
System information disabled due to load higher than 1.0
72+
73+
Expanded Security Maintenance for Applications is not enabled.
74+
75+
0 updates can be applied immediately.
76+
77+
Enable ESM Apps to receive additional future security updates.
78+
See https://ubuntu.com/esm or run: sudo pro status
79+
80+
81+
82+
The programs included with the Ubuntu system are free software;
83+
the exact distribution terms for each program are described in the
84+
individual files in /usr/share/doc/*/copyright.
85+
86+
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
87+
applicable law.
88+
89+
To run a command as administrator (user "root"), use "sudo <command>".
90+
See "man sudo_root" for details.
91+
92+
ubuntu@ubuntu:~$ cat /etc-o
93+
cat: /etc-o: No such file or directory
94+
ubuntu@ubuntu:~$ cat /etc/os-release
95+
PRETTY_NAME="Ubuntu 24.04 LTS"
96+
NAME="Ubuntu"
97+
VERSION_ID="24.04"
98+
VERSION="24.04 LTS (Noble Numbat)"
99+
VERSION_CODENAME=noble
100+
ID=ubuntu
101+
ID_LIKE=debian
102+
HOME_URL="https://www.ubuntu.com/"
103+
SUPPORT_URL="https://help.ubuntu.com/"
104+
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
105+
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
106+
UBUNTU_CODENAME=noble
107+
LOGO=ubuntu-logo
108+
ubuntu@ubuntu:~$ uname -a
109+
Linux ubuntu 6.8.0-31-generic #31.1-Ubuntu SMP PREEMPT_DYNAMIC Sun Apr 21 01:12:53 UTC 2024 riscv64 riscv64 riscv64 GNU/Lix
110+
ubuntu@ubuntu:~$
111+
112+
113+
```
114+
115+
## 测试判定标准
116+
117+
测试成功:实际结果与预期结果相符。
118+
119+
测试失败:实际结果与预期结果不符。
120+
121+
## 测试结论
122+
123+
成功
124+
</details>

0 commit comments

Comments
 (0)