Thursday, January 10, 2013

Raspberry-pi : my notes

Raspberry-pi is a general purpose computer, that comes in the size of a credit card. The type B has 512 MB of memory and it comes with a ARM processor. It also has general purpose I/O (GPIO) which enables you to drive external I/O interfaces by means of programming. This getting started notes are for my own reference. 














  • Download the OS image for Raspberry-pi from [1]
  • Copy the OS image to the SD card using dd command 
For that get the SD card drive name using 'df -h' command. Un-mount the drive and use dd to copy the image.
dd bs=4M if=2012-08-08-wheezy-armel.img of=/dev/mmcblk0
  • plug in the SD card to the RP device and boot it up.
  • To install java to wheezy:debian distribution use this version [2]
boot up the device, and assign a hard IP address,













  • ipconfig eth0 10.100.1.0
after that you can ssh, from you PC to you Ras-Pi.
               

[1] http://downloads.raspberrypi.org/download.php?file=/images/debian/7/2012-08-08-wheezy-armel/2012-08-08-wheezy-armel.zip
[2] http://www.oracle.com/technetwork/java/javase/downloads/index.html (select jdk-7u10-linux-arm-sfp.tar.gz)