miniRVOS
1.0.0
miniRVOS是一个基于课程《循序渐进,学习开发一个 RISC-V 上的操作系统》实现的一个简易操作系统。
运行环境为Ubuntu 20.04,详细的系统版本信息如下:
$ 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
在Ubuntu 20.04环境下,请首先运行下列代码安装工具链(tool chain):
$ sudo apt update
$ sudo apt install build-essential gcc make perl dkms git gcc-riscv64-unknown-elf gdb-multiarch qemu-system-misc
完成环境搭建后,进入os目录,运行make即可进行构建。下列为构建命令,具体请参考项目中的Makefile文件:
make:编译构建make run:启动 qemu 并运行make debug:启动 GDB 进行调试make code:反汇编查看二进制代码make clean:清理生成的文件https://gitee.com/unicornx/riscv-operating-system-mooc
https://github.com/cccriscv/mini-riscv-os