choss38 Posted August 29, 2019 Posted August 29, 2019 Armbianmonitor: http://ix.io/1TKN Hi, I know it's a waste of time to play with an old bananapi pro but I think I could do it so I want to do it ! I can't make working PCM5102a DAC. I read a lot of things through different website but noway ! I tried https://forum.armbian.com/topic/9009-info-friendlyarm-pcm5102a-hat-with-nanopi-neo-under-mainline-4xx/ . I've only obtain this next to the step "armbian-add-overlay ./sun8i-h3-I2S-out.dts": $lsmod|grep i2s sun4i_i2s 20480 0 snd_soc_core 114688 2 sun4i_codec,sun4i_i2s snd_pcm 69632 4 sun4i_codec,sun4i_i2s,snd_pcm_dmaengine,snd_soc_core I tried the next step but nothing more: dmesg|grep -i pcm keep empty. I tried to make a module with this tuto https://hackaday.io/project/162373/instructions with the make command and his model of pcm5102a.c file, nothing more. I tried too with https://github.com/torvalds/linux/blob/master/sound/soc/codecs/pcm5102a.c failed ! aplay -l **** List of PLAYBACK Hardware Devices **** card 0: sun4icodec [sun4i-codec], device 0: CDC PCM Codec-0 [] Subdevices: 1/1 Subdevice #0: subdevice #0 Anyway ! Where I am wrong ? Is there a step that I do well ?
markbirss Posted August 29, 2019 Posted August 29, 2019 sun8i-h3-I2S-out.dts is not the correct dts for this board, it should be a sun7i-a20 file if it exists
choss38 Posted August 31, 2019 Author Posted August 31, 2019 oh yes, for sure, I modified the sun7i-a20 file, I have adapted the tuto for my Bananapi Pro. Until this step, all is ok.
Daniel The Wise Posted September 1, 2019 Posted September 1, 2019 On 8/29/2019 at 8:43 PM, choss38 said: I've only obtain this next to the step "armbian-add-overlay ./sun8i-h3-I2S-out.dts" Did you read his updated post for 4.19.y? He mentioned that he had to create some .deb file because of the missing kernel-headers in the new kernel... Worth trying it?
choss38 Posted September 8, 2019 Author Posted September 8, 2019 Hi, thank you for your answer, I try to install linux-dtb-next-sunxi_5.96_armhf.deb linux-headers-next-sunxi_5.96_armhf.deb linux-image-next-sunxi_5.96_armhf.deb linux-u-boot-next-bananapipro_5.96_armhf.deb but sadly nothing better. Not simple...
Recommended Posts