From 6ddde8462508f44c4857e27bb43b6ee1fd3e51ff Mon Sep 17 00:00:00 2001 From: Jan-Simon Moeller Date: Thu, 13 Jun 2024 16:28:20 +0200 Subject: 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 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 | 22 ++++++++++++++++++++++ .../machine/raspberrypi5/50_bblayers.conf.inc | 3 +++ templates/machine/raspberrypi5/50_local.conf.inc | 4 ++++ 3 files changed, 29 insertions(+) create mode 100644 meta-agl-bsp/conf/include/agl_raspberrypi5.inc create mode 100644 templates/machine/raspberrypi5/50_bblayers.conf.inc create mode 100644 templates/machine/raspberrypi5/50_local.conf.inc 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 -- cgit 1.2.3-korg