diff --git a/meta-oniro-core/conf/distro/oniro-linux.conf b/meta-oniro-core/conf/distro/oniro-linux.conf index dc17c029ee37e66afd478ecdd6962cda402ee72f..fb2b49dbc255956abd4c7296a2407934ebf8b9a2 100644 --- a/meta-oniro-core/conf/distro/oniro-linux.conf +++ b/meta-oniro-core/conf/distro/oniro-linux.conf @@ -120,3 +120,11 @@ PACKAGECONFIG_remove_pn-mosquitto = "dlt" # We use NetworkManager as the default network manager (included in our # reference images). PACKAGECONFIG_remove_pn-systemd = "networkd" + +# The KMS driver for RPI4 requires a different vc4 overlay for Raspberry Pi 4. +# This is done dynamically through overlay_map.dtb. More info: +# https://www.raspberrypi.com/documentation/computers/configuration.html#part2.2.10 +RPI_KERNEL_DEVICETREE_OVERLAYS_append = " \ + overlays/overlay_map.dtb \ + overlays/vc4-kms-v3d-pi4.dtbo \ +"