Workaround for VisionFive2 board to show Qt Homescreen 01/30701/9
authorNaoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Sun, 22 Dec 2024 15:35:48 +0000 (00:35 +0900)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Fri, 10 Jan 2025 10:55:29 +0000 (10:55 +0000)
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 <naoto.yamaguchi@aisin.co.jp>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/30701
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
meta-agl-bsp/riscv-layer/recipes-graphics/wayland/agl-compositor-init.bbappend [new file with mode: 0644]
meta-agl-bsp/riscv-layer/recipes-graphics/wayland/agl-compositor-init/agl-compositor-visionfive2.conf [new file with mode: 0644]

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 (file)
index 0000000..4cdb74a
--- /dev/null
@@ -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 (file)
index 0000000..e62c13a
--- /dev/null
@@ -0,0 +1,2 @@
+[Service]
+Environment=WESTON_FORCE_RENDERER=1