Introduction: MINIX 3 RISC-V port reaching bootable state (Community Branch)
[email protected] Mon, 12 Jan 2026 18:46:48 +0800
| Newsgroups | gmane.os.netbsd.ports.riscv,gmane.os.netbsd.devel.toolchain |
|---|---|
| Message-ID | <[email protected]> |
Hi NetBSD RISC-V Porting Team, I am writing to introduce the recent progress we=E2=80=99ve made at The-Mini= x-User-Group (I'm leading the community effort along with a few contributors= ; we aim to modernize MINIX 3 for RISC-V and beyond) regarding the RISC-V po= rt of MINIX 3. I have successfully reached a stage where the MINIX microkernel can boot int= o a shell on RISC-V (QEMU virt target). Since MINIX 3 heavily leverages NetB= SD's build.sh infrastructure and userland, the work done by the port-riscv t= eam has been an essential reference for our implementation. As we move toward stabilizing the system and implementing virtio drivers, I w= ould like to establish a line of communication with the NetBSD community. We= see potential for synergy in: Toolchain Validation: Our port acts as an out-of-tree stress test for the Ne= tBSD-centric toolchain on RISC-V. Driver Ecosystem: We are exploring the feasibility of leveraging NetBSD's ma= ture RISC-V drivers as reference implementations, potentially via the Rump k= ernel framework or driver adaptation layers. If you are interested in the progress of microkernels on RISC-V, we would ap= preciate any feedback on our implementation. Source: https://github.com/The-Minix-User-Group/minix Cheers, Avrova Donz (yangdongstation on GitHub) --- RISC-V Port Status --- Kernel: MINIX 3 (The-Minix-User-Group branch) Status: Boots to /bin/sh on QEMU virt (rv64) MMU/SBI: Sv39 enabled, OpenSBI 1.x Current blocker: Occasional non-deterministic nbmake failures during paralle= l cross-builds. Implementation Details (Trap Vector): https://gist.github.com/yangdongstatio= n/fd4306be196342b57d90c735e5c153a4 We'd particularly value feedback on: - Known pitfalls when extending build.sh for out-of-tree kernels - RISC-V virtio driver bring-up best practices Happy to provide more technical details or logs as needed.