[U-Boot] NET: SDP3430: trouble with shifting from LAN9C916 to SMC91XX driver
Ben Warren
biggerbadderben at gmail.com
Wed Oct 14 06:36:09 CEST 2009
Nishanth,
On Tue, Oct 13, 2009 at 8:13 PM, Nishanth Menon <nm at ti.com> wrote:
> Hi Folks,
>
> While attempting to address the warning for SDP3430 as pointed out by
> dirk in [1], I did a patch corresponding to what was done for EVM(353x)
> as in [2]. unfortunately, this wont work for me, I get:
> U-Boot 2009.08-00515-gfea6a55-dirty (Oct 12 2009 - 14:03:23)
>
> OMAP3530-GP ES3.0, CPU-OPP2 L3-165MHz
> OMAP3 SDP3430 board + LPDDR/NOR
> I2C: ready
> DRAM: 128 MB
> Flash: 128 MB
> In: serial
> Out: serial
> Err: serial
> smc911x: Invalid chip endian 0xdee0013d
> Net: No ethernet found.
> OMAP34XX SDP #
>
> and no network, using LEGACY driver seems to be working just great for me.
>
> Note: in my patch [2], I did try both CONFIG_SMC911X_32_BIT and
> CONFIG_SMC911X_16_BIT with no luck either way. I even tried to hack the
> driver by skipping the supported chip detection code, but the driver
> still did not work for me.
>
> When using CONFIG_NET_MULTI you need to have a board_eth_init() function in
your board code which in turn must call smc911x_initialize(). Make sure
that eth_initialize() gets called somewhere in your cpu/board.c call
sequence. I suspect that while the SMC911x driver is being initialized, it
isn't being registered properly with the networking library. There are many
examples in the source tree of how to do this.
regards,
Ben
More information about the U-Boot
mailing list