From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hurricane555 Date: Tue, 6 Jun 2006 00:47:59 -0700 (PDT) Subject: [U-Boot-Users] Error: end address not on sector boundary In-Reply-To: <20060606071725.41A1C352655@atlas.denx.de> References: <4705029.post@talk.nabble.com> <20060606071725.41A1C352655@atlas.denx.de> Message-ID: <4728893.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 Now I changed my settings as 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 0x2000 /* Size of the Environment Sector */ Now I can make saveenv, but after restart the bootloader is damaged! -- View this message in context: http://www.nabble.com/Error%3A-end-address-not-on-sector-boundary-t1731654.html#a4728893 Sent from the Uboot - Users forum at Nabble.com.