josjunior Posted June 21, 2023 Posted June 21, 2023 (edited) 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 June 21, 2023 by josjunior 0 Quote
Werner Posted June 22, 2023 Posted June 22, 2023 They are not available via apt yet https://www.armbian.com/newsflash/armbian-leaflet-8/ 1 Quote
Igor Posted June 22, 2023 Posted June 22, 2023 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. 0 Quote
josjunior Posted June 22, 2023 Author Posted June 22, 2023 @Werner thanks for sharing the leaflet! Quote IIRC, kernel headers on this (proprietary / private) kernel are anyway broken. @Igor Good to know. I assume this is a temporary issue and would be resolved in a future release update as mentioned in the leaflet? 0 Quote
Igor Posted June 23, 2023 Posted June 23, 2023 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. 1 Quote
josjunior Posted June 23, 2023 Author Posted June 23, 2023 @Igor Thanks for the clarification. I have a work around that will remedy my situation for the time being. Hopefully the vendor fixes the issue 0 Quote
Recommended Posts
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.