I just committed an addition to the buildroot (plus some u-boot
The last commit there adds a patch to make fw_printenv and fw_setenv
which are linux utilities work for the gumstix. I kind of hacked it
to get it working (ie it works on gumstix, but will not work right if
used on somewhere flash is laid out differently). But it seems to
work pretty good, if the env vars have been saved previously from
within u-boot using "saveenv". That is, if you're just using the
default u-boot vars without having done a saveenv, then fw_printenv
will work (more or less), bu fw_setenv will segfault. I'll work on
getting it working so you can actually fw_setenv without first having
done anything in u-boot.
But anyway, this now makes a handy tool for reversing the effects of
silent=yes or whatnot in u-boot.
CAVEAT: This has only briefly been tested by me. I'd advise not
using it unless you can deal with bricking your gumstix at the
moment, since it overwrites the 2nd flash sector, which can hose your
existing u-boot install. It should be safe, but you never know when
some nasty off-by-one-error might brick you.