I am trying to build a kernel module. Following the procedure of the Wiki (8.7) here :
https://wiki.friendlyelec.com/wiki/inde ... _package_2
I was able to build the module given as an example but for the last step : modprobe and insmode say that the exec format is invalid.
When I tried to build my own module, the build stops saying it cannot find the Kconfig file.
Has anyone been able to build a kernel module on this device ?

Linux Nanopi R5C 5.10.110 #50 SMP Nov 18, 2022, aarch64 (Debian 11 from Friendly Elec)