Skip to content

brentharts/riscv-os

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

Build a minimal kernel for RISC-V

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 49.6%
  • C 37.2%
  • Assembly 7.9%
  • Makefile 3.3%
  • Shell 1.8%
  • GDB 0.2%