Android / Linux Boots in 1 second!
Transcript of Android / Linux Boots in 1 second!
© 2010 Ubiquitous Corporation. All rights reserved.This presentation is for informational purposes only. Ubiquitous makes no warranties, express or implied, in this summary.
March 2010
Kanji Mihara, Managing Director
Ubiquitous Corporation
Android / Linux
Boots in 1 second!
Agenda
Company Profile
Booting time matters
– Trends and issues
QuickBoot Overview
– Demo
– How it works
QuickBoot Technical Detail
– How to implement
– SDK
© 2010 Ubiquitous Corporation 2
Ubiquitous Confidential
Founded in 2001 by ex-Microsoft engineers
Aiming at pervasive networking with world
smallest TCP/IP and derivative products
Technology oriented, embedded software
expertise
Public company (JASDAQ NEO, since 2007)
Acquired Encirq’s DeviceSQL
embedded DBMS in 2008
http://www.ubiquitous.co.jp
3
Company Profile
Portable Games Blu-ray Recorder
Less than 50KB in code size,
combining TCP/IP and SSL stack
Provided as the standard library
for the Nintendo-DS Wi-Fi games
Also used in “Nintendo DSi”
TCP/IP + SSL
by major Japanese CE
manufacturers
Multi-channel HDTV
streaming and upload using
DLNA
Car Audio & DSC
Ubiquitous-enabled Products
Fast and small DBMS
“DeviceSQL”
USB Host software
© 2010 Ubiquitous Corporation 4
Booting time matters
© 2010 Ubiquitous Corporation 5
User Experience
•Android takes 30sec~1min to boot
•Can you wait that long for TV or Tablet?
Standby Power
•Boot-time is the key for eco
Standby Power of Home AV Devices
“Fast Boot” mode consumes considerable
standby-power in home
Standby power of TV and DVR in total:
approx, 50W (47.8W) = 1 Light Bulb
= electricity cost : ~US$100 / year
6© 2010 Ubiquitous Corporation
Standby Power (W) Avg Max Min
TV 24.45 68.0 11.7
HDD/DVD Recorders 23.3 40.4 18
Standby power using “Fast Boot” mode
Source: 2008 Standby power research in Japan
Why standby-mode is used?
“Cold Boot” or Eco-modeTakes long time (30sec~1min) before use = Horrible user experience
© 2010 Ubiquitous Corporation 7
【Cause】 Complexity of Digital Devices PC-like complex CPU and huge memory size Big OS like Linux or Android is used
“Fast Boot” (=standby) mode is used for user experience
Instant boot technology using “Cold Boot” The ultimate break-through
Needs for “QuickBoot”
8
Automotive InforainmantTVs
SmartbookseBooks
SmartphonesTablets
DSCs
© 2010 Ubiquitous Corporation
Bluray / DVD
9
Overview
Instant boot solution
– Launched this week
Android (Linux) boots in 1 second!
– Run application instantly from cold boot
– Instant boot even over 100MB image
Optimized for ARM processors
– QuickBoot Release 1.0 for ARM
– Supports: ARM9, ARM11, Cortex-A series
OS independent technology
© 2010 Ubiquitous Corporation 10
What’s QuickBoot ?
DEMO : Boot Android in 1 second
11© 2010 Ubiquitous Corporation
Environment: Android 1.5
Debian based Linux(kernel 2.6.26)
Hardware: Armadillo-500FX
CPU: Freescale i.MX31 (ARM11) 400MHz
RAM Image Size: 128MB
(Uncompressed, no XIP)
Prioritized restoration of RAM image
© 2010 Ubiquitous Corporation 12
Hibernation vs. QuickBoot
Hibernation
Hibernation vs. QuickBoot (2)
13© 2010 Ubiquitous Corporation
RAM Image RAM Image
© 2010 Ubiquitous Corporation 14
Memory size vs. Boot time
Comparison w/ other boot tech.
© 2010 Ubiquitous Corporation 15
Technology Boot Time Cons
Normal Boot ×30-90sec
Very long boot time
Kernel Tuning △5-30sec
Boot time depends on #of
device drivers and application
CPU Stand-by +
DRAM self-refresh
◎1-2sec
Not a cold boot, stand-by
power required
Hibernation △5-20sec
Boot time depends on #of
device drivers and application
Virtualization
(e.g. SplashTop)
○5-10sec
Limited application can only
be used, not a full Linux
Ubiquitous QuickBoot ◎1-2 sec
Complete Linux
16
Tech.Detail
© 2010 Ubiquitous Corporation 17
Block Diagram
Note:
IRA: Intelligent Resource Allocator
QuickBoot Workflow
© 2010 Ubiquitous Corporation 18
2 types of QuickBoot usage
QuickBoot fixed mode
– QuickBoot from the factory default snapshot
image (static snapshot image) at any time.
QuickBoot update mode
– QuickBoot from the factory default snapshot
image at first.
– Create a snapshot image if necessary at
runtime.
– QuickBoot from the new snapshot image at
the next boot time.
Ubiquitous Confidential 19
QuickBoot SDK
Reference Platform Support
– Armadillo500FX(i.MX31) from Atmark Techno
(Debian based Linux bundled)
CPU Support
– Phase 1
• ARM9, ARM11, Cortex-A8, Cortex-A9 Single core
– Phase 2
• ARM9, ARM11, Cortex-A8, Cortex-A9 Multi core (Linux SMP)
Materials–QuickBoot Snapshot Script (Source)
–QuickBoot Snapshot Driver (Binary)
–QuickBoot BIOS/IRA (Binary)
–Kernel patch (Source, GPL’d License)
–Bootloader (Sample code for Reference Board)
–Developers manual
–Application note
© 2010 Ubiquitous Corporation 20
© 2010 Ubiquitous Corporation 21
Summary
Booting time matters
– For User experience and Eco
Ubiquitous QuickBoot is the ultimate break-
through by 1second cold-boot
QuickBoot now available for
ARM ONLY
© 2010 Ubiquitous Corporation 22
Q & A
謝謝
Product Lineup
Ubiquitous Confidential 23
“Small, Light and Fast “ Network Platform
w/ World’s smallest TCP/IP stack
Network Platform for Tiny Devices
“Small, Light and Fast “
USB Host Platform
Small and Fast DBMS for embedded
systems
Link Protection for home network
Wireless LAN Solution
Instant Boot Solution for Embedded
systems