Hi Federico,

On 5/23/24 5:03 PM, Federico via lists.yoctoproject.org wrote:
You don't often get email from farias=automac....@lists.yoctoproject.org. Learn why 
this is important<https://aka.ms/LearnAboutSenderIdentification>
   Hello, I'm new to the Yocto and Raspberry community, so let me know if I'm 
doing something wrong please.
I am trying to compile with Yocto Kirkstone (also tried newer branches), for a 
Raspberry Pi CM4 (emmc) + Official IO Board. I chose the Raspberrypi4 machine 
config, is this the correct one for the CM4 32bits?

I just build the core-image-base with the alsa package. I enabled in local.conf 
dtparam=audio=on and also dtoverlay=audremap to route the audio to pins 12 and 
13 (pwm).
This works fine with the official raspberry distro (only Bullseye onwards) but 
it doesn't work here. With the aplay -L command only the HDMI audio appears, 
not the headphones.

The SO image works fine, it boots and outputs audio via HDMI.
I also tried enabling pwm audio with other commands in local.conf like:
audio_pwm_mode2
dtoverlay=audremap, pins_12_13
dtoverlay=pwm1
and the same above with pins 40 & 41


I assume when you say local.conf you mean the one in the build directory? build/conf/local.conf? If so, this is used by BitBake and interpreted as BitBake code, so this is just creating a new variable called dtoverlay and setting it to pwm1. If something makes use of that variable... who knows! So, this isn't the place to put this code.

I think, what you want is what's described here: https://meta-raspberrypi.readthedocs.io/en/latest/extra-build-config.html#manual-additions-to-config-txt

Cheers,
Quentin
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#63187): https://lists.yoctoproject.org/g/yocto/message/63187
Mute This Topic: https://lists.yoctoproject.org/mt/106264000/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to