Download Trusted embedded System Operating System (TeSOS)

Transcript
7.1.9 Using the operating system
This section will introduce some basic aspects on how to install and use the analyzed operating
system. If possible, basic examples will be given.
7.1.10 Applicability for TeSOS technologies
This section analyses the applicability of results of Chapter 6 to be used in each embedded
operating system. It is mentioned whether it would be possible to modify the operating system
to implement the proposed features.
7.2 eCos
The embedded operating system eCos (embedded congurable operating system) is a real-time
embedded kernel providing thread scheduling, synchronization, timer, and communication primitives. Currently, the most recent version of eCos is version 3.0. The operating system handles
hardware resources such as interrupts, exceptions, memory and caches. On the application level,
eCos supports the
µITRON
and the POSIX Application Programming Interfaces (APIs), giving
the possibility to run POSIX-conform software on top of this embedded kernel. eCos is implemented in C/C++, includes a thread-safe ISO standard C library, and a math library. eCos was
designed to be able to run on hardware platforms that are not equipped with enough memory
to run embedded Linux that needs about 2 Megabytes of Random Access Memory (RAM). The
eCos Package Administration Tool can be used to add or remove dierent software packages from
the component repository. The eCos Conguration Tool can include or exclude these packages
from the conguration being built.
In comparison to other operating systems, the eCos kernel itself is an optional package not
required to build very simple applications. Moreover, memory allocation is handled by a fully
separated package. All device drivers are represented as attachable packages. The above mentioned conguration tool is then used to integrate all required packages into one application.
eCos supports multiple hardware platforms, including
•
•
•
•
•
•
•
•
•
•
•
•
ARM,
CalmRISC,
FR-V,
Hitachi H8,
Motorola 68000,
Matsushita AM3x,
MIPS,
NEC V8xx,
Nios II,
PowerPC,
SPARC, and
SuperH.
For some of these platform, eCos oers limited Synchronous Multiprocessing (SMP) support.
In addition to the operating system itself, the software package is distributed with RedBoot. The RedBoot ROM monitor is an application that uses the eCos Hardware Abstraction
Layer (HAL) for additional portability. RedBoot provides serial-based and ethernet-based booting and debug services during development. In addition, eCos oers drivers for
•
•
•
•
le system,
FLASH,
Serial Peripheral Interface Bus (SPI),
2
Inter-Integrated Circuit (I C),
112