[U-Boot] [U-BOOT] error: end address not on sector boundary when I use saveenv cmd

Penda, Naveen Kumar pnaveen at ti.com
Wed Aug 5 18:01:49 CEST 2009


 
Alessandro,
  Thanks for your quick support,
  Now I made CFG_ENV_SIZE to proper sector size.
  It is working fine.

Regards
Naveen

> 
> >   I already looked at my  config file, but couldn't root 
> cause the problem
> >   Here are some of the definitions from my configs, incase 
> anything wrong
> 
> >      CONFIG_SYS_FLASH_BASE  0x10000000
> >      CONFIG_ENV_ADDR        0x10040000
> 
> Ok. But you'd better copy whole lines from config file instead of
> choosing words from them. Sometimes the error is in the details.
> 
> >                 SECTOR_SIZE SZ_256K  // 256KB sector size
> 
> (the comment is redundant here)
> 
> so the environment is in the second sector (it starts at the
> beginning of a sector). You problem is with the end, so
> CFG_ENV_SIZE must be wrong in your config. It should be
> 256k as well. 
> 
> /alessandro
> 
> 


More information about the U-Boot mailing list