[U-Boot] fw_setenv writes to bootdelay but not ethaddr

Mike Frysinger vapier at gentoo.org
Sun Apr 8 23:31:30 CEST 2012


On Sunday 08 April 2012 17:15:26 Bishop, Mark wrote:
> From: Mike Frysinger [mailto:vapier at gentoo.org]
> > On Thursday 05 April 2012 16:32:11 Bishop, Mark wrote:
> > > root:/>  fw_setenv ethaddr X1:X2:X3:X4:X5:X6
> > > Can't overwrite "ethaddr"
> > 
> > looks correct to me.  you probably didn't set CONFIG_ENV_OVERWRITE.
> 
> I wish it was so:
> #define CONFIG_ENV_OVERWRITE    1
> is present in my board file.
> 
> I've checked to make sure that it is the correct header file.  I've also
> checked to make sure that CONFIG_OVERWRITE_ETHADDR_ONCE is not set.
> 
> I'm using the slightly outdated uclinux uboot from their head repo and I am
> checking the patches applied to the uboot head if any were to fix
> something like this.

sorry, should have been a little clearer.  the tools installed by uclinux-dist 
do not have a config, so it uses the default one.  the CONFIG_xxx settings in 
your u-boot don't get used.  fw_printenv has to be built with those config 
settings.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120408/a1f2017f/attachment.pgp>


More information about the U-Boot mailing list