[U-Boot] smc911x not functional on top of tree
Marek Vasut
marek.vasut at gmail.com
Thu Sep 15 23:33:43 CEST 2011
On Thursday, September 15, 2011 10:21:04 PM stefano babic wrote:
> 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).
I'm working on the FEC patch that allows it to work with caches actually. I have
it ready, but it needs some polishing.
>
> > 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
More information about the U-Boot
mailing list