diff --git a/recipes-bsp/bootfiles/rpi-config_git.bb b/recipes-bsp/bootfiles/rpi-config_git.bb index b91668f..5a1d061 100644 --- a/recipes-bsp/bootfiles/rpi-config_git.bb +++ b/recipes-bsp/bootfiles/rpi-config_git.bb @@ -202,6 +202,12 @@ do_deploy() { esac fi + if [ "${ENABLE_UART}" = "1" ] && [ "${MACHINE}" = "raspberrypi-cm5-io-board" ]; then + # Enable UART on the 40-pin header of the CM5 IO Board + echo "dtoverlay=uart0" >>$CONFIG + echo "dtparam=uart0_console" >>$CONFIG + fi + # Infrared support if [ "${ENABLE_IR}" = "1" ]; then echo "# Enable infrared" >>$CONFIG