public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: Ghazan Haider <ghazanhaider@yahoo.com>
Cc: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] Common GNU apps (busybox) on ecos possible?
Date: Tue, 18 Oct 2005 07:00:00 -0000	[thread overview]
Message-ID: <20051018070002.GC7087@lunn.ch> (raw)
In-Reply-To: <20051017224946.36413.qmail@web50608.mail.yahoo.com>

On Mon, Oct 17, 2005 at 03:49:46PM -0700, Ghazan Haider wrote:
> Hi all.
> 
> I'm awaiting my spiffy new Olimex lpc2138, and cant
> wait to get ecos running on it. Given the POSIX
> interface and eCos' whole niche market, I have some
> questions...
> 
> Can you run small gnu-compliant apps on eCos?
> Specifically busybox and things like vi, ash etc?
> 
> GCC is used for ecos, and these simpler apps are quite
> portable and use (AFAIK) nothing Linux or BSD specific
> in the API. In short, I wonder if you can run a
> standalone ecos system with some desktop-like tools
> like you can with QNX, uclinux, minix and the likes.

I don't know of anybody who has done this. 

There are some of the problems you need to address:

No exec[l|lp|le|v|vp] functions. So there is no way to create a
process using the normal POSIX API.

There is no concept of a process. eCos is all thread based. This has a
few concequencies:

Global variables are global across all programs since they are linked
into the same image....

There is no resouce tracking. When a Unix process exists any memory it
has allocated is freed, files it has open are closed etc. eCos has
none of this, so you are likely to suffer from memory leaks and file
descriptor leaks etc...

        Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

  reply	other threads:[~2005-10-18  7:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-17 22:49 Ghazan Haider
2005-10-18  7:00 ` Andrew Lunn [this message]
2005-10-18 14:35   ` [ECOS] " Grant Edwards

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=20051018070002.GC7087@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=ecos-discuss@sources.redhat.com \
    --cc=ghazanhaider@yahoo.com \
    /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).