[U-Boot-Users] dtb in env sector - was: (Try 2) Please pull ...

Martin Krause Martin.Krause at tqs.de
Tue Apr 3 16:36:42 CEST 2007


u-boot-users-bounces at lists.sourceforge.net wrote on :
> Actually, it is much worse than that: currently when you do a
> "saveenv" 
> it will wipe out the fdt blob because it doesn't know that the blob is
> in the same sector.

IMO this is not correct. The "saveenv" command preserves the content
of the environment sector(s) outside the environment area, if 
CFG_ENV_SECT_SIZE > CFG_ENV_SIZE. The content outside the environment
is copied to RAM before erasing the sector(s) and written back to 
flash afterwards (see common/env_flash.c).

Regards,
Martin




More information about the U-Boot mailing list