2012年3月27日 星期二

u-boot dhcp request, no ack

In u-boot> dhcp

discover ->
offer <-
request ->

no ack!

discover, offer, request, loop...

While the same board can run dhcp client without problem in Linux.

It turns out that the problem is on dhcp server: some dhcp servers will ignore too fast request.

I found this fix to u-boot:

Just put a short delay (50~100ms) between offer and request.