Skip to content
Open
Show file tree
Hide file tree
Changes from all 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
7 changes: 7 additions & 0 deletions docs/extra-build-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,13 @@ discovered via all 1-Wire busses check the interface with this command

`ls /sys/bus/w1/devices/`

## Enable audio BCM2835 sound support

Audio driver for BCM2835 depends on the 'snd_bcm2835' module.
To enable the audio support explicitly set it in `local.conf`

ENABLE_AUDIO_BCM2835 = "1"

## Manual additions to config.txt

The `RPI_EXTRA_CONFIG` variable can be used to manually add additional lines to
Expand Down
9 changes: 6 additions & 3 deletions recipes-bsp/bootfiles/rpi-config_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ do_deploy() {
esac
fi

if [ "${ENABLE_UART}" = "1" ] && [ "${MACHINE}" = "raspberrypi-cm5-io-board" ]; then
if [ "${ENABLE_UART}" = "1" ] && [ "${MACHINE}" = "raspberrypi-cm5-io-board" ]; then
Comment thread
AdrianDC marked this conversation as resolved.
# Enable UART on the 40-pin header of the CM5 IO Board
echo "dtoverlay=uart0" >>$CONFIG
echo "dtparam=uart0_console" >>$CONFIG
Expand Down Expand Up @@ -339,8 +339,11 @@ do_deploy:append:raspberrypi3-64() {
echo "# have a properly sized image" >> $CONFIG
echo "disable_overscan=1" >> $CONFIG

echo "# Enable audio (loads snd_bcm2835)" >> $CONFIG
echo "dtparam=audio=on" >> $CONFIG
# Audio support
if [ "${ENABLE_AUDIO_BCM2835}" = "1" ]; then
echo "# Enable audio (loads snd_bcm2835)" >> $CONFIG
echo "dtparam=audio=on" >> $CONFIG
fi
}

do_deploy:append() {
Expand Down
Loading