
On Tue, Jun 7, 2011 at 12:12 AM, Bear jilingshu@gmail.com wrote:
Once you have a working NAND, you can replace the NOR image, switching back to NAND if the new NOR image is broken.
And of course be careful not to write to the wrong flash, and destroy your backup boot source.
Thanks for your help. Now I have already wrote the newer version of u-boot into NAND Flash and boot from it! Do you mind me to ask some more questions? Where is environment stored? If I save the NAND-version u-boot's environment, will it overwrite the one of NOR-version u-boot?
Typically, when booting from NAND u-boot is configured to save the environment to NAND. You can always type 'save' and usually u-boot will print a message showing where the environment is saved. Double check the CONFIG*ENV* defines in your u-boot config file.
-M