You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to set it up on the evb with mt7621 som.
My basic setup is:
OpenWRT 23.05.2 (kernel 5.17.137)
Target System :: MediaTek Ralink MIPS
Subtarget :: MT7621 based boards
Target Profile :: HiLink HLK-7621A evaluation board
Using WM8960 Aduio module from WaveShare connected to the MT7621 as follows:
On the left : WM8960, On the right : MT7621
I2C_SDA <----> (97) I2C SDA
I2C SCL <---> (96) I2C SCLK
I2S CLK <---> (9) CTS3_N
I2S LRCLK <---> (12) TXD3
I2S DAC <---> (16) RTS3N
I2S ADC <---> (13) RXD3
Not sure if the connections are ok... I've got a preconfigured HW...
The issues:
Simply cloning the repo to the package/kernel doesn't make the sound module visible under kernel_modules -> sound support
I had to cut out those two lines from the Makefile
+(TARGET_ramips_mt7621||TARGET_ramips_mt76x8):kmod-i2c-mt7628
+!(TARGET_ramips_mt7621||TARGET_ramips_mt76x8):kmod-i2c-ralink \
Modified the dts file as in example:
&i2c {
status = "okay";
I'm trying to set it up on the evb with mt7621 som.
My basic setup is:
OpenWRT 23.05.2 (kernel 5.17.137)
Target System :: MediaTek Ralink MIPS
Subtarget :: MT7621 based boards
Target Profile :: HiLink HLK-7621A evaluation board
Using WM8960 Aduio module from WaveShare connected to the MT7621 as follows:
On the left : WM8960, On the right : MT7621
I2C_SDA <----> (97) I2C SDA
I2C SCL <---> (96) I2C SCLK
I2S CLK <---> (9) CTS3_N
I2S LRCLK <---> (12) TXD3
I2S DAC <---> (16) RTS3N
I2S ADC <---> (13) RXD3
Not sure if the connections are ok... I've got a preconfigured HW...
The issues:
I had to cut out those two lines from the Makefile
+(TARGET_ramips_mt7621||TARGET_ramips_mt76x8):kmod-i2c-mt7628
+!(TARGET_ramips_mt7621||TARGET_ramips_mt76x8):kmod-i2c-ralink \
Modified the dts file as in example:
&i2c {
status = "okay";
};
&i2s {
status = "okay";
};
/ {
sound {
compatible = "mediatek,mt762x-wm8960-machine";
mediatek,platform = <&i2s>;
mediatek,audio-codec = <&codec>;
audio-routing =
"Headphone", "HP_L",
"Headphone", "HP_R",
"Speaker", "SPK_LN",
"Speaker", "SPK_LP",
"Speaker", "SPK_RN",
"Speaker", "SPK_RP",
"Microphone", "MICB",
"LINPUT1", "Microphone",
"LINPUT2", "Line In",
"RINPUT2", "Line In";
};
};
I also enabled the WM8960 codec and Alsa support through kernel_menuconfig...
The codec is correctly loaded (probing on I2C is OK) but the alsa is not able to detect any sound card....
What am I doing wrong? I'm quite newby to openWRT ;)
The text was updated successfully, but these errors were encountered: