blob: 2bf62ef2b3a1b94a62ab2a88be06988acece3f47 [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
7MACHINE_EXTRA_RRECOMMENDS += "\
8 linux-firmware-rpidistro-bcm43455 \
9 bluez-firmware-rpidistro-bcm4345c0-hcd \
10"
11
12require conf/machine/include/tune-cortexa72.inc
13include conf/machine/include/rpi-base.inc
14
15RPI_KERNEL_DEVICETREE = " \
16 broadcom/bcm2711-rpi-4-b.dtb \
17"
18
19SDIMG_KERNELIMAGE ?= "kernel8.img"
20SERIAL_CONSOLES ?= "115200;ttyS0"
21
22UBOOT_MACHINE = "rpi_4_config"
Brad Bishop26bdd442019-08-16 17:08:17 -040023
24VC4DTBO ?= "vc4-fkms-v3d"
25
26# When u-boot is enabled we need to use the "Image" format and the "booti"
27# command to load the kernel
28KERNEL_IMAGETYPE_UBOOT ?= "Image"
29# "zImage" not supported on arm64 and ".gz" images not supported by bootloader yet
30KERNEL_IMAGETYPE_DIRECT ?= "Image"
31KERNEL_BOOTCMD ?= "booti"
32
33RPI_EXTRA_CONFIG ?= "\n# Force arm in 64bit mode. See: https://github.com/raspberrypi/firmware/issues/1193.\narm_64bit=1"
34
35ARMSTUB ?= "armstub8-gic.bin"