[U-Boot-Users] Error: end address not on sector boundary

Hurricane555 sohnschein at gmx.de
Tue Jun 6 09:47:59 CEST 2006


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.





More information about the U-Boot mailing list