kernel

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

Custom Kernel and Ångström Distribution Recipe (SPI/CAN bus Support)

I have already posted on how we can build a vanilla Angstrom distribution from source at this post: Building Angstrom for Beaglebone from Source. This post looks at how we can add SPI to the kernel and rebuild the Linux kernel and Angstrom distribution. The post isn’t specific to SPI, so it may be that you are looking to make […]

By |May 5th, 2013|Beaglebone, Blog|14 Comments