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

Martin Krause
2007-04-03T14:36:42Z

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