Help with nand u-boot environment

Gothnet openmoko at
Fri Jan 2 18:13:13 CET 2009

Leonardo-3 wrote:
> Hi all,
> I've been messing with u-boot and need some help.
> I was trying to set the "rw" parameter into bootargs to boot 2008.12
> from SD. After a couple attempts, I had too many entries in the u-boot,
> and wanted to erase them all, so I used the "defaultenv" command in
> u-boot to reset them to the beginning. The "beginning" I think it's not
> a working environment.
> Now the environment is messed and I can't boot from NAND, only from NOR,
> even if I want to use internal flash and not SD.
> re-flashing the bootloader does not change the environment.
> Could somebody point me to a saved environment file somewhere? or, could
> anybody please upload a working environment into the wiki?

I've found this useful on multiple occasions -

To reset uboot environments. You can also tweak the file for
stuff like large kernels, or (I guess) different menu entries.

View this message in context:
Sent from the Openmoko Community mailing list archive at

More information about the community mailing list