Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RPI CONFIG: Disable UART explicitly, fixes #567 #568

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/extra-build-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,15 @@ RaspberryPi 0 Wifi or 3 will have to explicitly set in local.conf:

ENABLE_UART = "1"

Users who don't want the serial console support at all should explicitly
disable the UART in local.conf. This permit to use it for something else:

ENABLE_UART = "0"

Ref.:
* <https://github.com/raspberrypi/firmware/issues/553>
* <https://github.com/RPi-Distro/repo/issues/22>
* <https://github.com/agherzan/meta-raspberrypi/issues/567>

## Enable USB Peripheral (Gadget) support

Expand Down
3 changes: 3 additions & 0 deletions recipes-bsp/bootfiles/rpi-config_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,9 @@ do_deploy() {
if [ "${ENABLE_UART}" = "1" ]; then
echo "# Enable UART" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
echo "enable_uart=1" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
elif [ "${ENABLE_UART}" = "0" ]; then
echo "# Disable UART" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
echo "enable_uart=0" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
kraj marked this conversation as resolved.
Show resolved Hide resolved
fi

# VC4 Graphics support
Expand Down