Power & Source of Big Ideas

NanoPi Neo: Please add instructions for adding I2S support.

Moderators: chensy, FATechsupport

Hello,
I have read numerous post on adding I2S support to the NanoPi neo. Somehow they all end up using the "armbian way". I have based my design on the QTembedded image FA supplies. I am pleased with this image for its small design and fast boot time. I am also making use of several kernel modules FA provides for their matrix boards, like the one for infra red support. So, Armbian is not an option to me. It is way to slow at startup and packed with features I don't need.

I have tried to build at least the kernel from sources (github FA) and hoped the daudio0 and daudio1 devices would be present in the output folder after building (....lib/modules/<kernelversion>/sound/sunxi/soc/). This would allow me to enable I2S. No luck. Only spdif was there unfortunately.
Could Friendly Arm provide an instruction as to how to build the kernel with I2S support enabled?
I am not seeing any instructions on your wiki how to build a menuconfig.

Thanks in advance.....
you could try these sources and change the dts to enable i2s
https://github.com/megous/linux (branch 4.6 and 4.9 are working for me)
Thanks erazor. Actually your reply to another question in this forum put me in the right direction. I found out it was just a question of editting the right config file: sun8iw7p1smp_defconfig. I changed the config for daudio0 and recopiled the kernel, replaced uImage in the boot section and the modules in the rootfs/lib section. This however leads me to another question: The first lines in this config file strongly suggest not to edit manually. How is this config generated and is there another way to adapt the kernel building to your needs, other than editting the config manually?
Djagab wrote:
Hello,
I have read numerous post on adding I2S support to the NanoPi neo. Somehow they all end up using the "armbian way". I have based my design on the QTembedded image FA supplies. I am pleased with this image for its small design and fast boot time. I am also making use of several kernel modules FA provides for their matrix boards, like the one for infra red support. So, Armbian is not an option to me. It is way to slow at startup and packed with features I don't need.

I have tried to build at least the kernel from sources (github FA) and hoped the daudio0 and daudio1 devices would be present in the output folder after building (....lib/modules/<kernelversion>/sound/sunxi/soc/). This would allow me to enable I2S. No luck. Only spdif was there unfortunately.
Could Friendly Arm provide an instruction as to how to build the kernel with I2S support enabled?
I am not seeing any instructions on your wiki how to build a menuconfig.

Thanks in advance.....



Hi ,
The kernel source code has supported I2S driver,and we have tested the I2S can be used. If you want to use it just need to configure the kernel configuration . Before compiling the kernel you need to choose the I2S configuration,
use #make menuconfig to open the I2S driver.

Who is online

In total there are 24 users online :: 0 registered, 0 hidden and 24 guests (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 24 guests