[U-Boot] Enabling smc911x driver

Steve Sakoman sakoman at gmail.com
Wed Apr 22 19:31:52 CEST 2009


On Wed, Apr 22, 2009 at 8:54 AM, Daniel Mack <daniel at caiaq.de> wrote:

>> How did you set this MAC address? Does the hardware read it from a
>> connected EEPROM or did you manually set it in your environment.

It is manually set in the environment since the prototype hardware
doesn't have the eeprom.

>> If you
>> face the latter case, you could try applying the patch I sent in some
>> days ago. Without that patch, the hardware is not made aware of the
>> configured address and hence the internal filter will drop all
>> non-broadcast packets it receives.

Applying the patch helped a great deal:

Overo # ping 192.168.0.1
smc911x: initializing
smc911x: detected LAN9221 controller
smc911x: phy initialized
smc911x: MAC 4a:18:56:55:9d:38
host 192.168.0.1 is alive

Attempting dhcp still fails, but this is a big step forward.

Thanks much!

Steve


More information about the U-Boot mailing list