rpi4-base.inc: KERNEL_DEVICETREE for rpi4 and sota 40/24140/2
authorLeon Anavi <leon.anavi@konsulko.com>
Thu, 20 Feb 2020 19:53:13 +0000 (21:53 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Wed, 18 Mar 2020 13:18:32 +0000 (13:18 +0000)
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>
meta-agl-bsp/conf/machine/include/rpi4-base.inc

index 36a8daf..a19d0f8 100644 (file)
@@ -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