This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: RedBoot
- To: <hmtx at redxhatx dot com>, <jlarmour at redhat dot com>
- Subject: [ECOS] RE: RedBoot
- From: "Anthony Massa" <amassa at san dot rr dot com>
- Date: Wed, 25 Apr 2001 21:55:17 -0700
- Cc: <ecos-discuss at sources dot redhat dot com>
- Reply-To: <amassa at san dot rr dot com>
> > > >Go into the TCP/IP configuration and enable
> > > >CYGHWR_NET_DRIVER_ETH0_BOOTP_SHOW, assuming it's eth0. Then rebuild.
> > >
> > > This option is already enabled in my eCos application build. However,
I
> > > don't see any of
> > > this information printed out.
> >
> > That implies it's not getting an address. Thinking about it maybe
> > you can't
> > have both RedBoot and the app getting an addr from DHCP. Perhaps give
> > RedBoot a static address to see.
> >
> > Anyone else confirm?
>
> After reading a previous post from Hugo, I changed RedBoot to have a
static
> IP and gateway address. The same thing happens when I do this.
>Uh, you have called "init_all_network_interfaces()" in you app? The
>network doesn't initialize automatically - precisely to allow for the
>flexibility we've been discussing. I mean, the dhcp thread will manage
>your leases *after the interfaces are brung up* but it won't initiate the
>bringup.
>I do advise staying with the static IP for RedBoot.
Sorry I couldn't get back to you yesterday.
I have the call to init_all_network_interfaces in my application properly -
as stated in the networking documentation. I have the call in a thread that
gets created from my cyg_user_start routine. Is there any additional
consideration I need to take into account for the call?
I have configured RedBoot to use a static IP address.
I am still running into the same problem as I mentioned before where the
network usage gets printed out on the GDB console window, then the hour
glass sits there for a while, and then the debugger shows program stopped at
the bottom.