public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Linux or ecos?
@ 2001-11-06 17:35 Roland Caßebohm
  2001-11-06 18:13 ` Andrew Lunn
  0 siblings, 1 reply; 4+ messages in thread
From: Roland Caßebohm @ 2001-11-06 17:35 UTC (permalink / raw)
  To: ecos-discuss

Hi,

I want to develop an application that should run on different target
(i386, arm, mips).
The application itself is very simple and only needs access to serial
devices and to ethernet (with TCP/IP).
First I thought about using Linux as OS, but it should be used as
minimum RAM and FLASH as possible. The target hardware should have a
maximum of 1 MB RAM and 0,5 MB FLASH, so I have to shrink Linux more
then "make menuconfig" can do.
Here is my question, should I use ecos instead of Linux? How much RAM an
FLASH is needed For such a simple application, when using ecos.


Thanks
	Roland

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ECOS] Linux or ecos?
  2001-11-06 17:35 [ECOS] Linux or ecos? Roland Caßebohm
@ 2001-11-06 18:13 ` Andrew Lunn
  2001-11-07  6:17   ` Roland Caßebohm
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Lunn @ 2001-11-06 18:13 UTC (permalink / raw)
  To: Roland Ca?ebohm; +Cc: ecos-discuss

On Wed, Nov 14, 2001 at 01:37:02PM +0100, Roland Ca?ebohm wrote:
> I want to develop an application that should run on different target
> (i386, arm, mips).
> The application itself is very simple and only needs access to serial
> devices and to ethernet (with TCP/IP).
> First I thought about using Linux as OS, but it should be used as
> minimum RAM and FLASH as possible. The target hardware should have a
> maximum of 1 MB RAM and 0,5 MB FLASH, so I have to shrink Linux more
> then "make menuconfig" can do.

The TCP/IP stack can eat of lot of DRAM. How fast a network link do
you need. You can trade off speed for network buffer speed.

The ethernet device you use will also have a big affect. eg the i82559
uses 1Mbyte of RAM for its PCI window. I don't expect you will use
this device because its expensive and requires a PCI bridge etc. A
simpler, slower device with polled IO will require less memory, but
perform much slower.

If you application is really simple, you could think about building it
into redboot itself. That has its own really simple IP stack and basic
drivers for the serial ports.

        Andrew

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ECOS] Linux or ecos?
  2001-11-06 18:13 ` Andrew Lunn
@ 2001-11-07  6:17   ` Roland Caßebohm
  2001-11-07  7:23     ` Gary Thomas
  0 siblings, 1 reply; 4+ messages in thread
From: Roland Caßebohm @ 2001-11-07  6:17 UTC (permalink / raw)
  To: ecos-discuss

Andrew Lunn wrote:
> 
> The TCP/IP stack can eat of lot of DRAM. How fast a network link do
> you need. You can trade off speed for network buffer speed.
> 
> The ethernet device you use will also have a big affect. eg the i82559
> uses 1Mbyte of RAM for its PCI window. I don't expect you will use
> this device because its expensive and requires a PCI bridge etc. A
> simpler, slower device with polled IO will require less memory, but
> perform much slower.
> 
> If you application is really simple, you could think about building it
> into redboot itself. That has its own really simple IP stack and basic
> drivers for the serial ports.
> 
>         Andrew

The i386 hardware have an ne2000 compatible chip on it and the arm and
mips hardware I down't by now. I think it will be onchip.
There is another idea I think of, I want to write source of my
application POSIX compatible because in future the application will be
more complex, so that I have to use Linux then. But in the release of
ecos which I have downloaded (1.3.1) I haven't seen POSIX funktions. 
I have read the documentation of building redboot. Is it right that
redboot is a simple ecos with a simple application?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ECOS] Linux or ecos?
  2001-11-07  6:17   ` Roland Caßebohm
@ 2001-11-07  7:23     ` Gary Thomas
  0 siblings, 0 replies; 4+ messages in thread
From: Gary Thomas @ 2001-11-07  7:23 UTC (permalink / raw)
  To: Roland Caßebohm; +Cc: eCos Discussion

On Thu, 2001-11-15 at 01:59, Roland Caßebohm wrote:
> Andrew Lunn wrote:
> > 
> > The TCP/IP stack can eat of lot of DRAM. How fast a network link do
> > you need. You can trade off speed for network buffer speed.
> > 
> > The ethernet device you use will also have a big affect. eg the i82559
> > uses 1Mbyte of RAM for its PCI window. I don't expect you will use
> > this device because its expensive and requires a PCI bridge etc. A
> > simpler, slower device with polled IO will require less memory, but
> > perform much slower.
> > 
> > If you application is really simple, you could think about building it
> > into redboot itself. That has its own really simple IP stack and basic
> > drivers for the serial ports.
> > 
> >         Andrew
> 
> The i386 hardware have an ne2000 compatible chip on it and the arm and
> mips hardware I down't by now. I think it will be onchip.
> There is another idea I think of, I want to write source of my
> application POSIX compatible because in future the application will be
> more complex, so that I have to use Linux then. But in the release of
> ecos which I have downloaded (1.3.1) I haven't seen POSIX funktions. 

You need to get the anonymous CVS version of eCos to get the POSIX 
functionality.  Indeed, you'll need anonCVS to get RedBoot as well.

> I have read the documentation of building redboot. Is it right that
> redboot is a simple ecos with a simple application?

Yes, RedBoot is just an eCos application which happens to use only
a [small] portion of the eCos HAL - no kernel, no threads.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-11-14 23:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-06 17:35 [ECOS] Linux or ecos? Roland Caßebohm
2001-11-06 18:13 ` Andrew Lunn
2001-11-07  6:17   ` Roland Caßebohm
2001-11-07  7:23     ` Gary Thomas

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).