blob: 12c8954d946ae15572a0af5f9a288065d7989420 [file] [log] [blame]
Brad Bishop26bdd442019-08-16 17:08:17 -04001#@TYPE: Machine
2#@NAME: RaspberryPi 4 Development Board (64bit)
3#@DESCRIPTION: Machine configuration for the RaspberryPi 4 in 64 bits mode
4
5MACHINEOVERRIDES = "raspberrypi4:${MACHINE}"
6
Brad Bishop1b9ee292020-01-16 09:06:00 -05007MACHINE_FEATURES += "pci"
Brad Bishop26bdd442019-08-16 17:08:17 -04008MACHINE_EXTRA_RRECOMMENDS += "\
9 linux-firmware-rpidistro-bcm43455 \
10 bluez-firmware-rpidistro-bcm4345c0-hcd \
11"
12
13require conf/machine/include/tune-cortexa72.inc
14include conf/machine/include/rpi-base.inc
15
16RPI_KERNEL_DEVICETREE = " \
17 broadcom/bcm2711-rpi-4-b.dtb \
Andrew Geissler11105212021-02-12 15:30:38 -060018 broadcom/bcm2711-rpi-400.dtb \
19 broadcom/bcm2711-rpi-cm4.dtb \
Brad Bishop26bdd442019-08-16 17:08:17 -040020"
21
22SDIMG_KERNELIMAGE ?= "kernel8.img"
23SERIAL_CONSOLES ?= "115200;ttyS0"
24
Andrew Geissler11105212021-02-12 15:30:38 -060025UBOOT_MACHINE = "rpi_arm64_config"
Brad Bishop26bdd442019-08-16 17:08:17 -040026
27VC4DTBO ?= "vc4-fkms-v3d"
28
29# When u-boot is enabled we need to use the "Image" format and the "booti"
30# command to load the kernel
31KERNEL_IMAGETYPE_UBOOT ?= "Image"
32# "zImage" not supported on arm64 and ".gz" images not supported by bootloader yet
33KERNEL_IMAGETYPE_DIRECT ?= "Image"
34KERNEL_BOOTCMD ?= "booti"
35
Brad Bishop26bdd442019-08-16 17:08:17 -040036ARMSTUB ?= "armstub8-gic.bin"