This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: eth0 entry in NETDEVTBL
- To: "'Sunil Mohan Savanur'" <sunil dot savanur at wipro dot com>,"'eCos discussion'" <ecos-discuss at sources dot redhat dot com>
- Subject: RE: [ECOS] eth0 entry in NETDEVTBL
- From: "Trenton D. Adams" <tadams at extremeeng dot com>
- Date: Fri, 12 Oct 2001 09:21:00 -0600
- Organization: Extreme Engineering
The CDL file of the driver you're using.
eg.
devs/eth/arm/edb7xxx/current/cdl/edb7xxx_eth_drivers.cdl is a cdl file
that controls how the ethernet driver for an EDB7XXX board is configured
and compiled using the config tool.
You might also want to grab the cdl writers guide off of the eCos
website.
> -----Original Message-----
> From: Sunil Mohan Savanur [mailto:sunil.savanur@wipro.com]
> Sent: Friday, October 12, 2001 9:03 AM
> To: Trenton D. Adams; 'eCos discussion'
> Subject: Re: [ECOS] eth0 entry in NETDEVTBL
>
>
> One more question :
>
> which CDL is this ?
>
> Thanks in advance.
> Regards
> -Sunil
> ----- Original Message -----
> From: Trenton D. Adams <tadams@extremeeng.com>
> To: 'Sunil Mohan Savanur' <sunil.savanur@wipro.com>; 'eCos discussion'
> <ecos-discuss@sources.redhat.com>
> Sent: Friday, October 12, 2001 8:09 PM
> Subject: RE: [ECOS] eth0 entry in NETDEVTBL
>
>
> > I just posted a question about that yesterday.
> >
> > See the "SIOCSIFADDR: Device not configured" topic.
> >
> > Essentially I was told to put "-library=libextras.a myfile.c" in the
> > "compile" line of the CDL. This fixed the problem.
> >
> > > -----Original Message-----
> > > From: ecos-discuss-owner@sources.redhat.com
> > > [mailto:ecos-discuss-owner@sources.redhat.com] On Behalf Of
> > > Sunil Mohan Savanur
> > > Sent: Friday, October 12, 2001 8:10 AM
> > > To: eCos discussion
> > > Subject: [ECOS] eth0 entry in NETDEVTBL
> > >
> > >
> > > Hello,
> > >
> > > I am not developing any special network driver for my
> > > synthetic target linux.
> > > I am planning to use existing driver that is
> > > "packages/io/eth/current/src/net/eth_drv.c"
> > > I have added CYGPKG_NET and CYGPKG_NET_ETH_DRIVERS. Then built
> > > eCos.
> > >
> > > Still in my application I am getting socket/bind error ?
> > >
> > > What is needed to make "eth0" interface active ?
> > >
> > > Is it required to populate the "eth0" entry in NETDEVTBL
> as a part of
> > > initialization ?
> > >
> > > Looks like eth_drv_net("eth0") call does not find any valid
> > > entry in NETDEVTBL
> > > !!
> > >
> > > Please guide me.
> > >
> > > Thanks & regards
> > > Sunil Savanur
> > >
> > >
> > >
> >
>
>