Re: [PATCH 00/18] Add audio support for the MediaTek Genio 350-evk board

Alexandre Mergnat
2024-03-12T08:58:17Z

On 27/02/2024 16:06, Mark Brown wrote:
> On Mon, Feb 26, 2024 at 03:01:38PM +0100, Alexandre Mergnat wrote:
>> This serie aim to add the following audio support for the Genio 350-evk:
>> - Playback
>> - 2ch Headset Jack (Earphone)
>> - 1ch Line-out Jack (Speaker)
>> - 8ch HDMI Tx
>> - Capture
>> - 1ch DMIC (On-board Digital Microphone)
>> - 1ch AMIC (On-board Analogic Microphone)
>> - 1ch Headset Jack (External Analogic Microphone)
>>
>> Of course, HDMI playback need the MT8365 display patches [1] and a DTS
>> change documented in "mediatek,mt8365-mt6357.yaml".
>
> Given the number of custom controls here could you please post the
> output of mixer-test and pcm-test from a system with this driver running
> next time you post, this will help with review since it checks a bunch
> of things around the new controls.

Hi Mark,

I'm a bit lost for mixer-test and pcm-test.
Currently, I cross-compile the alsa lib project to be able to build the
tests and put it on my board.

I can execute it, but I still have 2 issues:

1) I've a lot of missing module in my environment (Encode.so, Encode.pm,
Symbol.pm, IO/Handle.pm, ...). AFAII, I've to cross compile the missing
perl modules and install them in the rootfs

2) I don't know how to configure pcm-test.conf &
Lenovo_ThinkPad_P1_Gen2.conf (or new file to match with my board).

My test cmd:
./run_kselftest.sh -c alsa

I'm wondering if I'm going to the wrong way because I don't find
guide/readme whereas it's not trivial at all.

--
Regards,
Alexandre