public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Anyone have lwIP working under eCos?
@ 2003-09-14 19:31 Andrew M Hoerter
  2003-09-15  6:22 ` Jani Monoses
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew M Hoerter @ 2003-09-14 19:31 UTC (permalink / raw)
  To: ecos-discuss


I'm trying to get the latest lwIP code from CVS to work with the latest
eCos from CVS, but I'm encountering what must be a pretty basic problem.

I've read the lwIP/eCos README included in the contrib directory within
the lwIP tree, and have successfully applied the single diff to
the eCos repository provided in that directory as well.

When I attempt to compile eCos (having created an appropriate config file,
created a tree, etc.), I get the following error:

/opt/ecos/ecos-cvs/packages/devs/eth/intel/i82559/current/src/if_i82559.c:
2619:4:#error Empty i82559 ethernet DSR is compiled. Is this what you want?

Looking at the file, it's obvious some glue is needed to allow lwIP to
receive Ethernet frames from the driver.  When you compile in the FreeBSD
stack with eCos, that glue code is included where this #error happens.
But I can't find any mention of how to include the appropriate code for
lwIP, or perhaps I'm just supposed to gin it up myself?

Surely someone out there has this working, and can point me in the right
direction?

Thanks.



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

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

* Re: [ECOS] Anyone have lwIP working under eCos?
  2003-09-14 19:31 [ECOS] Anyone have lwIP working under eCos? Andrew M Hoerter
@ 2003-09-15  6:22 ` Jani Monoses
  2003-09-15 13:26   ` Andrew M Hoerter
  0 siblings, 1 reply; 3+ messages in thread
From: Jani Monoses @ 2003-09-15  6:22 UTC (permalink / raw)
  To: ecos-discuss

> 
> When I attempt to compile eCos (having created an appropriate config
> file, created a tree, etc.), I get the following error:
> 
> /opt/ecos/ecos-cvs/packages/devs/eth/intel/i82559/current/src/if_i825
> 59.c: 2619:4:#error Empty i82559 ethernet DSR is compiled. Is this
> what you want?

that glue is in io/eth/current/src/lwip and should be included if you
configure your ecos.ecc for lwip & eth like this
#ecosconfig add net_drivers 
after adding lwip. When you add lwip before that it defaults to using
SLIP since no eth support is there without a warning.You need to unset
standalone io eth support which is needed for redboot.

Jani

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

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

* Re: [ECOS] Anyone have lwIP working under eCos?
  2003-09-15  6:22 ` Jani Monoses
@ 2003-09-15 13:26   ` Andrew M Hoerter
  0 siblings, 0 replies; 3+ messages in thread
From: Andrew M Hoerter @ 2003-09-15 13:26 UTC (permalink / raw)
  To: Jani Monoses; +Cc: ecos-discuss


On Mon, 15 Sep 2003, Jani Monoses wrote:

> that glue is in io/eth/current/src/lwip and should be included if you
> configure your ecos.ecc for lwip & eth like this
> #ecosconfig add net_drivers

Yes, I've done that.

> after adding lwip. When you add lwip before that it defaults to using
> SLIP since no eth support is there without a warning.You need to unset
> standalone io eth support which is needed for redboot.

Okay, I've ensured that both CYGPKG_LWIP_SLIP and
CYGPKG_IO_ETH_DRIVERS_STAND_ALONE are set to 0 in my config file.  I still
get the same empty DSR warning.

Perhaps my config file is just hosed for some reason, although I've tried
recreating from scratch several times.  Do you have a working one you
could send me, so I can isolate what part of my setup is at fault here?

Thanks for the help.



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

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

end of thread, other threads:[~2003-09-15 13:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-14 19:31 [ECOS] Anyone have lwIP working under eCos? Andrew M Hoerter
2003-09-15  6:22 ` Jani Monoses
2003-09-15 13:26   ` Andrew M Hoerter

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