* [U-Boot-Users] U-Boot DHCP request does not time out.
@ 2004-08-30 17:51 Brian S. Park
2004-08-30 19:54 ` Wolfgang Denk
0 siblings, 1 reply; 5+ messages in thread
From: Brian S. Park @ 2004-08-30 17:51 UTC (permalink / raw)
To: u-boot
Hi all,
I have question about U-Boot and its BOOTP/DHCP client capability.
We are using it to get the dynamic IP from DHCP server and it looks like it
never times out if the network cable is not connected.
Our target has network connection as well as USB2.0 connection so we do not
want it to hang just because it could not get a valid IP. Can I make it
time out? Or is it better to let Linux handle DHCP stuff after it boots?
I'm currently using U-Boot-1.0.
If anybody has a pointer to how to setup DHCP client stuff properly in
embedded Linux, I'd appreciate it.
Thank you.
===============================================================
Brian S. Park brian at corelis.com (562) 926-6727 x132
---------------------------------------------------------------
Everything we do helps our customers get to market
FASTER with HIGHER quality and LOWER cost
===============================================================
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot-Users] U-Boot DHCP request does not time out.
2004-08-30 17:51 Brian S. Park
@ 2004-08-30 19:54 ` Wolfgang Denk
0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Denk @ 2004-08-30 19:54 UTC (permalink / raw)
To: u-boot
In message <6.1.2.0.0.20040830104654.03a57ec0@corelis.com> you wrote:
>
> I have question about U-Boot and its BOOTP/DHCP client capability.
> We are using it to get the dynamic IP from DHCP server and it looks like it
> never times out if the network cable is not connected.
Which processor / board is this? Normally U-Boot will report an error
and time out if it cannot send ethernet packets (at least this is
what it does on all boards I can test).
> Our target has network connection as well as USB2.0 connection so we do not
> want it to hang just because it could not get a valid IP. Can I make it
> time out? Or is it better to let Linux handle DHCP stuff after it boots?
If it hangs this is an error in U-Boot which must be fixed no matter
if you can or want to use DHCP in Linux.
> I'm currently using U-Boot-1.0.
There is no such version.
Is the same problem present in the current version (i. e. top of tree
in CVS) ?
> If anybody has a pointer to how to setup DHCP client stuff properly in
> embedded Linux, I'd appreciate it.
Ummm... where exactly is the problem? See Documentation/nfsroot.txt
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
He is truly wise who gains wisdom from another's mishap.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot-Users] U-Boot DHCP request does not time out.
@ 2004-08-30 20:32 Michael Bendzick
2004-08-30 20:53 ` Wolfgang Denk
0 siblings, 1 reply; 5+ messages in thread
From: Michael Bendzick @ 2004-08-30 20:32 UTC (permalink / raw)
To: u-boot
See below...
> -----Original Message-----
> From: Wolfgang Denk [mailto:wd at denx.de]
> Sent: Monday, August 30, 2004 2:55 PM
> To: Brian S. Park
> Cc: u-boot-users at lists.sourceforge.net
> Subject: Re: [U-Boot-Users] U-Boot DHCP request does not time out.
>
>
> In message <6.1.2.0.0.20040830104654.03a57ec0@corelis.com> you wrote:
> >
> > I have question about U-Boot and its BOOTP/DHCP client capability.
> > We are using it to get the dynamic IP from DHCP server and
> it looks like it
> > never times out if the network cable is not connected.
>
> Which processor / board is this? Normally U-Boot will report an error
> and time out if it cannot send ethernet packets (at least this is
> what it does on all boards I can test).
I've seen the same problem on the TI OMAP 1510 Innovator and a custom board
I've worked with that is similar in architecture.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot-Users] U-Boot DHCP request does not time out.
2004-08-30 20:32 [U-Boot-Users] U-Boot DHCP request does not time out Michael Bendzick
@ 2004-08-30 20:53 ` Wolfgang Denk
2004-08-31 6:29 ` Pantelis Antoniou
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Denk @ 2004-08-30 20:53 UTC (permalink / raw)
To: u-boot
In message <31ADFA827355984B9E2A161514595B561C33A9@lpdsrv04.logicpd.com> you wrote:
>
> OMAP1510 Innovator # dhcp
> Using MAC Address 00:0B:36:00:03:FB
> BOOTP broadcast 1
> BOOTP broadcast 2
> BOOTP broadcast 3
> BOOTP broadcast 4
> BOOTP broadcast 5
>
> Retry count exceeded; starting again
> BOOTP broadcast 6
> ...
> Retry count exceeded; starting again
> BOOTP broadcast 13
> ...
I see. Same here. Something is really broken.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
"Well I don't see why I have to make one man miserable when I can
make so many men happy." - Ellyn Mustard, about marriage
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot-Users] U-Boot DHCP request does not time out.
2004-08-30 20:53 ` Wolfgang Denk
@ 2004-08-31 6:29 ` Pantelis Antoniou
0 siblings, 0 replies; 5+ messages in thread
From: Pantelis Antoniou @ 2004-08-31 6:29 UTC (permalink / raw)
To: u-boot
Wolfgang Denk wrote:
> In message <31ADFA827355984B9E2A161514595B561C33A9@lpdsrv04.logicpd.com> you wrote:
>
>>OMAP1510 Innovator # dhcp
>>Using MAC Address 00:0B:36:00:03:FB
>>BOOTP broadcast 1
>>BOOTP broadcast 2
>>BOOTP broadcast 3
>>BOOTP broadcast 4
>>BOOTP broadcast 5
>>
>>Retry count exceeded; starting again
>>BOOTP broadcast 6
>>...
>>Retry count exceeded; starting again
>>BOOTP broadcast 13
>>...
>
>
> I see. Same here. Something is really broken.
>
> Best regards,
>
> Wolfgang Denk
>
I've had the same problems.
Please bear it till I send a patch that fixes that
and a number of other issues in DHCP.
Next week perhaps since I'm swamped right now.
Regards
Pantelis
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-08-31 6:29 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-30 20:32 [U-Boot-Users] U-Boot DHCP request does not time out Michael Bendzick
2004-08-30 20:53 ` Wolfgang Denk
2004-08-31 6:29 ` Pantelis Antoniou
-- strict thread matches above, loose matches on Subject: below --
2004-08-30 17:51 Brian S. Park
2004-08-30 19:54 ` Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox