Skip to content

RunuX v11.3.4 — RISC-V boots for real, independently verified on GCP

Choose a tag to compare

@xaviercallens xaviercallens released this 27 Sep 09:54
· 56 commits to main since this release
46d6243

What's new

RISC-V now boots real workspace code — this was discovered, not built new,
in this release cycle: examples/riscv_qemu_harness + arch/riscv64
already implemented a correct OpenSBI → S-mode boot path (real CSR access,
UART, linker script at the standard 0x80200000 load address). Previous
releases' READMEs incorrectly stated no workspace code boots anywhere;
that claim is now corrected (#69).

Independently re-verified on a machine that never touched this repo
before
: a fresh GCP e2-micro VM (always-free tier, deleted after use,
no standing service or public SSH access left behind), cloned over HTTPS,
installed qemu-system-misc + rustup normally, built and booted the
harness without modification. Result: PASS, then a 30-run benchmark —
30/30 boots succeeded, mean boot time 0.0617s, 95% CI [0.0611s, 0.0622s]
(#70). Full write-up: docs/roadmap/RISCV_BOOT_TELEMETRY.md.

Explicitly not a Linux comparison. RunuX's RISC-V harness has no
scheduler, drivers, filesystem, or userspace, so there is no comparable
workload to benchmark against yet — this release does not claim
performance or feature parity with Linux, and the telemetry doc says so
directly.

What's still stub: riscv_arch_init/riscv_irq_init/riscv_pgtable_init
print banners but don't yet wire real PLIC or Sv39 hardware state; this
isn't in CI yet; x86_64 still has no boot path beyond the pre-existing
examples/demo_kernel i686 binary under QEMU.

Try it yourself

Attached below: the exact riscv_qemu_harness binary measured above
(riscv64gc-unknown-none-elf, release profile) and the raw benchmark
CSV. Boot it with your own QEMU, no Rust toolchain needed:

qemu-system-riscv64 -machine virt -nographic -bios default \
  -kernel runux-riscv64-qemu-harness-v11.3.4

Or build and verify from source:

git clone https://github.com/xaviercallens/rust-linux-mini-kernel.git
cd rust-linux-mini-kernel
sudo apt-get install -y qemu-system-misc
rustup target add riscv64gc-unknown-none-elf
bash scripts/riscv_boot_test.sh
bash scripts/riscv_boot_bench.sh --runs 30

PRs in this release

  • #69 — RISC-V boots for real; correct the "no bootable image" claim
  • #70 — RISC-V boot telemetry: independent GCP verification, n=30 latency bench