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

stefano babic sbabic at denx.de
Thu Sep 15 22:21:04 CEST 2011


Am 15/09/2011 21:39, schrieb Fabio Estevam:
> Hi,
>
Hi Fabio,
> 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 see...
> I haven't started debugging this, but would like to check first if
> this is a known issue.
I have not heard about this issue.
> Running v2011.06 makes networking to work fine.
>
> I have not enabled the caches on this board yet and I do see a warning
> in boot saying
> that caches are not enabled.
I know the commit, the same warning appears on a lot of other boards. It
is only a remind that cache is not enabled because the drivers do not
work if cache is enabled (as th FEC driver, for example).
> Does anyone have smc911x working with the latest U-boot?

I have now tested on a mx35pdk with Debug board. It has a SMC911x. It works:

U-Boot 2011.09-rc1-00020-g56fa45d (Sep 15 2011 - 22:08:55)

CPU:   Freescale i.MX35 at 532 MHz
Board: MX35 PDK 2.0 i.MX35 2.0 [WDT]
I2C:   ready
DRAM:  256 MiB
WARNING: Caches not enabled
Flash: 64 MiB
NAND:  2048 MiB
In:    serial
Out:   serial
Err:   serial
Net:   smc911x-0, FECWarning: failed to set MAC address

Hit any key to stop autoboot:  0
MX35 U-Boot >

MX35 U-Boot > run load
smc911x: detected LAN9217 controller
smc911x: phy initialized
smc911x: MAC 00:04:9f:00:f4:99
Using smc911x-0 device
TFTP from server 192.168.2.14; our IP address is 192.168.2.97
Filename 'mx35pdk/u-boot.bin'.
Load address: 0x80800000
Loading: #################
done
Bytes transferred = 248892 (3cc3c hex)

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
=====================================================================



More information about the U-Boot mailing list