Posts related to the Beaglebone microprocessor.

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

CGI using C++ on the BeagleBone (Ggicc)

Introduction
In Chapter 10 of my book (pg. 388-393), Exploring BeagleBone, I describe how you can build web-based CGI applications that can interface with electronics hardware that is attached to the BeagleBone using Bash scripts that call C/C++ programs. The solution works well for very straightforward applications, but this discussion investigates more advanced solutions for applications where there are more complex interactions — for example, […]

By |March 27th, 2015|Beaglebone, Embedded Systems, Linux, Raspberry PI|3 Comments

Exploring BeagleBone: Tools and Techniques for Building with Embedded Linux

This is what is keeping me busy at the moment… (very, very busy!). I have presently drafted 9 of the 14 chapters. This book on the BeagleBone is due for publication in Dec. 2014. A provisional description is available at: http://www.amazon.com/Exploring-BeagleBone-Techniques-Building-Embedded/dp/1118935128/
There is a website to support this book at: www.exploringbeaglebone.com
Derek.

___
[This is a draft description, please see the website for the final description […]

By |June 18th, 2014|Beaglebone, Blog, General, Main Blog|60 Comments

Beaglebone: Controlling the on-board LEDs using Java

I have posted on how to do this exact thing using C++, so the first half is cut-and-pasted from Beaglebone: Controlling the on-board LEDs using C++
Introduction
One of the first things you would like to do when you connect to the Beaglebone Black is see that you are having an impact on the hardware. In this short post I am going […]

By |December 9th, 2013|Beaglebone, Blog|8 Comments

Beaglebone: Controlling the on-board LEDs using C++

Introduction
One of the first things you would like to do when you connect to the Beaglebone Black is see that you are having an impact on the hardware. In this short post I am going to look at how you can change the behaviour of the Beaglebone on-board LEDs – the four (blue on the BBB) LEDs in the corner […]

By |November 20th, 2013|Beaglebone, Blog, Embedded Systems|15 Comments

Running Java Applications on the Beaglebone Black

Before you start:
First check if the distribution has changed to have a package installation of open java – Perform:

And see the output after you search for java

There are libraries and javascript tools, but no core java distribution. Unfortunately, this means a manual install!
Here are the steps for installing the JRE:
Step 1. Download the Embedded JRE to your desktop PC:  Go to […]

By |October 26th, 2013|Beaglebone, Blog, Uncategorized|26 Comments

Custom Video Streaming Player using LibVLC and Qt

Introduction
In my last two blog entries I have discussed how you can stream video from embedded Linux devices such as the Beaglebone using FFMPEG/AVCONV, the V4L2 Capture program and the Logitech C920 USB Camera (with hardware MPEG4/H264). In these setups I am using the regular VLC player to receive and display the video streams (RTP, UDP unicast and UDP multicast). […]

By |July 18th, 2013|Beaglebone, Blog|29 Comments