summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2019-11-04 23:22:40 +0200
committerLeon Anavi <leon.anavi@konsulko.com>2019-11-06 13:45:24 +0200
commita8f981492da9ee72e8ac53551790da411543d04f (patch)
tree7a2e0aabda3cdea1c87450fdef9bce03e3280717 /meta-agl-bsp
parent0a620f5645d6dfb7485b4b869b96fd1257df9cbf (diff)
agl_raspberrypi3.inc: Switch to firmware KMS
Swith to firmware KMS with appropriate Linux kernel and Mesa version to support both HDMI and the official 7" Raspberry Pi touch screen display on Raspberry Pi 3B/B+ and 4. Device tree changes are not required for firmware KMS. Bug-AGL: SPEC-2465 Change-Id: I5f8f62c0151b7eb79ab1f96419d9c62469a1554e Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Diffstat (limited to 'meta-agl-bsp')
-rw-r--r--meta-agl-bsp/conf/include/agl_raspberrypi3.inc11
1 files changed, 11 insertions, 0 deletions
diff --git a/meta-agl-bsp/conf/include/agl_raspberrypi3.inc b/meta-agl-bsp/conf/include/agl_raspberrypi3.inc
index cc3074858..94dc5acee 100644
--- a/meta-agl-bsp/conf/include/agl_raspberrypi3.inc
+++ b/meta-agl-bsp/conf/include/agl_raspberrypi3.inc
@@ -14,8 +14,19 @@ UBOOT_MACHINE = "rpi_3_32b_config"
KERNEL_IMAGETYPE = "uImage"
+PREFERRED_VERSION_linux-raspberrypi = "4.19%"
+RPI_KERNEL_DEVICETREE_remove_raspberrypi3 = "bcm2708-rpi-0-w.dtb"
+RPI_KERNEL_DEVICETREE_OVERLAYS_remove_raspberrypi3 = "overlays/lirc-rpi.dtbo"
+RPI_KERNEL_DEVICETREE_OVERLAYS_append_raspberrypi3 = " overlays/vc4-fkms-v3d.dtbo"
+
+# Set appropriate version of Mesa for Raspberry Pi 3 and 4
+PREFERRED_VERSION_mesa = "19.1%"
+
MACHINE_FEATURES += "vc4graphics"
+# Switch to firmware KMS to support the official DSI touchscreen display
+VC4DTBO = "vc4-fkms-v3d"
+
# For libomxil
#LICENSE_FLAGS_WHITELIST = "commercial"