rpi4-osdev is a tutorial for writing a bare metal operating system for Raspberry Pi 4.
The project teaches how to build an operating system from scratch that runs directly on hardware without relying on pre-installed software. Rather than developing applications that run atop existing operating systems, this tutorial guides developers through creating the foundational software layer itself. The approach uses the Raspberry Pi 4's ARM Cortex-A72 processor as the target hardware, providing a concrete platform for learning how to interact directly with a CPU and its peripherals without abstraction layers.
This tutorial suits developers with curiosity about how operating systems work at a fundamental level and those interested in embedded systems programming. It is particularly valuable for anyone wanting to understand the relationship between hardware and software, or for those seeking hands-on experience with bare metal ARM development. The project is not a framework or library to integrate into other work, but rather an educational resource with working code examples that can be built and run on actual Raspberry Pi 4 hardware.
The project maintains active alignment with current toolchains and firmware, with all parts confirmed working against recent versions of compilers and build tools. Development activity shows responsiveness to changes in the underlying platform, with updates made to reflect firmware changes in the Raspberry Pi 4 ecosystem. The tutorial content remains current and tested against modern development environments across different operating systems.