Skip to content
forked from peiyuanix/riscv-os

Build a minimal kernel for RISC-V

License

Notifications You must be signed in to change notification settings

panjea/riscv-os

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 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

  • C 55.4%
  • Python 24.8%
  • Assembly 11.8%
  • Makefile 5.0%
  • Shell 2.6%
  • GDB 0.4%