From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hurricane555 Date: Sun, 4 Jun 2006 11:22:03 -0700 (PDT) Subject: [U-Boot-Users] Error: end address not on sector boundary Message-ID: <4705029.post@talk.nabble.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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.html#a4705029 Sent from the Uboot - Users forum at Nabble.com.