Embedded Linux BOF Tim Bird Sony Corporation CE Linux Forum Architecture Group Chair Ottawa Linux Symposium – July 23, 2008.

Slides:



Advertisements
Similar presentations
FatMax Licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 LicenseCreative Commons Attribution-NonCommercial-ShareAlike 2.5.
Advertisements

Operating Systems Manage system resources –CPU scheduling –Process management –Memory management –Input/Output device management –Storage device management.
Operating System Structure
Internet of Things with Intel Edison Presentation Paul Guermonprez Intel Software
Keith Wiles DPACC vNF Overview and Proposed methods Keith Wiles – v0.5.
OS Fall ’ 02 Introduction Operating Systems Fall 2002.
Operating System Structure. Announcements Make sure you are registered for CS 415 First CS 415 project is up –Initial design documents due next Friday,
Chapter 13 Embedded Operating Systems Eighth Edition By William Stallings Operating Systems: Internals and Design Principles.
June 12, 2005 CELF International Technical Conferece, Yokohama, Japan1 Ottawa Linux Symposium and CE Linux Forum Tim Bird Sony Electronics, Inc.
1 THE ARCHITECTURE FOR THE DIGITAL WORLD TM THE ARCHITECTURE FOR THE DIGITAL WORLD Embedded Linux for ARM Architecture.
Android Introduction Platform Overview.
Status of Embedded Linux Status of Embedded Linux May 2011 Tim Bird Architecture Group Chair LF CE Workgroup.
Update on The Open Compliance Program Phil Koltun, Ph.D. Director, Open Compliance Program
Dual Stack Virtualization: Consolidating HPC and commodity workloads in the cloud Brian Kocoloski, Jiannan Ouyang, Jack Lange University of Pittsburgh.
Jakub Szefer, Eric Keller, Ruby B. Lee Jennifer Rexford Princeton University CCS October, 2011 報告人:張逸文.
Arago Project Creating an Open Integration and Distribution System William Mills
CELF Contract Work Update on CELF Projects Tim Bird - CELF AG Chair.
Copyright© Jeffrey Jongko, Ateneo de Manila University Android.
September 20, CELF Project BOF Tim Bird CELF Architecture Group Chair.
Seminar on Linux-based embedded systems
ANDROID Presented By Mastan Vali.SK. © artesis 2008 | 2 1. Introduction 2. Platform 3. Software development 4. Advantages Main topics.
Chapter 2: Operating-System Structures. 2.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 14, 2005 Operating System.
Advanced XIP Filing System
Virtualization: Not Just For Servers Hollis Blanchard PowerPC kernel hacker.
Uncovering the Multicore Processor Bottlenecks Server Design Summit Shay Gal-On Director of Technology, EEMBC.
October 11, 2015CE Linux Forum Members Confidential 1 Embedded Linux BOF Tim Bird Software Engineer, Sony Electronics Chair, CE Linux Forum Architecture.
Slide 1 of 30 Status of Embedded Linux Embedded Linux Community News December 2010 Tim Bird CELF Architecture Group Chair.
Xenomai’s Porting on processor NIOS II Professor : P. Kadionik Authors : Bassi Vincent Louati Azza Mirault Raphael Polette Simon.
Offline Coordinators  CMSSW_7_1_0 release: 17 June 2014  Usage:  Generation and Simulation samples for run 2 startup  Limited digitization and reconstruction.
Guide to Linux Installation and Administration, 2e1 Chapter 10 Managing System Resources.
CELF Project and Conference Information Tim Bird CELF Architecture Group Chair.
Copyright © 2002, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners
January 25th, CE Linux Forum Technical Conference1 Bootup Time Working Group Discussion Tim Bird, Chair.
Unit - VI. Linux and Real Time: Real Time Tasks Hard and Soft Real Time Tasks Linux Scheduling Latency Kernel Preemption Challenges in Kernel Preemption.
Status of Embedded Linux Linux Symposium Canada Live Report Tim Bird - CELF AG Chair.
DISTRIBUTED SYSTEMS Principles and Paradigms Second Edition ANDREW S
Development and Debugging Tools for Windows Phone 7 Series Cullen Waters Software Development Engineer II Advanced Technology Group, Microsoft Corporation.
BridgePoint Integration John Wolfe / Robert Day Accelerated Technology.
November 25, KFT & Tracing Collaboration Tim Bird Sony Electronics.
PM Summit fall out 2 CE Vendors Spoke at Summit  CELF presented  TI presented  Free Scale presented  Nokia presented  MLI represented.
An Introduction to Device Drivers Ted Baker  Andy Wang COP 5641 / CIS 4930.
January 20, 2006 CELF stuff Tim Bird Sony Electronics CE Linux Forum Architecture Group Chair.
March 24, 2006 MIPS SIG Discussion1 CELF Japan Technical Jamboree MIPS SIG Discussion 24 March 2006 Japan Jamboree #7 S. Ueda / Sony Satoru.Ueda(a)jp.sony.com.
Mobile Application Development with ANDROID Umang Patel(6537) LDCE.
CENG334 Introduction to Operating Systems 1 Erol Sahin Dept of Computer Eng. Middle East Technical University Ankara, TURKEY URL:
Week 4 - Friday.  What did we talk about last time?  Some extra systems programming stuff  Scope.
User Mode Linux (UML): An overview and experiences. Matthew Grove SLUG Tech Talk Red Hat Europe 12 th January 2007.
© Sony Corporation of America 1 of 17 Kernel Summit 2009 End User Panel Pain Points for Using Linux By Tim Bird Sony Corporation.
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
Android. Android An Open Handset Alliance Project A software platform and operating system for mobile devices Based on the Linux kernel Developed by Google.
Matthew Locke November 2007 A Linux Power Management Architecture.
Embedded Linux Wiki BOF. eLinux Wiki 2 Embedded Linux Wiki BOF Ottawa Linux Symposium June 2007 © 2007 Michael Opdenacker
Software and Services Group Embedded Linux and the mainline kernel David Woodhouse CELF Embedded Linux Conference April 2009.
1 Free Electrons. Kernel, drivers and embedded Linux development, consulting, training and support. http//free-electrons.com TI OMAP 3530 power management.
Status of Embedded Linux Status of Embedded Linux Tim Bird CELF Architecture Group Chair.
Lesson Objectives Aims Key Words Paging, Segmentation, Virtual Memory
Android Mobile Application Development
Chair, Architecture Group
Ottawa Linux Symposium 2007
Penguin Weight Watchers
Semester Review Chris Gill CSE 422S - Operating Systems Organization
Making the LSM available to containers FOSDEM18
Status of Embedded Linux
Chapter 4.
IS3440 Linux Security Unit 7 Securing the Linux Kernel
Windows Virtual PC / Hyper-V
Outline Chapter 2 (cont) OS Design OS structure
System calls….. C-program->POSIX call
COMP755 Advanced Operating Systems
Overview of System Development for Windows CE.NET
Presentation transcript:

Embedded Linux BOF Tim Bird Sony Corporation CE Linux Forum Architecture Group Chair Ottawa Linux Symposium – July 23, 2008

Outline Big News! Kernel Version Highlights Technology Watch List Other news Status Resources Discussion

BIG Community News!! linux-embedded mailing list has been created!! There are now “Embedded Linux” maintainers!! Based on Andrew Morton talk at Embedded Linux Conference, and succeeding discussion Also, Andrew worked behind-the-scenes to help make these things happen

linux-embedded mailing list Is now the main list for kernel-related embedded patches and discussion Lower traffic than LKML – should be much easier to watch Technical discussions about the kernel should be moved here from linux-tiny, celinux-dev, and others How to subscribe and access archives: You should subscribe!

New embedded Linux maintainers Who: David Woodhouse – MTD/JFFS2/OLPC guy Paul Gortmaker – longtime kernel developer What: Keep track of patches and technology development related to embedded Handle stuff that has no other home See LWN.net interview of maintainers at:

Kernel Highlights Previous kernel highlights highlights Coming in Interesting patches (Tim’s list)

Kernel Highlights Kernel markers Loadable Security Modules framework was removed PM Quality of Service (QOS)

Markers Infrastructure in kernel for static instrumentation Kprobes are for dynamic instrumentation Used by SystemTap and Linux Trace Toolkit(ng) Goal is very low overhead when not in use One compare, using immediate value No memory access or cache/TLB usage issues There's a new system to replace immediate values in kernel code, while the kernel is running!! New “tracepoint” feature (see Matthieu Desnoyer’s presentation – Friday 10:00)

Kernel Highlights Kpagemap Matt Mackall's patches for fine-grained memory instrumentation (more on next slide) Latency measurement API Support for LatencyTop See SMACK - simple mandatory access control New lightweight MAC system for kernel, by Casey Schaufler Go to OLS Session Saturday at 10:00 for more info (“SMACK in embedded computing”)

Kpagemap Can show details about every allocated (and virtual) page on the system Introduces PSS and USS size metrics PSS = Proportional Set Size USS = Unique Set Size Resources: ELC presentation profiling.html LWN.net article: Visualization tools:

kernel highlights KGDB Finally have a mainlined in-kernel debugger Some clock framework, clock driver and CPUfreq stuff on ARM

Coming in FTrace? Anyone…, anyone…?

Technology Review Bootup Time System Size File Systems Tracing Security Power Management Real-Time Middleware

Bootup Time Async initlevels New patch by Arjan van de Ven Puts some driver initialization in parallel with other boot tasks See

Size Linux-tiny Recently got CONSOLE_TRANSLATIONS mainlined Next logical patches are ETHTOOL and IGMP Bloatwatch 2.0 At ELC 2008 (April), Matt Mackall released Bloatwatch 2.0 Tool to show kernel size regression (and to investigate size problems) See Function Sections (see next page)

Function Sections "Function sections" is a technique for reducing the size of the kernel image Consists of patches by Denys Vlasenko to support “gcc -ffunction-sections -fdata-sections” Places each function into it's own linker section This allows the linker to do better dead code removal (using “ld –gc-sections”) Denys reported that usage of this technique got him about a 10% reduction in kernel size (in some conditions)

File systems SquashFS AXFS LogFS UBIFS

SquashFS Compressed read-only file system, with smaller compression than CramFS Latest release is 3.3, released Feb 5, 2008 Has been a flurry of recent activity, leading up to Squashfs v. 4.0 Phillip Lougher is working to mainline it CELF is working to fund this effort

AXFS Advanced XIP file system Can profile applications, and only use XIP on some blocks Allows for fine-grained control over how much flash vs. RAM is used for an application set Go to OLS Session Friday at 11:00 am for the latest info.

UBIFS File system build on UBI (flash block) instead of block layer Nokia recently (April) submitted v 3.0 for mainline inclusion mtd.infradead.org/doc/ubifs_whitepaper.pdf mtd.infradead.org/doc/ubifs_whitepaper.pdf

LogFS New flash filesystem by Jörn Engel to solve scalability problems with JFFS2 LogFS keeps filesystem meta-data on flash instead of in memory Does not need to read lots of meta-data on mount This reduces mount time (and system boot time) But, it has some outstanding problems

Tracing FTrace LTTng (and Markers) SystemTap Printk-time arch support

Function Trace (ftrace) Isolation and generalization of latency-trace system from RT-preempt patch Ingo Molnar and Steven Rostedt are primary developers Compiler instrumentation of kernel functions (gcc - mcount) Support for multiple tracers V16 submitted in mid-June Already in linux-tip I should put KFT on top of FTrace

Other Tracers LTTng Status Markers infrastructure mainlined in Next to mainline is actual LTTng core Go to OLS session Friday 10:00 for more info SystemTap Nice system, but compilation step was not cross-compile aware Lineo Solutions has demonstrated support for cross-execution! Work needed for embedded platforms (e.g. Kprobes for MIPS) Go to OLS Session Thursday at 14:00 for a ScriptFest Printk-times arch support Many platforms have bad timer resolution for printk times

Security LSM framework removed from kernel in Has some impact on non-mainlined security systems Tomoyo Linux, App Amour App Armour has more bad news AppArmour group was let go from Novell See Embedded SELinux (see next page)

Embedded SELinux There has been much progress recently to support SELinux in the embedded space Requires filesytem with extended attributes Some flash filesystems do not support xattrs Yuichi Nakamura has described an embedded configuration of SELinux in as little as 700K See OLS Session Friday at 14:00 for more information

Power Management Powertop Shows timers and power state durations Need support for CPUIdle, in order to show C-state (power state) activity for non-Intel processors Richard Woodruff did support for TI OMAP (Hey other semi-conductor vendors, what are YOU doing??) Clock Frameworks – need more arch support Wolfson voltage regulator stuff See ELC talks for presentations on all of the above –

RealTime RT-preempt Latency tracer is being pushed to mainline Remaining large pieces seem to have stalled getting to mainline: Threaded interrupts Sleeping spinlocks Always needs tuning to make it work on a new platform Tuning notes published at ELC 2008 (Frank Rowand) Xenomai emulation layer for legacy RTOS application support

Middleware DLNA CELF hosted the first ever open source DLNA summit, in Linz Austria CELF has donated several DLNA specifications to open source projects New dlna-dev mailing list In process of obtaining sample hardware for various DLNA projects DLNA summit #2 planned for ELC-Europe 2008

Mobile Phone News Open Handset Alliance and Android platform Still waiting for deployment in phones LIMO Feb 4 - announced their Linux platform Phones based on LIMO have shipped in Japan See LIMO press release releases/limo-rolls-out-world-s-first-globally-competitive-linux-based- software-platform-for-mobile-devices.html OpenMoko becoming available See Thursday Keynote – 16:00 Nokia buys out Symbian with plans to make it available as open source (!!?)

Status Resources LinuxDevices.com LWN.net kernel pages Articles sorted by topic Linux Weather Forecast foundation.org/en/Linux_Weather_Forecast Embedded Linux Wiki

Technology Watch List CE Linux Forum maintains a list of technologies that we are "watching" Things we are interested in Kind of like the Kernel Weather Forecast, but with focus on embedded List is reported on and updated at CELF meetings Page is on elinux wiki: Page is now up-to-date (mostly)

Open Discussion Topics? Taking control of the kernel from desktop and enterprise guys My favorite quote this week from a mainframe guy: “Sorry for all the bloat the last couple of years…” …

Thanks! You’re all invited to come to the CELF Embedded Developer BOF At the Westin Hotel Friday, July 25, 7:00 pm There will be prizes!!! (but no food  )