summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2020-02-20 21:53:13 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-03-18 13:18:32 +0000
commitd6755e2c797c51a1ef2433d0c191f92c6c341773 (patch)
tree72c2ea854d5104c90de2763defc5f3b480c30ee3
parent99c55be1635a8ff30317417093da54fbcd8eb250 (diff)
rpi4-base.inc: KERNEL_DEVICETREE for rpi4 and sota
Use different dtb and dtbo files for Raspberry Pi 4 when agl-sota is enabled. This modification is required for successfully building a kernel because in AGL machine raspberrypi4 is for 64-bit image and in class sota_raspberrypi layer meta-updater the same machine name is targeting 32-bit image. Bug-AGL: SPEC-3130 Change-Id: I5fd4bccfe605fea4e14499183279032a8bf0562e Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
-rw-r--r--meta-agl-bsp/conf/machine/include/rpi4-base.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-agl-bsp/conf/machine/include/rpi4-base.inc b/meta-agl-bsp/conf/machine/include/rpi4-base.inc
index 36a8daf1a..a19d0f882 100644
--- a/meta-agl-bsp/conf/machine/include/rpi4-base.inc
+++ b/meta-agl-bsp/conf/machine/include/rpi4-base.inc
@@ -57,6 +57,10 @@ KERNEL_DEVICETREE ?= " \
${RPI_KERNEL_DEVICETREE_OVERLAYS} \
"
+# Different dtb and dtbo files are needed for Raspberry Pi 4
+# (64-bit) if feature agl-sota is enabled.
+KERNEL_DEVICETREE_raspberrypi4_sota = " broadcom/bcm2711-rpi-4-b.dtb overlays/vc4-fkms-v3d.dtbo overlays/uart0-rpi4.dtbo"
+
# By default:
#
# * When u-boot is disabled use the "Image" format which can be directly loaded