This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Re: REDBOOT QUERY
- From: "Kaustubh Purandare" <kaustubh_purandare at rediffmail dot com>
- To: "Jonathan Larmour" <jlarmour at redhat dot com>
- Cc: ecos-discuss at sources dot redhat dot com, andrew dot lunn at ascom dot ch
- Date: 3 Apr 2002 12:46:11 -0000
- Subject: Re: [ECOS] Re: REDBOOT QUERY
- Reply-to: "Kaustubh Purandare" <kaustubh_purandare at rediffmail dot com>
Hi,
Thank you both for your responses. But I have few doubts
1) How do u enable assertions in your build?
2) Yes I am getting both the redboot as well as eCos's address
from DHCP. I tried changing eCos's address to manual it did not
work..
Will changing the card to 82559 help? Or I am missing any
configuration?
Thanks again.
Regards,
Kaustubh
On Wed, 03 Apr 2002 Jonathan Larmour wrote :
>Andrew Lunn wrote:
> >
> > > The bring_half_up() functions hangs during the function
>call
> > > indicated below
> > >
> > > if (ioctl(s, SIOCSIFADDR, ifrp)) /* set ifnet address */
> > >
> > > Where is the problem in the code or the NIC? As per my
>knowledge
> > > 82558 is similar to 82559.
> >
> > You need to track this call. My guess is that it calls into
>the 82559
> > driver, maybe i82559_start or i82559_init. You need to see
>what its
> > trying to do when it hangs and then work out what the 82558
>does
> > differently than the 82559. At a guess its interrupt handling.
>Redboot
> > does polled IO, where as the 'real' driver is interrupt
>driver.
>
>You should also enable assertions in your build as the driver
>does do a
>fair bit of checking. And of course a standard thing to check:
>check you
>aren't getting both RedBoot's and eCos's addresses from DHCP.
>
>Jifl
>--
>Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44
>(1223) 271062
>Maybe this world is another planet's Hell -Aldous Huxley ||
>Opinions==mine
>
>--
>Before posting, please read the FAQ:
>http://sources.redhat.com/fom/ecos
>and search the list archive:
>http://sources.redhat.com/ml/ecos-discuss
>
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss