Hi, I need linux kernel source to compile a custom module. The one I downloaded from kernel.org did not work, got module format error, indicating the kernel is different.
i did not have this problem compiling the same module for Armbian lepotato (amlogic)
Where do I get the kernel source for my Orangepi Zero 2?
Linux orangepizero2 6.12.20-current-sunxi64 #1 SMP Sat Mar 22 19:54:28 UTC 2025 aarch64 GNU/Linux
linux-headers-current-sunxi64/bookworm,now 25.2.3 arm64 [installed]
Armbian Linux current headers 6.12.20-current-sunxi64
linux-image-current-sunxi64/bookworm,now 25.2.3 arm64 [installed]
Armbian Linux current kernel image 6.12.20-current-sunxi64