public inbox for ecos-devel@sourceware.org
 help / color / mirror / Atom feed
From: Stanislav Meduna <stano@meduna.org>
To: ecos-devel@sourceware.org
Subject: Re: Port to Atmel ARM9 Microcontroller SAM9G45
Date: Sun, 07 Mar 2010 17:33:00 -0000	[thread overview]
Message-ID: <4B93E33A.9050807@meduna.org> (raw)
In-Reply-To: <B94D1C2A4766468D9AE763D0129C3ED2@DESKTOPITRGMBH>

On 04.03.2010 10:38, Richard Rauch wrote:

> - small footprint
> - good realtime behaviour
> - very short interrupt latency times, minimal overhead for task context
> switching 
> - available for small microcontrollers (arm7,cortex m3)

And last but not least: in my opinion the eCos structure
is cleaner and there is a lot less dependencies between
various parts of the operating system.

>> Maybe you can help me defending eCos ;-).

From my experience it is nearly impossible to write
a non-trivial realtime application for Linux - in my
opinion it simply is not there yet. I tried to port
an application using realtime timers and ethernet
networking to a variant of OSADL linux
(http://www.osadl.org/). I ended hunting deadlocks
and priority inversion cases over the whole system,
had kernel softirq threads in uninterruptible sleeps
(that shouldn't happen except hardware failure).
I spoke to other developers who tried Linux for
this kind of stuff and they had similar experience.

The same application works like a charm under eCos
or without using the realtime threads.


I'd recommend Linux in following cases:

- no or soft realtime
- you need virtual memory
- you need to load code dynamically
- having separate processes instead of threads is an
  advantage
- userspace/kernelspace isolation is needed
- you need something (e.g. a driver) only the linux provides
  and don't have time/resources to port it

Otherwise the eCos is better bet for an embedded device.

Regards
-- 
                                Stano

  reply	other threads:[~2010-03-07 17:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-03 21:12 Port to Atmel ARM9 Microcontroller SAM9G4 Richard Rauch
2010-03-04  7:18 ` Jürgen Lambrecht
2010-03-04  9:38   ` AW: Port to Atmel ARM9 Microcontroller SAM9G45 Richard Rauch
2010-03-07 17:33     ` Stanislav Meduna [this message]
2011-01-17 11:57       ` Mapping of ARM Architecture to Repository Richard Rauch
2011-01-17 16:22         ` John Dallaway
2010-03-04  8:36 ` Port to Atmel ARM9 Microcontroller SAM9G4 John Dallaway
2010-03-04  9:44   ` AW: Port to Atmel ARM9 Microcontroller SAM9G45 Richard Rauch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B93E33A.9050807@meduna.org \
    --to=stano@meduna.org \
    --cc=ecos-devel@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).