This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Using the TCP/IP stack from the anonymous CVS server
- To: rich at accetnetwork dot com
- Subject: Re: [ECOS] Using the TCP/IP stack from the anonymous CVS server
- From: nicolas lacorne <Nicolas dot Lacorne at sun dot com>
- Date: Tue, 18 Sep 2001 11:30:28 +0200
- CC: "Trenton D. Adams" <tadams at theone dot dnsalias dot com>, ecos-discuss at sourceware dot cygnus dot com
- Organization: Sun Microsystems
- References: <000801c13fb8$8650a910$090110ac@TRENT> <01091715320001.05340@localhost.localdomain>
- Reply-To: Nicolas dot Lacorne at sun dot com
Hi ,
Do you use network interface with redboot (and GDB stub)?
In case, if you are not using DHCP, you might check that you you give two
diffirent IP : one for redboot and
one for eCos kernel.
You may also try do disable GDB stubs, because there are some problems with
them .
Nico
Richard Wicks wrote:
> I see,
>
> By doing the following:
> cvs -d :pserver:anoncvs@sources.redhat.com:/cvs/ecos -z 9 co -P net
>
> the package is automatically added. There's just so much to read it's easy
> to miss little things.
>
> Well, it compiles now but when I attempt to run my code, it dies. I'm not
> even compiling TCP/IP code either - it just crashes with GDB when I try to
> step past the first automatically set breakpoint.
>
> I'm doing the following to get a compiled kernel:
>
> ecosconfig new iq80310
> ecosconfig add net
> ecosconfig add CYGPKG_NET_ETH_DRIVERS
> ecosconfig tree
> make
>
> I suspect it's an interaction problem with redboot. Any ideas?
>
> Thanks for the tip in any case,
> -Rich
>
> On Monday 17 September 2001 01:36 pm, you wrote:
> > Download the net package from the CVS repository as described here ;)
> >
> > http://sources.redhat.com/ecos/anoncvs.html
> >
> > -----Original Message-----
> > From: ecos-discuss-owner@sources.redhat.com
> > [mailto:ecos-discuss-owner@sources.redhat.com] On Behalf Of Richard
> > Wicks
> > Sent: Monday, September 17, 2001 12:54 PM
> > To: ecos-discuss@sourceware.cygnus.com;
> > ecos-discuss@sourceware.cygnus.com
> > Subject: [ECOS] Using the TCP/IP stack from the anonymous CVS server
> >
> >
> > I retrieved the TCP/IP stack from the CVS server, since it was
> > recommended
> > that I do so here:
> >
> > http://sources.redhat.com/ecos/getstart.html
> >
> > However, no .epk file is included there, which is required according to
> > the
> > documentation here:
> >
> > http://sources.redhat.com/ecos/docs-latest/tcpip/tcpip.3.html#40207
> >
> > Where it states that in order to add the net package to the build (I'm
> > using
> > Linux so I use command line) to do the following
> >
> > "cd packages
> > ./ecosadmin.tcl add net-1.0by.epk"
> >
> > If there is no "net-1.0by.epk" or ANY .epk file anywhere, what do I do?
> >
> > Furthermore, if I do the following:
> >
> > "../ecosadmin.tcl list | grep -i net"
> >
> > I get the following output:
> >
> > CYGPKG_DEVS_FLASH_FLEXANET: current
> > CYGPKG_NET: current
> > CYGPKG_DEVS_ETH_ARM_FLEXANET: current
> > CYGPKG_HAL_ARM_SA11X0_FLEXANET: current
> >
> > Which seems to indicate that the NET package IS included, yet when I
> > configure for my target:
> >
> > "ecosconfig new iq80310
> > ecosconfig add net
> > ecosconfig tree
> > make"
> >
> > I get the following error:
> >
> > "At least one network driver framework must be defined!"
> >
> > But I just want to compile for loopback, I don't care about a driver at
> > this
> > point. I should be able to do this according to the documentation here:
> >
> > http://sources.redhat.com/ecos/docs-latest/tcpip/tcpip.3.html#40207
> >
> > So, what am I doing wrong? Is this an error in the ecos code or is it a
> >
> > problem with the newest code in the CVS repository?
> >
> > Anybody else working with the IQ80310 StrongArm? Should I drop using
> > CVS for
> > my source and use more standard packages? What are the CVS labels that
> > I
> > should be working with?
> >
> > Thanks