On Wed, Sep 07, 2011 at 12:20:51PM +0200, Arno Steffen wrote: > > There is a question left for redundancy, which is imho a bug (or maybe > I don't get the design concept of redundancy): > If I have an empty environment (both standard and redund - env1 and > env2 ) and boot, it recognizes CRC error (which is ok). > A "save" write it to redundand environment (0x10.0000). This is > probably as it recognice an CRCerror in env1 and doesn't check this > for env2 > > If I add some settings ("set test true") and do "save" a second time - > it writes ONLY to default env (0xc.0000) ?!? > What happens, that it will change location? Or shouldn't it write to > both locations ?
there is only one location written. I don't remember exactly how it works, but there is an algorithm in place to check which block is newer upon initial read. Have a look at common/env_nand.c, env_init() to see how it works exactly. Best regards, Wolfgang _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot