# boards/raspi/board.mk -- Raspberry Pi 5 (BCM2712, Cortex-A76, aarch64). # # Native firmware boot, no UEFI (FABRIC-3.md §IV): the Pi 5 bootloader # lives in EEPROM and reads config.txt, kernel_2712.img and the board DTB # from the first FAT partition of the SD card. kernel_2712.img is the # aarch64 kernel relinked at 0x80000 (kernel/linker/starkernel-native-rpi5.ld) # and flattened to a raw binary. # # The DTB is the Raspberry Pi firmware's own stock file, not built here. It # is fetched once from the pinned firmware release below into build/cache/ # unless RPI5_DTB points at a local copy. BOARD_DESC := Raspberry Pi 5 (BCM2712, Cortex-A76, native firmware boot) BOARD_ARCH := aarch64 BOARD_BOOT := rpi-native BOARD_IMAGE := lithos-raspi.img RPI_FIRMWARE_TAG ?= 1.20260915 RPI5_DTB_URL ?= https://raw.githubusercontent.com/raspberrypi/firmware/$(RPI_FIRMWARE_TAG)/boot/bcm2712-rpi-5-b.dtb RPI5_DTB ?= build/cache/raspi-$(RPI_FIRMWARE_TAG)/bcm2712-rpi-5-b.dtb