evaluation of ecos embedded

Upload: thien-tran

Post on 07-Apr-2018

219 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/6/2019 Evaluation of eCos Embedded

    1/17

    d ip lom a t h es i s

    Evaluation of eCos embedded

    Real Time Operating System

  • 8/6/2019 Evaluation of eCos Embedded

    2/17

    eCos e m b ed de d Co nf ig ur ab le o pe ra t i ng s ys t e m

    Free Open Source runtime systemSupported by GNU Open Source development toolsReleased under GPL-compatible free softwarelicenseHighly configurable and scaleableGraphical component configuration toolsetReal Time performance

  • 8/6/2019 Evaluation of eCos Embedded

    3/17

    eCos or ig ins

    Cygnus SolutionsFounded 1987- Michael Tieman- David Henkel-Wallace- John Gilmore

    Provide high qualitiy support and development forOpen Source softwareGNUPro ToolKit

  • 8/6/2019 Evaluation of eCos Embedded

    4/17

    eCos or ig ins

    1996 Cygnus starts eCos project1998 eCos 1.1 release (first public release)1999 Red Hat acquire Cygnus Solutions2000 eCos 1.3.1 released under Red Hat eCosPublic License2000 Red Hat announce the availability of Redboot

    2002 eCos 2.0-alpha released under GPL+exception2002 original members of eCos team formeCosCentric Limited in Cambridge

  • 8/6/2019 Evaluation of eCos Embedded

    5/17

    eCos or ig ins

    2002 Red Hat announce their withdrawal from RTOSmarket, lays off entire eCos team2003 eCos 2.0-final release2003 eCosCentric announces eCosPro DevelopersKit2004 Red Hat announce intention to assigncopyright of the portions of the original source baseto FSF

  • 8/6/2019 Evaluation of eCos Embedded

    6/17

    eCos d es ig n g oa ls

    Unite function range of many RTOS solutionsAbstract hardware detailsHighly configurable and scaleableSmall resource footprintKeep up with commercial solutions

    Provide Real Time performance

  • 8/6/2019 Evaluation of eCos Embedded

    7/17

    eCos a r c h i t e c t u r e

    Monolitic Kernel

    Configurable component architecture

    Reusable key software components

  • 8/6/2019 Evaluation of eCos Embedded

    8/17

    eCos a r c h i t e c t u r e

  • 8/6/2019 Evaluation of eCos Embedded

    9/17

    eCos t a rg e t s a r c h i t e c t u r e

    Piece of hardware on which the application will beexecuted

    Component framework loads Packages to supportthe devices and HAL relevant to the target

    Configuration options are changed from theirdefault values to settings appropriate to the target

  • 8/6/2019 Evaluation of eCos Embedded

    10/17

    eCos t e m p l a t e s a r c h i t e c t u r e

    Partial configuration that gives a valid starting point

    Combination of a hardware target and a group ofpackages

  • 8/6/2019 Evaluation of eCos Embedded

    11/17

    eCos HAL c o re c o m ponent s

    Isolates architectural-dependent features andpresents them in general form to allow portability ofother infrastructure components

    Key Component for HW Ports

    Software Layer with generalized API

  • 8/6/2019 Evaluation of eCos Embedded

    12/17

    eCos HAL c o re c o m ponent s

    Implemented Core Features:

    -Interrupts

    - Exceptions- Virtual Vectors- HAL Start up- Device drivers API

  • 8/6/2019 Evaluation of eCos Embedded

    13/17

    eCos K e r n e l c o re c o m ponent s

    Threads APIRich set of synchronisation primitives- Mutexes- Condition Variables- Semaphores- Mail Boxes- Event flags- Spin locks (on SMP systems)

    Priority inversion Control- Inheritance- Ceiling

    -Own implementation

  • 8/6/2019 Evaluation of eCos Embedded

    14/17

    eCos K e r n e l c o re c o m ponent s

    Counters, Clocks, AlarmsInterrupts- Split interrupt model

    -APIs

    Scheduler- Scheduler implementations API- Scheduler Control API

    Device drivers API

  • 8/6/2019 Evaluation of eCos Embedded

    15/17

    eCos Libra r i es c o re c o m ponent s

    Math LibrariesC LibraryCompatibility Libraries

    - EL/IX- ITRON- POSIX

    PCI supportTCP/IP networking support

  • 8/6/2019 Evaluation of eCos Embedded

    16/17

    eCos RedBoot ROM Moni t o r

    Red Hat embedded Debug and BootstrapeCos low level application uses HAL APIimplemented features:- Boot scripting- Command Line Interface- Access via Serial or Ethernet ports- GDB Support- Flash Image System Support- X/Y Modem Support- Network bootstrap support (BOOTP, static address)

  • 8/6/2019 Evaluation of eCos Embedded

    17/17

    eCos e m b ed de d Co nf ig ur ab le o pe ra t i ng s ys t e m

    http://ecos.sourceware.orgAnthony Massa, embedded software

    design with eCoswww.ecoscentric.com

    [email protected]

    http://ecos.sourceware.org/http://www.mind.be/http://www.mind.be/http://ecos.sourceware.org/