CHAPTER 4
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 ...
Get Exploring the Raspberry Pi 2 with C++ now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.