mirror of
git://git.yoctoproject.org/meta-raspberrypi
synced 2025-12-31 13:38:06 +00:00
rpi-config: ENABLE_UART for CM5 IO Board
The Raspberry Pi Compute Module 5 IO Board does not include a dedicated UART debug connector like the Raspberry Pi 5. Although the CM5 itself has reserved space for a JST connector, it is not populated. To enable UART on the 40-pin header of the CM 5 IO Board we need to add dtoverlay=uart0 and dtparam=uart0_console to config.txt. This work was sponsored by GOVCERT.LU. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
This commit is contained in:
parent
4ea079d0d7
commit
1a95484948
@ -200,6 +200,12 @@ do_deploy() {
|
|||||||
esac
|
esac
|
||||||
fi
|
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
|
# Infrared support
|
||||||
if [ "${ENABLE_IR}" = "1" ]; then
|
if [ "${ENABLE_IR}" = "1" ]; then
|
||||||
echo "# Enable infrared" >>$CONFIG
|
echo "# Enable infrared" >>$CONFIG
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user