How to Enable and Troubleshoot Audio Functionality on STM32MP175F Using Buildroot?

I am building an OS for my STM32MP175F dk2 board using Buildroot. The audio sound card is recognized in U-Boot boot messages and alsamixer, but /proc/asound/cards does not list the sound card, and I cannot play or record audio. I intend to use headphones as both input (microphone) and output (speaker) for voice calls between boards. What configurations and packages should I enable in Buildroot to ensure audio functionality? How can I verify and troubleshoot the audio setup to ensure proper operation during voice calls?
13 Replies
melta101
melta1014w ago
havnt played with alsa directly much, mostly worked with on top of pulseaudio
R1Tap
R1Tap4w ago
The issue is with dts file system, i need to update dts file system. I have all the drivers and also the correct audiocodec driver i got pulseaudio
melta101
melta1014w ago
i suppose you have fixed it?
R1Tap
R1Tap4w ago
It says I don't have soundcard also when I proc/snd Also alsamixer will show the sound card And even the uboot boot messages will show the sound card And I can't see it anywhere
melta101
melta1014w ago
if also is showing, i dont see a problem, what are you trying to acheive?
R1Tap
R1Tap4w ago
It says no sound card everywhere
R1Tap
R1Tap4w ago
i want headphone access with the board
R1Tap
R1Tap4w ago
my project is to make a call between two boards
melta101
melta1014w ago
how about using USB for audio?
melta101
melta1014w ago
ik it's not the way you want, just asking in case
R1Tap
R1Tap4w ago
I dont have headphones with USB connector
R1Tap
R1Tap4w ago
if its there a way then it should work with aux cable also
melta101
melta1014w ago
the methods are different, USB has a class UAC2 which helps in decoding/xfer of audio to/from USB host but AUX comes from snd part-> cant say much as i havnt work on aux and embedded linux

Did you find this page helpful?