First Impressions on the Raspberry Pi
Hi again! A few days ago I made a post about the Raspberry Pi board that I recently got in the mail. I only made a short description of the board since I hadn’t test it at the time. I still haven’t much to say but I have finally tested it and I’ll share my first impressions of the board.

So.. the first thing to do was to download the image of the Debian Squeeze distribution here and set it up in a SD card. The SD card that I used was a Class 4 4GB Emtec card and it although I got some strange errors in the boot process, it worked (from what I’ve read it may be related with the quality of the card). The process that I used to setup the SD card was the following (see the full guides for Windows, Linux and Mac here):
-
Download the zip file containing the image from a mirror or torrent from here: http://www.raspberrypi.org/downloads
-
Verify if the the hash key of the zip file is the same as shown on the downloads page (optional). Assuming that you put the zip file in your home directory (~/), in the terminal run:
sha1sum ~/debian6-19-04-2012.zip
This will print out a long hex number which should match the “SHA-1” line for the SD image you have downloaded
- Extract the image, with
unzip ~/debian6-19-04-2012.zip
- Run df to see what devices are currently mounted
- Connect the SD card reader with the SD card inside
- Run df again. The device that wasn’t there last time is your SD card. The left column gives the device name of your SD card. It will be listed as something like “/dev/mmcblk0p1” or “/dev/sdd1”. The last part (“p1” or “1” respectively) is the partition number, but you want to write to the whole SD card, not just one partition, so you need to remove that part from the name (getting for example “/dev/mmcblk0” or “/dev/sdd”) as the device for the whole SD card. Note that the SD card can show up more than once in the output of df: in fact it will if you have previously written a Raspberry Pi image to this SD card, because the RPi SD images have more than one partition.
-
Now that you’ve noted what the device name is, you need to unmount it so that files can’t be read or written to the SD card while you are copying over the SD image. So run the command below, replacing “/dev/sdd1” with whatever your SD card’s device name is (including the partition number)
umount /dev/sdd1
If your SD card shows up more than once in the output of df due to having multiple partitions on the SD card, you should unmount all of these partitions.
- In the terminal write the image to the card with this command, making sure you replace the input file if= argument with the path to your .img file, and the “/dev/sdd” in the output file of= argument with the right device name (this is very important: you can trash the hard drive on your computer if you get the wrong device name). Make sure the device name is the name of the whole SD card as described above, not just a partition of it (for example, sdd, not sdds1 or sddp1, or mmcblk0 not mmcblk0p1)
dd bs=1M if=~/debian6-19-04-2012/debian6-19-04-2012.img of=/dev/sdd
Note that if you are not logged in as root you will need to prefix this with sudo.
- Remove SD card from card reader, insert it in the Raspberry Pi, and have fun. 🙂
sudo nano /etc/default/keyboard
sudo dpkg-reconfigure locales




[…] (16/05/12): I finally had time to test it. Check the post about my First Impressions on the Raspberry Pi :)Did you find this post helpful? Do you wish to contribute to other projects regarding computer […]
cool! shall be a useful tutorial once i get my hands on my one
[…] test the webcams with the Raspberry Pi yet. If you want you can check my previous post about my first impressions on the Raspberry Pi. And that's it! Hope you liked this simple hack and found it useful for your own projects Take […]
Hi,
Do you think that OpenCV can run on it?
I got my hands on one of them recently and logged in using SSH from my laptop. I used the Raspbian Wheezy to boot. I will try installing opencv in it, and so thought to consult you.
Hi! Yes, it runs on it 🙂 I have already tested on one of the first Debian Wheezy’s distros that came out. It’s not the fastest thing on earth but it will run. If you are not going for real time applications (>5 fps) of large image sizes you’ll be ok. By the way, when you install opencv make sure you let it installing over night. It will take a looooong time! 🙂 I have already seen some videos of a face detection application with Haar detectors running in a very slow “real-time” in the Raspberry Pi. If you work with small image dizes and simple algorithms like color segmentation you’ll be ok. Hope to see your projects with it on your website! 🙂
Okay. Thanks for your info! I’ll try it out and post results here! 🙂
[…] Hi! Some time ago I made two posts about the the Raspberry Pi (Raspberry Pi has Arrived and First Impressions on the Raspberry Pi) and unfortunately since then it has been closed inside its box. I really wanted to do something […]