Kernel headers?

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
devnull

Kernel headers?

Post by devnull »

Hello,

I installed DietPi_v140_NanoPiNEO-armv7-(Jessie).img on my Nanopi Neo and it works quite well. Now I want to write a kernel module to support a keypad which is connected to some gpio pins (access via /sys/class/gpio/ is already working). But for building kernel modules I miss the headers for kernel 4.9.0-sun8i.

I would expect that package linux-headers-dev-sun8i would provide the headers but it contains only something for kernel 4.8.3-sun8i.
For kernel 4.9.0-sun8i there seems to be no fitting package.

Thanks for your suggestions!
User avatar
Fourdee
Site Admin
Posts: 2782
Joined: Tue Feb 06, 2007 1:36 pm

Re: Kernel headers?

Post by Fourdee »

devnull wrote:I would expect that package linux-headers-dev-sun8i would provide the headers but it contains only something for kernel 4.8.3-sun8i.
For kernel 4.9.0-sun8i there seems to be no fitting package.
Hi,

Yep, thats the puppy.
Those packages are maintained by ARMbian in their repo. You'd need to post this question to ARMbian and see if they can get it updated to 4.9.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Post Reply