Following the "Baking Pi" course found here: http://www.cl.cam.ac.uk/projects/raspberrypi/tutorials/os/, plus embellishments along the way.