Hi, All I found sun7i bananapi/pro audio codec disabled in device-tree, I make a patch:
--- a/arch/arm/boot/dts/sun7i-a20-bananapi.dts +++ b/arch/arm/boot/dts/sun7i-a20-bananapi.dts @@ -106,6 +106,10 @@ >; }; +&codec { + status = "okay"; +}; + &ehci0 { status = "okay"; }; But Audio codec also did not work. During booting "ALSA device list" is empty, after boot there is “cards” “card0” in /proc/asound. So, I change kernel config: --- a/target/linux/sunxi/config-4.4 +++ b/target/linux/sunxi/config-4.4 @@ -462,12 +462,29 @@ CONFIG_SMP=y CONFIG_SMP_ON_UP=y CONFIG_SND=y CONFIG_SND_COMPRESS_OFFLOAD=y +CONFIG_SND_DEBUG=y +# CONFIG_SND_DEBUG_VERBOSE is not set +CONFIG_SND_DMAENGINE_PCM=y +CONFIG_SND_HWDEP=y CONFIG_SND_JACK=y +CONFIG_SND_MIXER_OSS=y CONFIG_SND_PCM=y +CONFIG_SND_PCM_OSS=y +CONFIG_SND_PCM_TIMER=y +CONFIG_SND_SEQUENCER=y +CONFIG_SND_SEQUENCER_OSS=y +CONFIG_SND_SEQ_DUMMY=y CONFIG_SND_SOC=y +CONFIG_SND_SOC_GENERIC_DMAENGINE_PCM=y CONFIG_SND_SOC_I2C_AND_SPI=y +CONFIG_SND_SUN4I_CODEC=y +CONFIG_SND_TIMER=y # CONFIG_SND_USB is not set +CONFIG_SND_VERBOSE_PRINTK=y +# CONFIG_SND_VIRMIDI is not set CONFIG_SOUND=y +CONFIG_SOUND_OSS_CORE=y +CONFIG_SOUND_OSS_CORE_PRECLAIM=y CONFIG_SPARSE_IRQ=y CONFIG_SPI=y CONFIG_SPI_MASTER=y After boot device list is not empty, but did not work. Cheers wei _______________________________________________ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev