summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2020-02-28 20:30:26 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-03-18 13:18:38 +0000
commit95d4c6733d9bea67c6792e2d2f16c4d1b56b1cdd (patch)
treef0e20bcdb46efc848b9828e57503582554a9cdd9 /templates
parentd6755e2c797c51a1ef2433d0c191f92c6c341773 (diff)
agl-sota: Fix UART issues for Raspberry Pi 3
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>
Diffstat (limited to 'templates')
-rw-r--r--templates/feature/agl-sota/50_local.conf.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/feature/agl-sota/50_local.conf.inc b/templates/feature/agl-sota/50_local.conf.inc
index 477694aed..35ab3f9a8 100644
--- a/templates/feature/agl-sota/50_local.conf.inc
+++ b/templates/feature/agl-sota/50_local.conf.inc
@@ -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)}"