summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2024-06-13 16:28:20 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2024-06-18 14:56:08 +0000
commit6ddde8462508f44c4857e27bb43b6ee1fd3e51ff (patch)
tree8a23897734ac5b0856202e12792be44a7ffbdee9
parent12d80fd8cd73f5b67c20383a26f62c29debce052 (diff)
Add template for pi5 to Quirky Quillback
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
-rw-r--r--meta-agl-bsp/conf/include/agl_raspberrypi5.inc22
-rw-r--r--templates/machine/raspberrypi5/50_bblayers.conf.inc3
-rw-r--r--templates/machine/raspberrypi5/50_local.conf.inc4
3 files changed, 29 insertions, 0 deletions
diff --git a/meta-agl-bsp/conf/include/agl_raspberrypi5.inc b/meta-agl-bsp/conf/include/agl_raspberrypi5.inc
new file mode 100644
index 000000000..281e3df0b
--- /dev/null
+++ b/meta-agl-bsp/conf/include/agl_raspberrypi5.inc
@@ -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
index 000000000..3280ad059
--- /dev/null
+++ b/templates/machine/raspberrypi5/50_bblayers.conf.inc
@@ -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
index 000000000..9ee2644ab
--- /dev/null
+++ b/templates/machine/raspberrypi5/50_local.conf.inc
@@ -0,0 +1,4 @@
+MACHINE = "raspberrypi5"
+
+#see meta-agl/meta-agl-bsp/conf/include/agl_raspberrypi5.inc
+require conf/include/agl_raspberrypi5.inc