# sypstraw/rpi4-osdev

Tutorial: Writing a "bare metal" operating system for Raspberry Pi 4

Repository: https://github.com/sypstraw/rpi4-osdev
Canonical: https://ross.abutalabs.com/products/rpi4-osdev
Homepage: https://www.rpi4os.com
Language: C
License: CC0-1.0
License Family: permissive
Last push: 2026-08-04T18:13:23+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 96, release rhythm 35, longevity 100
- inputs: {"age_days": 2243, "days_push": 29, "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 3768, forks 280 (observed 2026-08-28T04:08:18.111961+00:00)

## What it is
A multi-part tutorial teaching how to write a bare metal operating system for the Raspberry Pi 4 in C. It covers booting, hardware interaction, and OS fundamentals on real commercial Arm hardware.

## Use cases
- learn bare metal os development
- write an operating system for raspberry pi 4
- osdev tutorial for arm
- learn low-level c programming on hardware
- understand how operating systems boot
- build a hobby os from scratch

## When to choose
- you want a hands-on, step-by-step guide to OS development on real hardware
- you own a Raspberry Pi 4 and want to program it without an existing OS
- you are learning Arm64 assembly and C at the hardware level

## When to avoid
- you need a production-ready operating system or kernel
- you want OS development for x86 PCs or virtual machines only
- you are a complete beginner to C programming

## Facets
- artifact type: learning-resource
- maturity: active
- function: embedded, programming-language, developer-tools
- domain: operating-systems, embedded-systems, tutorials, hardware
- platform: embedded, cross-platform
- tags: bare-metal, raspberry-pi, operating-system-tutorial, arm64, osdev, c, macos, linux

## Member repositories
- sypstraw/rpi4-osdev (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:18.111961+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-29T18:27:54.435056+00:00, confidence not recorded.
  - readme: https://github.com/sypstraw/rpi4-osdev (fetched 2026-08-28T04:08:18.111961+00:00, sha 8d84e12d434a)
  - homepage: https://www.rpi4os.com (fetched 2026-08-29T09:22:38.278573+00:00, sha e8212a49ee0f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
