diff --git a/Duo/README.md b/Duo/README.md index fc793ad..5a9371b 100644 --- a/Duo/README.md +++ b/Duo/README.md @@ -53,6 +53,11 @@ cpu_core: XuanTie C906 - UniProton - Download links: https://share.weiyun.com/0gIkzesF - Reference Installation Document: https://github.com/openeuler-riscv/duo-buildroot-sdk/blob/develop/uni_pedestal/WORK.md +- Ubuntu 22.04 + - Download Link: https://drive.google.com/file/d/1y1NQamzUDzot_kVT2yKkbusoJmtvH5tD/view?usp=sharing + - Reference Installation Document: + - https://xyzdims.com/3d-printers/misc-hardware-notes/iot-milk-v-duo-risc-v-esbc-running-linux/#Ubuntu_Disk_Image + - https://github.com/bassusteur/milkv-duo-ubuntu ### Hardware Information @@ -69,11 +74,12 @@ 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 | [Success][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] | | UniProton Boot | N/A | [Success][UniProton] | +| Ubuntu Boot | N/A | [Success][Ubuntu] | [Duo]: ./BuildRoot/README.md [Arch]: ./ArchLinux/README.md @@ -87,3 +93,4 @@ cpu_core: XuanTie C906 [ThreadX]: ./ThreadX/README.md [Zephyr]: ./Zephyr/README.md [UniProton]: ./UniProton/README.md +[Ubuntu]: ./Ubuntu/README.md \ No newline at end of file diff --git a/Duo/README_zh.md b/Duo/README_zh.md index 76837d1..77756db 100644 --- a/Duo/README_zh.md +++ b/Duo/README_zh.md @@ -47,6 +47,11 @@ - UniProton - 下载链接: https://share.weiyun.com/0gIkzesF - 参考安装文档: https://github.com/openeuler-riscv/duo-buildroot-sdk/blob/develop/uni_pedestal/WORK.md +- Ubuntu 22.04 + - 下载链接:https://drive.google.com/file/d/1y1NQamzUDzot_kVT2yKkbusoJmtvH5tD/view?usp=sharing + - 参考安装文档: + - https://xyzdims.com/3d-printers/misc-hardware-notes/iot-milk-v-duo-risc-v-esbc-running-linux/#Ubuntu_Disk_Image + - https://github.com/bassusteur/milkv-duo-ubuntu ### 硬件开发板信息 @@ -68,6 +73,7 @@ | ThreadX 镜像构建及启动 | N/A | [成功][ThreadX] | | Zephyr 镜像构建及启动 | N/A | [成功][Zephyr] | | UniProton 启动 | N/A | [成功][UniProton] | +| Ubuntu 启动 | N/A | [成功][Ubuntu] | [Duo]: ./BuildRoot/README_zh.md [Arch]: ./ArchLinux/README_zh.md @@ -80,4 +86,5 @@ [oE]: ./openEuler/README_zh.md [ThreadX]: ./ThreadX/README_zh.md [Zephyr]: ./Zephyr/README_zh.md -[UniProton]: ./UniProton/README.md +[UniProton]: ./UniProton/README_zh.md +[Ubuntu]: ./Ubuntu/README_zh.md diff --git a/Duo/Ubuntu/README.md b/Duo/Ubuntu/README.md new file mode 100644 index 0000000..2ce781a --- /dev/null +++ b/Duo/Ubuntu/README.md @@ -0,0 +1,294 @@ +--- +sys: ubuntu +sys_ver: null +sys_var: null + +status: basic +last_update: 2024-11-13 +--- + +# Ubuntu Milk-V Duo Test Report + +## Test Environment + +### Operating System Information + +- System Version: milkv-duo-ubuntu-22.04-riscv64-v0.0.4-spiritdude.img +- Download Link: https://drive.google.com/file/d/1y1NQamzUDzot_kVT2yKkbusoJmtvH5tD/view?usp=sharing +- Reference Installation Document: + - https://xyzdims.com/3d-printers/misc-hardware-notes/iot-milk-v-duo-risc-v-esbc-running-linux/#Ubuntu_Disk_Image + - https://github.com/bassusteur/milkv-duo-ubuntu + +> Note: This image is provided by community developers and is not an official image. + +### 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 +- Milk-V Duo with necessary header pins pre-soldered for debugging +- Optional: Milk-V Duo IOB (Baseboard) + +## Installation Steps + +### Using `dd` to Flash the Image to the microSD Card + +```shell +unzip milkv-duo-ubuntu-22.04-riscv64-v0.0.4-spiritdude.zip +dd if=milkv-duo-ubuntu-22.04-riscv64-v0.0.4-spiritdude.img of=/dev/your/device bs=1M status=progress +``` + +### Logging into the System + +Logging into the system via the serial port. + +Username: `root` +Password: `milkv` + +> Note: `apt` might become unresponsive or unable to function properly due to the tight memory constraints. + +## Expected Results + +The system boots up normally and allows login through the serial port. + +## Actual Results + +The system boots up normally and login through the serial port is successful. + +### Boot Log + +```log +Welcome to Ubuntu 22.04 LTS! + +[ 1.696687] systemd[1]: Hostname set to . +[ 2.160028] systemd-fstab-generator[94]: Ignoring "noauto" option for root device +[ 3.111135] systemd[1]: Queued start job for default target Graphical Interface. +[ 3.122288] random: systemd: uninitialized urandom read (16 bytes read) +[ 3.137377] systemd[1]: Created slice Slice /system/modprobe. +[ OK ] Created slice Slice /system/modprobe. +[ 3.159605] random: systemd: uninitialized urandom read (16 bytes read) +[ 3.170528] systemd[1]: Created slice Slice /system/serial-getty. +[ OK ] Created slice Slice /system/serial-getty. +[ 3.191614] random: systemd: uninitialized urandom read (16 bytes read) +[ 3.201785] systemd[1]: Created slice User and Session Slice. +[ OK ] Created slice User and Session Slice. +[ 3.224298] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. +[ OK ] Started Dispatch Password …ts to Console Directory Watch. +[ 3.252167] systemd[1]: Started Forward Password Requests to Wall Directory Watch. +[ OK ] Started Forward Password R…uests to Wall Directory Watch. +[ 3.279996] systemd[1]: Condition check resulted in Arbitrary Executable File Formats File System Automount Point being skipped. +[ 3.292725] systemd[1]: Reached target Local Encrypted Volumes. +[ OK ] Reached target Local Encrypted Volumes. +[ 3.316185] systemd[1]: Reached target Remote File Systems. +[ OK ] Reached target Remote File Systems. +[ 3.335717] systemd[1]: Reached target Slice Units. +[ OK ] Reached target Slice Units. +[ 3.355910] systemd[1]: Reached target System Time Set. +[ OK ] Reached target System Time Set. +[ 3.375995] systemd[1]: Reached target Local Verity Protected Volumes. +[ OK ] Reached target Local Verity Protected Volumes. +[ 3.401707] systemd[1]: Listening on Syslog Socket. +[ OK ] Listening on Syslog Socket. +[ 3.424966] systemd[1]: Listening on fsck to fsckd communication Socket. +[ OK ] Listening on fsck to fsckd communication Socket. +[ 3.452305] systemd[1]: Listening on initctl Compatibility Named Pipe. +[ OK ] Listening on initctl Compatibility Named Pipe. +[ 3.497037] systemd[1]: Condition check resulted in Journal Audit Socket being skipped. +[ 3.507153] systemd[1]: Listening on Journal Socket (/dev/log). +[ OK ] Listening on Journal Socket (/dev/log). +[ 3.529180] systemd[1]: Listening on Journal Socket. +[ OK ] Listening on Journal Socket. +[ 3.552444] systemd[1]: Listening on udev Control Socket. +[ OK ] Listening on udev Control Socket. +[ 3.572892] systemd[1]: Listening on udev Kernel Socket. +[ OK ] Listening on udev Kernel Socket. +[ 3.591708] systemd[1]: Reached target Socket Units. +[ OK ] Reached target Socket Units. +[ 3.612597] systemd[1]: Condition check resulted in Huge Pages File System being skipped. +[ 3.629671] systemd[1]: Mounting POSIX Message Queue File System... + Mounting POSIX Message Queue File System... +[ 3.668945] systemd[1]: Mounting Kernel Debug File System... + Mounting Kernel Debug File System... +[ 3.704596] systemd[1]: Condition check resulted in Kernel Trace File System being skipped. +[ 3.719571] systemd[1]: systemd-journald.service: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling. +[ 3.733117] systemd[1]: (This warning is only shown for the first unit using IP firewalling.) +[ 3.749695] systemd[1]: Starting Journal Service... + Starting Journal Service... +[ 3.794473] systemd[1]: Starting Set the console keyboard layout... + Starting Set the console keyboard layout... +[ 3.831778] systemd[1]: Condition check resulted in Create List of Static Device Nodes being skipped. +[ 3.893304] systemd[1]: Starting Load Kernel Module configfs... + Starting Load Kernel Module configfs... +[ 3.980085] systemd[1]: Starting Load Kernel Module drm... + Starting Load Kernel Module drm... +[ 4.050796] systemd[1]: Starting Load Kernel Module efi_pstore... + Starting Load Kernel Module efi_pstore... +[ 4.160720] systemd[1]: Starting Load Kernel Module fuse... + Starting Load Kernel Module fuse... +[ 4.208277] systemd[1]: Condition check resulted in File System Check on Root Device being skipped. +[ 4.286144] systemd[1]: Starting Load Kernel Modules... + Starting Load Kernel Modules... +[ 4.358691] systemd[1]: Starting Remount Root and Kernel File Systems... + Starting Remount Root and Kernel File Systems... +[ 4.451180] systemd[1]: Starting Coldplug All udev Devices... + Starting Coldplug All udev Devices... +[ 4.664484] systemd[1]: Mounted POSIX Message Queue File System. +[ 4.702079] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null) +[ OK ] Mounted POSIX Message Queue File System. +[ 4.783527] ext4 filesystem being remounted at / supports timestamps until 2038 (0x7fffffff) +[ 4.805532] systemd[1]: Mounted Kernel Debug File System. +[ OK ] Mounted Kernel Debug File System. +[ 4.871633] systemd[1]: modprobe@configfs.service: Deactivated successfully. +[ 4.907627] systemd[1]: Finished Load Kernel Module configfs. +[ OK ] Finished Load Kernel Module configfs. +[ 4.999751] systemd[1]: Finished Set the console keyboard layout. +[ OK ] Finished Set the console keyboard layout. +[ 5.040531] systemd[1]: Started Journal Service. +[ OK ] Started Journal Service. +[ OK ] Finished Load Kernel Module drm. +[ OK ] Finished Load Kernel Module efi_pstore. +[ OK ] Finished Load Kernel Module fuse. +[ OK ] Finished Load Kernel Modules. +[ OK ] Finished Remount Root and Kernel File Systems. + Mounting Kernel Configuration File System... + Starting Flush Journal to Persistent Storage... + Starting Load/Save Random Seed... + Starting Apply Kernel Variables... + Starting Create System Users... +[ 5.460156] systemd-journald[107]: Received client request to flush runtime journal. +[ 5.519735] systemd-journald[107]: File /var/log/journal/bb35470655554941b9067e089febf1db/system.journal corrupted or uncleanly shut down, renaming and replacing. +[ OK ] Mounted Kernel Configuration File System. +[FAILED] Failed to start Apply Kernel Variables. +See 'systemctl status systemd-sysctl.service' for details. +[ OK ] Finished Create System Users. + Starting Create Static Device Nodes in /dev... +[ OK ] Finished Create Static Device Nodes in /dev. +[ OK ] Reached target Preparation for Local File Systems. + Starting Rule-based Manage…for Device Events and Files... +[ OK ] Finished Flush Journal to Persistent Storage. +[ OK ] Finished Coldplug All udev Devices. + Starting Helper to synchronize boot up for ifupdown... +[ OK ] Finished Helper to synchronize boot up for ifupdown. +[ OK ] Started Rule-based Manager for Device Events and Files. +[ OK ] Found device /dev/ttyS0. +[ OK ] Reached target Hardware activated USB gadget. +[ OK ] Finished Load/Save Random Seed. +[ OK ] Found device /dev/mmcblk0p3. +[ OK ] Reached target Sound Card. +[ OK ] Listening on Load/Save RF …itch Status /dev/rfkill Watch. + Activating swap /dev/mmcblk0p3... +[FAILED] Failed to activate swap /dev/mmcblk0p3. +See 'systemctl status dev-mmcblk0p3.swap' for details. +[DEPEND] Dependency failed for Swaps. + Mounting /tmp... +[ OK ] Mounted /tmp. +[ OK ] Reached target Local File Systems. + Starting Set console font and keymap... + Starting Raise network interfaces... + Starting Create Volatile Files and Directories... +[ OK ] Finished Set console font and keymap. +[ OK ] Finished Raise network interfaces. +[ OK ] Reached target Network. +[ OK ] Finished Create Volatile Files and Directories. +[ OK ] Started Entropy Daemon based on the HAVEGE algorithm. + Starting Record System Boot/Shutdown in UTMP... +[ OK ] Finished Record System Boot/Shutdown in UTMP. +[ OK ] Reached target System Initialization. +[ OK ] Started Trigger to poll fo…y enabled on GCP LTS non-pro). +[ OK ] Started Daily Cleanup of Temporary Directories. +[ OK ] Started Ubuntu Advantage Timer for running repeated jobs. +[ OK ] Reached target Path Units. +[ OK ] Reached target Basic System. +[ OK ] Listening on D-Bus System Message Bus Socket. + Starting chrony, an NTP client/server... +[ OK ] Started Regular background program processing daemon. +[ OK ] Started D-Bus System Message Bus. +[ OK ] Started Save initial kernel messages after boot. + Starting dnsmasq - A light…DHCP and caching DNS server... + Starting LSB: Lightweight SSH server... + Starting Remove Stale Onli…t4 Metadata Check Snapshots... + Starting Dispatcher daemon for systemd-networkd... +[ OK ] Started RNDIS. + Starting System Logging Service... + Starting User Login Management... + Starting Permit User Sessions... + Starting Initializes zram swaping... +[ OK ] Finished Permit User Sessions. +[ OK ] Started System Logging Service. +[ OK ] Finished Initializes zram swaping. +[ OK ] Started LSB: Lightweight SSH server. +[ OK ] Started Serial Getty on ttyS0. +[ OK ] Created slice Slice /system/getty. +[ OK ] Reached target Login Prompts. +[ OK ] Started chrony, an NTP client/server. +[ OK ] Reached target System Time Synchronized. +[ OK ] Started Daily apt download activities. +[ OK ] Started Daily apt upgrade and clean activities. +[ OK ] Started Daily dpkg database backup timer. +[ OK ] Started Periodic ext4 Onli…ata Check for All Filesystems. +[ OK ] Started Discard unused blocks once a week. +[ OK ] Started Daily rotation of log files. +[ OK ] Started Message of the Day. +[ OK ] Reached target Timer Units. + +Ubuntu 22.04 LTS milkv-duo ttyS0 + +milkv-duo login: root +Password: +Welcome to Ubuntu 22.04 LTS (GNU/Linux 5.10.4-tag- riscv64) + + * Documentation: https://help.ubuntu.com + * Management: https://landscape.canonical.com + * Support: https://ubuntu.com/advantage +Last login: Tue Sep 19 16:57:28 UTC 2023 on ttyS0 +root@milkv-duo:~# cat /etc/os-release +PRETTY_NAME="Ubuntu 22.04 LTS" +NAME="Ubuntu" +VERSION_ID="22.04" +VERSION="22.04 (Jammy Jellyfish)" +VERSION_CODENAME=jammy +ID=ubuntu +ID_LIKE=debian +HOME_URL="https://www.ubuntu.com/" +SUPPORT_URL="https://help.ubuntu.com/" +BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" +PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" +UBUNTU_CODENAME=jammy +root@milkv-duo:~# neofetch + .-/+oossssoo+/-. root@milkv-duo + `:+ssssssssssssssssss+:` -------------- + -+ssssssssssssssssssyyssss+- OS: Ubuntu 22.04 LTS riscv64 + .ossssssssssssssssssdMMMNysssso. Host: Cvitek. CV180X ASIC. C906. + /ssssssssssshdmmNNmmyNMMMMhssssss/ Kernel: 5.10.4-tag- + +ssssssssshmydMMMMMMMNddddyssssssss+ Uptime: 48 secs + /sssssssshNMMMyhhyyyyhmNMMMNhssssssss/ Packages: 245 (dpkg) +.ssssssssdMMMNhsssssssssshNMMMdssssssss. Shell: bash 5.1.16 ++sssshhhyNMMNyssssssssssssyNMMMysssssss+ Terminal: /dev/ttyS0 +ossyNMMMNyMMhsssssssssssssshmmmhssssssso CPU: (1) +ossyNMMMNyMMhsssssssssssssshmmmhssssssso Memory: 30MiB / 54MiB ++sssshhhyNMMNyssssssssssssyNMMMysssssss+ +.ssssssssdMMMNhsssssssssshNMMMdssssssss. + /sssssssshNMMMyhhyyyyhdNMMMNhssssssss/ + +sssssssssdmydMMMMMMMMddddyssssssss+ + /ssssssssssshdmNNNNmyNMMMMhssssss/ + .ossssssssssssssssssdMMMNysssso. + -+sssssssssssssssssyyyssss+- + `:+ssssssssssssssssss+:` + .-/+oossssoo+/-. + +root@milkv-duo:~# + +``` + +## Test Criteria + +Successful: The actual result matches the expected result. + +Failed: The actual result does not match the expected result. + +## Test Conclusion + +Test successful. diff --git a/Duo/Ubuntu/README_zh.md b/Duo/Ubuntu/README_zh.md new file mode 100644 index 0000000..b6a26fb --- /dev/null +++ b/Duo/Ubuntu/README_zh.md @@ -0,0 +1,285 @@ +# Ubuntu Milk-V Duo 测试报告 + +## 测试环境 + +### 操作系统信息 + +- 系统版本:milkv-duo-ubuntu-22.04-riscv64-v0.0.4-spiritdude.img +- 下载链接:https://drive.google.com/file/d/1y1NQamzUDzot_kVT2yKkbusoJmtvH5tD/view?usp=sharing +- 参考安装文档: + - https://xyzdims.com/3d-printers/misc-hardware-notes/iot-milk-v-duo-risc-v-esbc-running-linux/#Ubuntu_Disk_Image + - https://github.com/bassusteur/milkv-duo-ubuntu + +> Note: 此镜像为社区开发者提供,非官方镜像。 + +### 硬件信息 + +- Milk-V Duo 64M +- USB 电源适配器一个 +- USB-A to C 或 USB C to C 线缆一条 +- microSD 卡一张 +- USB to UART 调试器一个(如:CH340, CH341, FT2232 等) +- 杜邦线三根 +- Milk-V Duo 本体上预先焊接好调试所需的排针 +- 可选:Milk-V Duo IOB(底板) + +## 安装步骤 + +### 使用 `dd` 刷写镜像到 microSD 卡 + +```shell +unzip milkv-duo-ubuntu-22.04-riscv64-v0.0.4-spiritdude.zip +dd if=milkv-duo-ubuntu-22.04-riscv64-v0.0.4-spiritdude.img of=/dev/your/device bs=1M status=progress +``` + +### 登录系统 + +通过串口登录系统。 + +用户名:`root` +密码:`milkv` + +> 注:`apt` 由于内存受限可能运行缓慢或无法正常使用。 + +## 预期结果 + +系统正常启动,能够通过串口登录。 + +## 实际结果 + +系统正常启动,成功通过串口登录。 + +### 启动信息 + +```log +Welcome to Ubuntu 22.04 LTS! + +[ 1.696687] systemd[1]: Hostname set to . +[ 2.160028] systemd-fstab-generator[94]: Ignoring "noauto" option for root device +[ 3.111135] systemd[1]: Queued start job for default target Graphical Interface. +[ 3.122288] random: systemd: uninitialized urandom read (16 bytes read) +[ 3.137377] systemd[1]: Created slice Slice /system/modprobe. +[ OK ] Created slice Slice /system/modprobe. +[ 3.159605] random: systemd: uninitialized urandom read (16 bytes read) +[ 3.170528] systemd[1]: Created slice Slice /system/serial-getty. +[ OK ] Created slice Slice /system/serial-getty. +[ 3.191614] random: systemd: uninitialized urandom read (16 bytes read) +[ 3.201785] systemd[1]: Created slice User and Session Slice. +[ OK ] Created slice User and Session Slice. +[ 3.224298] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. +[ OK ] Started Dispatch Password …ts to Console Directory Watch. +[ 3.252167] systemd[1]: Started Forward Password Requests to Wall Directory Watch. +[ OK ] Started Forward Password R…uests to Wall Directory Watch. +[ 3.279996] systemd[1]: Condition check resulted in Arbitrary Executable File Formats File System Automount Point being skipped. +[ 3.292725] systemd[1]: Reached target Local Encrypted Volumes. +[ OK ] Reached target Local Encrypted Volumes. +[ 3.316185] systemd[1]: Reached target Remote File Systems. +[ OK ] Reached target Remote File Systems. +[ 3.335717] systemd[1]: Reached target Slice Units. +[ OK ] Reached target Slice Units. +[ 3.355910] systemd[1]: Reached target System Time Set. +[ OK ] Reached target System Time Set. +[ 3.375995] systemd[1]: Reached target Local Verity Protected Volumes. +[ OK ] Reached target Local Verity Protected Volumes. +[ 3.401707] systemd[1]: Listening on Syslog Socket. +[ OK ] Listening on Syslog Socket. +[ 3.424966] systemd[1]: Listening on fsck to fsckd communication Socket. +[ OK ] Listening on fsck to fsckd communication Socket. +[ 3.452305] systemd[1]: Listening on initctl Compatibility Named Pipe. +[ OK ] Listening on initctl Compatibility Named Pipe. +[ 3.497037] systemd[1]: Condition check resulted in Journal Audit Socket being skipped. +[ 3.507153] systemd[1]: Listening on Journal Socket (/dev/log). +[ OK ] Listening on Journal Socket (/dev/log). +[ 3.529180] systemd[1]: Listening on Journal Socket. +[ OK ] Listening on Journal Socket. +[ 3.552444] systemd[1]: Listening on udev Control Socket. +[ OK ] Listening on udev Control Socket. +[ 3.572892] systemd[1]: Listening on udev Kernel Socket. +[ OK ] Listening on udev Kernel Socket. +[ 3.591708] systemd[1]: Reached target Socket Units. +[ OK ] Reached target Socket Units. +[ 3.612597] systemd[1]: Condition check resulted in Huge Pages File System being skipped. +[ 3.629671] systemd[1]: Mounting POSIX Message Queue File System... + Mounting POSIX Message Queue File System... +[ 3.668945] systemd[1]: Mounting Kernel Debug File System... + Mounting Kernel Debug File System... +[ 3.704596] systemd[1]: Condition check resulted in Kernel Trace File System being skipped. +[ 3.719571] systemd[1]: systemd-journald.service: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling. +[ 3.733117] systemd[1]: (This warning is only shown for the first unit using IP firewalling.) +[ 3.749695] systemd[1]: Starting Journal Service... + Starting Journal Service... +[ 3.794473] systemd[1]: Starting Set the console keyboard layout... + Starting Set the console keyboard layout... +[ 3.831778] systemd[1]: Condition check resulted in Create List of Static Device Nodes being skipped. +[ 3.893304] systemd[1]: Starting Load Kernel Module configfs... + Starting Load Kernel Module configfs... +[ 3.980085] systemd[1]: Starting Load Kernel Module drm... + Starting Load Kernel Module drm... +[ 4.050796] systemd[1]: Starting Load Kernel Module efi_pstore... + Starting Load Kernel Module efi_pstore... +[ 4.160720] systemd[1]: Starting Load Kernel Module fuse... + Starting Load Kernel Module fuse... +[ 4.208277] systemd[1]: Condition check resulted in File System Check on Root Device being skipped. +[ 4.286144] systemd[1]: Starting Load Kernel Modules... + Starting Load Kernel Modules... +[ 4.358691] systemd[1]: Starting Remount Root and Kernel File Systems... + Starting Remount Root and Kernel File Systems... +[ 4.451180] systemd[1]: Starting Coldplug All udev Devices... + Starting Coldplug All udev Devices... +[ 4.664484] systemd[1]: Mounted POSIX Message Queue File System. +[ 4.702079] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null) +[ OK ] Mounted POSIX Message Queue File System. +[ 4.783527] ext4 filesystem being remounted at / supports timestamps until 2038 (0x7fffffff) +[ 4.805532] systemd[1]: Mounted Kernel Debug File System. +[ OK ] Mounted Kernel Debug File System. +[ 4.871633] systemd[1]: modprobe@configfs.service: Deactivated successfully. +[ 4.907627] systemd[1]: Finished Load Kernel Module configfs. +[ OK ] Finished Load Kernel Module configfs. +[ 4.999751] systemd[1]: Finished Set the console keyboard layout. +[ OK ] Finished Set the console keyboard layout. +[ 5.040531] systemd[1]: Started Journal Service. +[ OK ] Started Journal Service. +[ OK ] Finished Load Kernel Module drm. +[ OK ] Finished Load Kernel Module efi_pstore. +[ OK ] Finished Load Kernel Module fuse. +[ OK ] Finished Load Kernel Modules. +[ OK ] Finished Remount Root and Kernel File Systems. + Mounting Kernel Configuration File System... + Starting Flush Journal to Persistent Storage... + Starting Load/Save Random Seed... + Starting Apply Kernel Variables... + Starting Create System Users... +[ 5.460156] systemd-journald[107]: Received client request to flush runtime journal. +[ 5.519735] systemd-journald[107]: File /var/log/journal/bb35470655554941b9067e089febf1db/system.journal corrupted or uncleanly shut down, renaming and replacing. +[ OK ] Mounted Kernel Configuration File System. +[FAILED] Failed to start Apply Kernel Variables. +See 'systemctl status systemd-sysctl.service' for details. +[ OK ] Finished Create System Users. + Starting Create Static Device Nodes in /dev... +[ OK ] Finished Create Static Device Nodes in /dev. +[ OK ] Reached target Preparation for Local File Systems. + Starting Rule-based Manage…for Device Events and Files... +[ OK ] Finished Flush Journal to Persistent Storage. +[ OK ] Finished Coldplug All udev Devices. + Starting Helper to synchronize boot up for ifupdown... +[ OK ] Finished Helper to synchronize boot up for ifupdown. +[ OK ] Started Rule-based Manager for Device Events and Files. +[ OK ] Found device /dev/ttyS0. +[ OK ] Reached target Hardware activated USB gadget. +[ OK ] Finished Load/Save Random Seed. +[ OK ] Found device /dev/mmcblk0p3. +[ OK ] Reached target Sound Card. +[ OK ] Listening on Load/Save RF …itch Status /dev/rfkill Watch. + Activating swap /dev/mmcblk0p3... +[FAILED] Failed to activate swap /dev/mmcblk0p3. +See 'systemctl status dev-mmcblk0p3.swap' for details. +[DEPEND] Dependency failed for Swaps. + Mounting /tmp... +[ OK ] Mounted /tmp. +[ OK ] Reached target Local File Systems. + Starting Set console font and keymap... + Starting Raise network interfaces... + Starting Create Volatile Files and Directories... +[ OK ] Finished Set console font and keymap. +[ OK ] Finished Raise network interfaces. +[ OK ] Reached target Network. +[ OK ] Finished Create Volatile Files and Directories. +[ OK ] Started Entropy Daemon based on the HAVEGE algorithm. + Starting Record System Boot/Shutdown in UTMP... +[ OK ] Finished Record System Boot/Shutdown in UTMP. +[ OK ] Reached target System Initialization. +[ OK ] Started Trigger to poll fo…y enabled on GCP LTS non-pro). +[ OK ] Started Daily Cleanup of Temporary Directories. +[ OK ] Started Ubuntu Advantage Timer for running repeated jobs. +[ OK ] Reached target Path Units. +[ OK ] Reached target Basic System. +[ OK ] Listening on D-Bus System Message Bus Socket. + Starting chrony, an NTP client/server... +[ OK ] Started Regular background program processing daemon. +[ OK ] Started D-Bus System Message Bus. +[ OK ] Started Save initial kernel messages after boot. + Starting dnsmasq - A light…DHCP and caching DNS server... + Starting LSB: Lightweight SSH server... + Starting Remove Stale Onli…t4 Metadata Check Snapshots... + Starting Dispatcher daemon for systemd-networkd... +[ OK ] Started RNDIS. + Starting System Logging Service... + Starting User Login Management... + Starting Permit User Sessions... + Starting Initializes zram swaping... +[ OK ] Finished Permit User Sessions. +[ OK ] Started System Logging Service. +[ OK ] Finished Initializes zram swaping. +[ OK ] Started LSB: Lightweight SSH server. +[ OK ] Started Serial Getty on ttyS0. +[ OK ] Created slice Slice /system/getty. +[ OK ] Reached target Login Prompts. +[ OK ] Started chrony, an NTP client/server. +[ OK ] Reached target System Time Synchronized. +[ OK ] Started Daily apt download activities. +[ OK ] Started Daily apt upgrade and clean activities. +[ OK ] Started Daily dpkg database backup timer. +[ OK ] Started Periodic ext4 Onli…ata Check for All Filesystems. +[ OK ] Started Discard unused blocks once a week. +[ OK ] Started Daily rotation of log files. +[ OK ] Started Message of the Day. +[ OK ] Reached target Timer Units. + +Ubuntu 22.04 LTS milkv-duo ttyS0 + +milkv-duo login: root +Password: +Welcome to Ubuntu 22.04 LTS (GNU/Linux 5.10.4-tag- riscv64) + + * Documentation: https://help.ubuntu.com + * Management: https://landscape.canonical.com + * Support: https://ubuntu.com/advantage +Last login: Tue Sep 19 16:57:28 UTC 2023 on ttyS0 +root@milkv-duo:~# cat /etc/os-release +PRETTY_NAME="Ubuntu 22.04 LTS" +NAME="Ubuntu" +VERSION_ID="22.04" +VERSION="22.04 (Jammy Jellyfish)" +VERSION_CODENAME=jammy +ID=ubuntu +ID_LIKE=debian +HOME_URL="https://www.ubuntu.com/" +SUPPORT_URL="https://help.ubuntu.com/" +BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" +PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" +UBUNTU_CODENAME=jammy +root@milkv-duo:~# neofetch + .-/+oossssoo+/-. root@milkv-duo + `:+ssssssssssssssssss+:` -------------- + -+ssssssssssssssssssyyssss+- OS: Ubuntu 22.04 LTS riscv64 + .ossssssssssssssssssdMMMNysssso. Host: Cvitek. CV180X ASIC. C906. + /ssssssssssshdmmNNmmyNMMMMhssssss/ Kernel: 5.10.4-tag- + +ssssssssshmydMMMMMMMNddddyssssssss+ Uptime: 48 secs + /sssssssshNMMMyhhyyyyhmNMMMNhssssssss/ Packages: 245 (dpkg) +.ssssssssdMMMNhsssssssssshNMMMdssssssss. Shell: bash 5.1.16 ++sssshhhyNMMNyssssssssssssyNMMMysssssss+ Terminal: /dev/ttyS0 +ossyNMMMNyMMhsssssssssssssshmmmhssssssso CPU: (1) +ossyNMMMNyMMhsssssssssssssshmmmhssssssso Memory: 30MiB / 54MiB ++sssshhhyNMMNyssssssssssssyNMMMysssssss+ +.ssssssssdMMMNhsssssssssshNMMMdssssssss. + /sssssssshNMMMyhhyyyyhdNMMMNhssssssss/ + +sssssssssdmydMMMMMMMMddddyssssssss+ + /ssssssssssshdmNNNNmyNMMMMhssssss/ + .ossssssssssssssssssdMMMNysssso. + -+sssssssssssssssssyyyssss+- + `:+ssssssssssssssssss+:` + .-/+oossssoo+/-. + +root@milkv-duo:~# + +``` + +## 测试判定标准 + +测试成功:实际结果与预期结果相符。 + +测试失败:实际结果与预期结果不符。 + +## 测试结论 + +测试成功。 \ No newline at end of file diff --git a/Duo256m/README.md b/Duo256m/README.md index da35212..91ff33d 100644 --- a/Duo256m/README.md +++ b/Duo256m/README.md @@ -43,22 +43,27 @@ cpu_core: XuanTie C906 + ARM Cortex-A53 - Reference Installation Document: - [Alpine Wiki (Installation)](https://wiki.alpinelinux.org/wiki/Installation) - [Alpine Wiki (How to make a cross architecture chroot)](https://wiki.alpinelinux.org/wiki/How_to_make_a_cross_architecture_chroot) +- Ubuntu 22.04 + - Download Link: https://drive.google.com/file/d/1mkzLhvtjJup3GbgWKZdwL80PZMMXg7n1/view?usp=drive_link + - Reference Installation Document: https://xyzdims.com/3d-printers/misc-hardware-notes/iot-milk-v-duo-risc-v-esbc-running-linux/#Ubuntu_Disk_Image + ### Hardware Information - Milk-V Duo (256M, SG2002) ## Test Results -| Software Category | Package Name | Test Result (Report) | -| ---------------------------------- | ------------ | ------------------------------------------------------------ | -| BuildRoot Image Boot | N/A | [Success][BuildRoot] | -| FreeRTOS Boot | N/A | [Success][FreeRTOS] (Included in BuildRoot image) | -| Debian Image Boot | N/A | [Success][Debian] | -| Fedora Image Boot | N/A | [Success][Fedora] | -| RT-Thread Image Build & Boot | N/A | [Success][RT-Thread] | -| RT-Thread Smart Image Build & Boot | N/A | [CFH][RT-Smart] | -| Zephyr Image Build & Boot | N/A | [Success][Zephyr] | -| Alpine Linux Boot | N/A | [CFH][Alpine] (use community image or build rootfs manually) | +| Software Category | Package Name | Test Result (Report) | +| ---------------------------------- | ------------ | ---------------------------------------------------------------- | +| BuildRoot Image Boot | N/A | [Success][BuildRoot] | +| FreeRTOS Boot | N/A | [Success][FreeRTOS] (Included in BuildRoot image) | +| Debian Image Boot | N/A | [Success][Debian] | +| Fedora Image Boot | N/A | [Success][Fedora] | +| RT-Thread Image Build & Boot | N/A | [Success][RT-Thread] | +| RT-Thread Smart Image Build & Boot | N/A | [CFH][RT-Smart] | +| Zephyr Image Build & Boot | N/A | [Success][Zephyr] | +| Alpine Linux Boot | N/A | [CFH][Alpine] (use community image or build rootfs manually) | +| Ubuntu Boot | N/A | [Success][Alpine] (use community image or build rootfs manually) | [BuildRoot]: ./BuildRoot/README.md [Debian]: ./Debian/README.md @@ -67,4 +72,5 @@ cpu_core: XuanTie C906 + ARM Cortex-A53 [RT-Smart]: ./RT-Thread/README_RTSmart.md [FreeRTOS]: ./FreeRTOS/README.md [Zephyr]: ./Zephyr/README.md -[Alpine]: ./Alpine/README.md \ No newline at end of file +[Alpine]: ./Alpine/README.md +[Ubuntu]: ./Ubuntu/README.md \ No newline at end of file diff --git a/Duo256m/README_zh.md b/Duo256m/README_zh.md index 2538c05..657033a 100644 --- a/Duo256m/README_zh.md +++ b/Duo256m/README_zh.md @@ -1,4 +1,4 @@ -# Milk-V Duo 256m +# Milk-V Duo 256M ## 测试环境 @@ -37,6 +37,10 @@ - 参考安装文档: - [Alpine Wiki (Installation)](https://wiki.alpinelinux.org/wiki/Installation) - [Alpine Wiki (How to make a cross architecture chroot)](https://wiki.alpinelinux.org/wiki/How_to_make_a_cross_architecture_chroot) +- Ubuntu 22.04 + - 下载链接:https://drive.google.com/file/d/1mkzLhvtjJup3GbgWKZdwL80PZMMXg7n1/view?usp=drive_link + - 参考安装文档:https://xyzdims.com/3d-printers/misc-hardware-notes/iot-milk-v-duo-risc-v-esbc-running-linux/#Ubuntu_Disk_Image + ### 硬件开发板信息 - Milk-V Duo (256M, SG2002) @@ -53,6 +57,7 @@ | RT-Thread Smart 镜像构建及启动 | N/A | [CFH][RT-Thread] | | Zephyr 镜像构建及启动 | N/A | [成功][Zephyr] | | Alpine Linux 启动 | N/A | [CFH][Alpine] (可使用社区镜像或手工构建 rootfs) | +| Ubuntu 启动 | N/A | [成功][Ubuntu] | [BuildRoot]: ./BuildRoot/README_zh.md [Debian]: ./Debian/README_zh.md @@ -61,4 +66,5 @@ [FreeRTOS]: ./FreeRTOS/README_zh.md [Fedora]: ./Fedora/README_zh.md [Zephyr]: ./Zephyr/README_zh.md -[Alpine]: ./Alpine/README_zh.md \ No newline at end of file +[Alpine]: ./Alpine/README_zh.md +[Ubuntu]: ./Ubuntu/README_zh.md \ No newline at end of file diff --git a/Duo256m/Ubuntu/README.md b/Duo256m/Ubuntu/README.md new file mode 100644 index 0000000..22296a5 --- /dev/null +++ b/Duo256m/Ubuntu/README.md @@ -0,0 +1,298 @@ +--- +sys: ubuntu +sys_ver: null +sys_var: null + +status: basic +last_update: 2024-11-13 +--- + +# Ubuntu Milk-V Duo 256M Test Report + +## Test Environment + +### Operating System Information + +- System Version: milkv-duo-256m-ubuntu-22.04-riscv64-v0.0.4-spiritdude.img +- Download Link: https://drive.google.com/file/d/1mkzLhvtjJup3GbgWKZdwL80PZMMXg7n1/view?usp=drive_link +- Reference Installation Document: https://xyzdims.com/3d-printers/misc-hardware-notes/iot-milk-v-duo-risc-v-esbc-running-linux/#Ubuntu_Disk_Image +> Note: This image is provided by community developers and is not an official image. + +### Hardware Information + +- Milk-V Duo 256M +- 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 +- Milk-V Duo with necessary header pins pre-soldered for debugging +- Optional: Milk-V Duo IOB (Baseboard) + +## Installation Steps + +### Using `dd` to Flash the Image to the microSD Card + +```shell +unzip milkv-duo-256m-ubuntu-22.04-riscv64-v0.0.4-spiritdude.zip +dd if=milkv-duo-256m-ubuntu-22.04-riscv64-v0.0.4-spiritdude.img of=/dev/your/device bs=1M status=progress +``` + +### Logging into the System + +Logging into the system via the serial port. + +Username: `root` +Password: `milkv` + +## Expected Results + +The system boots up normally and allows login through the serial port. + +## Actual Results + +The system boots up normally and login through the serial port is successful. + +### Boot Log + +```log +Welcome to Ubuntu 22.04 LTS! + +[ 1.763725] systemd[1]: Hostname set to . +[ 2.208805] systemd-fstab-generator[97]: Ignoring "noauto" option for root device +[ 2.294427] systemd-fstab-generator[97]: Swap not supported, ignoring fstab swap entry for /dev/mmcblk0p3. +[ 3.158107] random: crng init done +[ 3.201494] systemd[1]: Queued start job for default target Graphical Interface. +[ 3.219878] systemd[1]: Created slice Slice /system/modprobe. +[ OK ] Created slice Slice /system/modprobe. +[ 3.246636] systemd[1]: Created slice Slice /system/serial-getty. +[ OK ] Created slice Slice /system/serial-getty. +[ 3.269840] systemd[1]: Created slice User and Session Slice. +[ OK ] Created slice User and Session Slice. +[ 3.291467] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. +[ OK ] Started Dispatch Password …ts to Console Directory Watch. +[ 3.319388] systemd[1]: Started Forward Password Requests to Wall Directory Watch. +[ OK ] Started Forward Password R…uests to Wall Directory Watch. +[ 3.347342] systemd[1]: Condition check resulted in Arbitrary Executable File Formats File System Automount Point being skipped. +[ 3.359865] systemd[1]: Reached target Local Encrypted Volumes. +[ OK ] Reached target Local Encrypted Volumes. +[ 3.383275] systemd[1]: Reached target Remote File Systems. +[ OK ] Reached target Remote File Systems. +[ 3.402853] systemd[1]: Reached target Slice Units. +[ OK ] Reached target Slice Units. +[ 3.422938] systemd[1]: Reached target Swaps. +[ OK ] Reached target Swaps. +[ 3.442875] systemd[1]: Reached target System Time Set. +[ OK ] Reached target System Time Set. +[ 3.463151] systemd[1]: Reached target Local Verity Protected Volumes. +[ OK ] Reached target Local Verity Protected Volumes. +[ 3.488593] systemd[1]: Listening on Syslog Socket. +[ OK ] Listening on Syslog Socket. +[ 3.508113] systemd[1]: Listening on fsck to fsckd communication Socket. +[ OK ] Listening on fsck to fsckd communication Socket. +[ 3.535376] systemd[1]: Listening on initctl Compatibility Named Pipe. +[ OK ] Listening on initctl Compatibility Named Pipe. +[ 3.579725] systemd[1]: Condition check resulted in Journal Audit Socket being skipped. +[ 3.589711] systemd[1]: Listening on Journal Socket (/dev/log). +[ OK ] Listening on Journal Socket (/dev/log). +[ 3.612436] systemd[1]: Listening on Journal Socket. +[ OK ] Listening on Journal Socket. +[ 3.635630] systemd[1]: Listening on udev Control Socket. +[ OK ] Listening on udev Control Socket. +[ 3.656124] systemd[1]: Listening on udev Kernel Socket. +[ OK ] Listening on udev Kernel Socket. +[ 3.674858] systemd[1]: Reached target Socket Units. +[ OK ] Reached target Socket Units. +[ 3.695798] systemd[1]: Condition check resulted in Huge Pages File System being skipped. +[ 3.712621] systemd[1]: Mounting POSIX Message Queue File System... + Mounting POSIX Message Queue File System... +[ 3.753466] systemd[1]: Mounting Kernel Debug File System... + Mounting Kernel Debug File System... +[ 3.791609] systemd[1]: Condition check resulted in Kernel Trace File System being skipped. +[ 3.802129] systemd[1]: systemd-journald.service: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling. +[ 3.815695] systemd[1]: (This warning is only shown for the first unit using IP firewalling.) +[ 3.831886] systemd[1]: Starting Journal Service... + Starting Journal Service... +[ 3.877139] systemd[1]: Starting Set the console keyboard layout... + Starting Set the console keyboard layout... +[ 3.914954] systemd[1]: Condition check resulted in Create List of Static Device Nodes being skipped. +[ 3.972870] systemd[1]: Starting Load Kernel Module configfs... + Starting Load Kernel Module configfs... +[ 4.051644] systemd[1]: Starting Load Kernel Module drm... + Starting Load Kernel Module drm... +[ 4.119426] systemd[1]: Starting Load Kernel Module efi_pstore... + Starting Load Kernel Module efi_pstore... +[ 4.225823] systemd[1]: Starting Load Kernel Module fuse... + Starting Load Kernel Module fuse... +[ 4.275605] systemd[1]: Condition check resulted in File System Check on Root Device being skipped. +[ 4.348483] systemd[1]: Starting Load Kernel Modules... + Starting Load Kernel Modules... +[ 4.417835] systemd[1]: Starting Remount Root and Kernel File Systems... + Starting Remount Root and Kernel File Systems... +[ 4.515690] systemd[1]: Starting Coldplug All udev Devices... + Starting Coldplug All udev Devices... +[ 4.710084] systemd[1]: Mounted POSIX Message Queue File System. +[ 4.765492] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null) +[ OK ] Mounted POSIX Message Queue File System. +[ 4.839592] ext4 filesystem being remounted at / supports timestamps until 2038 (0x7fffffff) +[ 4.864736] systemd[1]: Mounted Kernel Debug File System. +[ OK ] Mounted Kernel Debug File System. +[ 4.934872] systemd[1]: Finished Set the console keyboard layout. +[ OK ] Finished Set the console keyboard layout. +[ 5.007446] systemd[1]: modprobe@configfs.service: Deactivated successfully. +[ 5.042845] systemd[1]: Finished Load Kernel Module configfs. +[ OK ] Finished Load Kernel Module configfs. +[ 5.086127] systemd[1]: modprobe@drm.service: Deactivated successfully. +[ 5.118999] systemd[1]: Finished Load Kernel Module drm. +[ OK ] Finished Load Kernel Module drm. +[ 5.162179] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully. +[ 5.193353] systemd[1]: Finished Load Kernel Module efi_pstore. +[ OK ] Finished Load Kernel Module efi_pstore. +[ 5.228233] systemd[1]: Started Journal Service. +[ OK ] Started Journal Service. +[ OK ] Finished Load Kernel Module fuse. +[ OK ] Finished Load Kernel Modules. +[ OK ] Finished Remount Root and Kernel File Systems. + Mounting Kernel Configuration File System... + Starting Flush Journal to Persistent Storage... + Starting Load/Save Random Seed... + Starting Apply Kernel Variables... + Starting Create System Users... +[ 5.563420] systemd-journald[110]: Received client request to flush runtime journal. +[ OK ] Mounted Kernel Configuration File System. +[ OK ] Finished Load/Save Random Seed. +[ OK ] Finished Apply Kernel Variables. +[ OK ] Finished Create System Users. + Starting Create Static Device Nodes in /dev... +[ OK ] Finished Create Static Device Nodes in /dev. +[ OK ] Finished Flush Journal to Persistent Storage. +[ OK ] Reached target Preparation for Local File Systems. + Mounting /tmp... + Starting Rule-based Manage…for Device Events and Files... +[ OK ] Mounted /tmp. +[ OK ] Reached target Local File Systems. + Starting Set console font and keymap... + Starting Create Volatile Files and Directories... +[ OK ] Finished Set console font and keymap. +[ OK ] Finished Coldplug All udev Devices. + Starting Helper to synchronize boot up for ifupdown... +[ OK ] Finished Helper to synchronize boot up for ifupdown. + Starting Raise network interfaces... +[ OK ] Started Rule-based Manager for Device Events and Files. +[ OK ] Finished Create Volatile Files and Directories. +[ OK ] Finished Raise network interfaces. +[ OK ] Reached target Network. +[ OK ] Started Entropy Daemon based on the HAVEGE algorithm. + Starting Record System Boot/Shutdown in UTMP... +[ OK ] Found device /dev/ttyS0. +[ OK ] Finished Record System Boot/Shutdown in UTMP. +[ OK ] Reached target Sound Card. +[ OK ] Reached target System Initialization. +[ OK ] Started Trigger to poll fo…y enabled on GCP LTS non-pro). +[ OK ] Started Daily Cleanup of Temporary Directories. +[ OK ] Started Ubuntu Advantage Timer for running repeated jobs. +[ OK ] Reached target Path Units. +[ OK ] Reached target Basic System. +[ OK ] Reached target Hardware activated USB gadget. +[ OK ] Listening on D-Bus System Message Bus Socket. +[ OK ] Listening on Load/Save RF …itch Status /dev/rfkill Watch. + Starting chrony, an NTP client/server... +[ OK ] Started Regular background program processing daemon. +[ OK ] Started D-Bus System Message Bus. +[ OK ] Started Save initial kernel messages after boot. + Starting dnsmasq - A light…DHCP and caching DNS server... + Starting LSB: Lightweight SSH server... + Starting Remove Stale Onli…t4 Metadata Check Snapshots... + Starting Dispatcher daemon for systemd-networkd... +[ OK ] Started RNDIS. + Starting System Logging Service... + Starting User Login Management... + Starting Permit User Sessions... + Starting Initializes zram swaping... +[ OK ] Finished Permit User Sessions. +[FAILED] Failed to start Initializes zram swaping. +See 'systemctl status zram-config.service' for details. +[ OK ] Started System Logging Service. +[ OK ] Started Serial Getty on ttyS0. +[ OK ] Created slice Slice /system/getty. +[ OK ] Reached target Login Prompts. +[ OK ] Started LSB: Lightweight SSH server. +[ OK ] Started chrony, an NTP client/server. +[ OK ] Reached target System Time Synchronized. +[ OK ] Started Daily apt download activities. +[ OK ] Started Daily apt upgrade and clean activities. +[ OK ] Started Daily dpkg database backup timer. +[ OK ] Started Periodic ext4 Onli…ata Check for All Filesystems. +[ OK ] Started Discard unused blocks once a week. +[ OK ] Started Daily rotation of log files. +[ OK ] Started Message of the Day. +[ OK ] Reached target Timer Units. +[ OK ] Started dnsmasq - A lightw…t DHCP and caching DNS server. +[ OK ] Reached target Host and Network Name Lookups. +[ OK ] Started User Login Management. + +Ubuntu 22.04 LTS milkv-duo ttyS0 + +milkv-duo login: root +Password: +Welcome to Ubuntu 22.04 LTS (GNU/Linux 5.10.4-tag- riscv64) + + * Documentation: https://help.ubuntu.com + * Management: https://landscape.canonical.com + * Support: https://ubuntu.com/advantage + +The programs included with the Ubuntu system are free software; +the exact distribution terms for each program are described in the +individual files in /usr/share/doc/*/copyright. + +Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by +applicable law. + +root@milkv-duo:~# cat /etc/os-release +PRETTY_NAME="Ubuntu 22.04 LTS" +NAME="Ubuntu" +VERSION_ID="22.04" +VERSION="22.04 (Jammy Jellyfish)" +VERSION_CODENAME=jammy +ID=ubuntu +ID_LIKE=debian +HOME_URL="https://www.ubuntu.com/" +SUPPORT_URL="https://help.ubuntu.com/" +BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" +PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" +UBUNTU_CODENAME=jammy +root@milkv-duo:~# neofetch + .-/+oossssoo+/-. root@milkv-duo + `:+ssssssssssssssssss+:` -------------- + -+ssssssssssssssssssyyssss+- OS: Ubuntu 22.04 LTS riscv64 + .ossssssssssssssssssdMMMNysssso. Host: Cvitek. CV181X ASIC. C906. + /ssssssssssshdmmNNmmyNMMMMhssssss/ Kernel: 5.10.4-tag- + +ssssssssshmydMMMMMMMNddddyssssssss+ Uptime: 1 min + /sssssssshNMMMyhhyyyyhmNMMMNhssssssss/ Packages: 245 (dpkg) +.ssssssssdMMMNhsssssssssshNMMMdssssssss. Shell: bash 5.1.16 ++sssshhhyNMMNyssssssssssssyNMMMysssssss+ Terminal: /dev/ttyS0 +ossyNMMMNyMMhsssssssssssssshmmmhssssssso CPU: (1) +ossyNMMMNyMMhsssssssssssssshmmmhssssssso Memory: 38MiB / 240MiB ++sssshhhyNMMNyssssssssssssyNMMMysssssss+ +.ssssssssdMMMNhsssssssssshNMMMdssssssss. + /sssssssshNMMMyhhyyyyhdNMMMNhssssssss/ + +sssssssssdmydMMMMMMMMddddyssssssss+ + /ssssssssssshdmNNNNmyNMMMMhssssss/ + .ossssssssssssssssssdMMMNysssso. + -+sssssssssssssssssyyyssss+- + `:+ssssssssssssssssss+:` + .-/+oossssoo+/-. + +root@milkv-duo:~# + +``` + +## Test Criteria + +Successful: The actual result matches the expected result. + +Failed: The actual result does not match the expected result. + +## Test Conclusion + +Test successful. diff --git a/Duo256m/Ubuntu/README_zh.md b/Duo256m/Ubuntu/README_zh.md new file mode 100644 index 0000000..25aeec0 --- /dev/null +++ b/Duo256m/Ubuntu/README_zh.md @@ -0,0 +1,290 @@ +# Ubuntu Milk-V Duo 256M 测试报告 + +## 测试环境 + +### 操作系统信息 + +- 系统版本:milkv-duo-256m-ubuntu-22.04-riscv64-v0.0.4-spiritdude.img +- 下载链接:https://drive.google.com/file/d/1mkzLhvtjJup3GbgWKZdwL80PZMMXg7n1/view?usp=drive_link +- 参考安装文档:https://xyzdims.com/3d-printers/misc-hardware-notes/iot-milk-v-duo-risc-v-esbc-running-linux/#Ubuntu_Disk_Image + +> Note: 此镜像为社区开发者提供,非官方镜像。 + +### 硬件信息 + +- Milk-V Duo 256M +- USB 电源适配器一个 +- USB-A to C 或 USB C to C 线缆一条 +- microSD 卡一张 +- USB to UART 调试器一个(如:CH340, CH341, FT2232 等) +- 杜邦线三根 +- Milk-V Duo 本体上预先焊接好调试所需的排针 +- 可选:Milk-V Duo IOB(底板) + +## 安装步骤 + +### 使用 `dd` 刷写镜像到 microSD 卡 + +```shell +unzip milkv-duo-256m-ubuntu-22.04-riscv64-v0.0.4-spiritdude.zip +dd if=milkv-duo-256m-ubuntu-22.04-riscv64-v0.0.4-spiritdude.img of=/dev/your/device bs=1M status=progress +``` + +### 登录系统 + +通过串口登录系统。 + +用户名:`root` +密码:`milkv` + +## 预期结果 + +系统正常启动,能够通过串口登录。 + +## 实际结果 + +系统正常启动,成功通过串口登录。 + +### 启动信息 + +```log +Welcome to Ubuntu 22.04 LTS! + +[ 1.763725] systemd[1]: Hostname set to . +[ 2.208805] systemd-fstab-generator[97]: Ignoring "noauto" option for root device +[ 2.294427] systemd-fstab-generator[97]: Swap not supported, ignoring fstab swap entry for /dev/mmcblk0p3. +[ 3.158107] random: crng init done +[ 3.201494] systemd[1]: Queued start job for default target Graphical Interface. +[ 3.219878] systemd[1]: Created slice Slice /system/modprobe. +[ OK ] Created slice Slice /system/modprobe. +[ 3.246636] systemd[1]: Created slice Slice /system/serial-getty. +[ OK ] Created slice Slice /system/serial-getty. +[ 3.269840] systemd[1]: Created slice User and Session Slice. +[ OK ] Created slice User and Session Slice. +[ 3.291467] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. +[ OK ] Started Dispatch Password …ts to Console Directory Watch. +[ 3.319388] systemd[1]: Started Forward Password Requests to Wall Directory Watch. +[ OK ] Started Forward Password R…uests to Wall Directory Watch. +[ 3.347342] systemd[1]: Condition check resulted in Arbitrary Executable File Formats File System Automount Point being skipped. +[ 3.359865] systemd[1]: Reached target Local Encrypted Volumes. +[ OK ] Reached target Local Encrypted Volumes. +[ 3.383275] systemd[1]: Reached target Remote File Systems. +[ OK ] Reached target Remote File Systems. +[ 3.402853] systemd[1]: Reached target Slice Units. +[ OK ] Reached target Slice Units. +[ 3.422938] systemd[1]: Reached target Swaps. +[ OK ] Reached target Swaps. +[ 3.442875] systemd[1]: Reached target System Time Set. +[ OK ] Reached target System Time Set. +[ 3.463151] systemd[1]: Reached target Local Verity Protected Volumes. +[ OK ] Reached target Local Verity Protected Volumes. +[ 3.488593] systemd[1]: Listening on Syslog Socket. +[ OK ] Listening on Syslog Socket. +[ 3.508113] systemd[1]: Listening on fsck to fsckd communication Socket. +[ OK ] Listening on fsck to fsckd communication Socket. +[ 3.535376] systemd[1]: Listening on initctl Compatibility Named Pipe. +[ OK ] Listening on initctl Compatibility Named Pipe. +[ 3.579725] systemd[1]: Condition check resulted in Journal Audit Socket being skipped. +[ 3.589711] systemd[1]: Listening on Journal Socket (/dev/log). +[ OK ] Listening on Journal Socket (/dev/log). +[ 3.612436] systemd[1]: Listening on Journal Socket. +[ OK ] Listening on Journal Socket. +[ 3.635630] systemd[1]: Listening on udev Control Socket. +[ OK ] Listening on udev Control Socket. +[ 3.656124] systemd[1]: Listening on udev Kernel Socket. +[ OK ] Listening on udev Kernel Socket. +[ 3.674858] systemd[1]: Reached target Socket Units. +[ OK ] Reached target Socket Units. +[ 3.695798] systemd[1]: Condition check resulted in Huge Pages File System being skipped. +[ 3.712621] systemd[1]: Mounting POSIX Message Queue File System... + Mounting POSIX Message Queue File System... +[ 3.753466] systemd[1]: Mounting Kernel Debug File System... + Mounting Kernel Debug File System... +[ 3.791609] systemd[1]: Condition check resulted in Kernel Trace File System being skipped. +[ 3.802129] systemd[1]: systemd-journald.service: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling. +[ 3.815695] systemd[1]: (This warning is only shown for the first unit using IP firewalling.) +[ 3.831886] systemd[1]: Starting Journal Service... + Starting Journal Service... +[ 3.877139] systemd[1]: Starting Set the console keyboard layout... + Starting Set the console keyboard layout... +[ 3.914954] systemd[1]: Condition check resulted in Create List of Static Device Nodes being skipped. +[ 3.972870] systemd[1]: Starting Load Kernel Module configfs... + Starting Load Kernel Module configfs... +[ 4.051644] systemd[1]: Starting Load Kernel Module drm... + Starting Load Kernel Module drm... +[ 4.119426] systemd[1]: Starting Load Kernel Module efi_pstore... + Starting Load Kernel Module efi_pstore... +[ 4.225823] systemd[1]: Starting Load Kernel Module fuse... + Starting Load Kernel Module fuse... +[ 4.275605] systemd[1]: Condition check resulted in File System Check on Root Device being skipped. +[ 4.348483] systemd[1]: Starting Load Kernel Modules... + Starting Load Kernel Modules... +[ 4.417835] systemd[1]: Starting Remount Root and Kernel File Systems... + Starting Remount Root and Kernel File Systems... +[ 4.515690] systemd[1]: Starting Coldplug All udev Devices... + Starting Coldplug All udev Devices... +[ 4.710084] systemd[1]: Mounted POSIX Message Queue File System. +[ 4.765492] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null) +[ OK ] Mounted POSIX Message Queue File System. +[ 4.839592] ext4 filesystem being remounted at / supports timestamps until 2038 (0x7fffffff) +[ 4.864736] systemd[1]: Mounted Kernel Debug File System. +[ OK ] Mounted Kernel Debug File System. +[ 4.934872] systemd[1]: Finished Set the console keyboard layout. +[ OK ] Finished Set the console keyboard layout. +[ 5.007446] systemd[1]: modprobe@configfs.service: Deactivated successfully. +[ 5.042845] systemd[1]: Finished Load Kernel Module configfs. +[ OK ] Finished Load Kernel Module configfs. +[ 5.086127] systemd[1]: modprobe@drm.service: Deactivated successfully. +[ 5.118999] systemd[1]: Finished Load Kernel Module drm. +[ OK ] Finished Load Kernel Module drm. +[ 5.162179] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully. +[ 5.193353] systemd[1]: Finished Load Kernel Module efi_pstore. +[ OK ] Finished Load Kernel Module efi_pstore. +[ 5.228233] systemd[1]: Started Journal Service. +[ OK ] Started Journal Service. +[ OK ] Finished Load Kernel Module fuse. +[ OK ] Finished Load Kernel Modules. +[ OK ] Finished Remount Root and Kernel File Systems. + Mounting Kernel Configuration File System... + Starting Flush Journal to Persistent Storage... + Starting Load/Save Random Seed... + Starting Apply Kernel Variables... + Starting Create System Users... +[ 5.563420] systemd-journald[110]: Received client request to flush runtime journal. +[ OK ] Mounted Kernel Configuration File System. +[ OK ] Finished Load/Save Random Seed. +[ OK ] Finished Apply Kernel Variables. +[ OK ] Finished Create System Users. + Starting Create Static Device Nodes in /dev... +[ OK ] Finished Create Static Device Nodes in /dev. +[ OK ] Finished Flush Journal to Persistent Storage. +[ OK ] Reached target Preparation for Local File Systems. + Mounting /tmp... + Starting Rule-based Manage…for Device Events and Files... +[ OK ] Mounted /tmp. +[ OK ] Reached target Local File Systems. + Starting Set console font and keymap... + Starting Create Volatile Files and Directories... +[ OK ] Finished Set console font and keymap. +[ OK ] Finished Coldplug All udev Devices. + Starting Helper to synchronize boot up for ifupdown... +[ OK ] Finished Helper to synchronize boot up for ifupdown. + Starting Raise network interfaces... +[ OK ] Started Rule-based Manager for Device Events and Files. +[ OK ] Finished Create Volatile Files and Directories. +[ OK ] Finished Raise network interfaces. +[ OK ] Reached target Network. +[ OK ] Started Entropy Daemon based on the HAVEGE algorithm. + Starting Record System Boot/Shutdown in UTMP... +[ OK ] Found device /dev/ttyS0. +[ OK ] Finished Record System Boot/Shutdown in UTMP. +[ OK ] Reached target Sound Card. +[ OK ] Reached target System Initialization. +[ OK ] Started Trigger to poll fo…y enabled on GCP LTS non-pro). +[ OK ] Started Daily Cleanup of Temporary Directories. +[ OK ] Started Ubuntu Advantage Timer for running repeated jobs. +[ OK ] Reached target Path Units. +[ OK ] Reached target Basic System. +[ OK ] Reached target Hardware activated USB gadget. +[ OK ] Listening on D-Bus System Message Bus Socket. +[ OK ] Listening on Load/Save RF …itch Status /dev/rfkill Watch. + Starting chrony, an NTP client/server... +[ OK ] Started Regular background program processing daemon. +[ OK ] Started D-Bus System Message Bus. +[ OK ] Started Save initial kernel messages after boot. + Starting dnsmasq - A light…DHCP and caching DNS server... + Starting LSB: Lightweight SSH server... + Starting Remove Stale Onli…t4 Metadata Check Snapshots... + Starting Dispatcher daemon for systemd-networkd... +[ OK ] Started RNDIS. + Starting System Logging Service... + Starting User Login Management... + Starting Permit User Sessions... + Starting Initializes zram swaping... +[ OK ] Finished Permit User Sessions. +[FAILED] Failed to start Initializes zram swaping. +See 'systemctl status zram-config.service' for details. +[ OK ] Started System Logging Service. +[ OK ] Started Serial Getty on ttyS0. +[ OK ] Created slice Slice /system/getty. +[ OK ] Reached target Login Prompts. +[ OK ] Started LSB: Lightweight SSH server. +[ OK ] Started chrony, an NTP client/server. +[ OK ] Reached target System Time Synchronized. +[ OK ] Started Daily apt download activities. +[ OK ] Started Daily apt upgrade and clean activities. +[ OK ] Started Daily dpkg database backup timer. +[ OK ] Started Periodic ext4 Onli…ata Check for All Filesystems. +[ OK ] Started Discard unused blocks once a week. +[ OK ] Started Daily rotation of log files. +[ OK ] Started Message of the Day. +[ OK ] Reached target Timer Units. +[ OK ] Started dnsmasq - A lightw…t DHCP and caching DNS server. +[ OK ] Reached target Host and Network Name Lookups. +[ OK ] Started User Login Management. + +Ubuntu 22.04 LTS milkv-duo ttyS0 + +milkv-duo login: root +Password: +Welcome to Ubuntu 22.04 LTS (GNU/Linux 5.10.4-tag- riscv64) + + * Documentation: https://help.ubuntu.com + * Management: https://landscape.canonical.com + * Support: https://ubuntu.com/advantage + +The programs included with the Ubuntu system are free software; +the exact distribution terms for each program are described in the +individual files in /usr/share/doc/*/copyright. + +Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by +applicable law. + +root@milkv-duo:~# cat /etc/os-release +PRETTY_NAME="Ubuntu 22.04 LTS" +NAME="Ubuntu" +VERSION_ID="22.04" +VERSION="22.04 (Jammy Jellyfish)" +VERSION_CODENAME=jammy +ID=ubuntu +ID_LIKE=debian +HOME_URL="https://www.ubuntu.com/" +SUPPORT_URL="https://help.ubuntu.com/" +BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" +PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" +UBUNTU_CODENAME=jammy +root@milkv-duo:~# neofetch + .-/+oossssoo+/-. root@milkv-duo + `:+ssssssssssssssssss+:` -------------- + -+ssssssssssssssssssyyssss+- OS: Ubuntu 22.04 LTS riscv64 + .ossssssssssssssssssdMMMNysssso. Host: Cvitek. CV181X ASIC. C906. + /ssssssssssshdmmNNmmyNMMMMhssssss/ Kernel: 5.10.4-tag- + +ssssssssshmydMMMMMMMNddddyssssssss+ Uptime: 1 min + /sssssssshNMMMyhhyyyyhmNMMMNhssssssss/ Packages: 245 (dpkg) +.ssssssssdMMMNhsssssssssshNMMMdssssssss. Shell: bash 5.1.16 ++sssshhhyNMMNyssssssssssssyNMMMysssssss+ Terminal: /dev/ttyS0 +ossyNMMMNyMMhsssssssssssssshmmmhssssssso CPU: (1) +ossyNMMMNyMMhsssssssssssssshmmmhssssssso Memory: 38MiB / 240MiB ++sssshhhyNMMNyssssssssssssyNMMMysssssss+ +.ssssssssdMMMNhsssssssssshNMMMdssssssss. + /sssssssshNMMMyhhyyyyhdNMMMNhssssssss/ + +sssssssssdmydMMMMMMMMddddyssssssss+ + /ssssssssssshdmNNNNmyNMMMMhssssss/ + .ossssssssssssssssssdMMMNysssso. + -+sssssssssssssssssyyyssss+- + `:+ssssssssssssssssss+:` + .-/+oossssoo+/-. + +root@milkv-duo:~# + +``` + +## 测试判定标准 + +测试成功:实际结果与预期结果相符。 + +测试失败:实际结果与预期结果不符。 + +## 测试结论 + +测试成功。 \ No newline at end of file