Android Solutions


Published on

  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Android Solutions

  1. 1. Android Solutions © 2009 Open Kernel Labs, Inc. All rights reserved. This presentation has been prepared by Open Kernel Labs (OK). It contains certain proprietary and confidential information about OK’s core competencies, personnel, and product offerings. OK does not authorize its dissemination in whole or in part to any unauthorized parties, potential partners or competitors.
  2. 2. Open Kernel Labs Mobile Virtualization – >  World’s leading provider of mobile phone virtualization solutions >  Founded in 2006 following 15+ years R&D; > $25MM invested >  Delivers OKL4 Microvisor; in more than 300 million devices >  IP commercialization with National ICT Australia >  OK developer community surpasses 1,000 members >  Solutions for Android, Symbian, Linux, and more >  Growing mobile-to-enterprise market with investor/partner Citrix Open Kernel Labs is the global leader in open source virtualization software for mobile devices, consumer electronics, and embedded systems. Backed by the largest, independent team of microkernel developers, the OKL4 embedded hypervisor is deployed on more than 300 million mobile phones worldwide. Semiconductor suppliers, handset OEMs, and mobile network operators depend on OK Labs to deliver high performance solutions that decrease BOM cost, reduce complexity, and speed time-to-market. 2009 Finalist © 2009 Open Kernel Labs, Inc. All rights reserved. 2
  3. 3. What is Mobile Virtualization? OKL4 Microvisor with Secure HyperCell Technology >  Goes well beyond the classical hypervisor model >  Enables virtualization and componentization •  VM = OS plus its applications in a cell Secure HyperCell Technology •  Lightweight execution environments •  Drivers •  HW enforced isolation between cells >  Control over communication between cells •  Required for mandatory access control >  Fast context switching and high performance inter-cell communication >  Highly trustworthy privileged code •  Small, clean, open source © 2009 Open Kernel Labs, Inc. All rights reserved. 3
  4. 4. The Android Revolution – OK:Android >  : a truly game-changing platform for mobile devices •  Complete set of software: operating system, middleware, key applications •  Completely open for end users and developers •  Feature-rich software development kit and open App Market >  Significant opportunity! But significant challenges •  How to integrate such an all-encompassing platform? •  How to maintain existing development and technology investment? •  How to differentiate? >  The Solution is OK:Android © 2009 Open Kernel Labs, Inc. All rights reserved. 4
  5. 5. OK:Android – Architecture >  In OK:Android, OK Labs supplies an OS support package for Android, enabled for use as a guest OS of the Application OKL4 mobile virtualization platform. Software Baseband Legacy OK:Android simplifies and streamlines Software Components the process of creating new Android Example: phones Android Multimedia Middleware Framework >  OK:Android provides a standard Android Linux RTOS Android environment, where existing Kernel Android applications can run without De-privileged modification and new applications can be developed using standard Android Privileged development tools OKL4 Microvisor ARM Processor © 2009 Open Kernel Labs, Inc. All rights reserved. 5
  6. 6. OK:Android – Solutions >  Using OK:Android to create a virtual machine (VM) with an Android guest OS adds to the benefits associated with the use of Android in the following ways: •  Android applications can run on the same processor side by side with legacy applications and legacy OSes. This co-location eliminates the need for either multiprocessor hardware or porting the legacy system to Android. •  OKL4 native cells can complement the Android VM by providing an execution environment with better real-time properties and stronger security. •  OKL4 native cells are well-suited to hosting real-time OSes, easing implementation of latency-sensitive functions without sacrificing the rich ecosystem support available for Android. •  The OKL4 Microvisor makes it possible to dynamically and efficiently utilize system resources such as computing power, electrical power, and memory on single core and multicore designs. © 2009 Open Kernel Labs, Inc. All rights reserved. 6
  7. 7. Virtualizing Android: The role of the Microvisor >  Microvisor partitions and multiplexes hardware Secure HyperCell Technology between guests VM 1 VM 2 >  Microvisor is in complete control of all resources Applications Applications •  Completely abstracts SoC implementation from OKL4 kernel Guest OS Guest OS >  Virtual machines access virtual resources •  Mapped to physical resources by microvisor >  Guest OS executes at lesser privilege •  Only microvisor runs in most privileged mode Virtual RAM Virtual RAM •  Essential to ensure microvisor has control over resources De-privileged •  Guest OS should not run in the most privileged mode Privileged OKL4 Microvisor •  Microvisor schedules virtual machines Memory Region Memory Region •  Performs world switch between VMs RAM •  Each guest OS schedules its apps © 2009 Open Kernel Labs, Inc. All rights reserved. 7
  8. 8. Virtualizing Android: The paravirtualization approach Syscall delivered via >  Minimally-invasive paravirtualization “Trampolined” IPC •  Introduces the OKL4 architecture to the Linux/arch directory (roughly 8 kLOC) Applications •  No modifications to architecture-independent Linux >  OKL4 is the only software in privileged mode Android Middleware •  Receives interrupts, syscalls, and exceptions •  “Trampolines” to Linux using IPC Syscall Android Linux Kernel •  OKL4 architecture in Linux just decodes IPC OKL4 Architecture •  Past that point, it’s just standard Linux De-privileged IPC >  All Linux applications (including Android Privileged middleware) are fully binary compatible OKL4 Microvisor >  OK:Android is distributed as a simple patch ARM Processor against a kernel tree •  Simple to virtualize any Linux distribution © 2009 Open Kernel Labs, Inc. All rights reserved. 8
  9. 9. Virtualizing the Communications Stack Syscall delivered via >  Similar paravirtualization approach for “Trampolined” IPC communications RTOS Communications Applications >  OKL4 is fully real-time capable •  Will maintain all RTOS RT guarantees •  Example: < 3us interrupt delivery on all Syscall platforms RTOS >  Maintain the same API for application stack Communications API API delivered via IPC to use OKL4 Architecture •  Simply implement a small translation layer De-privileged using IPC IPC Privileged >  Typical effort: one engineer-week OKL4 Microvisor >  Several RTOSes already exist ARM Processor © 2009 Open Kernel Labs, Inc. All rights reserved. 9
  10. 10. Conclusion >  The OKL4 Microvisor creates systems that are easier to develop, easier to maintain, more secure, and more reliable. The OKL4 building block approach combines, connects, and manages VMs, native OKL4 subsystems, and device drivers. >  OK:Android adds ready-to-use Android VMs to the standard set of building blocks available to developers. >  For a more detailed explanation of benefits and uses, watch the webinar Android Migration at the Speed of Light with Rob McCammon >  Contact or call +1 312 924 1445 for more information © 2009 Open Kernel Labs, Inc. All rights reserved. 10
  11. 11. Rob McCammon Vice President, Product Management +1 312 924 1445 LEARN MORE at © 2009 Open Kernel Labs, Inc. All rights reserved. 11