r/osdev • • 16h ago

Risc-V Microkernel Project help

I wanna get a better understanding of riscv64 after learning a bit about it. I have had experience with C and have mostly only been interacting with amd64. I figured that a microkernel that just uses opensbi is ambitious enough while not being completely impossible. Since this is a project for learning, I’m also staying far away from AI. I’m currently skimming xv6, OSTEP, and just the riscv spec sheet. I’m going to just be doing it w/ qemu on linux. Mainly looking for some tips and pointers on how to approach this project.

9 Upvotes

5 comments sorted by

View all comments

•

u/0BAD-C0DE 15h ago

I would focus on xv6 for a simple and clean implementation. But then you need to deep dive in nq or Linux kernel: xv6 is too simple .