BBB

BBB – mount and shrink a disk image

This describes how to take an image file (origBBB.img) that has been extracted from a Beaglebone Black (BBB) – (see here for how to do that) – and shrink it so that it will fit onto a smaller SD card.

First we need to be able to inspect the file system locally.  We can inspect the image file with:

file origBBB.img
origBBB.img: x86 boot sector; partition 1: ID=0xc, active, starthead 1, startsector 63, 144522 sectors; partition 2: ID=0x83, starthead 45, startsector 147456, 6979584 sectors, code offset 0x0

Continue reading

How to backup BBB eMMC card

Ok, so you’ve been playing with your BBB and you’ve installed this package and that package, oh and that package you forgot about.  So now you want to setup another BBB in exactly the same way but wait… oh no, what did you install again and how did you configure things… this could take some time.

That was me recently when I wanted to set up a second BBB.  I’d installed qt4-embedded on the eMMC as well as lots of other stuff and really didn’t want to start from scratch on another board. Continue reading

Beaglebone Black (BBB) Simple Web IO

Some time ago I wrote a short guide to getting simple webpage based control of the GPIO pins working on a Raspberry Pi.  I thought it time to do something similar for the BBB.

First off, I removed unwanted services but you may not be bothered about that so consider it optional.

After that, install Lighttpd and Php5 – see below. Continue reading

Getting openssl working with beaglebone black (BBB)

Today I needed to use MD5 in a C program on my BBB (running Angstrom) therefore I looked into openssl.
All seemed straight forward until I realised that my cross compiler tool chain did not include an arm version of the libssl library. Continue reading

Beaglebone Black with RS232 Cape

I’ve recently bought a Beaglebone Black (BBB) and an RS232 cape (BB-BONE-SERL-03). Mine is revision A1 (important to know which, see later).

At the time of writing this and at the time I bought it, I did not realise that the cape was not yet supported in the Angstrom release. Because of the move to kernel 3.8, the majority of capes available need some software modifications to get them working. A list of compatible capes can be found here.

What follows is a summary of how I got the RS232 cape working Continue reading