miniRVOS
1.0.0
miniRVOS is a simple operating system implemented based on the course "Learn to Develop an Operating System on RISC-V".
The running environment is Ubuntu 20.04 , and the detailed system version information is as follows:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.4 LTS
Release: 20.04
Codename: focal
$ uname -r
5.10.16.3-microsoft-standard-WSL2
In Ubuntu 20.04 environment, please first run the following code to install the toolchain:
$ sudo apt update
$ sudo apt install build-essential gcc make perl dkms git gcc-riscv64-unknown-elf gdb-multiarch qemu-system-misc
After completing the environment construction, enter the os directory and run make to build. The following are the build commands. For details, please refer to the Makefile file in the project:
make : compile and buildmake run : start qemu and runmake debug : Start GDB for debuggingmake code : disassemble to view binary codemake clean : Clean the generated files https://gitee.com/unicornx/riscv-operating-system-mooc
https://github.com/cccriscv/mini-riscv-os