alexparser Posted July 1, 2017 Share Posted July 1, 2017 Hello friends, just short question - i2s do supported in mainline today for A20 (Lime2, Cubietruck, Banana etc...)? BR, Alex Link to comment Share on other sites More sharing options...
Xalius Posted July 1, 2017 Share Posted July 1, 2017 Status matrix says yes, http://linux-sunxi.org/Linux_mainlining_effort#Status_Matrix . You need to add/enable the corresponding devicetree entries or overlays (not sure if they exist yet) ... Link to comment Share on other sites More sharing options...
vlad59 Posted July 2, 2017 Share Posted July 2, 2017 IIRC I2S is not available for Banana PI (not wired to GPIO), I think it's available for lime2 Link to comment Share on other sites More sharing options...
alexparser Posted July 4, 2017 Author Share Posted July 4, 2017 I was check this image Armbian_5.31_Lime2_Debian_jessie_next_4.11.5 for Line2, this build not have support the I2S interface root@lime2:~# aplay -l aplay: device_list:268: no soundcards found... root@lime2:~# aplay -L null Discard all samples (playback) or generate zero samples (capture) root@lime2:~# lsmod Module Size Used by cfg80211 352256 0 rfkill 20480 1 cfg80211 evdev 20480 1 at24 16384 0 nvmem_sunxi_sid 16384 0 nvmem_core 16384 2 at24,nvmem_sunxi_sid sun4i_ss 24576 0 uio_pdrv_genirq 16384 0 cpufreq_dt 16384 0 uio 16384 1 uio_pdrv_genirq bonding 90112 0 fuse 69632 1 realtek 16384 1 Link to comment Share on other sites More sharing options...
zador.blood.stained Posted July 4, 2017 Share Posted July 4, 2017 8 minutes ago, alexparser said: I was check this image Armbian_5.31_Lime2_Debian_jessie_next_4.11.5 for Line2, this build not have support the I2S interface It supports I2S, but you need to write and activate a correct DT overlay. Link to comment Share on other sites More sharing options...
alexparser Posted July 4, 2017 Author Share Posted July 4, 2017 Yes course, but DE FACTO this build not work with I2S. p.s. I don't found way to resolve this problem. Link to comment Share on other sites More sharing options...
Igor Posted July 5, 2017 Share Posted July 5, 2017 7 hours ago, alexparser said: Yes course, but DE FACTO this build not work with I2S. p.s. I don't found way to resolve this problem. AFAIK I2S works in this kernel, but its not enabled by default and we usually can't give more than usable hints - solving problems takes more effort, chunks of time - at least a tests on real hardware should be done, to suppress time wasted on future support. Link to comment Share on other sites More sharing options...
zador.blood.stained Posted July 5, 2017 Share Posted July 5, 2017 10 hours ago, alexparser said: Yes course, but DE FACTO this build not work with I2S. It works exactly like it should work on mainline. Since there is no onboard I2S codec on Lime2, I2S is disabled by default, and it needs Device Tree configuration to work (with a supported codec) Link to comment Share on other sites More sharing options...
alexparser Posted July 5, 2017 Author Share Posted July 5, 2017 9 hours ago, Igor said: AFAIK I2S works in this kernel, but its not enabled by default and we usually can't give more than usable hints - solving problems takes more effort, chunks of time - at least a tests on real hardware should be done, to suppress time wasted on future support. Technically, I'm ready to take on this job, I talk about image building and tests. If I get detailed instructions. Link to comment Share on other sites More sharing options...
Igor Posted July 5, 2017 Share Posted July 5, 2017 1 minute ago, alexparser said: I talk about image building and tests. If I get detailed instructions. You mean building whole image and kernel from scratch / sources? https://docs.armbian.com/Developer-Guide_Build-Preparation/ But for enabling this, you don't need that. Start here and follow: https://forum.armbian.com/index.php?/topic/379-learning-device-tree/ Do some search. Link to comment Share on other sites More sharing options...
alexparser Posted July 5, 2017 Author Share Posted July 5, 2017 42 minutes ago, Igor said: You mean building whole image and kernel from scratch / sources? https://docs.armbian.com/Developer-Guide_Build-Preparation/ But for enabling this, you don't need that. Start here and follow: https://forum.armbian.com/index.php?/topic/379-learning-device-tree/ Do some search. Thanks a lot, I'll try to know how it work. If I have more questions, I will request to help. Link to comment Share on other sites More sharing options...
Recommended Posts