O'Reilly logo
  • Alexander Jaworowski thinks this is interesting:

Building the LKM on the RPi

From

Cover of Exploring Raspberry Pi

Note

It's extremely easy to get the correct linux headers using rpi-source from https://github.com/notro/rpi-source/wiki. It will download and install the correct headers on the rpi