Jump to content

Odroid N2 Armbian 23.05.1 Ubunt 22.04 kernel built with 6.6.63 but no headers exists!!!


Go to solution Solved by Werner,

Recommended Posts

Posted (edited)

I am having trouble installing specific hardware dkms because the dkms requires the linux header files for the installed kernel version which are not available or do not exist.

 

Armbian 23.05.1 Ubuntu 22.04 desktop version is build with kernel 6.6.63 but an apt search for the relevant headers finds none.

 

Headers exist for 6.2, 6.5 and 6.8 but not for 6.6.  

 

How can I address this?

Edited by Walter Zambotti
  • Solution
Posted

Easiest is probably to build a custom set of packages including headers.

With the build framework this is quite simple.

Clone repo https://github.com/armbian/build/

./compile.sh BOARD=odroidn2 BRANCH=current KERNEL_CONFIGURE=no kernel

 

Copy the debs from output/debs folder to the board and install them via dpkg -i

Posted

I'm a little confused.  I went to repeat this for another board but it built the headers for entirely different version 6.12.16 instead of 6.6.63.

 

Where in the compile.sh command is the required version specified or determined?

Posted
1 hour ago, Walter Zambotti said:

for another board

Kernel versions might differ depending on hardware since board families have individual patchsets which might require specific Linux versions.

 

If it is the same board then I think current has been bumped from 6.6.y to 6.12.y recently.

You can try legacy instead if you need 6.6.y version.

 

1 hour ago, Walter Zambotti said:

required version specified or determined?

It is not possible to build a specific version like 6.7.2 because the patches Armbian puts on top of mainline kernel are following recent versions which means sooner or later some will break compilation. If you need a specific version you are on your own to specify the version necessary in the board configuration and fix issues that might occour.

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