This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
re: unable to get IP address using do_bootp
- From: agyhoo <agyhoo at yahoo dot com>
- To: gary at mlbassoc dot com
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Tue, 30 Mar 2004 08:45:37 -0800 (PST)
- Subject: [ECOS] re: unable to get IP address using do_bootp
.....
> AG> The do_dhcp routine DOES set the broadcast flag. That
> is
> probably why it can see the reply from dhcpd even without
> the always-broadcast option.
......
But that's in eCos, not RedBoot. RedBoot does DHCP as
well,
but the routine is called __bootp_find_local_ip :-)
AG> Agreed. The RedBoot DHCP/BOOTP sequence works because
the RedBoot stack seems to be able to handle reception of a
unicast pkt before it has its own IP address initialized.
(in the ip_addr_match routine).
However, I suspect the same is not happening in the pkt
reception sequence in eCos. The pkt gets dropped somewhere
before it even reaches the do_bootp routine.
I am not able to easily figure out where this is happening
using GDB (probably because stuff is happening in ISR
ctxt?)
- Anunoy
__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss