Jump to content

Recommended Posts

Posted

@going I have a few questions about the kernel sound configuration:

  • why is the SUN50IW9_CODEC configured in two places?
  • do we need CONFIG_SND_SUN8I_CODEC=y and CONFIG_SND_SUN8I_CODEC_ANALOG=y?

 

#
# Allwinner SoC Audio support
#
CONFIG_SND_SUN4I_CODEC=y
CONFIG_SND_SUN50IW9_CODEC=m
CONFIG_SND_SUN8I_CODEC=y
CONFIG_SND_SUN8I_CODEC_ANALOG=y
CONFIG_SND_SUN50I_CODEC_ANALOG=y
CONFIG_SND_SUN4I_I2S=m
CONFIG_SND_SUN4I_SPDIF=m
CONFIG_SND_SUN50I_DMIC=m
CONFIG_SND_SUN9I_HDMI_AUDIO=m
CONFIG_SND_SUN8I_ADDA_PR_REGMAP=y
# end of Allwinner SoC Audio support

CONFIG_SND_SOC_SUNXI_MACH=m
CONFIG_SND_SOC_SUNXI_AHUB_DAM=m
CONFIG_SND_SOC_SUNXI_INTERNALCODEC=m
CONFIG_SND_SOC_SUNXI_SUN50IW9_CODEC=m

#
# Allwinner SoC Audio support V2
#
CONFIG_SND_SOC_SUNXI_AAUDIO=m
CONFIG_SND_SOC_SUNXI_AHUB=m
# end of Allwinner SoC Audio support V2
 

Posted
  On 3/24/2025 at 5:20 PM, Stephen Graf said:

I have a few questions about the kernel sound configuration:

  • why is the SUN50IW9_CODEC configured in two places?
  • do we need CONFIG_SND_SUN8I_CODEC=y and CONFIG_SND_SUN8I_CODEC_ANALOG=y?
Expand  

Do we need this one?

  On 3/24/2025 at 5:20 PM, Stephen Graf said:

CONFIG_SND_SUN4I_CODEC=y

Expand  

 

 

 

Posted (edited)

I was adding my Transpeed TV Box patches to official Armbian using kernel 6.12.16. I got this error compiling my dts at this line.  

&ahub_dam_mach {
	status = "okay";
};

 

I found this was missing in the sun50i-h616.dtsi. 

		ahub_dam_mach:ahub_dam_mach {
			compatible = "allwinner,sunxi-snd-mach";
			soundcard-mach,name = "ahubdam";
			status		= "disabled";
			soundcard-mach,cpu {
				sound-dai = <&ahub_dam_plat>;
			};
			soundcard-mach,codec {
			};
		};

 

Edited by Nick A
Posted (edited)

Is anybody having success with ilitek LCD display, or SPI in general?

 

I am trying 6.12 with my orange pi zero 3, but the LCD just remains white.

When I switch back to my microSD with Linux 6.11, it works with no problem (ili9488+ads7846)

Edited by robertoj
Posted (edited)

Yes. I will try again when I get back home, along with re-including some armbian patches related to SPI

 

Own reference:

 

Edited by robertoj
Posted (edited)

Process of using a kernel config from a file

Copy the config file from /boot folder to build/userpatches

Then rename:

$ mv config-6.11.9-edge-sunxi64 linux-sunxi64-edge.config

cd ..

./compile.sh

 

I get this compilation error:

  Reveal hidden contents

It seems that a wifi driver is in 2 folders... I will see which kernel driver I should remove

...first trying removing mfd/ac200

 

I don't know if has improved anythig... but I see these new build errors:

  Reveal hidden contents

 

Edited by robertoj

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines