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

2009-08-06 Thread Penda, Naveen Kumar
Hi Wolfgang Denk Dear Penda, Naveen Kumar, In message 5a47e75e594f054baf48c5e4fc4b92ab0305fc6...@dbde02.ent.ti.com you wrote: Thanks for your quick support, Now I made CFG_ENV_SIZE to proper sector size. You must be using really obsolte code if you still have any CFG_

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

2009-08-05 Thread Penda, Naveen Kumar
Hi All When I set all the environment variable and try to save on flash , I am getting Error: end address not on sector boundary. But still my kernel boots with the env setting I made, but on restart these enviroment settings are lost. Can someone let me know where it could have gone

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

2009-08-05 Thread Alessandro Rubini
When I set all the environment variable and try to save on flash , I am getting Error: end address not on sector boundary. Check the settings in your config file. The environment must live in an integer number of sectors, and sector size depends on the flash chip (usually 64k or 128k).

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

2009-08-05 Thread Penda, Naveen Kumar
Hi Rubini 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 Can you please help me. NOR Flash: CONFIG_SYS_FLASH_BASE 0x1000 CONFIG_ENV_ADDR0x1004

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

2009-08-05 Thread Alessandro Rubini
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 0x1000 CONFIG_ENV_ADDR0x1004 Ok. But you'd better copy whole lines from config file instead of

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

2009-08-05 Thread Penda, Naveen Kumar
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

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

2009-08-05 Thread Wolfgang Denk
Dear Penda, Naveen Kumar, In message 5a47e75e594f054baf48c5e4fc4b92ab0305fc6...@dbde02.ent.ti.com you wrote: Thanks for your quick support, Now I made CFG_ENV_SIZE to proper sector size. You must be using really obsolte code if you still have any CFG_ settings in your code. We got rid