Files
2026-07-06 21:33:19 -07:00

30 lines
951 B
Plaintext

#@TYPE: Machine
#@NAME: RaspberryPi 4 Development Board (32bit)
#@DESCRIPTION: Machine configuration for the RaspberryPi 4 in 32 bit mode
DEFAULTTUNE ?= "cortexa7thf-neon-vfpv4"
require conf/machine/include/arm/armv7a/tune-cortexa7.inc
include conf/machine/include/rpi-base.inc
# 6.18 has removed 32bit config for rpi4 and expects it
# to always use 64bit kernel even if rootfs is needed to be
# 32bit. So we need multiconfig builds, and technically, 32bit
# option for rpi4 should be gone
PREFERRED_VERSION_linux-raspberrypi ?= "6.12.%"
MACHINE_FEATURES += "pci"
MACHINE_EXTRA_RRECOMMENDS += "\
linux-firmware-rpidistro-bcm43455 \
bluez-firmware-rpidistro-bcm4345c0-hcd \
linux-firmware-rpidistro-bcm43456 \
bluez-firmware-rpidistro-bcm4345c5-hcd \
"
# 'l' stands for LPAE
SDIMG_KERNELIMAGE ?= "kernel7l.img"
UBOOT_MACHINE = "rpi_4_32b_config"
SERIAL_CONSOLES ?= "115200;ttyS0"
VC4DTBO ?= "vc4-kms-v3d"
ARMSTUB ?= "armstub7.bin"