Monthly Archives: April 2015

Writing a Linux Kernel Module — Part 3: Buttons and LEDs

Introduction
In this series of articles I describe how you can write a Linux loadable kernel module (LKM) for an embedded Linux device. This is the third article in the series — please read:

Writing a Linux Kernel Module — Part 1: Introduction, and
Writing a Linux Kernel Module — Part 2: A Character Device,

before moving on to this article, as those articles […]

By |April 26th, 2015|Beaglebone, Blog, Linux|40 Comments

Writing a Linux Kernel Module — Part 2: A Character Device

Introduction
In this series of articles I describe how you can write a Linux loadable kernel module (LKM) for an embedded Linux device. This is the second article in the series — please read “Writing a Linux Kernel Module — Part 1: Introduction” before moving on to this article, as it explains how to build, load and unload loadable kernel modules […]

By |April 18th, 2015|Beaglebone, Blog, Linux|20 Comments

Writing a Linux Kernel Module — Part 1: Introduction

Introduction
In this series of articles I describe how you can write a Linux kernel module for an embedded Linux device. I begin with a straightforward “Hello World!” loadable kernel module (LKM) and work towards developing a module that can control GPIOs on an embedded Linux device (such as the BeagleBone) through the use of IRQs. I will add further follow-up […]

By |April 14th, 2015|Beaglebone, Blog, Linux|28 Comments

Introduction to CMake by Example

Introduction
This article provides a straightforward set of “Hello World!” introductions to using CMake for building C++ projects. All steps are performed using Linux on the BeagleBone platform, but the instructions are relevant to most Linux platforms.
The make utility and Makefiles provide a build system that can be used to manage the compilation and re-compilation of programs that are written in any programming […]

By |April 1st, 2015|Beaglebone, General, Linux|26 Comments