Infotainment Solutions with Open Source and i.mx6 Andrew Patterson Business Development Director Embedded Automotive mentor.com/embedded Android is a trademark of Google Inc. Use of this trademark is subject to Google Permissions. Linux is the registered trademark of Linus Torvalds in the U.S. and other countries.
Infotainment Requirements Android Apps Virtualization Video/ Rear camera Navigation Multimedia Modular, Scalable Complex, Multi-Mode HMI Open-Source integration Web Browsing Connected Cloud SmartPhone integration
Innovation and Functionality 3
Software in Transportation Complexity increase is relentless Millions of Lines 300 250 200 150 100 50 0 Lines of Code in Transportation ECUs 4
Critical and Non-Critical Functions 5 AP, Embe Mandatory : Safety Critical Convenient Traction-Control Monitor Steer by Wire Emissions Sensor Cornering Brake Control Headlamp Warning Electronic Stability Control Automatic Braking Sat-Nav System Door Sensors Reversing Sensor Electronic Stability Control Pre-Crash System Head-Up Display Automated Parking Connected Car Mobile Office Support PowerTrain Control Tire-Pressure Monitor Rear-View Camera Android App Support
Trends 5 out of 10 top purchase decisions for cars are Infotainment related (GFK Research) Value of software and electronics in a car is already 35-40% for a premium car (Spectrum IEEE) Electric Vehicle : software and electronics : 80% of value Rising aftermarket maintenance costs
7 AP, Embe Automotive Technology Refresh Mechanical Systems Electrical Systems Software Systems Product Release Year 5 Year 10 New Smartphone New Apps = Obsolete = Current Product Release Year 1 Year 2
Infotainment System Technology Refresh Mechanical Systems Electronic Systems Software Systems Real Time Data New Apps = Obsolete = Current Data Communications Commercial prospects for "driverless" cars got a boost last month when four vehicles on autopilot successfully trailed a lead car on a 124-mile route near Barcelona, Spain. Position Cloud Access / Connected Car Real time road conditions Vehicle to vehicle warnings 8
Embedded Software Design Process Requirement Definition Test Scripts Calibration Initial POC Final Test H/W Model in Loop System in Loop S/W Model in Loop Prototype in Loop Design Implementation Integration, Test Prototype Development
Benefits of Standardization Allow OEMs to source from several Tier One suppliers Reduce development and maintenance costs Reduce specification / design ambiguity Fewer Errors / More Quality CAN 10
The Infotainment System Stack HMI Display Apps Networking Navigation Entertainment Mobile Office App Selection, SmartPhone Link Operating System and Middleware Scalability, flexibility, security Hardware Platform Performance, cost, feature set Operating system choice : Linux or Android? 11
Android or Linux Platform for IVI? Android For - Smartphone Influence - Applications exist - Market Apps repository Against - Dependent on Google - Audio Capability - Connected car costs - Graphics Performance Linux - Open widely used standard - Scalable and flexible - Portable - IVI standard with GENIVI - Higher development costs - Weaker in consumer electronics
GENIVI Linux Platform for Infotainment GENIVI Consortium established 2009 to provide Infotainment base (Linux) platform 170 members 50% European, 26% USA, 24% ASIA OEMs, Tier 1s, Semiconductor Suppliers, Tool Vendors Members contribute re-usable software under open source rules 13
GENIVI Future Development GENIVI Expert Groups System Infrastructure (Loaders, Initialization) Automotive (Diagnostics, Software tools) Media and Graphics (Tuners, Broadcast, DVD) Location Based Services (Positioning, Navigation) Networking Consumer Electronics, Social Media, Connectivity, Bluetooth, ipad,.. Mobile Office Application Framework (Speech Recognition, HMI, Text to speech) 14
GENIVI Open Source Components Adopt, Adapt, Create Infotainment Graphical Interface Applications GENIVI LINUX Platform 80% 5% 15% GENIVI Code Automotive Specific Code Hardware Extended Community Code Community Code 15
GENIVI support for Infotainment Layers Audio Manager Graphics Server Layer Management Open GL/ES ALSA GStreamer Systemd Software Download Speech Engine Telephony Stack Noise Reduction INC Messenger IPOD Control Traffic Incident Auto Diagnostics User Manager Virtual MOST HTTP Server Noise Reduction Indexing Engine Virtual MOST HTTP Server Noise Reduction Future Support Future Support Future Support Future Support DVD NAVIGATION IPOD Diagnostics CAMERA RADIO OFFICE SPEECH PHONE TV Linux Kernel Hardware Platform 16
Beyond GENIVI Human Machine Interface HMI Hardware Platform and software drivers Applications and Integration work Testing Design Tool Support Services 17
Running Multiple Operating Systems Andrew Patterson Business Development Director Embedded Automotive mentor.com/embedded Android is a trademark of Google Inc. Use of this trademark is subject to Google Permissions. Linux is the registered trademark of Linus Torvalds in the U.S. and other countries.
Infotainment System layers HMI Layer HMI Core User Interface Voice & Speech HMI Design Application Layer Entertainment Mobile Office Networking Navigation Telematics Diagnostics Apps Ecosystem Middleware Layer Media Graphics Platform Management OS Connectivity System Infrastructure On-Line Services Power State Management Libraries, Services, Middleware GENIVI-compliant OS Layer Board Support Package Linux Core Embedded Linux Hardware Layer eg i.mx6 CPU Cores Memory Storage MOST CAN/FlexRay BootLoader Semiconductor Driver Support 19
Guest OS Example: Linux Container (LXC) HMI User Interface IVI Stack Networking Navigation Entertainment Mobile Office Android App Android OS Linux Container Mentor IVI Linux OS Hardware Layer i.mx6 4Q CPU Core 1 CPU Core 2 CPU Core n.. Memory, Storage, peripheral support etc. 20
Linux Container Boot-up speed dependent on host OS Security : Software partition / Firewall Resources, managed by underlying kernel Useful option for including guest operating systems e.g. Android Mentor acknowledges development partner :
Guest OS via Hypervisor HMI User Interface IVI Stack Networking Navigation Entertainment Mobile Office Android App. MAPS Social Network Market Linux OS Android OS HyperVisor e.g. OK Labs OKL4, Synergy CoqOS, Sysgo PikeOS Hardware Layer CPU Core 1 CPU Core 2 CPU Core n.. Memory, Storage, peripheral support etc. 22
Resource and Privilege Management HMI (User Application Interface) Linux Operating System Managed Privileges Android Operating System Managed Privileges Microvisor : Privilege and Resource Mgmt. Freescale Resources CPU Graphics Memory Network
ECU Count in Cars 150 100 Vehicle Safety Driver Convenience Performance Emissions / Environment Reliability Maintainability Harness Costs Manufacture and Assembly Cost Reliability 50 0 2005 2010 2015 2020 24
AUTOSAR and GENIVI 25 AP, Embe AUTOSAR: Set to be in 25% of all ECUs in 2 years Why mix Linux and AUTOSAR? Increasing need for vehicle function consolidation Infotainment System is a multi-core high-end computer, capable of multi-tasking Functions such as video, audio, navigation becoming safety-critical Complexity of ECU functions increasing Today : Remotely connect ECUs and IVI system Future : Integrate on same hardware platform
Connect Remotely INFOTAINMENT SYSTEM IVI Application / Middleware Linux OS AUTOSAR ECU FUNCTION AUTOSAR RTE CAN / AVB / MOST / Flexray etc Does not help with ECU consolidation Spare capacity in IVI system Harness cost implications 26
Share common platform HMI User Interface IVI Stack Networking Navigation Entertainment Mobile Office AUTOSAR Functions TACHO SENSORS MASTER GENIVI compliant Linux OS AUTOSAR RTE Virtualization Layer Freescale e.g i.mx6q CPU Core 1 CPU Core 2 CPU Core n.. Memory, Storage, peripheral support etc. Vehicle Network CAN / AVB / MOST / Flexray etc
Embedded Tools for IVI Design Optional Tools Static Analysis Code Coverage Traceability Verification Virtual Platform Source Code Dljasldkas;dj fa Dljasldkas;dj a;ldsj aslkadsjkdkd fa Dljasldkas;dj a;ldsj aslkadsjkdkd fa Dljasldkas;dj a;ldsj aslkadsjkdkd fa Dljasldkas;dj a;ldsj aslkadsjkdkd fa Dljasldkas;dj a;ldsj aslkadsjkdkd fa a;ldsj aslkadsjkdkd Source Control IVI APPS Development Tools IDE Compiler Debugger Profiler IS Simulator P R O B E JTAG & Trace Serial (ethernet, usb, etc) Run-Time IVI Software HMI Applications Middleware & User Space (GENIVI) GENIVI Linux Kernel Board Support Package Freescale Target Integration Services 28
Real / Virtual System Analyzer Optimize performance for baremetal, Linux, Hypervisor etc. Easily visualize data with timeline synchronized views Extract CPU usage and kernel events, view locking patterns, find memory leaks and more! Integrate custom analysis of your own time-stamped data streams Analyze behavior and improve performance on multi-core systems 29
Virtual Platforms A Virtual Platform is a high-level simulation model of the System/SoC Software instruction set compatible Models for CPU and peripherals A Virtual Prototype allows you to: Test the integration of the hardware components and software Check design functionality before committing to real hardware/silicon Iterate efficiently between HW/SW design teams Simulate extreme conditions Check OS / boot-up code Solutions from Mentor Code port to native platform / KVM QEMU : Functional only VISTA : Includes Transaction Level Modeling for improved timing fidelity VELOCE : Real hardware-in-the-loop Video Accelerator Multicore ISS INTC DMA USB ETHERNET FLASH Peripherals UART TIMER WD ADC ETH DDR2 DDR DDR2
Virtual Prototype with Hypervisor Linux Operating System AUTOSAR Run Time Environment Microvisor : Privilege and Resource Mgmt. QEMU ISS HOST PC
Virtual Technology Stack HMI User Interface HMI User Interface Sample App Entertainment Sample App Entertainment GENIVI Linux OS + Middleware GENIVI Linux OS + Middleware Native KVM QEMU VISTA IS Simulator Actual Hardware i.mx6q SabreLite Host PC
Multiple OS on Hardware Platform HMI User Interface IVI Stack Networking Navigation Entertainment Mobile Office Market Apps Vehicle Data SPEED SENSORS GENIVI compliant Linux OS Android OS AutoSar Virtualization Layer (Hypervisor e.g. OK Labs OKL4) Hardware Layer CPU Core 1 CPU Core 2 CPU Core n.. Memory, Storage, peripheral support etc. 33
Future application areas Cross-Market Themes: Combined Mentor/Freescale platform - Mentor Embedded Linux - Open Source Software - Services - Inflexion HMI - Hardware Support Packages - Supporting Design Tools IVI GENIVI Platform Mentor Linux IVI Stack Instrument Cluster Leverage IVI Building Blocks used Links to AutoSar, CAN, Flexray Other Transportation Off-Road Trains In-Flight Entertainment Adjacent markets
Demo Video mentor.com/embedded Android is a trademark of Google Inc. Use of this trademark is subject to Google Permissions. Linux is the registered trademark of Linus Torvalds in the U.S. and other countries.
Thank You mentor.com/embedded Android is a trademark of Google Inc. Use of this trademark is subject to Google Permissions. Linux is the registered trademark of Linus Torvalds in the U.S. and other countries.