taeyong.kim@windriver.com RTOS, Linux & Virtualization 2008 Wind River Systems, Inc.
Simple Board Simple Code 2 2008 Wind River Systems, Inc.
start: /* disable interrupts in CPU and switch to SVC32 mode */ MRS BIC ORR MSR r1, cpsr r1, r1, #MASK_MODE r1, r1, #MODE_SVC32 I_BIT F_BIT cpsr, r1 MOV r13, r0 /* Save starttype in r13 so that r0 can be used for other purposes */ controller /* * CPU INTERRUPTS DISABLED * * disable individual interrupts in the interrupt */ LDR r2, L$_SndsIntmsk /* R2->interrupt controller */ MVN r1, #0 /* &FFFFFFFF */ STR r1, [r2] /* disable all interrupt soucres */ /* * If not BOOT_COLD, bypass memory configuration, memory region * switching etc. */ CMP r0, #BOOT_COLD BNE HiPosn 3 2008 Wind River Systems, Inc.
LG Nortel Starex 1800 CDMA (IS95C) BSC 4 2008 Wind River Systems, Inc.
5 2008 Wind River Systems, Inc.
6 2008 Wind River Systems, Inc.
7 2008 Wind River Systems, Inc.
VDC Survey for Embedded OS Trend * source: VDC report, Linux in Embedded Market, September, 2007 8 2008 Wind River Systems, Inc.
9 2008 Wind River Systems, Inc.
2 1.6 1.2 0.8 0.4 0 Max. Freq. 80% Max. Dual-Core Performance Power 10 2008 Wind River Systems, Inc.
50% More Performance Needed Uniprocessor OS Multicore OS CPU Core 1 Core 2 CPU Freq. x 1.5 (= Vol. x 1.5) Core 1 Freq. x 0.8 (= Vol. x 0.8) Core 2 Freq. x 0.8 (= Vol. x 0.8) 300% Power Consumption 80% Power Consumption 11 2008 Wind River Systems, Inc.
Wasn t life simple? Single-OS: SMP OS OS CPU Single Core Virtualization Core 1 Core 2 OS OS Multicore Multi-OS : AMP OS OS Multicore Virtualization Hypervisor CPU Core 1 Core 2 OS OS Hypervisor OS Virtualization Core 1 Core 2 12 2008 Wind River Systems, Inc.
What s the point? Decision criteria for Operating System 2008 Wind River Systems, Inc.
Performance 14 2008 Wind River Systems, Inc.
15 2008 Wind River Systems, Inc.
Feature 16 2008 Wind River Systems, Inc.
Samsung AnyCall SPH-M1000 CDMA HTML Smart Phone Samsung AnyCall SGH-i900 Omnia Smart Phone HTC Dream Google Android Phone 17 2008 Wind River Systems, Inc.
Quality 18 2008 Wind River Systems, Inc.
Debian 4.0 (April 2007) VxWorks 5.4 1,930,000 SLOC BSPs and Drivers: 800,000 SLOC Network: 250,000 Assembly: 300,000 (15%) Math Routine Emulation: 120,000 Kernel: 80,000 BSPs and Drivers: 100,000 19 2008 Wind River Systems, Inc.
Cost 20 2008 Wind River Systems, Inc.
21 2008 Wind River Systems, Inc.
Business Implication 22 2008 Wind River Systems, Inc.
23 2008 Wind River Systems, Inc.
Portability Scalability Development Tools Engr. Preference Ecosystem Reliability 24 2008 Wind River Systems, Inc.
What s happening out there 2008 Wind River Systems, Inc.
Lessons Learned Time 1998 2002 2008 Telecom Realization of Unsustainable Requirements Linux Experiments Solution Creation thru Community and Individual Companies Widespread Adoption Digital TV / Setop Box Mobile Automotive Vendor Lock-in Hard to Innovate Expensive Development Long Dev. Cycle Lack of Standards Some Differentiation at all levels > outside core competency Choice is fragmented - Wild West Some innovation, still costly Few middleware or HW standards Differentiation outside core competency 26 2008 Wind River Systems, Inc. Architected, structured Common OS Linux Common Middleware CGL Common HW Standard ATCA Differentiation in core competencies Cost optimization Revenue maximization Innovation and differentiation
361 1444 Linux Distributions Linux Distribution Variants One Common Mobile Handset Distribution mobile 27 2008 Wind River Systems, Inc.
Wind River s Market Positioning in Linux Mobile Devices Linux Handsets + MIDs, Total Market Vol (m)/share (%) Linux Stack Landscape, 2012 Access 4% OpenMoko Other 7% LiMo (Tier 1 OEMs) 29% 410 Qt (Nokia) 12% 12 (1%) 45 (3%) 75 (5%) 125 (9%) 190 (14%) 260 (18%) (27%) Android 24% Moblin 26% 2006 2007 2008 2009 2010 2011 2012 Source: Wind River Market Model, June 2008 Source: Wind River 2008 Selected as Only Linux Commercialization Partner in the Open Handset Alliance Engaged in multiple OEM/ODM Android mobile phone projects Deploying Wind River Linux Platform and optimizing to Android silicon Exclusive partner to Intel to deliver commercial MID solution on Moblin Additionally provide Wind River build system and Common Tool Kit Ensure easy migration from Open Source to Commercial Moblin versions Selected as Linux Platform (CIE) Supplier to LiMo Foundation Build system/layers Technology will be form basis of common development envir. Deploying CIE to 5 LIMO OEMs starting in March 2008 28 2008 Wind River Systems, Inc.
Open Handset Alliance Operator Handset Makers Software Companies Commercialization Companies Semiconductor Companies 29 2008 Wind River Systems, Inc.
LiMo Foundation 30 2008 Wind River Systems, Inc.
Moblin Community 31 2008 Wind River Systems, Inc.
32 2008 Wind River Systems, Inc.
Comparison Technical, Non Technical & Tools 2008 Wind River Systems, Inc.
Comparison Point - Technical VxWorks Linux Memory Footprint Small Big Booting Fast Medium ~ Slow Scheduling Simple Complex Performance Fast ~ Medium Fast ~ Slow File System Limited Rich Graphics Limited Rich Security Medium Low to High 34 2008 Wind River Systems, Inc.
Comparison Point Non Technical VxWorks Linux IP Protection High Ambiguous (GPL) Developer Community Small Huge Open Source Apps. Few Many Maintenance Easy Difficult In-house Expertise Big Small Standard Support Medium Good Responsibility Wind River Depends 35 2008 Wind River Systems, Inc.
Development Tools Hardware Bring-Up Firmware Driver & BSP Application Software Code QA & Test System Test Deployment & Field Mgmnt. Diagnostics ProfileScope MemScope Stethoscope System Viewer Unit Tester Kernel Space Debug User Space Debug On-Chip Debug (JTAG) Native Linux Debug 3 rd Party UML Eclipse Plug-in Source Code Analysis & Navigation Code Editing, Package & Patch Management, Flexible Builds, CVS Integration 36 2008 Wind River Systems, Inc.
37 2008 Wind River Systems, Inc.
38 2008 Wind River Systems, Inc.
Wind River Solution Portfolio Partner Software On-Chip Debugging Workbench Plug-Ins Management Suite Wind River Workbench Optimized IP, SNMP VxWorks Platforms Linux Platforms Partner Hardware Real-Time Core Professional Services Practice Standard Optional Third Party 39 2008 Wind River Systems, Inc.
Two Choices to Accomplish Goal Microsoft Benefits IP protection/control Compatibility between apps Compatibility w. Desktop Broad external developer community (many 100K) Open Source Platform Benefits Ability to Customize Business model flexibility No Vendor Lock-in Broad external developer community (many 100K) Considerations Customization Footprint, performance Vendor Lock In BOM Impact It is not open source Considerations GPL issues Availability of in-house open source expertise Over-customization Growing community 40 2008 Wind River Systems, Inc.
Standard Linux Architecture Application Application C Library System Call Interface 2 to 300MB RAM* ~300K RAM* Wind River Real-time Core Process Scheduling Interrupt Management Kernel Sub-systems Memory Management Device Drivers Timer Interrupts Shared Memory Hardware (x86, PPC, MIPS, ARM) *Memory footprint varies by project 41 2008 Wind River Systems, Inc.
Wind River Real-time Core Architecture Real-time Thread User Space Real-time Application Linux Thread Application Application libpsdd.a C Library Real-time System Call Interface Real-time User Space API Real-time Application Real-time Driver Real-time Timer Real-time Core Scheduler Real-time Interrupt Management Process Scheduling Interrupt Management System Call Interface Kernel Sub-systems Memory Management Device Drivers Timer Interrupts Hardware (x86, PPC, MIPS, ARM) Shared Memory 42 2008 Wind River Systems, Inc.