diff options
author | Leon Anavi <leon.anavi@konsulko.com> | 2019-07-23 18:57:26 +0300 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2019-07-24 18:42:24 +0000 |
commit | 3788fbf7da96fac2ccf787576409315965fd4c36 (patch) | |
tree | 17293353febb66f7315f7e20fdeae803f9b0396f /meta-agl-bsp/conf | |
parent | 90863de4872b603654f8de0241932ef8b6fa4d51 (diff) |
raspberrypi4.conf: Add machine definition
Add a new machine definition for Raspberry Pi 4 because it is
not present in branch thud of meta-raspberrypi. This machine
definition is taken from the master branch of the upstream of
Yocto/OE layer meta-raspberrypi.
Bug-AGL: SPEC-2656
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Change-Id: I368f6c7107ca023da66ce60d2006984f8939cf00
Diffstat (limited to 'meta-agl-bsp/conf')
-rw-r--r-- | meta-agl-bsp/conf/machine/raspberrypi4.conf | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta-agl-bsp/conf/machine/raspberrypi4.conf b/meta-agl-bsp/conf/machine/raspberrypi4.conf new file mode 100644 index 000000000..3454f7878 --- /dev/null +++ b/meta-agl-bsp/conf/machine/raspberrypi4.conf @@ -0,0 +1,25 @@ +#@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/tune-cortexa7.inc +include conf/machine/include/rpi-base.inc + +MACHINE_EXTRA_RRECOMMENDS += "\ + linux-firmware-rpidistro-bcm43455 \ + bluez-firmware-rpidistro-bcm4345c0-hcd \ +" + +# 'l' stands for LPAE +SDIMG_KERNELIMAGE ?= "kernel7l.img" +UBOOT_MACHINE = "rpi_4_32b_config" +SERIAL_CONSOLES ?= "115200;ttyS0" + +MACHINE_FEATURES_append = " vc4graphics" +VC4DTBO ?= "vc4-fkms-v3d" + +RPI_KERNEL_DEVICETREE_OVERLAYS_remove_raspberrypi4 = "overlays/lirc-rpi.dtbo" +RPI_KERNEL_DEVICETREE_OVERLAYS_append_raspberrypi4 = " overlays/mcp2515-can0.dtbo overlays/vc4-fkms-v3d.dtbo" +RPI_KERNEL_DEVICETREE_remove_raspberrypi4 = "bcm2708-rpi-0-w.dtb" +RPI_KERNEL_DEVICETREE_append_raspberrypi4 = " bcm2708-rpi-zero-w.dtb bcm2711-rpi-4-b.dtb" |