SlideShare une entreprise Scribd logo
1  sur  20
Télécharger pour lire hors ligne
Firefox OS
What is Firefox OS?
• A new Mobile Operating System
• Announced on July 25, 2011
• It is developed by Mozilla
• It is based on Boot-to-Gecko (B2G)
• Implements all standards based web
  technologies (HTML, CSS, and JavaScript)
• It is open-source
User Interface
Firefox OS Architecture
Gaia
• The user interface of the Firefox OS platform
• It is implemented entirely using HTML5, CSS3,
  and JavaScript which runs on Gecko and make
  use of JavaScript APIs exposed by it
• It also provides basic apps like Browser,
  Calendar, Calculator, Camera, Email, Radio,
  Music, etc
Gecko ---> Boot-to-Gecko
• Gecko is a layout engine used in Firefox
• But Boot-to-Gecko is an environment to run
  apps written using HTML5, CSS3, and
  JavaScript
• It provides APIs to access hardware resources
  like battery, camera, Bluetooth, etc
• APIs are in C Language
Gonk
• A lower level OS of the Firefox OS
• It consists of Linux kernel and user space
  Hardware Abstraction Layer (HAL)
• Implements common-open source libraries:
  Linux, libusb, bluez, etc
• Some of the other parts of HAL are shared
  with Android Project: GPS, Camera, etc
• The APIs used in Gecko are provided by Gonk
Working of Firefox OS
• When a Firefox OS is turned on, execution begins
  in the primary bootloader and at the end
  execution is handed off to Linux Kernel
• The bootloaders usually display the first splash
  screen seen by the user during device startup;
  this is typically a vendor logo
• The bootloader implement flashing an image to
  the device. Different device use different
  protocols; most phones use the fastboot protocol
Working of Firefox OS
• But the Samsung Galaxy SII uses the ordin
  protocol
• Now, a userspace init process is launched, as it
  is in most UNIX-like Oses
• At this point in execution, the only mounted
  “disk” is a RAM disk
• Once the init process is launched, the Linux
  kernel handles system calls
Working of Firefox OS
• Many hardware features are exposed to
  userspace through sysfs
• For example, here’s a code snipped that reads
  the battery state in Gecko
Graphics Implementation
• Gecko uses OpenGL ES 2.0
• Gecko draws separate regions of pages into
  memory buffers
• Sometimes these buffers are in system
  memory; other times, they’re textures
  mapped into Gecko’s address space, which
  means that Gecko is drawing directly into
  video memory
Sandbox Implementation
• As most web content runs in content processes
  with low privileges, we can’t assume those
  processes have the privileges needed to able to
  (for example), turn on and off the vibration motor
• In addition we want to have a central location for
  handling potential race conditions
• This Sandbox implementation simply proxies
  requests made by content processes and
  forwards them to the Gecko server process using
  IPDL
If Android is free, then why this?
• Anyone can download Android source and put
  it on a device, but companies that want to
  make and sell Android devices are probably
  going to have to negotiate a patent licensing
  arrangement with Microsoft
• Basically all device makers except Google has
  inked a deal with it to protect themselves
  against possible patent infringement suits
If Android is free, then why this?
• Furthermore, some members of the Android
  ecosystem are more equal than others
• Google also has preferred partners who get
  early looks at Android while its in
  development, so they can have their products
  ready sooner
• Firefox OS has none of that
User Interface: FM Radio
User Interface: Maps from Nokia
User Interface: MarketPlace
User Interface: Settings
User Interface: Notifications
User Interface: Everything.me

Contenu connexe

Tendances

Firefox OS Intro
Firefox OS IntroFirefox OS Intro
Firefox OS IntroRan Byron
 
Firefox os-introduction
Firefox os-introductionFirefox os-introduction
Firefox os-introductionzsoltlengyelit
 
Firefox OS: bringing the Open Web to mobile devices
Firefox OS: bringing the Open Web to mobile devicesFirefox OS: bringing the Open Web to mobile devices
Firefox OS: bringing the Open Web to mobile devicesTristan Nitot
 
Firefox OS Perspective
Firefox OS Perspective Firefox OS Perspective
Firefox OS Perspective ankitgadgil
 
Firefox OS, introduction, concepts, architecture and hello world example
Firefox OS, introduction, concepts, architecture and hello world exampleFirefox OS, introduction, concepts, architecture and hello world example
Firefox OS, introduction, concepts, architecture and hello world exampleDiego Mendonça
 
Firefox OS Intro, Inside OUT
Firefox OS Intro, Inside OUTFirefox OS Intro, Inside OUT
Firefox OS Intro, Inside OUTskiee-mahir
 
Web browsers
Web browsersWeb browsers
Web browserslearnt
 
Firefox OS - Hive Pilani 2015
Firefox OS - Hive Pilani 2015Firefox OS - Hive Pilani 2015
Firefox OS - Hive Pilani 2015Nilay Binjola
 
Internet browers comparison
Internet browers comparisonInternet browers comparison
Internet browers comparisonferristic
 
Mozila firefox The Internet Browser
Mozila firefox The Internet BrowserMozila firefox The Internet Browser
Mozila firefox The Internet BrowserGurpreet Singh
 

Tendances (17)

Firefox OS Intro
Firefox OS IntroFirefox OS Intro
Firefox OS Intro
 
Firefox os-introduction
Firefox os-introductionFirefox os-introduction
Firefox os-introduction
 
Firefox OS: bringing the Open Web to mobile devices
Firefox OS: bringing the Open Web to mobile devicesFirefox OS: bringing the Open Web to mobile devices
Firefox OS: bringing the Open Web to mobile devices
 
Firefox os
Firefox osFirefox os
Firefox os
 
Firefox OS
Firefox OSFirefox OS
Firefox OS
 
Firefox OS Perspective
Firefox OS Perspective Firefox OS Perspective
Firefox OS Perspective
 
Firefox OS, introduction, concepts, architecture and hello world example
Firefox OS, introduction, concepts, architecture and hello world exampleFirefox OS, introduction, concepts, architecture and hello world example
Firefox OS, introduction, concepts, architecture and hello world example
 
Firefox OS
Firefox OSFirefox OS
Firefox OS
 
mozilla firefox
mozilla firefox mozilla firefox
mozilla firefox
 
Firefox OS Intro, Inside OUT
Firefox OS Intro, Inside OUTFirefox OS Intro, Inside OUT
Firefox OS Intro, Inside OUT
 
Firefox os
Firefox osFirefox os
Firefox os
 
Web browsers
Web browsersWeb browsers
Web browsers
 
Firefox OS - Hive Pilani 2015
Firefox OS - Hive Pilani 2015Firefox OS - Hive Pilani 2015
Firefox OS - Hive Pilani 2015
 
Internet browers comparison
Internet browers comparisonInternet browers comparison
Internet browers comparison
 
Web browsers
Web browsersWeb browsers
Web browsers
 
Mozila firefox The Internet Browser
Mozila firefox The Internet BrowserMozila firefox The Internet Browser
Mozila firefox The Internet Browser
 
Browsers
BrowsersBrowsers
Browsers
 

Similaire à Firefox os

Similaire à Firefox os (20)

Firefox OS
Firefox OSFirefox OS
Firefox OS
 
Firefox OS
Firefox OSFirefox OS
Firefox OS
 
Introduction to firefox os
Introduction to firefox osIntroduction to firefox os
Introduction to firefox os
 
Appdaysindore
AppdaysindoreAppdaysindore
Appdaysindore
 
De leukste Bug
De leukste BugDe leukste Bug
De leukste Bug
 
OSGi on Google Android using Apache Felix
OSGi on Google Android using Apache FelixOSGi on Google Android using Apache Felix
OSGi on Google Android using Apache Felix
 
Open source software siddique
Open source software siddiqueOpen source software siddique
Open source software siddique
 
B2g
B2gB2g
B2g
 
Android
AndroidAndroid
Android
 
Embedded Android : System Development - Part I
Embedded Android : System Development - Part IEmbedded Android : System Development - Part I
Embedded Android : System Development - Part I
 
Android OS
Android OSAndroid OS
Android OS
 
W3C HTML5 KIG-The near future of the web platform
 W3C HTML5 KIG-The near future of the web platform W3C HTML5 KIG-The near future of the web platform
W3C HTML5 KIG-The near future of the web platform
 
Android development
Android developmentAndroid development
Android development
 
Google Chrome - OS & BROWSER
Google Chrome - OS & BROWSERGoogle Chrome - OS & BROWSER
Google Chrome - OS & BROWSER
 
605 open source applications
605 open source applications605 open source applications
605 open source applications
 
Android
Android Android
Android
 
Android beyond the smartphone
Android beyond the smartphoneAndroid beyond the smartphone
Android beyond the smartphone
 
document
documentdocument
document
 
Android quick talk
Android quick talkAndroid quick talk
Android quick talk
 
Introduction to android sessions new
Introduction to android   sessions newIntroduction to android   sessions new
Introduction to android sessions new
 

Plus de Amit Chaudhary

Plus de Amit Chaudhary (6)

Synonyms 1
Synonyms 1Synonyms 1
Synonyms 1
 
Nouvelle Technologie 2nd Week
Nouvelle Technologie 2nd WeekNouvelle Technologie 2nd Week
Nouvelle Technologie 2nd Week
 
Nouvelle Technologie 1st week
Nouvelle Technologie 1st weekNouvelle Technologie 1st week
Nouvelle Technologie 1st week
 
Amazon silk browser
Amazon silk browserAmazon silk browser
Amazon silk browser
 
Gps Navigation System
Gps Navigation SystemGps Navigation System
Gps Navigation System
 
Hadoop
HadoopHadoop
Hadoop
 

Firefox os

  • 2. What is Firefox OS? • A new Mobile Operating System • Announced on July 25, 2011 • It is developed by Mozilla • It is based on Boot-to-Gecko (B2G) • Implements all standards based web technologies (HTML, CSS, and JavaScript) • It is open-source
  • 5. Gaia • The user interface of the Firefox OS platform • It is implemented entirely using HTML5, CSS3, and JavaScript which runs on Gecko and make use of JavaScript APIs exposed by it • It also provides basic apps like Browser, Calendar, Calculator, Camera, Email, Radio, Music, etc
  • 6. Gecko ---> Boot-to-Gecko • Gecko is a layout engine used in Firefox • But Boot-to-Gecko is an environment to run apps written using HTML5, CSS3, and JavaScript • It provides APIs to access hardware resources like battery, camera, Bluetooth, etc • APIs are in C Language
  • 7. Gonk • A lower level OS of the Firefox OS • It consists of Linux kernel and user space Hardware Abstraction Layer (HAL) • Implements common-open source libraries: Linux, libusb, bluez, etc • Some of the other parts of HAL are shared with Android Project: GPS, Camera, etc • The APIs used in Gecko are provided by Gonk
  • 8. Working of Firefox OS • When a Firefox OS is turned on, execution begins in the primary bootloader and at the end execution is handed off to Linux Kernel • The bootloaders usually display the first splash screen seen by the user during device startup; this is typically a vendor logo • The bootloader implement flashing an image to the device. Different device use different protocols; most phones use the fastboot protocol
  • 9. Working of Firefox OS • But the Samsung Galaxy SII uses the ordin protocol • Now, a userspace init process is launched, as it is in most UNIX-like Oses • At this point in execution, the only mounted “disk” is a RAM disk • Once the init process is launched, the Linux kernel handles system calls
  • 10. Working of Firefox OS • Many hardware features are exposed to userspace through sysfs • For example, here’s a code snipped that reads the battery state in Gecko
  • 11. Graphics Implementation • Gecko uses OpenGL ES 2.0 • Gecko draws separate regions of pages into memory buffers • Sometimes these buffers are in system memory; other times, they’re textures mapped into Gecko’s address space, which means that Gecko is drawing directly into video memory
  • 12. Sandbox Implementation • As most web content runs in content processes with low privileges, we can’t assume those processes have the privileges needed to able to (for example), turn on and off the vibration motor • In addition we want to have a central location for handling potential race conditions • This Sandbox implementation simply proxies requests made by content processes and forwards them to the Gecko server process using IPDL
  • 13. If Android is free, then why this? • Anyone can download Android source and put it on a device, but companies that want to make and sell Android devices are probably going to have to negotiate a patent licensing arrangement with Microsoft • Basically all device makers except Google has inked a deal with it to protect themselves against possible patent infringement suits
  • 14. If Android is free, then why this? • Furthermore, some members of the Android ecosystem are more equal than others • Google also has preferred partners who get early looks at Android while its in development, so they can have their products ready sooner • Firefox OS has none of that
  • 16. User Interface: Maps from Nokia