From: Leon Anavi Date: Fri, 28 Feb 2020 18:30:26 +0000 (+0200) Subject: agl-sota: Fix UART issues for Raspberry Pi 3 X-Git-Tag: 9.0.1~6 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=95d4c6733d9bea67c6792e2d2f16c4d1b56b1cdd;p=AGL%2Fmeta-agl.git 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 --- 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)}"