[U-Boot] saveenv command erases flash u-boot

Michael Lawnick nospam_lawnick at gmx.de
Mon Feb 23 09:11:14 CET 2009


rudresh said the following:
> i'm using u-boot -1.3.0 in MPC8313 evaluation board, it having a NAND , NOR
> Flash , u-boot stored in NOR flash. when i do the saveenv , reset command
> the u-boot is erased. i'm not able to fix  this issue.  help me to fix this
> issue

Sounds U-Boot and environment share a flash sector.
You'll have to give more info for correct diagnostic:
Flash size, sector size, u-boot start address and size, position of
environment data and if applicable of redundancy data.

-- 
Regards,
Michael



More information about the U-Boot mailing list