Hi all, I'm using a flash with the top sectors smaller then the others. The flash has got four 32kb sector and 255 sectors of 128kb. I'd like to use the small sectors to deploy there the environment. I've got a doubt about the configuration, is it possible to have CFG_ENV_SIZE bigger then CFG_ENV_SECT_SIZE? I'd like to have the last sector splitted in two little partition of 64kb, so I think I should set:
#define CFG_ENV_IS_IN_FLASH #define CFG_ENV_SECT_SIZE (0x00008000) /* 32kb */ #define CFG_ENV_SIZE (0x00010000) /* 64kb */ #define CFG_ENV_ADDR (CFG_FLASH_BASE + CFG_FLASH_SIZE - (CFG_ENV_SECT_SIZE*4)) #define CFG_ENV_ADDR_REDUND (CFG_FLASH_BASE + CFG_FLASH_SIZE - (CFG_ENV_SECT_SIZE*2)) #define CFG_ENV_SIZE_REDUND (CFG_ENV_SIZE) is it right? I'd like to use 64kb+64kb instead of 32kb+32kb for the environment so as not to waste 64kb of flash. Thanks. Regards, Marco _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot