Jump to content

Recommended Posts

Posted

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

 

Posted
7 hours ago, ovacikar said:

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.

 

We just figured out we have dropped packing kernel sources at some point. Until we figure out how to re-enable that or if this makes sense, use build framework to add a custom module. It has the ability to do that.

 

7 hours ago, ovacikar said:

i did not have this problem compiling the same module for Armbian lepotato (amlogic)

 

Allwinner kernel is heavily patched, version is not necessarily latest, quite distanced from mainline, while Amlogic, on the other hand, is closer, changed less.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines