Browse Source

[raspberrypi_config] MEN-4567: Enable UART in U-Boot config.txt

This is required for U-Boot to operate correctly, see
https://source.denx.de/u-boot/u-boot/-/blob/master/arch/arm/mach-bcm283x/Kconfig

Changelog: Title

Signed-off-by: Lluis Campos <lluis.campos@northern.tech>
(cherry picked from commit 860ac136e8)
2.3.x
Lluis Campos 4 years ago
committed by Ole Petter
parent
commit
1f6445feba
No known key found for this signature in database GPG Key ID: 399DBE0F4D4B02EB
  1. 9
      configs/raspberrypi_config

9
configs/raspberrypi_config

@ -99,4 +99,13 @@ function platform_modify() {
run_and_log_cmd "sudo unlink work/rootfs/etc/rc3.d/S01resize2fs_once" run_and_log_cmd "sudo unlink work/rootfs/etc/rc3.d/S01resize2fs_once"
fi fi
run_and_log_cmd "sudo rm -f work/rootfs/etc/init.d/resize2fs_once" run_and_log_cmd "sudo rm -f work/rootfs/etc/init.d/resize2fs_once"
# Enable UART. This is required for U-Boot to operate correctly, see
# https://source.denx.de/u-boot/u-boot/-/blob/master/arch/arm/mach-bcm283x/Kconfig
log_info "Enabling UART in U-Boot configuration"
cat <<- EOF >> work/boot/config.txt
# Enable UART
enable_uart=1
EOF
} }

Loading…
Cancel
Save