[U-Boot-Users] U-Boot DHCP request does not time out.

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@corelis.com (562) 926-6727 x132 --------------------------------------------------------------- Everything we do helps our customers get to market FASTER with HIGHER quality and LOWER cost ===============================================================

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
participants (2)
-
Brian S. Park
-
Wolfgang Denk