Skip to content

rpi-config: enable RPi 3 x64 audio support only with 'ENABLE_AUDIO_BCM2835' - #1611

Open
AdrianDC wants to merge 2 commits into
agherzan:masterfrom
AdrianDC:rpi3-x64-audio
Open

AdrianDC wants to merge 2 commits into
agherzan:masterfrom
AdrianDC:rpi3-x64-audio

Conversation

@AdrianDC

Copy link
Copy Markdown

By enabling the audio module automatically only on RPi 3 x64 machines, the PWM* lines may get reused for audio purposes unwillingly, introducing a disparity with other RPi boards using the same sources

Create 'ENABLE_AUDIO' build constant to enable the audio support

Comment thread docs/extra-build-config.md Outdated
Audio driver for BCM2835 depends on the 'snd_bcm2835' module.
To enable the audio support explicitly set it in `local.conf`

ENABLE_AUDIO = "1"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this specific to rpi3? if so perhaps the option should be tailored to just rpi3

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello Khem !

Actually you introduced these changes in 2017 for the RPi 3 x64 and it stayed limited to it (bb51049),
I initially wanted to keep the new variable name generic like the others for future use on other audio parts.

Renamed it to ENABLE_AUDIO_BCM2835, let me know if you have other suggestions 👍.

Comment thread recipes-bsp/bootfiles/rpi-config_git.bb
@AdrianDC AdrianDC changed the title bootfiles: enable RPi 3 x64 audio support only with 'ENABLE_AUDIO' rpi-config: enable RPi 3 x64 audio support only with 'ENABLE_AUDIO_BCM2835' Jul 18, 2026
AdrianDC added 2 commits July 25, 2026 20:23
Signed-off-by: Adrian DC <radian.dc@gmail.com>
…M2835'

By enabling the audio module automatically only on RPi 3 x64 machines,
the PWM* lines may get reused for audio purposes unwillingly,
introducing a disparity with other RPi boards using the same sources

Create 'ENABLE_AUDIO_BCM2835' build constant to enable the audio support
---

Signed-off-by: Adrian DC <radian.dc@gmail.com>
@kraj
kraj force-pushed the rpi3-x64-audio branch from 5f5ecb9 to 743ad24 Compare July 26, 2026 03:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants