Closed tapir closed 1 year ago
That's Debian's problem, we don't mess with the kernel package at all.
What does the output of file
say about the .ko?
It says
snd-soc-nau8822.ko: ELF 64-bit LSB relocatable, ARM aarch64, version 1 (SYSV), BuildID[sha1]=35287feef77276111f3daadd376376800670d637, with debug_info, not stripped
But I also noticed when I try to do "make modules_install" by default the modules get installed to /lib/modules/6.1.38
whereas the default modules of the plebian is under /lib/modules/6.1.0-10-arm64
Judging by this StackOverflow answer maybe you have to run depmod?
Either way, the source you're using should be the correct one; we ship Debian's kernel package, and those are Debian's kernel sources.
is there no patches applied for the board itself? can I just compile the full kernel (as I believe it might be related to my problem) and expect it to work?
The only patches for the board are those applied by Debian itself. You can compile the full kernel package, from the sources Debian ships, and it will work.
thanks
I'm using the linux source from the repos to build an in-tree kernel module which succeeds. When I try to load this module however I get below
According to google this is an error when the kernel I'm on and the source I've used mismatch. Could you point me to the correct source?