0% found this document useful (0 votes)
268 views16 pages

eCos: Open Source Embedded OS Guide

eCos is an open source, configurable, portable, and royalty-free embedded real-time operating system that runs on a wide range of architectures and platforms with a small memory footprint. It provides kernel services, a C library, TCP/IP stack, and supports devices like serial ports and ethernet controllers. eCos can be installed on Linux or Windows systems using an installation tool that downloads the eCos software and pre-built toolchains for architectures like ARM, MIPS, PowerPC and more.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
268 views16 pages

eCos: Open Source Embedded OS Guide

eCos is an open source, configurable, portable, and royalty-free embedded real-time operating system that runs on a wide range of architectures and platforms with a small memory footprint. It provides kernel services, a C library, TCP/IP stack, and supports devices like serial ports and ethernet controllers. eCos can be installed on Linux or Windows systems using an installation tool that downloads the eCos software and pre-built toolchains for architectures like ARM, MIPS, PowerPC and more.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd

Embedded Operating

System:ECOS

ECOS
eCosis an open source, configurable, portable, and
royalty-free embedded real-time operating system
minimized footprint with required functionality and
features
eCosis designed to be portable to a wide range of
target architectures and target platforms including 16,
32, and 64 bit architectures, MPUs, MCUs and DSPs
TheeCoskernel, libraries and runtime components
are layered on the Hardware Abstraction Layer (HAL),
and thus will run on any target once the HAL and
relevant device drivers have been ported to the
target's processor architecture and board.

ECOS
CurrentlyeCossupports a large range of different target
architectures:
ARM, Intel StrongARM and XScale
Fujitsu FR-V
Hitachi SH2/3/4
Hitachi H8/300H
Intel x86
MIPS
Matsushita AM3x
Motorola PowerPC
Motorola 68k/Coldfire
NEC V850
Sun SPARC

ECOS
eCosweb site athttp://sources.redhat.com/ecos/.
The kernel provides thread scheduling, synchronization,
timer, and communication primitives. It handles
hardware resources such as interrupts, exceptions,
memory and caches.
It also includes a fully featured, thread-safe ISO standard
C library and math library
A fully featured TCP/IP stack implementing IP, IPv6, ICMP,
UDP and TCP over ethernet. Support for SNMP, HTTP,
TFTP and FTP are also present.
Support for a wide variety of devices including many
serial devices, ethernet controllers and FLASH memories

Installation
Can be installed on
Linux (directory/opt/ecos)
Windows (directory C:/Program Files/eCos)
Requirement
Standard Intel architecture PC running Linux
Microsoft Windows.
64MB of RAM and a 350MHz or faster Pentium
processor

Installation
LINUX HOST
On 32-bit Linuxhost (i686) ensure that
libstdc++ v3 (/usr/lib/libstdc++.so.5) is
installed.
If not then install
Fedora i686:

yum install compat-libstdc++-33

openSUSE i686:

zypper install libstdc++33

Ubuntu 9.10 i686 (and later):

dpkg -ilibstdc
++5_3.3.6-17ubuntu1_i386.deb

Ubuntu 9.04 i686 (and earlier):

apt-get install libstdc++5

Installation
WINDOWS HOST
first install a recent version of theCygwin
UNIX emulation system
http://ecos.sourceware.org/cygwin.html
eCos and Toolchain
installation tool simplifies the downloading
and installation of the eCos.

Pre-built Toolchains

Architecture

Target

GCC version

ARM (ARM7TDMI,
ARM9, Cortex-M,
XScale)

arm-eabi

4.6.3

ARM (ARM7DI,
StrongARM)

arm-elf

3.2.1

ColdFire

m68k-elf

4.3.2

Intel x86

i386-elf

4.3.2

MIPS32

mipsisa32-elf

4.3.2

PowerPC

powerpc-eabi

4.3.2

SuperH

sh-elf

4.3.2

Installation
download the eCos installation tool by using the
following command at abashprompt:
wget --passive-ftp ftp://
ecos.sourceware.org/pub/ecos/ecos-install.tcl

Installation
The installation tool may then be invoked as follows:
sh ecos-install.tcl
mirror sites from which the software may be
downloaded.
The tool will then prompt for an installation location.
Finally, the tool will present a list of pre-built GNU
toolchains available for download.
Select each toolchain you wish to download by
entering the corresponding number.
When all required toolchains have been selected,
enterq. Downloading and installation of the software
will then commence

Installation

Installation

Installation

Installation

Configuration Tool

You might also like