moblin overview - events.static.linuxfound.org · moblin overview paul cooper otc, intel ......

24
Moblin Overview Paul Cooper OTC, Intel

Upload: dinhtruc

Post on 12-May-2018

218 views

Category:

Documents


0 download

TRANSCRIPT

Moblin Overview

Paul CooperOTC, Intel

© Copyright, 2009 Intel

Key Ingredients of Moblin

2

Moblin SDKMoblin Stack

Moblin BuildSystem

Moblin.org

MoblinEcosystem

© Copyright, 2009 Intel

Moblin.org

3

© Copyright, 2009 Intel

Moblin.org

4

Bugzilla: bugzilla.moblin.org

© Copyright, 2009 Intel

Moblin.org

5

Bugzilla: bugzilla.moblin.org

Git: git.moblin.org

© Copyright, 2009 Intel

Moblin.org

6

Bugzilla: bugzilla.moblin.org

Git: git.moblin.org

Mailing List: moblin.org/community/mailing-lists

© Copyright, 2009 Intel

Moblin.org

7

Bugzilla: bugzilla.moblin.org

Git: git.moblin.org

Mailing List: moblin.org/community/mailing-lists

IRC: #moblin on irc.freenode.org

© Copyright, 2009 Intel

Moblin SDK

8

Development Environment

Development Tools

Documentation

KVMVMWareMoblin Distribution

Moblin Image Creator 2Power TopLinux Project GeneratorEventual IDE Integration

Developer GuidesAPI References

3.30pm Moblin SDKBob Spencer

© Copyright, 2009 Intel

Moblin Build System

• Goals for the Moblin distributon– Optmized run-tme footprint– Optmal disk footprint– Optmal power and batery life– Optmal performance and boot tme

9

DistributedBuild

System

SourcePackages RPMs Moblin

ImageCreator

Bootable Image

© Copyright, 2009 Intel

Moblin Ecosystem

10

Moblin.org

UpstreamProjects

ApplicationDevelopers

OSVsMoblinContributors

Device Builders

• Moblin-based Distributions

• Customization• Validation• Support

Moblin-compatibleApplications

• Code• Bug Reports• Documentation

© Copyright, 2009 Intel

The Moblin Stack

• Moblin Core is common across platorms

• User Experience is specifc to a platorm (e.g. MID, Netbook, IVI, …)

11

UI Services Mob

linC

ore

App Services

Linux Kernel and Drivers

Platform Specific UX

© Copyright, 2009 Intel

The Moblin Core

C Services(Glib, GObject)

GTK+

3D User Interface Library (Clutter)QT

App

Ser

vice

sU

IS

ervi

ces

Mob

lin C

ore

Platform Specific UX

Location(Gypsy, GeoClue)

Device Sync(SyncML, gUPnP)

Media Services(GStreamer, Helix)

PIM Services(EDS)

Web Services(REST, Mojito)

Audio Mgmt(PulseAudio)

Power Mgmt(OSPM)

Media Playback(clutter-media)

Physics(Box2D)

Web Rendering(mozilla-clutter)

Content Mgmt(Bickley)

GTK Embed(clutter-GTK)

QT Embed(clutter-QT)

Linux Kernel and Drivers

Telephony APIs(Telepathy, GSM)

Bluetooth(BlueZ)

Network Mgmt(ConnMan)

Comms Subsystem

WiFi / WiMAX(Drivers, OMA-DM)

3rd Party

CellularStack

IP(VoIP, IM,

Presence) X

i18N Rendering(Pango)

2D Graphics(Cairo)

Message Bus(D-Bus)

Layout Engine(Mozilla Gecko)

Gfx Subsystem

Open GL

Intel Confidential12

© Copyright, 2009 Intel

The Moblin Core

C Services(Glib, GObject)

GTK+

3D User Interface Library (Clutter)QT

App

Ser

vice

sU

IS

ervi

ces

Mob

lin C

ore

Platform Specific UX

Location(Gypsy, GeoClue)

Device Sync(SyncML, gUPnP)

Media Services(GStreamer, Helix)

PIM Services(EDS)

Web Services(REST, Mojito)

Audio Mgmt(PulseAudio)

Power Mgmt(OSPM)

Media Playback(clutter-media)

Physics(Box2D)

Web Rendering(mozilla-clutter)

Content Mgmt(Bickley)

GTK Embed(clutter-GTK)

QT Embed(clutter-QT)

Linux Kernel and Drivers

Telephony APIs(Telepathy, GSM)

Bluetooth(BlueZ)

Network Mgmt(ConnMan)

Comms Subsystem

WiFi / WiMAX(Drivers, OMA-DM)

3rd Party

CellularStack

IP(VoIP, IM,

Presence) X

i18N Rendering(Pango)

2D Graphics(Cairo)

Message Bus(D-Bus)

Layout Engine(Mozilla Gecko)

Gfx Subsystem

Open GL

Intel Confidential13

© Copyright, 2009 Intel

Cluter

• Cluter is an open source sofware library for creatng sleek, fast and visually rich interfaces with 3D efects and animatons– Uses OpenGL without exposing the complexity– Ofers a simple, object-oriented API, tailored toward

manipulatng 2D objects in 3D space and tme– Built on glib, gobject, pango, cairo– Developed in C with bindings for Python, Perl, C#– Released under the GNU LGPL license

14

3D User Interface Library (Clutter)

Media Playback(clutter-media)

Physics(Box2D)

Web Rendering(mozilla-clutter)

GTK Embed(clutter-GTK)

QT Embed(clutter-QT)

1 - 3pm Clutter TutorialEmmanuele Bassi

© Copyright, 2009 Intel

QT / GTK+

• QT & GTK+ are the standard widget toolkits for Linux

• Cluter-qt and Cluter-gtk allow embedding of Cluter into QT and GTK+ based apps

15

GTK+

QT

GTK Embed(clutter-GTK)

QT Embed(clutter-QT)

© Copyright, 2009 Intel

Internet

• Three major components of the browser– Headless layout engine, cluter embedding, and a platorm

specifc browser app• Web Services libraries enable integraton of web content

(e.g. social networking, media) into the user experience

16

Layout EngineMozilla Headless

Platform SpecificBrowser

Web RenderingClutterMozEmbed

Web ServicesLibREST / Mojito

10.30am Moblin CoreRob Bradford

© Copyright, 2009 Intel

Media

• Media stack is designed to support either Helix or GStreamer

• Cluter-media provides a uniform interface to control playback of media sources

• Bickley provides metadata extracton and management for media fles (audio, video, and photo)

17

Media ServicesGStreamer / Helix

Platform SpecificMedia Player

Media PlaybackClutter Media

Audio MgmtPulse Audio

Content MgmtBickley

© Copyright, 2009 Intel

Graphics Subsystem

• Cluter makes heavy use of 3D acceleraton via OpenGL

• Support for DRI2 enables OpenGL-in-OpenGL (e.g. for running cluter apps in a compositng window manager)

18

© Copyright, 2009 Intel

Comms

• Telephony API to enable support for multple 3G voice stacks and integraton with VoIP

• Network management via ConnMan supportng WiFi, WiMAX, and 3G data connectons

19

11.15pm ConnManMarcel Holtmann

© Copyright, 2009 Intel

PIM and Sync

• EDS-dbus provides the data store for PIM data (Calendar, Contacts, and Tasks)

• Planning a SyncML client which synchronizes PIM data

• Media sync under investgaton

20

Device SyncSyncML, GUPnP

PIM ServicesEDS-dbus

© Copyright, 2009 Intel

Locaton

• GeoClue provides locaton informaton from a variety of sources via a D-Bus interface

• Gypsy provides abstracted, multplexed access to GPS devices (a replacement for GPSD)

21

LocationGypsy, Geoclue

© Copyright, 2009 Intel

Other Services

• Glib and Gobject provide a portable object system used by other services

• Power management for specifc platorms (e.g. OSPM for MIDs)

• D-Bus as a common mechanism for app-to-app / app-to-service communicaton

22

Power MgmtOSPM

C ServicesGlib, GObject

Message BusD-Bus

© Copyright, 2009 Intel

Agenda

• 10:00 - 10:30 Break

• 10:30 - 11:15 Developing for Moblin Core Technologies: Rob Bradford

• 11:15 - 12:00 Connection Manager: Marcel Holtmann

• 12:00 - 13:00 Lunch

• 13:00 - 15:00 Clutter Tutorial: Emmanuele Bassi

• 15:00 - 15:30 Break

• 15:30 - 16:15 Moblin SDK: Bob Spencer

• 16:15 - 17:00 Porting Applications to Moblin: Rob Bradford

© Copyright, 2009 Intel

Questons?