Automatic Raspberry Pi board revision detection: model A, B1 and B2

When the raspberry Pi model A was announced a few days ago, I ordered one straight away. With three different models of raspberry Pi now available (or four, if you count the red Chinese variant), working out the capabilities of the board is becoming increasingly important. It’s vital for anyone involved in making hardware or …

Continue reading ‘Automatic Raspberry Pi board revision detection: model A, B1 and B2’ »

Why is it so hard to build Raspberry Pi Linux drivers?

A few days ago I complained a bit about the profusion and confusion around the Linux drivers for the PiBorg LEDBorg multi-colour LED. With a bit of renewed energy, I thought I’d have a go at improving the situation by including a test for board revisionin the driver and ensuring that the correct GPIO pins …

Continue reading ‘Why is it so hard to build Raspberry Pi Linux drivers?’ »

Setting a default git remote

This bit me again today, so I thought I’d look it up and write it down here so I can find it. When you create a git repository using git clone, git very helpfully sets up a default remote repository and branch for you, pointing back at the originating repository. This is helpful, because it …

Continue reading ‘Setting a default git remote’ »