2021-11-09 10:32:07 +08:00
2020-11-30 13:36:49 +08:00
2021-06-14 22:37:49 +08:00
2021-06-18 13:00:13 +08:00
2021-08-08 16:24:15 +08:00
2021-09-08 10:40:22 +08:00
2021-11-01 09:45:59 +08:00
2021-09-08 10:31:37 +08:00
2021-06-28 17:47:31 +08:00
2021-06-13 12:38:59 +08:00
2020-11-14 11:31:33 +08:00
2021-08-09 13:49:59 +08:00
2021-09-08 10:31:37 +08:00

中文版說明文件

mini-riscv-os

Build a minimal multi-tasking OS kernel for RISC-V from scratch

Mini-riscv-os was inspired by jserv's mini-arm-os project.

However, ccckmit rewrite the project for RISC-V, and run on Win10 instead of Linux.

Build & Run on Windows 10

After download and extract the FreedomStudio for windows. You have to set the system PATH to the folder of riscv64-unknown-elf-gcc/bin and riscv-qemu/bin. For example, I set PATH to the following folders.

D:\install\FreedomStudio-2020-06-3-win64\SiFive\riscv64-unknown-elf-gcc-8.3.0-2020.04.1\bin

D:\install\FreedomStudio-2020-06-3-win64\SiFive\riscv-qemu-4.2.0-2020.04.0\bin

And you should start your git-bash to build the project. (It works for me in vscode bash terminal)

Steps

Building and Verification

  • Changes the current working directory to the specified one and then
make
make qemu

Licensing

mini-riscv-os is freely redistributable under the two-clause BSD License. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Reference

Description
Build a minimal multi-tasking OS kernel for RISC-V from scratch
Readme BSD-2-Clause 609 KiB
Languages
C 80.7%
Assembly 15.1%
Makefile 4.2%