Raspberry PI on Java 35$PCNot PI Do Java Masafumi Ohta Lead of Japanese Raspberry PI UG.
It’s Me Masafumi Ohta - Founded Japanese Raspberry PI Users Group in 2012.9 Working for CTC as OSS investigation
About Raspberry PI
Eben,founder of PI Founder of Rasberry PI Director of Broadcom Founding PI for Education teaching Programmings and Computer hardware =OLPC
What’s PI it is for studying computer for K12 - how computer works and how to study ‘PITHON’,easy and basical lang. works Debian,Arclinux...and Android
There are Revisions Rev.A - without ethernet (using usb) Rev.B 1.0 - with ethernet Rev.B 1.0 + ECN0001 (no fuses, D14 removed) - ? Perhaps we cant see in Japan Rev.B 2.0 - adding some improvements Rev.B 2.0 w/512MB - adding memories Latest!
Check your Rev. *cat /proc/cpuinfo (need to check on latest OS) Model and revision Model B Revision 1.0 + ECN0001 (no fuses, D14 removed) also you can check serial No. for maintenance
Two Vendors for PI RS Components - manufactured in China.Now can order from Japan but it takes 2-3 month to get them :-( Element14 - manufactured by Sony in UK.but no channel reseller in Japan (now talking with CPC,sis company of element14 ),it take 1-2 week to get them :-)
books Almost contents are same :-p
Inside Raspberry PI
Needs enough to pack 10/100 ethernet - enough to work with electric power. no wifi - wifi eats electric power - sometime it wont boot actually with usb wifi (be carefull :-p) poor memories,CPU - it is for COST :-p
GPIO Port You must check using PI serial line provided by GPIO NOT USB port. GPIO port assign very often changes updating the Revision of PI. Prepare Sparkfun DEV-09873 (3.3V NOT 5V) you can buy in Akibahara. careful 115200 bps to be used for serial
Be careful using Need stable power running USB wifi. Need high-speed and stable SD card to running OS Use high-power and stable battery like Panasonic to use PI as mobile. (in my case it works for 8 hours) be careful USB port on Mac....often got kernel panic.(say abusing USB port)
Poor CPU and Memories Now Rev B w/512MB has been released... taking care of memories and CPU. top,such as measuring performance - must use for sizing
Distros on PI
Raspbian “wheezy” Default Destro.recommended OS Needs to update moving SD from w/256MB to w/512MB:’sudo apt-get update && sudo apt-get install raspi-config libraspberrypi*’ At first you should set ‘raspi-config’ Works good but veeery slow GUI,be careful Poor CPU,memories must be considered
Java Rocks with PI
before get started Macbook (Unix PC) is prefer to use git must be used (if Mac need MacPort) if you use Oracle JVM you MUST use soft-float ABI Debian wheezy,or it won’t work. if soft-float ABI wheezy DO NOT forget to replace start.elf applied for 512MB.
replace start.elf (if use soft-floatABI) git git://github.com/raspberrypi/firmware.git cd firmware;git checkout;git checkout -b 48f8bb0e47 cd boot;cp armXXX_start.elf /Volume/$SD_NAME/start.elf (Mac OS X)
Note:burn OS image on Mac diskutil list sudo diskutil umount /dev/disk1s1 sudo sudo dd if=2012-10-28-wheezy-raspbian.img of=/dev/rdisk1 bs=1m sudo diskutil umount /dev/disk1s1 after boot set ‘raspi-config’ and ‘expand_rootfs’ to expand filesystem
Note:‘screen’ Command to use serial on Mac Plug USB to GPIO with DEV-09873,Not USB on Raspberry PI ls /dev/tty.* screen /dev/tty.usbserial-xxxxxxxx(serial No.) 115200
Installing Node.js (hard-floatABI) Do NOT use latest git clone git://github.com/joyent/node.git cd node;git checkout v0.8.14-release ./configure && make sudo make install *https://github.com/wware/rpi-hacking