Skip to content

peiyuanix/riscv-os

Repository files navigation

Build a minimal kernel for RISC-V

Part 1. Explore RISC-V/QEMU/U-Boot/OpenSBI

Get familiar with QEMU virtual machine firmware loading, kernel loading workflow.

Part 2. Bare Metal RISC-V

Write a bare metal firmware for QEMU virt device, which just prints Hello, RISC-V!

Switch to sifive_u, because virt is not well documented!

After some attempts, I found that I had to revert back to virt because sifive_u doesn't support mmio and PCI-E.

Part 3. Interrupts and Process Scheduling

Appendix