[U-Boot] [PATCH] Fix enetaddr initialization with CONFIG_NET_MULTI

Albin Tonnerre albin.tonnerre at free-electrons.com
Thu Aug 13 09:41:41 CEST 2009


On Thu, Aug 13, 2009 at 01:01:16AM -0400, Mike Frysinger wrote :
> On Tuesday 28 July 2009 11:44:27 Albin Tonnerre wrote:
> > When CONFIG_NET_MULTI is defined, the NetLoop code looks in
> > eth_get_device()->enetaddr for the MAC address. However, this value may
> > not be set. In fact, it will not be if ethaddr was not present in the
> > environment when uboot was started. Therefore, even with 'setenv ethaddr
> > xx:xx:xx:xx:xx:xx', eg. tftp will error out because it doesn't find the
> > MAC address.
> 
> please grab the latest git tree and try again.  this should be fixed by commit 
> 86848a74c3c8...
> -mike

Indeed ... I noticed there was already a patch for this a couple days after
sending mine, sorry for that.

Regards,
-- 
Albin Tonnerre, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: Digital signature
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090813/2625ab13/attachment.pgp 


More information about the U-Boot mailing list