Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4890

Advanced users • How to compile a modified driver & update OS

$
0
0
Hello,

I need some help in building a modified RTC driver for my RPi. I have studied what I thought was the relevant section of the documentation, but could not find the details I needed.

Under the topic heading Kernel Headers, it says:
To compile a kernel module, you need the Linux kernel headers. These provide the function and structure definitions required to compile code that interfaces with the kernel.
This is all I could find in the documentation... Did I miss something??

I beleive I have the kernel headers - they were apparently installed by default on my 64-bit 'bookworm' "Lite" distro for the Zero 2W. Can someone provide instructions for compiling the modified driver on my RPi?

Statistics: Posted by shawn-o — Tue Mar 11, 2025 6:56 pm — Replies 2 — Views 83



Viewing all articles
Browse latest Browse all 4890

Trending Articles