I figure out few issues and then decided to share it first at Devoxx France where I'm going to give a 30 minutes speech.
So let's move on and begin with the Raspberry Pi. For those who don't know about it, it's a credit card sized computer created by the Raspberry Pi foundation in order to help organization (like schools) to teach computer programming to kids.
What's inside ?
The idea is to keep it cheap so in the first version (called model A) there are:
- 700MHz CPU (ARM11)
- 256Mo for the RAM
- 1 USB 2.0 port
- 1 RCA video port
- 1 3.5 jack audio connector
- 1 GPIO pin
- 1 SD card slot
- 1 HDMI connector
In the second version (model B), the ram has been enhanced to 256Mo, one USB port has been added so as Ethernet (10/100) connector.
Let's install the OS
Because I'm not a linux expert, I didn't want to go far from the trenches, I choose to install Raspbian - a Debian modified to fit to the Raspberry Pi. The installation is really simple, insert the SD card into your computer, format it in FAT32 and with an image writer (Win32DiskImager on Windows, PiWriter on OSX and ImageWriter on Linux).
I first decided to use the Soft float point version - to use the OpenJDK JVM version later - but I don't know why, it didn't reboot (after having unplugged it from the power supply). I don't have this issue with the Hard Float point version.
Next step ? Insert the SD card into the Raspberry Pi, plug a keyboard, a screen (both are mandatory at least for the first boot) and the power supply.
The very first thing you'll see is the raspi-config utility tool
This tool lets you configure the keyboard, the locale the default user, etc. To be able to use the complete capacity for your SD card, you have to run the "expand_rootfs" tool. I also suggest to enable the SSH server so you won't need the screen and the keyboard.
If you need to change some configuration later, you can at anytime use the following command:
Once you have finished this part you'll have to reboot the Raspberry Pi and you are ready to rock and roll.
Last thing that can be useful, the default user is called "pi" and his password is "raspberry".