# rust-embedded/rust-raspberrypi-OS-tutorials

:books: Learn to write an embedded OS in Rust :crab:

Repository: https://github.com/rust-embedded/rust-raspberrypi-OS-tutorials
Canonical: https://ross.abutalabs.com/products/rust-raspberrypi-os-tutorials
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: rust, bare-metal, raspberry-pi-3, rpi3, embedded-rust, armv8, aarch64, raspberry, arm64, kernel, operating-system, os, raspberry-pi-4, rpi4, tutorial, raspberry-pi
Last push: 2024-02-10T03:24:45+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3077, "days_push": 935, "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 14727, forks 872 (observed 2026-08-28T04:11:07.560130+00:00)

## What it is
A step-by-step tutorial series teaching hobbyist OS developers how to write a monolithic embedded operating system kernel in Rust for the Raspberry Pi 3 and 4 (ARMv8-A/aarch64). Each lesson builds a bootable kernel binary covering serial console output, virtual memory, and hardware exception handling.

## Use cases
- learn to write an operating system kernel in Rust
- bare-metal programming tutorial for Raspberry Pi
- learn ARMv8-A 64-bit assembly and architecture
- build a hobby OS from scratch
- learn embedded Rust development
- understand virtual memory and exception handling in a kernel
- run a custom kernel on Raspberry Pi 3 or 4

## When to choose
- you want a guided, hands-on path to OS development in Rust
- you target Raspberry Pi 3/4 or want a portable base for other ARM boards
- you are new to ARM 64-bit architecture and bare-metal programming

## When to avoid
- you need a production-ready OS or kernel
- you want tutorials for x86 or RISC-V (not the main target)
- you prefer a fully written textbook over tl;dr sections and code diffs

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: embedded, programming-language, developer-tools
- domain: operating-systems, embedded-systems, tutorials, programming-languages
- platform: rust, windows
- tags: operating-system, kernel, raspberry-pi, armv8, aarch64, bare-metal, tutorial-series, embedded-os, linux, macos

## Member repositories
- rust-embedded/rust-raspberrypi-OS-tutorials (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:07.560130+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-29T17:07:14.056157+00:00, confidence not recorded.
  - readme: https://github.com/rust-embedded/rust-raspberrypi-OS-tutorials (fetched 2026-08-28T04:11:07.560130+00:00, sha 39b5096b07e8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
