I’ve had my eye on the section of the Raspberry Pi forum dedicated to “bare metal” programming of the popular $35 computer platform. Bare metal programming is the practice of writing code for the CPU without an operating system (like Linux) on board. Bare metal didn’t look exactly inviting to an intermediate programmer like me, but that just changed. In this online course from Alex Chadwick of the University of Cambridge Computer Lab, you can learn how to use assembly code to write your own mini-OS for the Raspberry Pi. Going this route means basic things become quite a bit more difficult to do, but if you’re interested in how operating systems work with memory and the CPU, this looks like a great way to learn.

BY Matt Richardson

Matt Richardson is a Brooklyn-based creative technologist, contributing editor for MAKE magazine, and co-author of Getting Started with Raspberry Pi. He's also the owner of Awesome Button Studios, a technology consultancy. Highlights from his work include the Descriptive Camera (a camera which outputs a text description instead of a photo) and The Enough Already (a DIY celebrity-silencing device). Matt's work has been featured at The Nevada Museum of Art, The Rome International Photography Festival, Milan Design Week and has garnered attention from The New York Times, Wired, and New York Magazine.

9 Responses to Baking Pi: Free Course in Basic “Bare Metal” Raspberry Pi Development

  1. Matt Richardson on said:

    I was posting this article to my G+ profile with some additional commentary and I thought I would leave it here as well:

    I find myself so excited by the prospect of learning how to program the “bare metal” of these embedded systems and I imagine that there are many others out there like me. Perhaps we’ll start to see a resurgence of people learning assembly code? It looks like it’s challenging yet gratifying. How cool would it be to be able to write your own OS to do just what you want? Perhaps this is perfect for the future kernel developers out there.

    The next Linus Torvalds might be starting his or her journey from this very tutorial.

  2. if you want to go bare metal why not pick one of the thousands of cpus where you can actually get a real datasheet?

  3. Was curious about this as well, but got turned off since the embedded system is very closed and there is no documentation about it. How does one interface with the hardware directly if the drivers are closed? Can’t even find a block diagram :(

  4. Pingback: Baking Pi: Free Course in Basic “Bare Metal” Raspberry Pi Development « A Programmer's Nonsenses

  5. Pingback: Raspberry Pi begins UK production at Sony facility | GeekInvaders.com

  6. Bosstiger on said:

    Reblogged this on Gigable – Tech Blog.

  7. Bosstiger on said:

    Reblogged this on Gigable – Tech Blog.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

%d bloggers like this: