agl-sota: Fix UART issues for Raspberry Pi 3 41/24141/3
authorLeon Anavi <leon.anavi@konsulko.com>
Fri, 28 Feb 2020 18:30:26 +0000 (20:30 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Wed, 18 Mar 2020 13:18:38 +0000 (13:18 +0000)
rpi4 and recent rpi3 firmwares need dtb in /boot partition
so that they can be read by the firmware. This fixes UART
issues for Raspberry Pi 3. For branches based on release
Thud this fix is not present in meta-updater.

Bug-AGL: SPEC-3130

Change-Id: I082cae9b8fcbb2d8d87173e9f402d77424c13a02
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
templates/feature/agl-sota/50_local.conf.inc

index 477694a..35ab3f9 100644 (file)
@@ -3,3 +3,8 @@ INHERIT += "sota"
 DISTRO_FEATURES_append = " sota usrmerge"
 DISTRO_FEATURES_NATIVE_append = " sota"
 AGL_DEFAULT_INITRAMFS_FSTYPES = "cpio.gz"
+# rpi4 and recent rpi3 firmwares need dtb in /boot partition
+# so that they can be read by the firmware. This fixes UART
+# issues for Raspberry Pi 3. For branches based on release
+# Thud this fix is not present in meta-updater.
+IMAGE_BOOT_FILES_append_rpi = "${@make_dtb_boot_files(d)}"