[U-Boot] Redundant Env

Sridhar Addagada sridhar_a at yahoo.com
Tue Aug 14 19:39:50 CEST 2012


When enabling HAVE_REDUND in uboot-tools, will it work if i have the redundant partition in the same sector

#define DEVICE1_NAME      "/dev/mtd1"
#define DEVICE2_NAME      "/dev/mtd1"

#define DEVICE1_OFFSET    0x00000
#define ENV1_SIZE         0x10000
#define DEVICE1_ESIZE     0x20000
#define DEVICE1_ENVSECTORS     1
#define DEVICE2_OFFSET    0x00000
#define ENV2_SIZE         0x10000
#define DEVICE2_ESIZE     0x20000 // erase size is 128K
#define DEVICE2_ENVSECTORS     1


Thanks
Sridhar


More information about the U-Boot mailing list