On 8 April 2014 21:54, Code Kipper <[email protected]> wrote: > On 8 April 2014 19:16, Dennis Kerrisk <[email protected]> wrote: > >> Here is the correct one. >> # >> # Automatically generated file; DO NOT EDIT. >> # Linux/arm 3.4.79 Kernel Configuration >> # >> > <chop> > >> CONFIG_SND_SOC=y >> CONFIG_SOUND_SUNXI=y >> CONFIG_SND_SUNXI_SOC_CODEC=y >> CONFIG_SND_SUNXI_SOC_HDMIAUDIO=y >> CONFIG_SND_SUNXI_SOC_SPDIF=m >> CONFIG_SND_SUNXI_SOC_I2S_INTERFACE=y >> CONFIG_SND_SOC_I2C_AND_SPI=y >> > > Hi Dennis, > so here it looks like the required sound cards are being built into the > kernel. > This was originally compiled out of the sun7i builds and I'm not sure why. > I'll > have a look at the code tomorrow. > I was wondering how you got i2s working on the A10, did you connect it to > an > external device or were just monitoring the pins? The next thing would be > to > look at the kernel logs to see what's happening as I don't have any i2s > hardware > to experiment myself with. > Hi Dennis, I'm assuming you have changed the fex and generated a new script.bin to enable i2s as looking here https://github.com/linux-sunxi/sunxi-boards/blob/master/sys_config/a20/a20-olinuxino_micro.fex#L800 it seems to disabled by default and also sata enable shares the same pin with the i2s data out. I don't see anything in the code that stands out as not supporting i2s on the A20 (well only i2s0 is supported not i2s1), I guess a kernel log is needed now. BR, CK
CK > ps: let's leave big file attachment to pastebin links. It was a bit > difficult to search > the reply in gmail. > <chop> > >> # CONFIG_CORDIC is not set >> Dennis >> >> On Wednesday, February 19, 2014 5:05:28 AM UTC-7, Puneet B wrote: >> >>> Hi i downloaded sunxi kernel 3.4 from below link. >>> >>> http://docs.cubieboard.org/tutorials/ct1/development/ >>> compiling_latest_kernel_for_cubietruck_cubieboard3. >>> >>> i changed default configuration to sun7i_defconfig. >>> >>> but for sun7i there is no i2s codec support, it is for only sun4i and >>> sun5i( i saw from menuconfig ). >>> >>> How to get i2s codec support in my A20 board. >>> >>> Regards >>> Punith >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "linux-sunxi" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
