Thank you for your explanation. Unfortunately, I was not able to follow it completely... How exactly did you "compile, generate and load" the new .ko file? I downloaded the original sun4i-i2s.c.c file and made your recommended change. Then I want to build it using a Makefile, but I get the exception: /lib/modules/4.14.111/build No such file or directory. Am I missing some kernels? I am using the NanoPi Neo2 with kernel version 4.14.111.
Furthermore, if I try to build the dtb file based on your third step, I get: "Error: sph0645-overlay.dts:2.2-8 syntax error". This would indicate that the /plugin/ part is not working, or that the compiler does not understand this part... Do you have any tips on how to proceed?
SPH0645 I2S microphone on NanoPi Neo Core
in Allwinner sunxi
Posted
Thank you for your explanation. Unfortunately, I was not able to follow it completely... How exactly did you "compile, generate and load" the new .ko file? I downloaded the original sun4i-i2s.c.c file and made your recommended change. Then I want to build it using a Makefile, but I get the exception: /lib/modules/4.14.111/build No such file or directory. Am I missing some kernels? I am using the NanoPi Neo2 with kernel version 4.14.111.
Furthermore, if I try to build the dtb file based on your third step, I get: "Error: sph0645-overlay.dts:2.2-8 syntax error". This would indicate that the /plugin/ part is not working, or that the compiler does not understand this part... Do you have any tips on how to proceed?
Thanks in advance!