Tooling for Success: Embedded Linux File System Management

Similar documents
Track Two Building an Internet Radio with the TI Sitara AM3517 using LinuxLink

D1 - Embedded Linux. Building and installing an embedded and real-time Linux platform. Objectives. Course environment.

The New Approach to Embedded Linux Development Marco Beardo FAE

EMBEDDED LINUX ON ARM9 Weekend Workshop

Track Three Building a Rich UI Based Dual Display Video Player with the Freescale i.mx53 using LinuxLink

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

Embedded Linux system development training 5-day session

Open Source Software in mobile devices. Timofey Turenko Nokia Research Center, Office of CTO

Package management rpm Package management with yum The tar tool

Introduction p. 1 Why Linux? p. 2 Embedded Linux Today p. 3 Open Source and the GPL p. 3 Free Versus Freedom p. 4 Standards and Relevant Bodies p.

D1S - Embedded Linux with Ac6 System Workbench

Hands-On Workshop: Freescale Audio Solution Framework, Part 2

Guest Shell. Finding Feature Information. Information About Guest Shell. Guest Shell Overview

RED HAT DEVELOPER TOOLSET: Build, Run, & Analyze Applications On Multiple Versions of Red Hat Enterprise Linux

Headless Android Android Builders Summit 2012 Karim

Setting up the K70 with KDS

ECM583 Special Topics in Computer Systems

Scratchbox Remote Shell

Android System Development Training 4-day session

An Introduction to Android. Jason Chen Developer Advocate Google I/O 2008

Introduction. Purpose. Objectives. Content. Learning Time

What s new in CDT 4.0 and beyond. Doug Schaefer QNX Software Systems CDT Project Lead

Using Eclipse for C Programming

Developing Environment for Intel Mainstone Board

Yocto Overview. Dexuan Cui Intel Corporation

Guest Shell. Finding Feature Information. Information About Guest Shell. Guest Shell Overview

Eclipse-Based CodeWarrior Debugger

Benchmarking the Performance of the Virtex-4 10/100/1000 TEMAC System Author: Kris Chaplin

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

There Should be One Obvious Way to Bring Python into Production. Sebastian Neubauer

Laboratorio di Programmazione. Prof. Marco Bertini

alcasar_documentation Documentation

Adding hardware support to Buildroot

Definition Center Installation for Linux

Can t Believe It s Linux. a totally different and hypothetical linux distribution

CS354 gdb Tutorial Written by Chris Feilbach

Why OpenEmbedded proved a good foundation for MontaVista. Cedric Hombourger Solutions & Services Architect

D1Y - Embedded Linux with Yocto

NSIGHT ECLIPSE EDITION

Graphics Performance Analyzer for Android

Yocto Project components

Manual Update Java 7 25 Mac Windows Xp

Installation tutorial for the Skomer IDE

Debugging Linux With LinuxScope-JTD

Building Applications with IOx

GET STARTED FAST WITH THIS COMPREHENSIVE ENABLEMENT OFFERING FOR LPC800 MCUS

Welcome to the Software Overview section of the MIPS Software Training course. In this section I will discuss software and software tools you can use

Freescale Semiconductor Inc. Vybrid DS-5 Getting Started Guide Rev 1.0

POOSL IDE Installation Manual

NSIGHT ECLIPSE EDITION

Evaluation board for NXP LPC2103 USE GNU ARM UNDER KEIL IDE

SABRE Board for Smart Devices

Yocto Project and OpenEmbedded training 3-day session

Laboratory Assignment #3 Eclipse CDT

Track Three Building a Rich UI Based Dual Display Video Player with the Freescale i.mx53 using LinuxLink

Compute Node Design for DAQ and Trigger Subsystem in Giessen. Justus Liebig University in Giessen

Early Software Development Through Emulation for a Complex SoC

android application development CONTENTS 1.1 INTRODUCTION TO O ANDROID OPERATING SYSTEM... TURES Understanding the Android Software Stack...

Contents. About This Guide... 2 Audience... 2 Revision History... 2 Conventions... 3 Definitions, Acronyms, and Abbreviations... 3

Security in NVMe Enterprise SSDs

NS115 System Emulation Based on Cadence Palladium XP

Installing FileMaker Pro 11 in Windows

Chapter 3: Updating Fedora Core

e2 factory the emlix Embedded Build Framework

This presentation of uclinux-on-microblaze given

CANvu 355 & VeeCAN 320 SDK

Binary Blobs Attack!!!

Harnessing the Power of Python in ArcGIS Using the Conda Distribution. Shaun Walbridge Mark Janikas Ting Lee

Transforming XenServer into a proper open-source project

January 28 29, 2014San Jose. Engineering Workshop

ArcGIS Runtime SDK for Java: A Beginner s Guide. Mark Baird JC Malott

RTOS, Linux & Virtualization Wind River Systems, Inc.

Architect your deployment using Chef

SSQA Seminar Series. Server Side Testing Frameworks. Sachin Bansal Sr. Quality Engineering Manager Adobe Systems Inc. February 13 th, 2007

Configuring Ubuntu to Code for the OmniFlash or OmniEP

Installing VMware Player to Run Ubuntu Linux on a Windows Machine

Embedded Linux Architecture

Prerequisites: General computing knowledge and experience. No prior knowledge with Linux is required. Supported Distributions:

client X11 Linux workstation

FA3 - i.mx51 Implementation + LTIB

UFCETW-20-2 Examination Answer all questions in Section A (60 marks) and 2 questions from Section B (40 marks)

Users Manual. OP5 System 2.4. OP5 AB. Page 1 of 6

μc/probe on the element14 BeagleBone Black

Compiling Software on UNIX. System Administration Decal Spring 2009 Lecture #4 George Wu Slides prepared by Joshua Kwan

Moving From Studio to Atelier. Wouter Dupré Sales Engineer

Oracle Application Express Workshop I Ed 2

22 File Structure, Disk Scheduling

Nios II Embedded Design Suite Release Notes

Mali Developer Resources. Kevin Ho ARM Taiwan FAE

Embedded Linux Primer, Second Edition

Quick Start Guide. SABRE Platform for Smart Devices Based on the i.mx 6 Series

Embest IDE Pro for ARM 2005

The Indoor+Outdoor Security Starter Kit Quickstart Guide

Installation and Licensing Guide

10 Steps to Virtualization

Reference Manual , 01/2016. CodeWarrior Development Studio for Power Architecture Processors Targeting Manual

Spartan -6 LX9 MicroBoard Web Connectivity On Ramp Tutorial

RED HAT DEVELOPER TOOLSET Build, Run, & Analyze Applications On Multiple Versions of Red Hat Enterprise Linux

First Steps. DNP/SK18 Embedded Linux Starter Kit

Digi Embedded Yocto 1.6. First Steps Guide

Transcription:

Tooling for Success: Embedded Linux File System Management Presenter: Troy Kitch Session Code: AE205 Track: Enabling Technologies Market Segment: Development Tools

Agenda Traditional Linux Development Embedded Development The Ideal File System Management Tool Package Managers Filesystem Management Tools Faking Root Out Virtualization Platform Image Builders 2008 MontaVista Software - Confidential 2

Traditional Development Host Platform (x86) Target (x86) X86 toolchain

Embedded Development Host Platform X86 hardware Cross toolchains ARM toolchain PPC toolchain Cross Compile PPC Target Hardware (PPC) PPC

The Ideal File System Management Tool DWIM Button Easy selection and configuration Find and resolves package/file dependencies Optimize file system(s) for your given device Create multiple types of file systems Do all this without requiring root privilege

Questions To Ask Where are you getting your source from? How is it wrapped for delivery? What will the file system be used for? How will you optimize for a particular target? Your choices make a difference: Package manager Faking root out Virtualization Platform image builder

Classic GNU Usage Scenario Developing on your desktop Download package Unpack (tar.gz) Configure Make Make install The further you get away, the tougher things get Problems occur Overwrite files Dependencies unclear You can screw up your system 2008 MontaVista Software - Confidential 7

Package Managers 2008 MontaVista - Confidential 8

Package Managers: RPM Install, uninstall, query, verify and update packages Locally, remotely Includes metadata to manage it all Standard; available on most Linux systems Easy to automate Packages can be cryptographically verified <name>-<version>-<release>.<arch>.rpm busybox-1.2.2.1-2.0.0.p4080.rpm

Package Managers: RPM Command line, no graphical option Limited ability to prune files Documentation Unused utilities Dependency Hell Lack of consistency in naming and content Does not solve package dependencies Requires other command line tools to assist Yellowdog Updater (yum) Advanced Packaging Tool (apt) Root privilege required for Upgrades and installs Modifying the RPM database

Faking Root Out 2008 MontaVista - Confidential 11

Faking Root Out: Fakeroot Creates a virtual / file system tree within a directory on the host system, providing Fake / environment Redefines standard functions within host system libraries Changes the utilities that reference files Captures privileged information about files Does not require root privilege to create them Can be used with standard utilities without requiring special tooling

Faking Root Out Cannot solve dependencies Cannot execute code, for a different architecture than the host, within the target directory 2008 MontaVista Software - Confidential 13

Virtualization 2008 MontaVista - Confidential 14

Virtual File System Host Platform (x86) Power Virtual Target (PPC) Memory Guest File System Processor

Virtual File System Faster than developing on the target itself, but adds further complexity Slows processor power relative to cross development Package dependency isn t solved

Platform Image Builder 2008 MontaVista - Confidential 17

Platform Image Builder: LTIB LTIB (Linux Target Image Builder) Open Source (GPL) and Command Line Doesn t require root privilege Runs on Linux systems (some ppc) 2008 MontaVista Software - Confidential 18

Platform Image Builder: LTIB Combines utilities we ve discussed Fakeroot Builds RPM packages and assembles them into an image Support RAMDISK and JFFS2 flash image creation Add/prune packages and files Used as non-root 2008 MontaVista Software - Confidential 19

Platform Image Builder Platform Image Builder Windows and Linux host, Eclipse plug-in Build and optimize runtime file systems Specialized for adding/pruning Linux packages 2008 MontaVista - Confidential

Platform Image Builder Prune directories and files Keep what you want Delete what you don t Detailed package information Files included Required packages Conflicts 2008 MontaVista Software - Confidential 21

Shameless Plug Visit MontaVista Booth Embedded Linux lifecycle development Product Evaluation Platform Development Application Development Shipping Products Save on Time: MontaVista TestDrive MontaVista Pro MontaVista DevRocket Virtutech Simics JTAG hardware debugging Board bring up Platform Image Builder MontaVista Pro and Freescale 8578 eight core DevRocket Eclipse set of plug-ins App debugging Memory leak detection Profiling Aonix PERC virtual machine CGE: Emerson Embedded & Hybricon MicroTCA Mobile: Android and ACCESS Freescale i.mx31 Dynamic Power Management System Tracing 2008 MontaVista Software - Confidential 22

Other MontaVista Talks Reducing Boot Time - Techniques for Fast Booting Who: Chris Hallinan, MontaVista FAE and author of Embedded Linux Primer When: Wednesday @ 10:45 AM Where: RC Ballroom Salon II (AE206) Save Valuable Battery Life with Linux Power Management Who: Brad Dixon, MontaVista FAE When: Wednesday 5:00 PM Where: Tuscany A (AM201) 2008 MontaVista Software - Confidential 23

Tooling for Success: Embedded Linux File System Management Troy Kitch, Sr. Product Manager, Developer Tools tkitch@mvista.com