diff --git a/recipes-bsp/bootfiles/rpi-config_git.bb b/recipes-bsp/bootfiles/rpi-config_git.bb index 44db0fa..2c21536 100644 --- a/recipes-bsp/bootfiles/rpi-config_git.bb +++ b/recipes-bsp/bootfiles/rpi-config_git.bb @@ -200,6 +200,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