I'm learning about Linux kernel driver development for work, but I'm struggling to find a good resource that is relevant to recent kernels.
I have read Linux Device Drivers 3rd edition, but that is for kernel 2.6 and the kernel has changed a lot since then - none of the examples will even compile on more recent kernels. Resources for the Rapsberry pi don't really cover kernel-space, and the tutorials I've found don't seem to follow any of the advice that the Linux Device Drivers book gives about careful handling of memory.
Can anyone point me to a more recent resource that covers the topics of hardware interface and proper memory management for kernel drivers?
Thanks