Jump to content

Need Assistance with Locating Kernel Headers for Rock5B


josjunior

Recommended Posts

Hello all,

 

I am running Armbian 23.05.1 rock5b jammy legacy on a rock5b. The current kernel version, as given by uname -r, is 5.10.160-rockchip-rk3588.

 

I'm attempting to build a driver module but have been unsuccessful because I'm unable to locate the kernel headers. I have tried installing the headers with apt install linux-headers-$(uname -r) but result in a package not found error.

 

I also tried searching for the headers in my file system with find / -name "linux-headers-$(uname -r)" but the command returned no results.

 

I suspect that the kernel headers may not be installed, may be installed in a non-standard location, or may not be available as separate packages for this kernel version in Armbian.

 

I would greatly appreciate any guidance on how I can acquire or locate the kernel headers for this specific kernel version.

 

Thank you in advance for your help.

Edited by josjunior
Link to comment
Share on other sites

6 hours ago, josjunior said:

I'm attempting to build a driver module but have been unsuccessful because I'm unable to locate the kernel headers.


IIRC, kernel headers on this (proprietary / private) kernel are anyway broken.

Link to comment
Share on other sites

8 hours ago, josjunior said:

I assume this is a temporary issue and would be resolved in a future release update as mentioned in the leaflet?

 

It is temporally issue that is present in Rockchip kernel for at least 6 months. And its not the only one.

 

With modern kernel, headers works OOB, which proves bug is in the (Rockchip) vendor code. I already spent a week trying to fix this problem for everyone but I can't afford to touch this problem anytime soon. 

If there are no records of fixing this problem in the logs, update mentioned in the leaflet, won't fix this problem. 

Link to comment
Share on other sites

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