From ae2e2c58a8f9288f59400fbdfc0c9313ee6e3e61 Mon Sep 17 00:00:00 2001 From: Pavel Zhukov <pavel.zhukov@huawei.com> Date: Thu, 11 Nov 2021 19:39:58 +0100 Subject: [PATCH] oniro-linux.conf: Add rPi4 specific GPU settings Weston failed to start on rPi4 with 7' HDMI display due to lack of dri card. Switching to vc4-kms-v3d driver fixes the problem. GPU mem size is set to be 128 Mb because this configuration has been tested on vending machine blueprint thus copying it here for consistency. Closes: https://booting.oniroproject.org/distro/oniro/-/issues/182 Related: https://github.com/agherzan/meta-raspberrypi/issues/802 Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com> --- meta-oniro-core/conf/distro/oniro-linux.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-oniro-core/conf/distro/oniro-linux.conf b/meta-oniro-core/conf/distro/oniro-linux.conf index df6c5ddb..ef432e0c 100644 --- a/meta-oniro-core/conf/distro/oniro-linux.conf +++ b/meta-oniro-core/conf/distro/oniro-linux.conf @@ -123,4 +123,7 @@ RPI_KERNEL_DEVICETREE_OVERLAYS_append = " \ IMAGE_BOOT_FILES_remove_rpi = "overlay_map.dtb" IMAGE_BOOT_FILES_append_rpi = " overlay_map.dtb;overlays/overlay_map.dtb" +VC4DTBO_raspberrypi4-64 = "vc4-kms-v3d" +GPU_MEM_raspberrypi4-64 = "128" + SPLASH = "psplash-oniro" -- GitLab