Add template for pi5 to Quirky Quillback 89/29989/3
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Thu, 13 Jun 2024 14:28:20 +0000 (16:28 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tue, 18 Jun 2024 14:56:08 +0000 (14:56 +0000)
This adds the template for pi5 as community board.

Bug-AGL: SPEC-5094

Change-Id: I9cee6f37a1061f9010aacc390d822873b525cb27
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29989
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Tested-by: Jenkins Job builder account
meta-agl-bsp/conf/include/agl_raspberrypi5.inc [new file with mode: 0644]
templates/machine/raspberrypi5/50_bblayers.conf.inc [new file with mode: 0644]
templates/machine/raspberrypi5/50_local.conf.inc [new file with mode: 0644]

diff --git a/meta-agl-bsp/conf/include/agl_raspberrypi5.inc b/meta-agl-bsp/conf/include/agl_raspberrypi5.inc
new file mode 100644 (file)
index 0000000..281e3df
--- /dev/null
@@ -0,0 +1,22 @@
+# Maximum memory allowed to be assigned
+GPU_MEM = "256"
+
+# use u-boot always
+RPI_USE_U_BOOT = "0"
+
+# Use UART for serial console
+ENABLE_UART ?= "1"
+
+# For libomxil
+#LICENSE_FLAGS_ACCEPTED = "commercial"
+
+# For linux-firmware-rpidistro
+LICENSE_FLAGS_ACCEPTED += "synaptics-killswitch"
+
+IMAGE_INSTALL:append = " kernel-modules create-combined-dtb "
+
+# Psplash causes crash on first boot on RPi
+IMAGE_FEATURES:remove = "splash"
+
+#DISPLAY CONFIGURATION
+WESTON_DISPLAYS:raspberrypi5 = " hdmi-a-1-90 hdmi-a-2-90"
diff --git a/templates/machine/raspberrypi5/50_bblayers.conf.inc b/templates/machine/raspberrypi5/50_bblayers.conf.inc
new file mode 100644 (file)
index 0000000..3280ad0
--- /dev/null
@@ -0,0 +1,3 @@
+BBLAYERS =+ " \
+    ${METADIR}/bsp/meta-raspberrypi \
+"
diff --git a/templates/machine/raspberrypi5/50_local.conf.inc b/templates/machine/raspberrypi5/50_local.conf.inc
new file mode 100644 (file)
index 0000000..9ee2644
--- /dev/null
@@ -0,0 +1,4 @@
+MACHINE = "raspberrypi5"
+
+#see meta-agl/meta-agl-bsp/conf/include/agl_raspberrypi5.inc
+require conf/include/agl_raspberrypi5.inc