firefox os + raspberry pi
DESCRIPTION
English VersionTRANSCRIPT
![Page 1: Firefox OS + Raspberry Pi](https://reader033.vdocuments.mx/reader033/viewer/2022052303/5552dce0b4c90532498b4c58/html5/thumbnails/1.jpg)
Firefox OS+
Raspberry Pi||?
EnsekiTT
![Page 2: Firefox OS + Raspberry Pi](https://reader033.vdocuments.mx/reader033/viewer/2022052303/5552dce0b4c90532498b4c58/html5/thumbnails/2.jpg)
Goal
Run FirefoxOS in Raspberry Pi
![Page 3: Firefox OS + Raspberry Pi](https://reader033.vdocuments.mx/reader033/viewer/2022052303/5552dce0b4c90532498b4c58/html5/thumbnails/3.jpg)
What’s that?Raspberry PiFirefox OS
![Page 4: Firefox OS + Raspberry Pi](https://reader033.vdocuments.mx/reader033/viewer/2022052303/5552dce0b4c90532498b4c58/html5/thumbnails/4.jpg)
What’s that?Raspberry PiFirefox OS
Open Source
Web is the platform
Made of the Web
Made by Firefox
Low Cost
Small Size
ARM Core
Rich Interfaces
![Page 5: Firefox OS + Raspberry Pi](https://reader033.vdocuments.mx/reader033/viewer/2022052303/5552dce0b4c90532498b4c58/html5/thumbnails/5.jpg)
ToolsRaspberryPiUSB MicroB CableUSB Charger ( > 700mA)SD Card( > 8GB),SD Card R/WPC(Linux | OS X | Windows) for AdvUSB Key Board, MouseHDMI Monitor, CableEthernet Cable(Connect the Internet)
![Page 6: Firefox OS + Raspberry Pi](https://reader033.vdocuments.mx/reader033/viewer/2022052303/5552dce0b4c90532498b4c58/html5/thumbnails/6.jpg)
Raspbian “wheezy”DebianRaspberry Pi
![Page 7: Firefox OS + Raspberry Pi](https://reader033.vdocuments.mx/reader033/viewer/2022052303/5552dce0b4c90532498b4c58/html5/thumbnails/7.jpg)
Raspbian “wheezy”DebianRaspberry Pi
Linux Distribution
Open Source
Operating System
Big Community
Low Cost
Small Size
ARM Core
Rich Interfaces
![Page 8: Firefox OS + Raspberry Pi](https://reader033.vdocuments.mx/reader033/viewer/2022052303/5552dce0b4c90532498b4c58/html5/thumbnails/8.jpg)
Here!This is baked Pi
(Debian installed SD Card)
![Page 9: Firefox OS + Raspberry Pi](https://reader033.vdocuments.mx/reader033/viewer/2022052303/5552dce0b4c90532498b4c58/html5/thumbnails/9.jpg)
Start up!
Insert SD Card
![Page 10: Firefox OS + Raspberry Pi](https://reader033.vdocuments.mx/reader033/viewer/2022052303/5552dce0b4c90532498b4c58/html5/thumbnails/10.jpg)
Start up!
Connect HDMI Cable
![Page 11: Firefox OS + Raspberry Pi](https://reader033.vdocuments.mx/reader033/viewer/2022052303/5552dce0b4c90532498b4c58/html5/thumbnails/11.jpg)
Start up!
Connect LAN Cable
![Page 12: Firefox OS + Raspberry Pi](https://reader033.vdocuments.mx/reader033/viewer/2022052303/5552dce0b4c90532498b4c58/html5/thumbnails/12.jpg)
Start up!
Connect USBMouse and Keyboard
![Page 13: Firefox OS + Raspberry Pi](https://reader033.vdocuments.mx/reader033/viewer/2022052303/5552dce0b4c90532498b4c58/html5/thumbnails/13.jpg)
Connected!
![Page 14: Firefox OS + Raspberry Pi](https://reader033.vdocuments.mx/reader033/viewer/2022052303/5552dce0b4c90532498b4c58/html5/thumbnails/14.jpg)
Power ON
![Page 15: Firefox OS + Raspberry Pi](https://reader033.vdocuments.mx/reader033/viewer/2022052303/5552dce0b4c90532498b4c58/html5/thumbnails/15.jpg)
Login
Login ID: piLogin Pass: raspberry
![Page 16: Firefox OS + Raspberry Pi](https://reader033.vdocuments.mx/reader033/viewer/2022052303/5552dce0b4c90532498b4c58/html5/thumbnails/16.jpg)
Firefox OS Install
OutlineMake directory for Firefox OSGet Firefox OSGet Profile dataBoot!
![Page 17: Firefox OS + Raspberry Pi](https://reader033.vdocuments.mx/reader033/viewer/2022052303/5552dce0b4c90532498b4c58/html5/thumbnails/17.jpg)
Make directory for Firefox OS
$ cd $ mkdir fxos$ cd fxos
[dir]: Directory namecd [dir]: Change Directory for [dir] (if [dir] = empty then [dir] = HomeDirectory)mkdir [dir]: Make Directory
![Page 18: Firefox OS + Raspberry Pi](https://reader033.vdocuments.mx/reader033/viewer/2022052303/5552dce0b4c90532498b4c58/html5/thumbnails/18.jpg)
Download Firefox OS
$ wget http://michi.mozlabs.jp/fxos/b2g-17.0a1.linuxgl-gnueabi-armhf_v6.tar.gz
[NetFile]: File on WWWwget [NetFile]: Download [NetFile]
![Page 19: Firefox OS + Raspberry Pi](https://reader033.vdocuments.mx/reader033/viewer/2022052303/5552dce0b4c90532498b4c58/html5/thumbnails/19.jpg)
UnpackFirefox OS tarball
$ tar xvzf b2g-17.0a1.linuxgl-gnueabi-armhf_v6.tar.gz$ cd b2g/
[file]: tarball file nametar xvzf [file]: unpack command(x:unpack files, v:view files list, z:.gz unpack, f [file]: tarball file name)
![Page 20: Firefox OS + Raspberry Pi](https://reader033.vdocuments.mx/reader033/viewer/2022052303/5552dce0b4c90532498b4c58/html5/thumbnails/20.jpg)
Download and unpackprofile data
$ wget http://michi.mozlabs.jp/fxos/profile.tar.gz$ tar xvzf profile.tar.gz
![Page 21: Firefox OS + Raspberry Pi](https://reader033.vdocuments.mx/reader033/viewer/2022052303/5552dce0b4c90532498b4c58/html5/thumbnails/21.jpg)
$ ./b2g -profile profile
![Page 22: Firefox OS + Raspberry Pi](https://reader033.vdocuments.mx/reader033/viewer/2022052303/5552dce0b4c90532498b4c58/html5/thumbnails/22.jpg)
Finish
Close Firefox OS
Halt Raspberry Pi
and unconnect Power USB$ sudo halt
[Ctrl] + c
![Page 23: Firefox OS + Raspberry Pi](https://reader033.vdocuments.mx/reader033/viewer/2022052303/5552dce0b4c90532498b4c58/html5/thumbnails/23.jpg)
Future Work
Add touch displayAdd camera displayAdd 3G module
If add 3G module, That’s Phone!!
![Page 24: Firefox OS + Raspberry Pi](https://reader033.vdocuments.mx/reader033/viewer/2022052303/5552dce0b4c90532498b4c58/html5/thumbnails/24.jpg)
Advance Course
![Page 25: Firefox OS + Raspberry Pi](https://reader033.vdocuments.mx/reader033/viewer/2022052303/5552dce0b4c90532498b4c58/html5/thumbnails/25.jpg)
Raspbian “wheezy” Install
ToolsPersonal Computer(OS X)SD Card ,SD Card R/W
![Page 26: Firefox OS + Raspberry Pi](https://reader033.vdocuments.mx/reader033/viewer/2022052303/5552dce0b4c90532498b4c58/html5/thumbnails/26.jpg)
Prepare of Environmentex: OSX
Mac Ports | Homebrewsudo port install wgetbrew install wget
![Page 27: Firefox OS + Raspberry Pi](https://reader033.vdocuments.mx/reader033/viewer/2022052303/5552dce0b4c90532498b4c58/html5/thumbnails/27.jpg)
Install Start!Make Directory
$ cd $ mkdir raspi$ cd raspi
[dir]: Directory namecd [dir]: Change Directory for [dir] (if [dir] = empty then [dir] = HomeDirectory)mkdir [dir]: Make Directory
![Page 28: Firefox OS + Raspberry Pi](https://reader033.vdocuments.mx/reader033/viewer/2022052303/5552dce0b4c90532498b4c58/html5/thumbnails/28.jpg)
DownloadRaspbian “wheezy”
$ wget http://downloads.raspberrypi.org/images/raspbian/2012-10-28-wheezy-raspbian/2012-10-28-wheezy-raspbian.zip
You can get hire ↓http://www.raspberrypi.org/downloads
![Page 29: Firefox OS + Raspberry Pi](https://reader033.vdocuments.mx/reader033/viewer/2022052303/5552dce0b4c90532498b4c58/html5/thumbnails/29.jpg)
Unpack Zip
$ unzip 2012-10-28-wheezy-raspbian.zip
[file]: Zip File nameunzip [file]: Unpack [file]
![Page 30: Firefox OS + Raspberry Pi](https://reader033.vdocuments.mx/reader033/viewer/2022052303/5552dce0b4c90532498b4c58/html5/thumbnails/30.jpg)
Insert SD card$ df
df: Show disk parameters
Filesystem 512-blocks Used Available Capacity Mounted on/dev/disk0s2 723603632 442647392 280444240 62% /devfs 376 376 0 100% /devmap -hosts 0 0 0 100% /netmap auto_home 0 0 0 100% /home/dev/disk2s1 31488000 4480 31483520 1% /Volumes/NO NAME
Take note : /dev/disk2s1(BSD Name)
![Page 31: Firefox OS + Raspberry Pi](https://reader033.vdocuments.mx/reader033/viewer/2022052303/5552dce0b4c90532498b4c58/html5/thumbnails/31.jpg)
Unmount SD Card
$ sudo diskutil unmount /dev/disk2s1password: *****
[com]: Command[disk]: BSD namesudo [com]: Run command as super userpassword: *****: Super user passworddiskutil: OSX disk utility commanddiskutil unmount [disk]: Unmount disk
![Page 32: Firefox OS + Raspberry Pi](https://reader033.vdocuments.mx/reader033/viewer/2022052303/5552dce0b4c90532498b4c58/html5/thumbnails/32.jpg)
WriteDebian “wheezy”
$ sudo dd bs=1m if=./2012-10-28-wheezy-raspbian.img of=/dev/rdisk2
[img disk]: Image disk./ : Current Directory/ : Root Directorydd: Disk dump (Copy all image)bs=*: Block Size(1m=1MB)if=[img disk]: Source image diskof=[disk]: Output disk
![Page 33: Firefox OS + Raspberry Pi](https://reader033.vdocuments.mx/reader033/viewer/2022052303/5552dce0b4c90532498b4c58/html5/thumbnails/33.jpg)
WriteDebian “wheezy”
$ sudo dd bs=1m if=./2012-10-28-wheezy-raspbian.img of=/dev/rdisk2
Q: !? I noted /dev/disk2s1.
A: /dev/disk2s1 is one of disk partition Add r for raw access to disk2 s1 means partition Therefore “/dev/rdisk2”
![Page 34: Firefox OS + Raspberry Pi](https://reader033.vdocuments.mx/reader033/viewer/2022052303/5552dce0b4c90532498b4c58/html5/thumbnails/34.jpg)
Eject SD Card
$ sudo diskutil eject /dev/rdisk2
diskutil eject [disk]: eject [disk]
![Page 35: Firefox OS + Raspberry Pi](https://reader033.vdocuments.mx/reader033/viewer/2022052303/5552dce0b4c90532498b4c58/html5/thumbnails/35.jpg)
First Step of Piexpand_rootfs
Use SD Card full access
configure_keyboardSelect your keyboard layout
change_timezoneex:「Asia」→「Tokyo」
updateUpdate Debian
![Page 36: Firefox OS + Raspberry Pi](https://reader033.vdocuments.mx/reader033/viewer/2022052303/5552dce0b4c90532498b4c58/html5/thumbnails/36.jpg)
☕Coffee Break
![Page 37: Firefox OS + Raspberry Pi](https://reader033.vdocuments.mx/reader033/viewer/2022052303/5552dce0b4c90532498b4c58/html5/thumbnails/37.jpg)
ReferencesRaspberryPi Quick Start Guide
http://www.raspberrypi.org/quick-start-guideRaspberry Pi Download
http://www.raspberrypi.org/downloadsRPi Easy SD Card Setup
http://elinux.org/RPi_Easy_SD_Card_SetupRaspberry Pi Configure
http://gold.ap.teacup.com/maz01/319.htmlFirefoxOS Instration
http://eva-quirinius.blogspot.nl/2012/08/running-firefoxos-b2g-on-raspi-with.html
Source of FirefoxOS and Profileshttp://romaxa.info/b2g/