From: Naoto Yamaguchi Date: Sun, 22 Dec 2024 15:35:48 +0000 (+0900) Subject: Workaround for VisionFive2 board to show Qt Homescreen X-Git-Tag: 18.93.0~3 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=89d134985c02e632974fe41b504f73801b38fccc;p=AGL%2Fmeta-agl.git Workaround for VisionFive2 board to show Qt Homescreen Existing VisionFive2 support is broken. AGL compositor can boot, but it show black screen. This pacth add workaround for AGL compositor that is discused at SPEC-5210. Bug-AGL: SPEC-5328 Change-Id: I661468d99cd8f67949e2dc17b9120cd2b9818ec1 Signed-off-by: Naoto Yamaguchi Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/30701 Tested-by: Jan-Simon Moeller Reviewed-by: Jan-Simon Moeller --- diff --git a/meta-agl-bsp/riscv-layer/recipes-graphics/wayland/agl-compositor-init.bbappend b/meta-agl-bsp/riscv-layer/recipes-graphics/wayland/agl-compositor-init.bbappend new file mode 100644 index 000000000..4cdb74a5e --- /dev/null +++ b/meta-agl-bsp/riscv-layer/recipes-graphics/wayland/agl-compositor-init.bbappend @@ -0,0 +1,7 @@ +FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" + +SRC_URI:append:jh7110 = " file://agl-compositor-visionfive2.conf " + +do_install:append:jh7110() { + install -m644 ${WORKDIR}/agl-compositor-visionfive2.conf ${D}/${systemd_system_unitdir}/agl-compositor.service.d/agl-compositor-visionfive2.conf +} diff --git a/meta-agl-bsp/riscv-layer/recipes-graphics/wayland/agl-compositor-init/agl-compositor-visionfive2.conf b/meta-agl-bsp/riscv-layer/recipes-graphics/wayland/agl-compositor-init/agl-compositor-visionfive2.conf new file mode 100644 index 000000000..e62c13a89 --- /dev/null +++ b/meta-agl-bsp/riscv-layer/recipes-graphics/wayland/agl-compositor-init/agl-compositor-visionfive2.conf @@ -0,0 +1,2 @@ +[Service] +Environment=WESTON_FORCE_RENDERER=1