How to decide Linux Kernel for Embedded Products. Tsugikazu SHIBATA NEC 20, Feb Embedded Linux Conference 2013 SAN FRANCISCO

Similar documents
LTSI : Status update and discussion. Long Term Support Ini1a1ve

LTSI Project update. Hisao Munakata, Renesas Tsugikazu SHIBATA, NEC 29. April 2014 Embedded Linux Confenrece

LTSI Project update Long Term Support Ini0a0ve. Tsugikazu SHIBATA, NEC 23, Oct Embedded Linux Conference Europe Hilton Prague

LTSI Project update Long Term Support Ini0a0ve. Tsugikazu SHIBATA, NEC Hisao Munakata, Renesas 20, May 2014 LinuxCon so

Embedded Linux Now and the future with LTSI. Hisao Munakata, Renesas Tsugikazu SHIBATA, NEC 27. March 2014 CollaboraDon Summit

LTSI Project update Long Term Support Ini0a0ve. Tsugikazu SHIBATA, NEC 21, February 2017 Embedded Linux Conference Hilton Portland, OR

LTSI Project update Long Term Support Ini0a0ve. Tsugikazu SHIBATA 20, June at Open Source Summit Japan, Ariake Tokyo

How to cook the LTSI kernel with Yocto recipe

Digitizer operating system support

CLOSE ENCOUNTERS OF THE UPSTREAM RESOURCE

LTSI Project Update. LTSI Kernel, How We Can Help Automotive Industries. Hisao Munakata, Tsugikazu Shibata

Digitalization of Kernel Diversion from the Upstream

LTSI Project Update. for LTSI-3.10 and shared kernel test trial (part 2) Tsugikazu Shibata, Hisao Munakata

Open Enterprise & Open Community

Frédéric Crozat SUSE Linux Enterprise Release Manager

The Embedded Linux Problem

UTILIZING A BIG.LITTLE TM SOLUTION IN AUTOMOTIVE

Elivepatch Flexible distributed Linux Kernel live patching. Alice Ferrazzi

Open Enterprise & Open Community opensuse & SLE Empowering Each Other. Richard Brown opensuse Chairman

A Guide to the Linux Kernel Development Process. Jonathan Corbet LWN.net

Keeping Up With The Linux Kernel. Marc Dionne AFS and Kerberos Workshop Pittsburgh

Status of Embedded Linux Status of Embedded Linux October 2014

ARM: Allwinner sunxi SoC's and the community behind it

Linux: Reducing the cost of upstream development to encourage collaboration

Canonical, Ubuntu, FOSS and The Community. Hugh Blemings, Manager, Ubuntu Hardware Enablement Team Coscup Taipei, August 2009

Release Notes for (Supporting 3ware 9690SA and 9650SE controllers)

Yocto Overview. Dexuan Cui Intel Corporation

kpatch Have your security and eat it too!

HTTP/2 Out Of The Box

Eclipse on Linux Distributions Project

Kernel driver maintenance : Upstream vs. Industry

[RFC] Obtaining Management Buy-in for Mainline Development

Manual Of Virtualbox Additions Ubuntu Server 12.04

Long Term Support Initiative

Flash Player Manually For Android Apk Descargar

Ubuntu Development Primer

Android. Lesson 1. Introduction. Android Developer Fundamentals. Android Developer Fundamentals. to Android 1

Elivepatch Flexible distributed Linux Kernel live patching. Alice Ferrazzi Takanori Suzuki

An overview of. Mobile Testing. By André Jacobs. A Jacobs

Android In Industrial Applications. A Field Report

Manual Android Galaxy S2 Jelly Bean Rom Xda

CS197U: A Hands on Introduction to Unix

Are you Really Helped by Upstream Kernel Code?

SALOME Maintenance Procedure. Frédéric Pons (Open Cascade) Roman Nikolaev (Open Cascade)

Flatpak and your distribution. Simon McVittie

Automated Kernel SECURITY UPDATES Without Reboots. Safe Kernel. Safer Linux.

Civil Infrastructure Platform : Industrial Grade SLTS Kernel and Base-Layer Development

Time is ready for the Civil Infrastructure Platform

Team Up: Contributing to the Tizen Platform. Narasimha Swamy Sanjay NM

Zero Install. Decentralised cross-platform package management

Android Gingerbread Manually Update To Jelly Bean Features

Kernel maintainership: an oral tradition

Enterprise Linux vs. Embedded Linux

MONTHLY DATA REPORT March 2016

#jenkinsconf. Managing jenkins with multiple components project. Jenkins User Conference Israel. Presenter Name Ohad Basan

The opensuse project. Motivation, Goals, and Opportunities. Sonja Krause-Harder Michael Löffler. March 6, 2006

1 FOSDEM like real computers - Making distributions work on single board computers André Przywara 04/02/2018

Sony s Open Devices Project. Goals Achievements. What went right? What went wrong? Lessons learned

Galaxy S Ii Manual Update Jelly Bean Release

R- installation and adminstration under Linux for dummie

RHEL Packaging. (making life easier with RPM) Jindr ich Novy Ph.D., June 26, 2012

GRUB upstream and distros cooperation

SUSE Linux Enterprise Kernel Back to the Future

Towards Sustainable Systems with the Civil Infrastructure Platform. Jan Kiszka, Siemens AG LinuxCon North America, 24 th August 2016

L2B pm25: L2BP CM development status

Obstacles & Solutions for Livepatch Support on ARM64 Architecture

Reboot adieu! Online Linux kernel patching. Udo Seidel

Keeping up with LTS Linux Kernel Functional Testing on Devices

What s New in Newton. Emily Hugenbruch, Advisory Software

Dell Multi-UPS Management Console and UPS Local Node Manager Software Version User Guide Update

Linux Kernel Evolution. OpenAFS. Marc Dionne Edinburgh

SOFTWARE CONFIGURATION MANAGEMENT

Android Everywhere. Cristina Segal, EMEA Director Android Solutions GM Android testing tools

Android Gingerbread Manually Update To Jelly Bean Features

Manual Android Galaxy S3 4.3 Feature List

Linux Everywhere. A look at Linux outside the world of desktops. CIS 191 Spring 2012 Guest Lecture by Philip Peng

Novell SLES 10/Xen. Roadmap Presentation. Clyde R. Griffin Manager, Xen Virtualization Novell, Inc. cgriffin at novell.com.

CLIP OS: Building a defense-in-depth OS with the Linux kernel and open source software

How To Install Java Manually Linux Ubuntu Bit

Manual Android Update Galaxy S Jelly

Install Vlc Manually Ubuntu

GRUB: new maintainers, news and future. Vladimir Serbinenko Daniel Kiper Maria Komar

Manual For Android Jelly Bean S Duos

Open Build Service in Debian It is impressive how much time and resources a team can save

LINUX KERNEL UPDATES FOR AUTOMOTIVE: LESSONS LEARNED

Practice LTSI Test Framework & Introduction of ethtool Test Set

Root User Guide Android Jelly Bean Operating System

Mingw-w64 and Win-builds.org - Building for Windows

In-Wall Rear Projection SMART Board Interactive Whiteboard

At a high level, the current OPNFV CI pipeline can be summarized as follows:

Real-Time Vulnerability Management Operationalizing the VM process from detection to remediation

2014 Honeywell Users Group Europe Middle East and Africa. Mobile App Guide

Manually Adobe Flash Player For Android Android App

Open World Forum 2013

The HiKey AOSP collaborative experience

2013 Honeywell Users Group Europe Middle East and Africa. Mobile App Guide

Manual Android Galaxy S3 4.3 Features List

AOSP Devboard Update & Recent/Future Pain Points. John Stultz

The Yocto Project. Chris Young S/W Specialist SILICA Europe. Harmonising Software Development across multiple Embedded ARM SOC targets

Red Hat Summit 2009 Rik van Riel

Transcription:

How to decide Linux Kernel for Embedded Products Tsugikazu SHIBATA NEC 20, Feb. 2013 Embedded Linux Conference 2013 Parc55 @ SAN FRANCISCO

Agenda Points to be considered to decide Linux kernel version Key activities of LTSI

Points to be considered to decide the kernel version Technical aspects Stability Maintenance Cost

Technical aspects Performance Memory Battery life Real time nests Connect ability

Technical aspects Performance Memory Battery life Real time nests Connect ability Technical aspects are heavily depends on kernel development in the community. We should look at the community otherwise we cannot choose right version of the kernel

Linux kernel: release date, # of files and lines Version Release date # of Files # of Lines 3.8 2013-2-19 41,520 16,416,967 (+1.4%) 3.7 2012-12-11 40,905 16,191,784 (+1.4%) 3.6 2012-10-1 39,733 15,868,122 (+1.7%) 3.5 2012-7-21 39,096 15,596,464 (+1.4%) 3.4 2012-5-22 38,566 15,383,946 (+1.4%) 3.3 2012-3-19 38,082 15,166,160 (+1.1%) 3.2 2012-1-5 37,617 14,998,737 (+1.5%) 3.1 2011-10-28 37,085 14,770,555 Released 60-70 days 500 Files added, 200,000 Lines of code added for a version

Linux kernel: Date for release 120 100 80 60 40 20 0 3.1 3.2 3.3 3.4 3.5 3.6 3.7 3.8

Stability Older kernel is not always stable Latest kernel is not always stable Community development is always Release early, Release often Many developers are reviewing and changing the code Solving the problem and developing features are always for the latest version of mainline

Stability Older kernel is not always stable Latest kernel is not always stable Community development is always Release early, Release often Many developers are reviewing and changing the code Solving the problem and developing features are always for the latest version of mainline For the products, we need to back port latest feature to the production kernel We need to watch the development community to understand what is happening

Maintenance bug and security fixes Number of bugs will be found after the kernel release Number of security problem will also be found after the kernel release All such problems are fixed in the latest kernel version

Maintenance bug and security fixes Number of bugs will be found after the kernel release Number of security problem will also be found after the kernel release All such problems are fixed in the latest kernel version We should watch the community and every bugs and security fixes should be back port to the production kernel. If you will lost the back port, your product includes security hole and bugs. That will be a company s risk

Maintenance in-house patch Everyone have own changes as in-house code Sometime fixes the bugs and add nice features But most of such changes are stay in-house Kernel development is moving very fast and changing its code So, in case of new product development, inhouse code may not be able to apply to the newer target kernel

Maintenance - in-house patch In-house patch porting process While every single in-hose patches if a patch cannot apply to the target kernel Investigate the reason rewrite the patch for target kernel test the patch on the target kernel

Maintenance - in-house patch In-house patch porting process Reason may depends on for both in-house patch and kernel itself While every single in-hose patches if a patch cannot apply to the target kernel Investigate the reason rewrite the patch for target kernel test the patch on the target kernel

Maintenance - in-house patch In-house patch porting process Reason may Engineer depends who on wrote for the both in-house patch patch may and not in the team kernel itself While every single in-hose patches if a patch cannot apply to the target kernel Investigate the reason rewrite the patch for target kernel test the patch on the target kernel

Maintenance - in-house patch In-house patch porting process Reason may Engineer depends who on wrote for the both in-house patch patch is not and in the team kernel itself While every single in-hose patches if a patch cannot apply to the target kernel Investigate the reason rewrite the patch for target kernel test the patch on the target kernel Need review the patch as the correctness

Maintenance - in-house patch In-house patch porting process Reason may Engineer depends who on wrote for the both in-house patch patch is not and in the team kernel itself While every single in-hose patches if a patch cannot apply to the target kernel Investigate the reason rewrite the patch for target kernel test the patch on the target kernel Need review the patch as Need to create testing the correctness environment again

Maintenance - in-house patch In-house patch porting process Patch porting works continue for # of Reason may Engineer depends who on wrote for patches the both in-house patch patch is not and in the team kernel itself While every single in-hose patches if a patch cannot apply to the target kernel Investigate the reason rewrite the patch for target kernel test the patch on the target kernel Need review the patch as Need to create testing the correctness environment again These patch porting work continue for future products whenever in-house code exists

Cost Development cost Maintenance cost HW/Product cost Sales/Marketing cost

Cost Development cost Specific application or middle ware Tuning for overall system Specific driver for kernel Patch porting to newer kernel Maintenance cost Back porting bugs and security fixes Fixes for own application and middle ware HW/Product cost Sales/Marketing cost

Summary Product development is deeply depending on how engineers are participating the to the community Watch the development status How the bugs and security problems are fixed In-house code need to be merged into upstream Decrease the development cost Share information among the engineers will also decrease the development cost

LTSI: Key activities Provide a industry managed kernel and maintain Long term stably Provide a common place for embedded industry Provide place to support upstream activity

LTSI: Industry managed kernel LTSI defines common kernel every year and maintains for 2 years LTSI adopts community Long term kernel as a base. Therefore, bug/security fixes from upstream are automatically applied to LTSI. LTSI kernel = long term + additional patches After 2 years term finished, possible to take over maintenance for longer term

Community s long term kernels and Its consumers 2.6.27: SUSE11 2.6.32: SUSE11 SP1/RHEL 6/Ubuntu10.04 LTS 2.6.34: Wind River Linux 2.6.35: Embedded usage, Android (Ginger Bread) 3.0: LTSI, Android (Ice Cream Sandwich), SUSE11 SP2 3.2: Debian7, Bunt 12.04 LTS 3.4: LTSI, Android (Jelly bean)

LTSI: Common place LTSI provides the place to share information and experience among industry Mailing list to share problem and discuss how to solve Open Workshop to share status among the industry Closed meeting :ICM ( Industry Contact Meeting) for more deeper F2F discussion Share the information will reduce the development cost

Open Workshop February 21, 2013 3:00pm - 5:00pm at Hearst Room, 4th Floor, Park 55 Hotel The workshop will cover : Brief Updates of LTSI Updates from a partner project: Doctor Discussion on after release patch acceptance policy Discussion on Super Long Term Support (over 2 years support) Discussion on the next LTSI release

LTSI: Support upstream activity Developer in the embedded industry need to know how to work with community LTSI provides help upstream activities Provide suggestion how their patches can be merged into upstream Review and discussion for proposed patches to be merged Many of discussion under way Merging patches to upstream is also reduce the cost of each companies

LTSI Use Case Program LTSI would like to expand use case We would ask you to port LTSI to your preferred OS? Android, CyanogenMOD, FirefoxOS Gentoo, OpenWRT, XBMC,GeeXBoX Debian, Ubuntu, Fedora, OpenSUSE for ARM We will help your activities with providing Board HW and that will be used by your self after the porting finished You need to write your poring report to elinux Wiki You need to send patch to LTSI mailing list if you have changed Details can be discussed at LTSI Booth 6pm today

How you can participate LTSI Follow on Twitter account: @LinuxLTSI Web: http://ltsi.linuxfoundation.org Mailing list: https://lists.linuxfoundation.org/mailman/listinfo/ltsi-dev Git tree : http://git.linuxfoundation.org/?p=ltsiernel.git;a=summary 29

THANK YOU 30