View
18
Download
4
Category
Preview:
DESCRIPTION
Presented at OSC hamamatsu is written in Japanese.
Citation preview
Getting Started Raspberry PI
Masafumi OhtaLead of Japanese Raspberry PI UG.
13年2月11日月曜日
Self Intro
おおた まさふみ - Japanese Raspberry PI Users Groupを2012年9月に設立.公式サイトモデレータ・日本語フォーラムおもり担当
東京と静岡・浜松と往復の毎日...そろそろマジで死ねます。すいません、手抜きしてます...
13年2月11日月曜日
13年2月11日月曜日
13年2月11日月曜日
13年2月11日月曜日
13年2月11日月曜日
13年2月11日月曜日
13年2月11日月曜日
What’s Raspberry PI?
13年2月11日月曜日
Eben Upton,Founder
Rasberry PI財団を設立
Director of Broadcom
コンピュータ・ハード&ソフトの教育のためにRaspberry PI財団を設立.
13年2月11日月曜日
PI=Python
元々はK12の教育用のプログラミング教育に開発された機器 - Pythonは もbasicalな言語
Debian系のRaspbianやArcLinux,FreeBSDが動作..Androidは開発待ち
JavaFXも動くらしいのですが..orz..orz
13年2月11日月曜日
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!
13年2月11日月曜日
Check your Rev.
Model and revision Code(s)
Model B Revision 1.0 2
Model B Revision 1.0 + ECN0001 (no fuses, D14 removed)
3
Model B Revision 2.0 4,5,6
Model B Revision 2.0 (512 MB) 13,14,15
*cat /proc/cpuinfo (need to check on latest OS)
also you can check serial No. for maintenance
13年2月11日月曜日
RS Components - 日本で唯一の正規代理店。正規ルートでの仕入れはここしかない...納期ではものすごいことになってましたが、 近はようやっと回復。主な産地は中国。
Element14 - Sony UKの委託品を主に扱う.日本には韓国系のleocomが昨年末より取り扱い開始。Adafruit,modmypi等日本ではおなじみの取り扱いベンダーはここから仕入れている。納期は1-2週間
その他中国オンリールートとかもっぱら開拓中らしい...日本国内に委託も?考えているらしい(Eben夫妻は日本好き(マヂ))
Two Vendors for RasPI
13年2月11日月曜日
booksこれ↓中身ほぼ同じなんで注意な!
13年2月11日月曜日
Inside Raspberry PI
13年2月11日月曜日
10/100 ethernet - 十分な電源供給のため。
no wifi - wifi は電源食うんで....電源の供給具合が足らんと動きませぬ...ご注意を
poor memories,CPU - 全てはコストのため..でもさ多分Android動かすにはメモリ多いタイプだすよね?Ebenさん?
Needs enough to pack
13年2月11日月曜日
GPIO Port
SerialはGPIOから取ります。USBからとれません。
GPIO portのポートアサインがしょっちゅう変更されてるんでハード開発者の方はRevごとに確認してください。
Sparkfun DEV-09873 (3.3V NOT 5V) が利用できます。(これは通販やアキバ界隈で手に入ります)
Linuxの基本、115200 bpsにあわせてね、ここ重要。
13年2月11日月曜日
GPIO binding
13年2月11日月曜日
13年2月11日月曜日
13年2月11日月曜日
Be careful using
電源は十分に確保しましょう。USBwifiとかまともに動いてくれません。
Class10とかそこそこいいのは使いましょう。公式本にデジカメの使い古しとかありますがあれウソです...
USBバッテリーを使うなら高容量タイプを,Panasonicのであれば数時間動作します。
Mac OS利用者は『不正なUSB利用』でのKernel Panicに気をつけてね。抜き差しとか注意な!
13年2月11日月曜日
13年2月11日月曜日
Distros on PI
13年2月11日月曜日
Raspbian “wheezy”
デフォ・推奨されるOS
256MBタイプから512MBタイプへの移し替えはアップデートしてね(latestは考慮必要なし):’sudo apt-get update && sudo apt-get install raspi-config libraspberrypi*’
‘raspi-config‘ははじめにやってね。
GUIで使う方、マジ遅いので気をつけて.
CpU・メモリの貧弱っぷり?は考慮は常々必要
13年2月11日月曜日
Java Rocks with PI
13年2月11日月曜日
13年2月11日月曜日
13年2月11日月曜日
Macbook (Unix PC) を推奨(ごめんク○ウディアさん、MSさんきらいでないです。ガンダムすきだし)
gitは使いますので入れといてね (if Mac need MacPort)
赤い会社のOracle JVMを使う場合はsoft-float ABI Debian wheezyを使ってね、コレ注意な!
soft-float ABI wheezyを使う場合はstart.elfの書き換え忘れないでね、512MBタイプ256MBになっちゃいますよ!動きませんよ.
before get started
*http://neophob.com/2012/08/raspberry-pi-enable-the-spi-device/
13年2月11日月曜日
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)
13年2月11日月曜日
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
13年2月11日月曜日
Note:‘screen’ Commandto 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
13年2月11日月曜日
Installing JamVMsudo apt-get install openjdk-7-jdk git libtool autoconf automake
git clone git://git.berlios.de/jamvm;cd jamvm
./autogen.sh --with-java-runtime- library=openjdk7;make
sudo cp src/.libs/libjvm.so /usr/lib/jvm/java-7-openjdk-armhf/jre/lib/arm/jamvm/
*http://labb.zafena.se/?p=576
13年2月11日月曜日
Install JamVM(Cont’d)
sudo sed -i 's#-jamvm ERROR#-jamvm KNOWN#' /usr/lib/jvm/java-7-openjdk-armhf/jre/lib/arm/jvm.cfg
java -jamvm -version
*http://labb.zafena.se/?p=576
13年2月11日月曜日
Using JamVM
Jetty 9.0:http://download.eclipse.org/jetty/stable-9/dist/
H2 Database:http://www.h2database.com/h2-2012-09-09.zip
13年2月11日月曜日
Installing Node.js(soft-floatABI)
も簡単なinstallはsoft-floatABI wheezyを使う方法(ただ遅い..)
git clone git://github.com/itwars/nodejs-ARM.git
dpkg -i nodejs-ARM/nodejs_0.8.14~squeeze_armel.deb
*https://github.com/itwars/nodejs-ARM/
13年2月11日月曜日
Installing Node.js(hard-floatABI)
新版は動かないことが..要注意
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
13年2月11日月曜日
JavaFX for ARM
昨年のJavaOneではRaspberry PIでのJavaFXのデモセッションがいくつかありました...でもコレってまだ開発中のを持ってきてるんですよね。
要チェック http://jdk7.java.net/fxarmpreview/javafx-arm-developer-preview.html
このJavaFXのみhard-floatABIのwheezyで動かすことが可能です。ここは注意(他はsoft-floatABI)
目下まともには動かず....O社ってbetaのものは結構手抜きな気が...
*https://blogs.oracle.com/javaone/entry/session_report_java_on_the
13年2月11日月曜日
13年2月11日月曜日
Raspberry UGについて
13年2月11日月曜日
結成のきっかけOSC東京 fall 2012に集まったRaspberry PI ユーザがお互いのRasberry PI自慢をしているうちに、ユーザグループをつくってOSCに出展・いろいろやってみようで意気投合をし、ユーザグループを結成。
13年2月11日月曜日
Communityとしての実績・現在進行
※公式サイトの日本語フォーラム実現
(Moderatorとして『中の人』に)
※公式サイト資料・Wikiの翻訳・改訂
※本の執筆依頼
※OSC,KOF,JJUGでのスピーチ
※Rasberry Jam #0,#1とMeetUp開催
13年2月11日月曜日
Raspberry Jam #0共同購入したRaspberry PI(512MB rev.B)の配布今後のRaspberry PI Users Groupについて
- MeetUp,OSCへの参加について討議
13年2月11日月曜日
Raspberry Jam #1ユーザグループとしての初会合OSC出展・書籍執筆依頼・フォーラム登録など各メンバーからのTips紹介今後は2ヶ月に一回で開催(予定)
13年2月11日月曜日
Please Join US!
subscribe https://groups.google.com/d/forum/japanese-raspberry-pi-users-group
初心者大歓迎・女性大歓迎(XX女子部とか作りませんけどね...orz)
今後いろいろなOSSイベントに出没します!
是非是非Joinくださいませ
*note it is not concerned and sponsored by my company
13年2月11日月曜日
Thank you!Masafumi Ohta
mailto:masafumi@pid0.orgtwitter:@masafumiohta
subscribe please:https://groups.google.com/d/forum/japanese-raspberry-pi-users-group
13年2月11日月曜日
Recommended