# plctlab/riscv-operating-system-mooc

《从头写一个RISC-V OS》课程配套的资源

Repository: https://github.com/plctlab/riscv-operating-system-mooc
Canonical: https://ross.abutalabs.com/products/riscv-operating-system-mooc
Language: C
License: BSD-2-Clause
License Family: permissive
Last push: 2026-05-10T07:40:21+00:00

## Health v2 (maintenance only)
Score: 69/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 81, release rhythm 35, longevity 100
- inputs: {"age_days": 1990, "days_push": 115, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1130, forks 271 (observed 2026-08-28T04:03:42.392004+00:00)

## What it is
Companion resources for a course teaching how to write a simple RISC-V operating system kernel from scratch in C. Includes demo code, Makefiles for building, running, and debugging under QEMU, and setup instructions for the RISC-V GNU toolchain.

## Use cases
- learn to write an operating system kernel for RISC-V
- follow a step-by-step OS development course
- build and run a toy RISC-V kernel in QEMU
- study OS boot and kernel basics with hands-on code
- set up a RISC-V cross-compilation and debugging environment

## When to choose
- you want a guided, hands-on introduction to OS kernel development on RISC-V
- you prefer course-style materials with runnable demo code
- you want a lightweight alternative to xv6 for learning

## When to avoid
- you need a production-ready operating system
- you want an OS for architectures other than RISC-V
- you need comprehensive OS features like full memory management or drivers

## Facets
- artifact type: learning-resource
- maturity: active
- function: developer-tools, embedded
- domain: operating-systems, education, tutorials, embedded-systems
- platform: -
- tags: risc-v, operating-system, course-materials, qemu, teaching, kernel-development, linux

## Member repositories
- plctlab/riscv-operating-system-mooc (main) score 69

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:42.392004+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:38:16.355952+00:00, confidence not recorded.
  - readme: https://github.com/plctlab/riscv-operating-system-mooc (fetched 2026-08-28T04:03:42.392004+00:00, sha 628aadfd2e5a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
