of 19 /19
Firefox OS 介介

Firefox OS Overview

Embed Size (px)

Text of Firefox OS Overview

  • 1.Firefox OS

2. OutlineOverviewHow to build Requirements for Linux Supported devices Emulator build system boot process hardware module 3. OverviewFirefox OS Mozilla Boot to Gecko(B2G) Android Linux Gecko HTML JavaScript 4. Mozilla Firefox Firefox OS Simulator 5. 6. 7. How to build - RequirementsAn installed 64 bit GNU/Linuxdistribution (we recommend Ubuntu12.04).At least 4 GB of RAM/swap space.At least 20 GB of available hard diskspace. 8. How to build - Requirements Android autoconf 2.13bisonbzip2ccachecurlflexgawkgitgcc / g++ / g++-multilib (4.6.3 or older)makeOpenGL headersX11 headers32-bit ncurses32-bit zlibyasm 9. How to build Supported devices 3 Tier Tier 1 Tier 2 Tier 3Tier 1: Unagi, Otoro, Pandaboard, Emulator(ARM/x86), Desktop (Firefox + addon )Tier 2: Samsung Nexus S, Samsung Nexus S4GTier 3: Samsung Galaxy S2, Samsung GalaxyNexus 10. How to build - Emulator Build system git clone git://github.com/mozilla- b2g/B2G.git ./config.sh Emulator ./config.shemulator-x86 11. How to build - Emulatorsudo ln s /usr/lib/i386-linux-gnu/mesa/libGL.so.1/usr/lib/i386-linux-gnu/libGL.sosudo ln s /usr/lib/i386-linux-gnu/libX11.so.6/usr/lib/i386-linux-gnu/libX11.so gecko/nsprpub/pr/src/Makefile.in 133 OS_LIBS += -lrt build system Android ./build.sh script lunch product 12. How to build - Emulator ./run-emulator.sh Android QEMU 13. build systemBuild system Android lunch config.sh setup.sh gecko gecko Mozillabrowser C++ autoconf/automake Android.mk client.mk objdir-gecko 14. boot process bootloader kernel init/init.rc Android Android init.rc zygote Firefox OS b2g.shservice b2g /system/bin/b2g.sh class main onrestart restart media 15. user space Mozilla developer 16. Hardware moduleGraphics: Gecko -> GLES 2.0 + EGL -> screenAudio: Android mediaserver sensor/ Android hardware gaia navigator.vibrate() gecko/HAL http://j.mp/UVG92M Android 17. ZTE TelefonicaBarcelona MWC 18. Android OS Firefox OS rilproxy Android http://tech.mozilla.com.tw/posts/1231/hacking-firefox-os-emulator-for-ril 19. Mozilla Firefox OShttps://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Architectureraspberry pi + firefox os http://eva-quirinius.blogspot.nl/2012/08/running-firefoxos-b2g-on-raspi-with.html