From scratch, straight on the hardware
The Pi firmware loads the kernel and it talks straight to the hardware: HDMI, memory, four cores, SD card, USB and keyboard. Own kernel, not derived from Linux or BSD, with no U-Boot and no UEFI.
438 µsthe same read loop with cache on; without cache, 183,834 µs
From boot to shell
- Boot and HDMI. The firmware hands over 16 bpp by default; the kernel now asks for the real depth.
- Exceptions, GIC and timer.
- Memory: DTB, frames, MMU and heap. The Pi's 8 GB are read from the device tree.
- Processes: threads, EL0, syscalls and ELF.
- Multicore: all 4 cores via PSCI.
- SD card and FAT32 with long names and lowercase paths.
- USB keyboard: the kernel sets up PCIe and RP1 by itself and speaks xHCI.
- Shell and programs in Rust.
Three boards, one codebase
| Board | Used for |
|---|---|
| Raspberry Pi 500 | The real target |
QEMU raspi4b | Mailbox, SDHCI, spin table |
QEMU virt | PCIe, xHCI, USB keyboard |