Introduction to Development of Embedded Linux Systems Summary

Introduction to Development of Embedded Linux Systems Summary

http://www.isen.fr/ Introduction to development of embedded Linux systems Julien Gaulmin <[email protected]> / @julien23 Version 2018r1. This course is freely distributable under the terms of the Creative Commons License (http://creativecommons.org/licenses/by-sa/2.0/fr/deed.en) Attribution-ShareAlike 2.0 First Prev Next Last Go Back Full Screen Close Quit • • • • • • • • Summary First Prev Next Last Go Back Full Screen Close Quit • • • • • • • • 1. Embedded computing: Definitions, • Market and prospect, • Embedded system topology, • Hardware architecture, • Software architecture. • 2. Why GNU/Linux? Technological reasons, • Economic reasons, • Personal reasons, • Other OS, • Licenses, • Limits. • First Prev Next Last Go Back Full Screen Close Quit • • • • • • • • 3. Solutions: Types of solutions, • Product oriented platforms, • Base software components, • References. • 4. Essentials: Unix concepts and orthodoxy, • Linux boot process analysis, • Compilation process, • Binary link edition, • Executables, • µClinux vs Linux. • First Prev Next Last Go Back Full Screen Close Quit • • • • • • • • 5. Methods and development tools: Terminology, • Development method, • Cross-compilation, • Optimisation and debug, • Software emulation and virtualization. • 6. Case study; 7. References. First Prev Next Last Go Back Full Screen Close Quit • • • • • • • • Embedded computing First Prev Next Last Go Back Full Screen Close Quit • • • • • • • • Definitions Software and hardware combination dedicated to one or • more duty according to more or less severes constraints (consumption, temperature, size, performances...); Autonomous / Self-governing software and hardware • combination missing traditional inputs/outputs (screen, keyboard, mouse...); Hidden computer integrated in a system or equipment not • relative to a computing task; More generaly can describe all the electronic systems which • are not members of the traditional computing areas (desktop, web, business, big data); We also talk about "buried" or deeply embedded systems • when the link with computing is not clear anymore. First Prev Next Last Go Back Full Screen Close Quit • • • • • • • • Exemples Smartphone, tablet, diskless-PC, video game console; • TV box, NVR, camera, car computer; • Industrial machine, robot; • Router, Inernet box, µCsimm, Raspberry Pi; • Washing machine, ABS. • First Prev Next Last Go Back Full Screen Close Quit • • • • • • • • Real-time and embedded computing Real-time system: • – data after capture and processing is still relevant, – ability to respond to a request/stimulus and to produce an appropriate response in a given time determinism, ⇒ – not necessarily synonymous with computing power or speed of execution. Some embedded systems are subject to more or less strong • temporal constraints requiring the use of real-time kernels (RTOS1); 1RTOS: Real Time Operating System First Prev Next Last Go Back Full Screen Close Quit • • • • • • • • Two main forms of real-time applications: • – hard real-time the system must respond to a given ⇒ event in a given time (ABS, military system...), – soft real-time the system is subject to temporal ⇒ constraints but the delay or cancellation of a deadline is not a big deal (video game, VoIP1...). 1VoIP: Voice over IP First Prev Next Last Go Back Full Screen Close Quit • • • • • • • • Market and prospect The embedded rise Coupled with the rise of the "all-digital" and multimedia; • Convergence of media (voice, video, data ...) • Intelligence at all levels (automation, robotics...) • Connected products, mobility; • Miniaturization and lower component costs; • The next growing factors : IoT1, wearables, etc; • Evolution of the total embedded market from $32M in 1998 • to $92M in 2008 and $2000M in 20152. 1IoT: Internet of Things 2Estimation from IDC in 2011 First Prev Next Last Go Back Full Screen Close Quit • • • • • • • • Customs and habits Closed market of proprietary OS: – not cross-compatible, – expensive and frozen development kits, – high royalties, – dependence of an editor. "Home made" OS: – long development and expensive maintainability, – bad scalability and sustainability, – reduced portability. Since 2000, Linux and free software have emerged as an alternative to these monopolies, from prototyping to finished product. First Prev Next Last Go Back Full Screen Close Quit • • • • • • • • The players Developers communities; • Software publishers; • Service companies; • Manufacturers components; • Industrials; • Scientists, academics and students; • Organizations (CELF1, Linux Foundation, TV Linux • Alliance, RTLF2, LDPS3, FHSG4, LSB5, FSF6, OpenGroup...) Medias (web portals, editors, press...). •1CELF: CE Linux Forum 2RTLF: Real-Time Linux Foundation 3LDPS: Linux Development Platform Specification 4FHSG: Filesystem Hierarchy Standard Group 5LSB: Linux Standard Base 6FSF: Free Software Foundation First Prev Next Last Go Back Full Screen Close Quit • • • • • • • • Embedded system topology First Prev Next Last Go Back Full Screen Close Quit • • • • • • • • Hardware architecture Often dedicated in systems with severe consumption, size or • cost constraints; Today, the trend was reversed with the emergence of • increasingly integrated system off-the-shelves (SOB1, SOC2...); Suited to the needs no superfluous (scale savings). •1SOB: System On Board ⇒ 2SOC: System On Chip First Prev Next Last Go Back Full Screen Close Quit • • • • • • • • CPU families General purpose: x86, ia64, x64, PowerPC, Sparc... • Low power: ARM1 (ARMx, Cortex, XScale), SuperH, • MIPS2, PowerPC... SOC: 68k (Motorola DragonBall et ColdFire), x86 (AMD • Geode, VIA Nano, Intel Atom), ARM (NVidia Tegra, Qualcomm Snapdragon, Samsung Hummingbird, Apple Ax, Intel PXA), MIPS, PowerPC, Etrax... ASIC or FPGA with ARM, MIPS or PowerPC core(s)... •1ARM: Advanced RISC Machine 2MIPS: Microprocessor without Interlocked Pipeline Stages First Prev Next Last Go Back Full Screen Close Quit • • • • • • • • 82 Which of the following 32-bit chip families would you consider for your next embedded project? SiLABS Precision32 (ARM) 5% STMicro STM32 (ARM) 30% Qualcomm (any) 5% Microchip PIC 32­bit (MIPS) 20% Energy Micro EFM32 4% Microsemi SmartFusion2 SoC FPGA (Cortex­M3) 4% Xilinx Zynq (with dual ARM Cortex­A9) 17% Infineon XMC4000 (ARM) 4% Freescale i.MX (ARM) 17% AMD Fusion, Athlon, Sempron, Turion, Opteron, Geode 4% NXP LPC (ARM) 16% Atmel AT91xx 4% FreescalePowerQUICC 4% FreescaleKinetis (ARM/Cortex­M4/M0) 16% Renesas RH850 4% Atmel SAMxx (ARM) 14% Freescale PowerPC 55xx 4% TI Sitara (ARM) 14% Microsemi FPGA (Cortex­M1, softcore) 3% Freescale PowerPC 5xx, 6xx 3% Intel Atom, Pentium, Celeron, Core 2, Core iX 13% Intel Itanium 3% Altera (Intel FPGA) SoC­FPGA (with dual ARM Cortex­A9) 12% Freescale Vybrid (ARM) 3% Arduino 12% Freescale 68K, ColdFire 2% Microsemi SmartFusion SoC FPGA (Cortex­M3) 2% Altera (Intel FPGA) Nios II (soft core) 11% IBM PowerPC 4xx, 7xx 2% TI SimpleLink (ARM)* 11% Infineon XMC1000 (ARM Cortex­M0) 2% Marvell 2% TI TM4Cx (ARM) 11% Infineon Tricore 2% Atmel (AVR32) 11% Xilinx Virtex­5 (with PowerPC 405) 2% Atmel AT91xx/ATSAMxx (ARM) 10% Infineon AURIX (TriCore­based) 1% Cirrus Logic EP73xx, EP93xx (ARM) 1% Cypress PSOC 4 ARM Cortex­M0/PSoC 5 ARM Cortex­M3 9% AMD Alchemy (MIPS) 1% Renesas RX 8% SPARC (any) 1% Broadcom (any) 8% Xilinx Virtex­4 (with PowerPC 405) 1% Spansion (formerly Fujitsu) FM3 (ARM) 1% TI C2000 MCUs 7% Infineon TriCore 1% Xilinx MicroBlaze (soft­core) 7% 2017 (N = 617) Infineon TriCore­based 32­bit families AUDO MAX 1% NVIDIA Tegra 6% AMCC PowerPC 4xx 1% Other (please specify) 4% TI Hercules (ARM) 6% 2017 Embedded Markets Study © 2017 Copyright by AspenCore. All rights reserved. First Prev Next Last Go Back Full Screen Close Quit • • • • • • • • Communication bus VME1 VMEbus, VME64, VME64x, VME320, VXI2, • ⇒ IP-Module, M-Module... PCI3 CompactPCI (cPCI), PCI-X, PXI4, PMC5, • ⇒ PC/104+, PCI-104, MiniPCI... PCIe6 XMC, AdvancedTCA, AMC, ExpressCard, • ⇒ MiniCard, PCI/104-Express, PCIe/104... PCMCIA7 PCMCIA, PC Card, CardBus... • ⇒ ISA8 PC/104... •1VME: Versa⇒Module Eurocard 2VXI: VMEbus eXtension for Instrumentation 3PCI: Peripheral Component Interconnect 4PXI: PCI eXtension for Instrumentation 5PMC: PCI Mezzanine Card 6PCIe: PCI eXPRESS 7PCMCIA: Personnal Computer Memory Card International Association 8ISA: Industry Standard Architecture First Prev Next Last Go Back Full Screen Close Quit • • • • • • • • First Prev Next Last Go Back Full Screen Close Quit • • • • • • • • Parallel ATA/ATAPI1 (IDE2), SCSI3, • ⇒ Centronics/IEEE1284... Série I2C4, RS232, RS485, USB5, IEEE1394, Serial • ⇒ ATA... Network Ethernet, FDDI6, X.25, WiFi/802.11, • ⇒ BlueTooth/ZigBee/WUSB/Wibree/802.15.x/ANT, IrDA7, ATM8, Token Ring, GSM9/GPRS10/UMTS11/LTE12... 1ATAPI: AT Attachment Packet Interface 2IDE: Intergated Drive Electronics 3SCSI: Small Computer Systems Interface 4I2C: Inter-Integrated Circuit 5USB: Universal Serial Bus 6FDDI: Fibber Distributed Data Interface 7IrDA: Infrared Data Association 8ATM: Asynchronous Transfert Mode 9GSM: Global System for Mobile communications 10GPRS: General Packet Radio Service 11UMTS: Universal Mobile Telecommunications System 12LTE: Long Term Evolution First Prev Next Last Go Back Full Screen Close Quit • • • • • • • • Mass storage Magnetic storage 2,5", 3,5", microdrive, tape... • ⇒ Flash memory SSD1, FlashDisk, DiskOnChip, • ⇒ CompactFlash, CFI2, SD Card, Memory Stick, USB Mass Storage... ROM3, EPROM, EEPROM, UVPROM... • Optical storage CD, DVD, Blu-ray... • ⇒ Combination of the above. •1SSD: Solid State Device 2CFI:

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    62 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us