
Hello I´m using a Am29LV160B FLASH with a size of 4MB. My problem is, that I can´t using the option saveenv. Writing and deleteting of FLASH is no problem.
My settings are follows:
....
#define PHYS_FLASH_SIZE 0x000400000 /* 4 MB */ #define CFG_MAX_FLASH_SECT (35) /* max number of sectors on one chip */ #define CFG_MAX_FLASH_BANKS 1 /* Max # of flash banks */ #define CFG_ENV_ADDR (CFG_FLASH_BASE) /* addr of environment*/ //#undef CFG_FLASH_CHECKSUM #define CFG_FLASH_ERASE_TOUT 1024000 /* Flash Erase Timeout (ms) */ #define CFG_FLASH_WRITE_TOUT 500 /* Flash Write Timeout (ms) */
#define CFG_ENV_IS_IN_FLASH 1 #define ENV_IS_EMBEDDED //#define CFG_ENV_IS_NOWHERE #define CFG_ENV_OFFSET 0x8000 /* Offset of the Environment Sector */ #define CFG_ENV_SIZE 0x4000 /* Size of the Environment Sector */
....
What I´m doing wrong? -- View this message in context: http://www.nabble.com/Error%3A-end-address-not-on-sector-boundary-t1731654.h... Sent from the Uboot - Users forum at Nabble.com.