[U-Boot] smc911x not functional on top of tree

Stefano Babic
2011-09-19T09:28:21Z

On 09/19/2011 11:20 AM, Helmut Raiger wrote:
> On 09/15/2011 09:39 PM, Fabio Estevam wrote:
>> Hi,
>>
>> When using U-boot from top of tree I am not able to get networking to
>> work on a mx31pdk:
>>
>> uboot> dhcp
>> smc911x: detected LAN9217 controller
>> smc911x: phy initialized
>> smc911x: MAC 00:04:9f:00:8d:6e
>> BOOTP broadcast 1
>> BOOTP broadcast 2
>> DHCP client bound to address 10.29.244.21
>> BOOTP broadcast 3
>> DHCP client bound to address 10.29.244.21
>> BOOTP broadcast 4
>> DHCP client bound to address 10.29.244.21
>> BOOTP broadcast 5
>> DHCP client bound to address 10.29.244.21
>>
>> Retry count exceeded; starting again
>>
>
> I can confirm this issue, same with our i.MX31 board. Interestingly the
> tftpboot command works, so its probably a DHCP issue.

Without checking in code, it seems the timout for DHCP elapses before
the answer arrives. This confirms Fabio's tests, that is something
related to the network. Some boards have set CONFIG_ARP_TIMEOUT to a
higher value as default (200 instead of 5 mSec). Maybe it is related,
maybe not...you need to sniff your network ;-)

Best regards,
Stefano Babic

--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================