[U-Boot] [PATCH 3/3] smc911x: do net reset the chip if no EEPROM is connected

Daniel Mack daniel at caiaq.de
Tue Apr 21 13:13:10 CEST 2009


On Wed, Apr 08, 2009 at 11:57:37PM -0400, Mike Frysinger wrote:
> > Not if the MAC is stored in the volatile smc911x registers. Issuing a
> > soft reset flushes these values - if U-Boot does that, the OS has no
> > change getting them.
> 
> then either your u-boot or your OS is misconfigured and you need to fix that.  
> as clearly stated in docs/README.enetaddr, the environment is the place where 
> mac addresses live when there is no dedicated storage (like an eeprom).
> 
> ignoring that, the mac address doesnt magically get programmed.  if no network 
> operation was initiated, then the part wouldnt have been programmed anyways, 
> so you're still left with an OS that cant get itself functional.

Ok, true. Thanks for pointing this out.

Daniel



More information about the U-Boot mailing list