一款受 QNX 启发、内核可选的操作系统
A QNX-inspired operating system with selectable kernels

原始链接: https://qsoe.net

QSOE 0.1 现已支持真实硬件,特别是 SiFive HiFive Unmatched (FU740) 开发板,未来计划支持 SpaceMiT K3。部署前提是开发板已运行 Linux 系统,且用户需具备 EFI 固件的相关知识。 引导过程使用 `mr-bml`。该程序位于 EFI 系统分区 (ESP) 中,负责从 ext2/3/4 分区加载内核。用户需将 `mrbml-riscv64.efi` 放入 ESP(或通过 `efibootmgr` 注册),并将所需的内核文件(`skimmer.bin`、`modpkg.cpio` 或 `qsoe-l-sifive.elf`)复制到 `/boot/qsoe/` 目录下。 配置通过 `/boot/mr-bml/mr-bml.cfg` 进行管理。用户需在此文件中定义所需 QSOE 变体的菜单项,并通过 `mainfs=` 参数指定根文件系统分区 (`fs-qrv`)。与基于 QEMU 的设置不同,此实现直接驱动 NVMe 磁盘。

最近的一篇 Hacker News 帖子介绍了 **QSOE**,这是一个受 QNX 启发、具备可选内核功能的操作系统。虽然该项目旨在提供灵活且即插即用的硬件解决方案,但其展示方式引发了批评。 一位评论者尖锐地批评了该项目的文档,将其描述为 AI 生成的“低质量垃圾”。他指出,在技术产品中不披露 AI 辅助写作是对用户的不尊重,并削弱了人们对开发者细节把控能力的信任。他特别质疑,一个在文档上偷工减料的人,是否会有足够的严谨性去对自己的软件进行充分测试。
相关文章

原文

Real hardware, real disk. QSOE 0.1 boots on the SiFive HiFive Unmatched (FU740); the SpaceMiT K3 is a future target. This assumes a board already running Linux — you'll be placing files on its existing EFI and boot partitions, so familiarity with the board's firmware is expected.

The boot model is simple: mr-bml lives in the EFI System Partition; it reads its menu and the kernels from an ext2/3/4 partition; the chosen variant then mounts its own root from a fs-qrv partition.

Steps

  1. Copy mrbml-riscv64.efi into your ESP as EFI/BOOT/BOOTRISCV64.EFI (the UEFI removable-media path), or register it with efibootmgr as a boot entry.
  2. On your boot/root filesystem, create /boot/qsoe/ and copy the kernels there: skimmer.bin + modpkg.cpio for QSOE/N, qsoe-l-sifive.elf for QSOE/L.
  3. Create /boot/mr-bml/mr-bml.cfg with one entry per variant — for example:
# /boot/mr-bml/mr-bml.cfg  — adjust the mainfs= partition to your disk
menuentry 'QSOE/N (Skimmer)' {
    kernel /boot/qsoe/skimmer.bin mainfs=/dev/nvme0n1p8
    modpkg /boot/qsoe/modpkg.cpio
}
menuentry 'QSOE/L (seL4)' {
    kernel /boot/qsoe/qsoe-l-sifive.elf mainfs=/dev/nvme0n1p8
}

The mainfs= device names the partition holding the QSOE root filesystem (fs-qrv) — set it to whichever partition you've devoted to QSOE on your board. On real hardware there is no QEMU virtio split: both variants drive the NVMe disk directly.

联系我们 contact @ memedata.com