Skip to content
/ rv_ss Public

A sample implementation of a system software for RISC-V (RV64)

Notifications You must be signed in to change notification settings

sux2mfgj/rv_ss

Folders and files

NameName
Last commit message
Last commit date
Dec 14, 2019
Nov 12, 2019
Nov 12, 2019
Nov 16, 2019
Dec 2, 2019
Oct 6, 2019
Nov 13, 2019
Nov 12, 2019
Nov 28, 2019
Nov 17, 2019
Oct 6, 2019
Oct 6, 2019
Nov 26, 2019
Nov 16, 2019
Dec 4, 2019
Nov 3, 2019
Dec 19, 2019
Nov 16, 2019
Nov 16, 2019
Nov 16, 2019
Dec 4, 2019
Dec 14, 2019
Nov 16, 2019
Nov 25, 2019
Nov 26, 2019
Nov 16, 2019
Nov 16, 2019
Dec 15, 2019
Oct 14, 2019
Nov 16, 2019
Oct 6, 2019
Nov 23, 2019
Nov 16, 2019
Nov 16, 2019
Nov 16, 2019
Nov 16, 2019
Nov 16, 2019
Oct 6, 2019
Nov 16, 2019
Dec 17, 2019
Nov 30, 2019
Nov 16, 2019
Oct 15, 2019
Oct 14, 2019
Nov 30, 2019
Dec 18, 2019
Oct 27, 2019
Nov 25, 2019

Repository files navigation

This is a experiment project for RISC-V(RV64) system programming.

target
  • QEMU RISC-V virt
    • WIP
  • K210 (on MAiXDUiNO)
    • in the future.
features
  • FDT parser
  • MMU driver
    • host virtual address into host physical address
  • PLIC (RISC-V interrupt controller) driver
  • UART driver
  • VMM(WIP)
    • interrupt and exception delegation
    • MMU(guest physical address into host physical address)
  • Timer controller
  • SBI driver
    • for version 0.1
  • virtio(WIP)
    • virtio-block(WIP)
    • virtio-net(WIP)
how to build
  1. clone
$ git clone --recursive https://github.com/sux2mfgj/rv_ss
  1. build toolchains(gcc, libc, gdb, ld, biutils, etc)
$ cd riscv-gnu-toolchain
$ ./configure --prefix=/home/hima/work/riscvos/../local
  1. build opensbi
$ export CROSS_COMPILE=riscv64-unknown-elf-
$ make PLATFORM=qemu/virt I=../local install
  1. build qemu
$ git clone [email protected]:kvm-riscv/qemu.git
$ cd qemu
$ git checkout mainline/alistair/riscv-hyp-ext-v0.4.1
  1. build and run rv_ss
$ cd ${to project root}
$ make run
TODO
  • Update the qemu. There is a new version of the qemu for risc-v hypervisor extension. (mainline/alistair/riscv-hyp-ext-v0.4.2)
  • add the qemu as a submodule.

About

A sample implementation of a system software for RISC-V (RV64)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published