O'Reilly logo

Exploring the Raspberry Pi 2 with C++ by Warren Gay

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 4

image

Installing a Kernel

To install and use the pispy logic analyzer tool, we must first build and install a kernel loadable module. This rpidma module provides safe and automatic access to the Pi’s DMA peripheral and its interrupts for the pispy tool.

Ideally, you would “just” compile the module itself and install it. However, kernel loadable modules depend on various parts of the entire kernel source tree. Furthermore, loadable kernel modules must match the kernel release that is running. You used to be able to short-circuit this with the use of the modprobe -f option, but this no longer works (it silently fails). This brings us back ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required