Rafael Echevarría

← Projects

Bare-metal OS for Raspberry Pi 3

2026

C · ARMv8-A · Linker script · QEMU

The goal

Write an operating system for the Raspberry Pi 3’s ARM Cortex-A53 and learn how booting works.

Current status

The boot code identifies the core, parks the three secondary ones with wfe, sets up the stack, clears .bss and jumps into C. From C it writes straight to the UART register, tested in QEMU.

>>> INICIANDO SISTEMA OPERATIVO GRAFICO <<<
>>> NUCLEO 0 ACTIVO Y LISTO <<<
Message the kernel writes to the UART at boot.