agl-sota: Fix UART issues for Raspberry Pi 3
[AGL/meta-agl.git] / 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)}"