aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/conf
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-02-26 08:47:55 +0000
commit75fb411c1a71c107d25adc620c79c3ac0bafbbae (patch)
treee04297c3882b933a28f9d9dbbcdba447df44e3d9 /meta-agl-bsp/conf
parentba2ad84525baaa11705fe64a25050ca583a4dbdd (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>
Diffstat (limited to 'meta-agl-bsp/conf')
-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