diff --git a/public/.gitignore b/public/.gitignore deleted file mode 100644 index d6b7ef3..0000000 --- a/public/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -* -!.gitignore diff --git a/404.html b/public/404.html similarity index 95% rename from 404.html rename to public/404.html index 0f5a48e..fb3f2db 100644 --- a/404.html +++ b/public/404.html @@ -1,4 +1,3 @@ - diff --git a/public/boards.json b/public/boards.json new file mode 100644 index 0000000..2ae33fd --- /dev/null +++ b/public/boards.json @@ -0,0 +1,77 @@ +[ + { + "name": "Pioneer", + "vendor": "Milk-V", + "thumbnail": "resources/milkv/pioneer/milk-v-pioneer-board_png_gallery-lg.jpg", + "soc": "SG2042", + "isa": [ + "RVA20" + ], + "kernel": [ + "RVCK-6.6" + ], + "userspace": [ + "xfce4" + ], + "uri": "products/milkv/pioneer.json", + "status": "SUPPORTED" + }, + { + "name": "qemu-system", + "vendor": "Qemu", + "thumbnail": null, + "soc": "virt", + "isa": [ + "RVA20" + ], + "kernel": [ + "RVCK-6.6" + ], + "userspace": [ + "xfce4" + ], + "uri": "products/qemu/system.json", + "status": "SUPPORTED" + }, + { + "name": "LicheePi 4A", + "vendor": "Sipeed", + "thumbnail": null, + "soc": "TH1520", + "isa": [ + "RVA20" + ], + "kernel": [ + "RVCK-6.6", + "VENDOR-5.4" + ], + "userspace": [ + "Headless", + "xfce4" + ], + "uri": "products/sipeed/licheepi_4a.json", + "status": "SUPPORTED" + }, + { + "name": "MUSE PI", + "vendor": "SpacemiT", + "thumbnail": null, + "soc": "M1", + "isa": [], + "kernel": [], + "userspace": [], + "uri": "products/spacemit/muse_pi.json", + "status": "WIP" + }, + { + "name": "VisionFive 2", + "vendor": "StarFive", + "thumbnail": null, + "soc": "JH7110", + "isa": [], + "kernel": [], + "userspace": [], + "uri": "products/starfive/visionfive2.json", + "status": "WIP" + } +] \ No newline at end of file diff --git a/public/docs/milkv/oerv2403-uefi-usage.md b/public/docs/milkv/oerv2403-uefi-usage.md new file mode 100644 index 0000000..132763e --- /dev/null +++ b/public/docs/milkv/oerv2403-uefi-usage.md @@ -0,0 +1,15 @@ +# 在 Milk-V Pioneer 上安装基于UEFI启动流程的 openEuler 24.03 + +Pioneer 出厂时 NOR Flash 固件没有支持基于 EDK2 的 UEFI 启动流程,因此需要首先部署 EDK2 固件。之后则可以使用 openEuler 官方发布的ISO安装镜像执行系统安装。 + +鉴于 Pioneer 的主控 SG2042 会优先从 SD 卡加载固件,因此本文档基于: + +- 在 microSD 卡上部署 UEFI 固件 +- 将 ISO 安装镜像烧录至U盘 +- 系统安装至 M.2 NVMe 硬盘上 + +的思路来部署 openEuler RISC-V。 + +## 固件安装 + +下载 `sg2042_firmware_uefi.img.zip` \ No newline at end of file diff --git a/public/docs/milkv/pioneer-oerv2403-uefi.md b/public/docs/milkv/pioneer-oerv2403-uefi.md new file mode 100644 index 0000000..2eaa3ad --- /dev/null +++ b/public/docs/milkv/pioneer-oerv2403-uefi.md @@ -0,0 +1,60 @@ +# 在 Milk-V Pioneer 上安装基于UEFI启动流程的 openEuler 24.03 + +Pioneer 出厂时 NOR Flash 固件没有支持基于 EDK2 的 UEFI 启动流程,因此需要首先部署 EDK2 固件。之后则可以使用 openEuler 官方发布的ISO安装镜像执行系统安装。 + +鉴于 Pioneer 的主控 SG2042 会优先从 SD 卡加载固件,其次才会尝试从板载 NOR Flash 上加载,因此本文档基于: + +- 在 microSD 卡上部署 UEFI 固件 +- 将 ISO 安装镜像烧录至U盘 +- 系统安装至 M.2 NVMe 硬盘上 + +的思路来部署 openEuler RISC-V。 + +## 部署固件至 microSD + +下载 `sg2042_firmware_uefi.img.zip`。解压得到 `sg2042_firmware_uefi.img` 磁盘镜像。 + +将该镜像恢复到 microSD 卡中。使用 `dd` 命令如下: + +```shell +export MICROSD_DEV="/dev/sdX" +sudo dd if=sg2042_firmware_uefi.img of="${MICROSD_DEV}" bs=512k conv=sync status=progress oflag=direct +``` + +将 `sdX` 替换为实际的 SD 卡块设备路径。 + +或使用图形化的工具例如: + +- gnome-disks +- [balenaEtcher](https://etcher.balena.io/#download-etcher) + +## 部署 ISO 系统安装镜像至 U盘 + +下载 `openEuler-24.03-LTS-riscv64-dvd.iso`。 + +使用上述工具将该镜像写入至U盘。以 `dd` 为例: + +```shell +sudo dd if=openEuler-24.03-LTS-riscv64-dvd.iso of="${MICROSD_DEV}" bs=512k conv=sync status=progress oflag=direct +``` + +## 启动系统 + +将 microSD 卡插入板载的卡槽。将U盘接入板上任意一个 USB-A 接口。 + +接一套键鼠到板载 USB-A 口。 + +确保 AMD R5 230 显卡已接入,并通过线缆连接一台支持 1080P/2K 分辨率的显示器;以及目标 NMVe SSD 接在 M.2 插槽或通过转接卡接在 PCIe 插槽上。 + +给系统上电。 + +![EDK2 booting 1](./pioneer-oerv2403-uefi.resc/edk2-boot-screenshot-01.png) + +将会进入 grub 启动项选择界面。 + +![EDK2 booting grub 1](./pioneer-oerv2403-uefi.resc/grub-screenshot-01.png) + +由于固件实现上的缺陷,当前 GRUB 渲染速度很慢,因此需要等待较长时间才能观测到对用户输入的响应。摁方向上键选中 `Install openEuler 24.03 LTS`,回车确认。 + +![EDK2 booting grub 2](./pioneer-oerv2403-uefi.resc/grub-screenshot-02.png) + diff --git a/public/docs/milkv/pioneer-oerv2403-uefi.resc/edk2-boot-screenshot-01.png b/public/docs/milkv/pioneer-oerv2403-uefi.resc/edk2-boot-screenshot-01.png new file mode 100644 index 0000000..b096fc5 Binary files /dev/null and b/public/docs/milkv/pioneer-oerv2403-uefi.resc/edk2-boot-screenshot-01.png differ diff --git a/public/docs/milkv/pioneer-oerv2403-uefi.resc/grub-screenshot-01.png b/public/docs/milkv/pioneer-oerv2403-uefi.resc/grub-screenshot-01.png new file mode 100644 index 0000000..23bd6be Binary files /dev/null and b/public/docs/milkv/pioneer-oerv2403-uefi.resc/grub-screenshot-01.png differ diff --git a/public/docs/milkv/pioneer-oerv2403-uefi.resc/grub-screenshot-02.png b/public/docs/milkv/pioneer-oerv2403-uefi.resc/grub-screenshot-02.png new file mode 100644 index 0000000..04af772 Binary files /dev/null and b/public/docs/milkv/pioneer-oerv2403-uefi.resc/grub-screenshot-02.png differ diff --git a/public/docs/sipeed/lpi4a-uboot-official-image.md b/public/docs/sipeed/lpi4a-uboot-official-image.md new file mode 100644 index 0000000..43192a5 --- /dev/null +++ b/public/docs/sipeed/lpi4a-uboot-official-image.md @@ -0,0 +1,52 @@ +# 在 LPi4A 上安装 OpenEuler RISC-V + +在 LPi4A 验证过的部署流程为: + +- 板卡配置为通过 eMMC 启动 +- 使用 USB fastboot 烧写 U-Boot 固件与系统 + +需要用到 Android SDK Platform Tools 中提供的 fastboot 工具。官方下载地址为: + +[https://developer.android.com/tools/releases/platform-tools#downloads.html](https://developer.android.com/tools/releases/platform-tools#downloads.html) + +## 驱动安装与配置 + +### Linux + +需要配置 udev rules 来解决 USB 设备文件权限问题。执行下述命令完成配置: + +```shell +cat << EOF | sudo tee /etc/udev/rules.d/99-thead-th1520.rules +SUBSYSTEM=="usb", ATTR{idVendor}=="2345", ATTR{idProduct}=="7654", MODE="0660", GROUP="plugdev", TAG+="uaccess" +SUBSYSTEM=="usb", ATTR{idVendor}=="1234", ATTR{idProduct}=="8888", MODE="0660", GROUP="plugdev", TAG+="uaccess" +EOF +``` + +执行后需要重新插拔 USB 使新规则生效。 + +### Windows + +参考[官方文档](https://wiki.sipeed.com/hardware/zh/lichee/th1520/lpi4a/4_burn_image.html#Windows-%E4%B8%8B%E9%A9%B1%E5%8A%A8%E5%AE%89%E8%A3%85) + +## 镜像烧录 + +根据持有的板卡 DRAM 大小选择对应的 U-Boot 固件版本并下载。 + +将板卡上的 Type-C 接口与电脑连接,由电脑为板卡供电。摁住 Type-C 接口旁边的 BOOT 按键同时短摁 Type-C 接口旁边的 RESET 按键,进入 BOOTROM 的下载模式后,执行: + +```shell +LPI4A_RAM_VARIANT='-16g' +OERV_VERSION='24.03-LTS-SP1' + +zstd -d openEuler-${OERV_VERSION}-riscv64-lpi4a-base-boot.ext4.zst +zstd -d openEuler-${OERV_VERSION}-riscv64-lpi4a-base-root.ext4.zst + +fastboot flash ram u-boot-with-spl-lpi4a${LPI4A_RAM_VARIANT}.bin +fastboot reboot +sleep 1 +fastboot flash uboot u-boot-with-spl-lpi4a${LPI4A_RAM_VARIANT}.bin +fastboot flash boot openEuler-${OERV_VERSION}-riscv64-lpi4a-base-boot.ext4 +fastboot flash root openEuler-${OERV_VERSION}-riscv64-lpi4a-base-root.ext4 +``` + +摁 RESET 按键重启板卡,即可进入系统。此时推荐拔下连接至电脑的 Type-C 线缆,更换为独立的电源适配器进行供电。 diff --git a/public/products/milkv/pioneer.json b/public/products/milkv/pioneer.json new file mode 100644 index 0000000..f556c70 --- /dev/null +++ b/public/products/milkv/pioneer.json @@ -0,0 +1,183 @@ +{ + "name": "Pioneer", + "vendor": { + "name": "Milk-V", + "homepage": "https://milkv.io/" + }, + "soc": { + "name": "SG2042", + "harts": [ + { + "name": "XuanTie C920", + "nums": 64, + "freq": "2GHz" + } + ] + }, + "type": "mATX", + "status": "SUPPORTED", + "pictures": [ + "resources/milkv/pioneer/milk-v-pioneer-board_png_gallery-lg.jpg", + "resources/milkv/pioneer/milk-v-box-angle_png_gallery-lg.jpg" + ], + "hardware": { + "ram": { + "type": "DDR4 DIMM x4", + "capacity": [ + "NC" + ] + }, + "storage": [ + { + "type": "NOR Flash", + "capacity": [ + "NC" + ] + }, + { + "type": "eMMC", + "capacity": [ + "NC" + ] + }, + { + "type": "microSD", + "revision": "SDXC 3.0" + }, + { + "type": "M.2", + "revision": "M-Key, PCIe3.0x4", + "nums": 2 + }, + { + "type": "SATA", + "revision": "3.0@6Gbps", + "nums": 5 + } + ], + "connectivity": [ + { + "type": "USB-A", + "revision": "3.0", + "nums": 8 + }, + { + "type": "Ethernet", + "revision": "2.5GbE", + "nums": 2 + }, + { + "type": "HDMI", + "revision": "2.0" + }, + { + "type": "MIPI-CSI", + "revision": "2-lanes", + "nums": 2 + }, + { + "type": "MIPI-CSI", + "revision": "4-lanes" + }, + { + "type": "MIPI-DSI", + "revision": "4-lanes" + } + ] + }, + "os": { + "openEuler": [ + { + "name": "24.03-LTS-SP1", + "imagesuites": [ + { + "name": "sg2042-24.03.sp1", + "kernel": { + "type": "RVCK", + "branch": "6.6", + "version": "6.6.0-72.0.0.76.oe2403sp1" + }, + "userspace": "xfce4", + "isa": { + "profile": "RVA20", + "extensions": [] + }, + "type": "Installer", + "features": [ + "LINUXBOOT", + "FDT" + ], + "files": [ + { + "url": "https://mirror.iscas.ac.cn/openeuler/openEuler-24.03-LTS-SP1/embedded_img/riscv64/SG2042/openEuler-24.03-LTS-SP1-riscv64-sg2042.img.zip", + "tags": [ + "system-image" + ], + "hash": { + "sha256": "9a99c6a227eaf034f6cb0e44f342a5f3824d08c3f9fc4f58532f44e156f63f47" + } + }, + { + "url": "https://mirror.iscas.ac.cn/openeuler/openEuler-24.03-LTS-SP1/embedded_img/riscv64/SG2042/sg2042_firmware_linuxboot.img.zip", + "tags": [ + "firmware" + ], + "hash": { + "sha256": "1d1e47ce2cbbeda528c4338030f914c4905af89fc939783e3ff80fefa935c57d" + } + } + ], + "docs": [] + } + ] + }, + { + "name": "24.03-LTS", + "imagesuites": [ + { + "name": "official-24.03", + "kernel": { + "type": "RVCK", + "branch": "6.6", + "version": "6.6.0-27.0.0.31.oe2403" + }, + "userspace": "xfce4", + "isa": { + "profile": "RVA20", + "extensions": [] + }, + "type": "Installer", + "features": [ + "EFI", + "FDT" + ], + "files": [ + { + "url": "https://mirror.iscas.ac.cn/openeuler/openEuler-24.03-LTS/embedded_img/riscv64/SG2042/sg2042_firmware_uefi.img.zip", + "tags": [ + "firmware", + "milkv/pioneer" + ], + "hash": { + "sha256": "d7a936304bc01dfb8ccb47dc6df6527aecba4886940313355f68283dbc32fdf5" + } + }, + { + "url": "https://mirror.iscas.ac.cn/openeuler/openEuler-24.03-LTS/ISO/riscv64/openEuler-24.03-LTS-riscv64-dvd.iso", + "tags": [ + "os-installer" + ], + "hash": { + "sha256": "f49a5da648c53af30aa1a5bcc784685d75baca08743c840889bff32655b6a4e1" + } + } + ], + "docs": [ + "docs/milkv/pioneer-oerv2403-uefi.md" + ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/public/products/qemu/system.json b/public/products/qemu/system.json new file mode 100644 index 0000000..88f604a --- /dev/null +++ b/public/products/qemu/system.json @@ -0,0 +1,65 @@ +{ + "name": "qemu-system", + "vendor": { + "name": "Qemu", + "homepage": "https://www.qemu.org/" + }, + "soc": { + "name": "virt", + "harts": [] + }, + "type": "Emulated", + "status": "SUPPORTED", + "pictures": [], + "os": { + "openEuler": [ + { + "name": "24.03-LTS", + "imagesuites": [ + { + "name": "official-24.03", + "kernel": { + "type": "RVCK", + "branch": "6.6", + "version": "6.6.0-27.0.0.31.oe2403" + }, + "userspace": "xfce4", + "isa": { + "profile": "RVA20", + "extensions": [] + }, + "type": "Installer", + "features": [ + "EFI", + "FDT" + ], + "files": [ + { + "url": "https://mirror.iscas.ac.cn/openeuler/openEuler-24.03-LTS/embedded_img/riscv64/SG2042/sg2042_firmware_uefi.img.zip", + "tags": [ + "firmware", + "milkv/pioneer" + ], + "hash": { + "sha256": "d7a936304bc01dfb8ccb47dc6df6527aecba4886940313355f68283dbc32fdf5" + } + }, + { + "url": "https://mirror.iscas.ac.cn/openeuler/openEuler-24.03-LTS/ISO/riscv64/openEuler-24.03-LTS-riscv64-dvd.iso", + "tags": [ + "os-installer" + ], + "hash": { + "sha256": "f49a5da648c53af30aa1a5bcc784685d75baca08743c840889bff32655b6a4e1" + } + } + ], + "docs": [ + "docs/milkv/pioneer-oerv2403-uefi.md" + ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/public/products/sipeed/licheepi_4a.json b/public/products/sipeed/licheepi_4a.json new file mode 100644 index 0000000..12731c6 --- /dev/null +++ b/public/products/sipeed/licheepi_4a.json @@ -0,0 +1,266 @@ +{ + "name": "LicheePi 4A", + "vendor": { + "name": "Sipeed", + "homepage": "https://sipeed.com/" + }, + "soc": { + "name": "TH1520", + "harts": [ + { + "name": "Xuantie C910", + "nums": 4, + "freq": "2.5GHz" + } + ] + }, + "type": "SoM+Carrier", + "status": "SUPPORTED", + "pictures": [], + "hardware": { + "ram": { + "type": "LPDDR4X", + "capacity": [ + "8GB", + "16GB" + ] + }, + "storage": [ + { + "type": "NOR Flash", + "capacity": [ + "NC" + ] + }, + { + "type": "eMMC", + "revision": "5.1", + "capacity": [ + "NC", + "32GB", + "64GB", + "128GB" + ] + }, + { + "type": "microSD", + "revision": "SDXC" + } + ], + "connectivity": [ + { + "type": "USB-A", + "revision": "3.0", + "nums": 4 + }, + { + "type": "USB-C", + "revision": "2.0 OTG", + "nums": 1 + }, + { + "type": "Ethernet", + "revision": "1GbE", + "nums": 2 + }, + { + "type": "WiFi", + "revision": "802.11 b/g/n" + }, + { + "type": "Bluetooth", + "revision": "4.0" + }, + { + "type": "HDMI", + "revision": "2.0" + }, + { + "type": "MIPI-CSI", + "revision": "2-lanes", + "nums": 2 + }, + { + "type": "MIPI-CSI", + "revision": "4-lanes" + }, + { + "type": "MIPI-DSI", + "revision": "4-lanes" + } + ] + }, + "os": { + "openEuler": [ + { + "name": "24.03-LTS-SP1", + "imagesuites": [ + { + "name": "lpi4a-24.03.sp1", + "kernel": { + "type": "RVCK", + "branch": "6.6", + "version": "6.6.0-72.0.0.76.oe2403sp1" + }, + "userspace": "Headless", + "isa": { + "profile": "RVA20", + "extensions": [] + }, + "type": "RawDiskImage", + "features": [ + "UBOOT", + "FDT" + ], + "files": [ + { + "url": "https://mirror.iscas.ac.cn/openeuler/openEuler-24.03-LTS-SP1/embedded_img/riscv64/lpi4a/openEuler-24.03-LTS-SP1-riscv64-lpi4a-base-boot.ext4.zst", + "tags": [ + "boot-image" + ], + "hash": { + "sha256": "d6c2b735b4df5f5e33423ee41a739e9442118aaa0f0b83791d83b7017cb95ab8" + } + }, + { + "url": "https://mirror.iscas.ac.cn/openeuler/openEuler-24.03-LTS-SP1/embedded_img/riscv64/lpi4a/openEuler-24.03-LTS-SP1-riscv64-lpi4a-base-root.ext4.zst", + "tags": [ + "system-image" + ], + "hash": { + "sha256": "fda5174503f4f5323c56575d651f4e14296f44683483cf6c887c0fce0f75b9f6" + } + }, + { + "url": "https://mirror.iscas.ac.cn/openeuler/openEuler-24.03-LTS-SP1/embedded_img/riscv64/lpi4a/u-boot-with-spl-lpi4a-16g.bin", + "tags": [ + "firmware" + ], + "hash": { + "sha256": "39b05820158b04269b5ad4f704ba5610c5caed3e7496a25834a3304af2a1ba9c" + } + }, + { + "url": "https://mirror.iscas.ac.cn/openeuler/openEuler-24.03-LTS-SP1/embedded_img/riscv64/lpi4a/u-boot-with-spl-lpi4a.bin", + "tags": [ + "firmware" + ], + "hash": { + "sha256": "b2732a56f2b5d5e642804e94a55754b6b6dae54d02ac5ca4249d1df59931e391" + } + } + ], + "docs": [ + "docs/sipeed/lpi4a-uboot-official-image.md" + ] + } + ] + }, + { + "name": "24.03-LTS", + "imagesuites": [ + { + "name": "lpi4a-24.03", + "kernel": { + "type": "RVCK", + "branch": "6.6", + "version": "6.6.0-27.0.0.31.oe2403" + }, + "userspace": "xfce4", + "isa": { + "profile": "RVA20", + "extensions": [] + }, + "type": "RawDiskImage", + "features": [ + "UBOOT", + "FDT" + ], + "files": [ + { + "url": "https://mirror.iscas.ac.cn/openeuler/openEuler-24.03-LTS/embedded_img/riscv64/lpi4a/openEuler-24.03-LTS-riscv64-lpi4a-base-boot.ext4.zst", + "tags": [ + "boot-image" + ], + "hash": { + "sha256": "4a1d3e441c328443c79e79a00ddbbd649526c260aeadeb3b666f614cc82e6db8" + } + }, + { + "url": "https://mirror.iscas.ac.cn/openeuler/openEuler-24.03-LTS/embedded_img/riscv64/lpi4a/openEuler-24.03-LTS-riscv64-lpi4a-base-root.ext4.zst", + "tags": [ + "system-image" + ], + "hash": { + "sha256": "54ebfeedef6dfc93e66198e2e8f8e03b65c71c1728bc9578173f5f67d3091074" + } + }, + { + "url": "https://mirror.iscas.ac.cn/openeuler/openEuler-24.03-LTS/embedded_img/riscv64/lpi4a/u-boot-with-spl-lpi4a-16g.bin", + "tags": [ + "firmware" + ], + "hash": { + "sha256": "7c7ea37d12511a454c5e1c4beaaae81d9d1934004a667998ddb8723eecff1a13" + } + }, + { + "url": "https://mirror.iscas.ac.cn/openeuler/openEuler-24.03-LTS/embedded_img/riscv64/lpi4a/u-boot-with-spl-lpi4a.bin", + "tags": [ + "firmware" + ], + "hash": { + "sha256": "7214f141ca4d3e88a8471fe2303d6722116102059d170186225f8dc02a7967a2" + } + } + ], + "docs": [ + "docs/sipeed/lpi4a-uboot-official-image.md" + ] + } + ] + } + ], + "Eulaceuia": [ + { + "name": "23H1", + "imagesuites": [ + { + "name": "eulaceuia-23h1", + "kernel": { + "type": "VENDOR", + "branch": "5.4", + "version": "5.4.61-1.2-rvboards" + }, + "userspace": "xfce4", + "isa": { + "profile": "RVA20" + }, + "type": "RawDiskImage", + "features": [ + "RawImage" + ], + "files": [ + { + "url": "https://mirror.iscas.ac.cn/openeuler-sig-riscv/eulaceura/image/23H1/bootpart-licheerv.bin.xz" + }, + { + "url": "https://mirror.iscas.ac.cn/openeuler-sig-riscv/eulaceura/image/23H1/bootfw-lpi4aRAM.bin" + }, + { + "url": "https://mirror.iscas.ac.cn/openeuler-sig-riscv/eulaceura/image/23H1/bootfw-licheepi4A.bin" + }, + { + "url": "https://mirror.iscas.ac.cn/openeuler-sig-riscv/eulaceura/image/23H1/Eulaceura.riscv64-23H1-Desktop_Full.raw.xz" + }, + { + "url": "https://mirror.iscas.ac.cn/openeuler-sig-riscv/eulaceura/image/23H1/Eulaceura.riscv64-23H1-Desktop_Lite.raw.xz" + } + ], + "docs": [] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/public/products/spacemit/muse_pi.json b/public/products/spacemit/muse_pi.json new file mode 100644 index 0000000..177ae71 --- /dev/null +++ b/public/products/spacemit/muse_pi.json @@ -0,0 +1,97 @@ +{ + "name": "MUSE PI", + "vendor": { + "name": "SpacemiT", + "homepage": "https://www.spacemit.com/" + }, + "soc": { + "name": "M1", + "harts": [ + { + "name": "SpacemiT X60", + "nums": 8, + "freq": "1.8GHz" + } + ] + }, + "type": "SBC", + "status": "WIP", + "pictures": [], + "hardware": { + "ram": { + "type": "LPDDR4X", + "capacity": [ + "8GB", + "16GB" + ] + }, + "storage": [ + { + "type": "NOR Flash", + "capacity": [ + "8MB" + ] + }, + { + "type": "eMMC", + "revision": "5.1", + "capacity": [ + "32GB" + ] + }, + { + "type": "microSD", + "revision": "SDXC 3.0" + }, + { + "type": "M.2", + "revision": "M-Key, PCIe2.0x2", + "nums": 2 + } + ], + "connectivity": [ + { + "type": "USB-A", + "revision": "3.0", + "nums": 1 + }, + { + "type": "USB-A", + "revision": "2.0", + "nums": 1 + }, + { + "type": "USB-C", + "revision": "2.0 OTG", + "nums": 1 + }, + { + "type": "Ethernet", + "revision": "1GbE", + "nums": 2 + }, + { + "type": "WiFi", + "revision": "802.11 a/b/g/n/ac" + }, + { + "type": "Bluetooth", + "revision": "4.1" + }, + { + "type": "HDMI", + "revision": "1.4" + }, + { + "type": "MIPI-CSI", + "revision": "4-lanes", + "nums": 2 + }, + { + "type": "MIPI-DSI", + "revision": "4-lanes" + } + ] + }, + "os": {} +} \ No newline at end of file diff --git a/public/products/starfive/visionfive2.json b/public/products/starfive/visionfive2.json new file mode 100644 index 0000000..e2e4579 --- /dev/null +++ b/public/products/starfive/visionfive2.json @@ -0,0 +1,102 @@ +{ + "name": "VisionFive 2", + "vendor": { + "name": "StarFive", + "homepage": "https://www.starfivetech.com" + }, + "soc": { + "name": "JH7110", + "harts": [ + { + "name": "SiFive U74", + "nums": 4, + "freq": "1.5GHz" + }, + { + "name": "SiFive S7", + "nums": 1 + }, + { + "name": "SiFive E24", + "nums": 1 + } + ] + }, + "type": "SBC", + "status": "WIP", + "pictures": [], + "hardware": { + "ram": { + "type": "LPDDR4", + "capacity": [ + "2GB", + "4GB", + "8GB" + ] + }, + "storage": [ + { + "type": "NOR Flash", + "capacity": [ + "8MB" + ] + }, + { + "type": "eMMC", + "revision": "5.0", + "capacity": [ + "NC" + ] + }, + { + "type": "microSD", + "revision": "SDXC 3.0" + }, + { + "type": "M.2", + "revision": "M-Key, PCIe2.0x1" + } + ], + "connectivity": [ + { + "type": "USB-A", + "revision": "3.0", + "nums": 4 + }, + { + "type": "USB-C", + "revision": "2.0 OTG", + "nums": 1 + }, + { + "type": "Ethernet", + "revision": "1GbE", + "nums": 2 + }, + { + "type": "HDMI", + "revision": "2.0" + }, + { + "type": "MIPI-CSI", + "revision": "2-lanes", + "nums": 1 + }, + { + "type": "MIPI-DSI", + "revision": "4-lanes", + "nums": 1 + }, + { + "type": "MIPI-DSI", + "revision": "2-lanes", + "nums": 1 + }, + { + "type": "3.5mm Jack", + "revision": "4-rings" + } + ] + }, + "os": {} +} \ No newline at end of file diff --git a/public/resources/milkv/pioneer/milk-v-box-angle_png_gallery-lg.jpg b/public/resources/milkv/pioneer/milk-v-box-angle_png_gallery-lg.jpg new file mode 100644 index 0000000..a1f97cc Binary files /dev/null and b/public/resources/milkv/pioneer/milk-v-box-angle_png_gallery-lg.jpg differ diff --git a/public/resources/milkv/pioneer/milk-v-pioneer-board_png_gallery-lg.jpg b/public/resources/milkv/pioneer/milk-v-pioneer-board_png_gallery-lg.jpg new file mode 100644 index 0000000..09dbf1e Binary files /dev/null and b/public/resources/milkv/pioneer/milk-v-pioneer-board_png_gallery-lg.jpg differ diff --git a/src/components/SystemSelect.vue b/src/components/SystemSelect.vue index e71b3d8..15695d9 100644 --- a/src/components/SystemSelect.vue +++ b/src/components/SystemSelect.vue @@ -114,7 +114,7 @@ const handleDownload = async index => { }; const kernelOptions = computed(() => { - const allImageSuites = props.itemList.flatMap(item => item.imagesuites || []); + const allImageSuites = props.item.imagesuites const allKernels = allImageSuites.map(suite => ({ value: `${suite.kernel.type}-${suite.kernel.branch}`, label: `${suite.kernel.type}-${suite.kernel.branch}`, @@ -132,8 +132,9 @@ const kernelOptions = computed(() => { }); const packageOptions = computed(() => { - if (!props.itemList) return []; - const allImageSuites = props.itemList.flatMap(item => item.imagesuites || []); + if (!props.item) return []; + const allImageSuites = props.item.imagesuites + console.log(allImageSuites,"我啊all") return Array.from( new Set( allImageSuites.map(suite => @@ -261,7 +262,7 @@ const getFileName = url => {
{{ kernelOptions.find(opt => opt.value === selectedKernel) - ?.label + ?.label || kernelOptions[0].label }} {{ packageOptions.find(opt => opt.value === selectedPackage) - ?.label + ?.label || packageOptions[0].label }}