[U-Boot] fw_setenv broken?
Mike Frysinger
vapier at gentoo.org
Wed Nov 17 19:13:26 CET 2010
On Wednesday, November 17, 2010 12:39:33 Wolfgang Denk wrote:
> Stefano Babic wrote:
> > On 11/17/2010 05:30 PM, Steve Sakoman wrote:
> > > I'm seeing some strange behavior with the fw_setenv tools on OMAP.
> > >
> > > Here's what I see when using the tools on OMAP (overo in this case):
> > >
> > > 1. fw_printenv prints the environment with no issues [1]
> > > 2. fw_setenv allows me to change a variable with no reported errors [2]
> > > 3. fw_printenv will print the changed environment, however the
> > > variables are not sorted [3]
> >
> > I tested yesterday on a davinci board, I can confirm this behavior, I
> > have not thought was an error. I do not see any code in fw_env.c to sort
> > variables. I konow the variables are sorted in u-boot, but do we ever
> > have this feature on the userland fw_printenv ?
>
> Indeed this behaviour is normal. fw_printenv does not sort the output
> (not yet - patches welcome).
why bloat the code ? why cant people simply: `fw_printenv | sort` ?
-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/20101117/7ede80dc/attachment.pgp
More information about the U-Boot
mailing list