[U-Boot] Warning Bad crc using default environment.

2011-11-12 Thread Nisha gunasekaran
I am using u-boot-2011.03 on MPC8379E processor board. While booting i got "Warning bad crc using default enviroment" message. As per your site information, i have given "saveenv" command and reset the board. Still i got the same message. Board is having 32MB Flash. Flash base address is 0xfe

[U-Boot] *** Warning - bad CRC, using default environment

2010-05-18 Thread anup behare
Hi, While using u-boot for ppc440 based board we are getting "*** Warning - bad CRC, using default environment" message. On denx site we came to know that message is printed because the flash sector or ERPROM containing the environment variables has never been initialized yet. Is there any fix to

Re: [U-Boot] Warning Bad crc using default environment.

2011-11-12 Thread Marek Vasut
> I am using u-boot-2011.03 on MPC8379E processor board. While booting i got > "Warning bad crc using default enviroment" message. As per your site > information, i have given "saveenv" command and reset the board. Still i > got the same message. Board is having 32MB Flash. Flash base address is

Re: [U-Boot] *** Warning - bad CRC, using default environment

2010-05-18 Thread Stefan Roese
On Tuesday 18 May 2010 09:11:16 anup behare wrote: > While using u-boot for ppc440 based board we are getting "*** Warning - bad > CRC, using default environment" message. > On denx site we came to know that message is printed because the flash > sector or ERPROM containing the environment variable

Re: [U-Boot] *** Warning - bad CRC, using default environment

2010-05-18 Thread anup behare
Stefan, I don't want to change the behavior and I can't use CONFIG_ENV_IS_NOWHERE because we may change the environment variable and save it. Here my intention was to remove the warning runtime. ~Anup On Tue, May 18, 2010 at 1:25 PM, Stefan Roese wrote: > On Tuesday 18 May 2010 09:11:16

Re: [U-Boot] *** Warning - bad CRC, using default environment

2010-05-18 Thread Stefan Roese
On Tuesday 18 May 2010 11:12:26 anup behare wrote: > I don't want to change the behavior and I can't use > CONFIG_ENV_IS_NOWHERE because we may change the environment variable and > save it. And this usually happens upon board bring-up and/or factory testing. So in the "normal" use-case this warn

Re: [U-Boot] *** Warning - bad CRC, using default environment

2010-05-18 Thread anup behare
I removing the console warning and this is one of the warning. On Tue, May 18, 2010 at 2:53 PM, Stefan Roese wrote: > On Tuesday 18 May 2010 11:12:26 anup behare wrote: > > I don't want to change the behavior and I can't use > > CONFIG_ENV_IS_NOWHERE because we may change the environment variabl

Re: [U-Boot] *** Warning - bad CRC, using default environment

2010-05-19 Thread Nick Thompson
On 18/05/10 08:11, anup behare wrote: > Hi, > > While using u-boot for ppc440 based board we are getting "*** Warning - bad > CRC, using default environment" message. > On denx site we came to know that message is printed because the flash > sector or ERPROM containing the environment variables ha

Re: [U-Boot] *** Warning - bad CRC, using default environment

2010-05-19 Thread anup behare
Hi Nick, I observed that when i used saveenv the warning never occurred, but when i used to erase the flash and burn the u-boot that warning comes again hence I will have to use saveenv on u-boot command prompt. ~Anup On Wed, May 19, 2010 at 8:54 PM, Nick Thompson wrote: > On 18/05/10 08:11,

Re: [U-Boot] *** Warning - bad CRC, using default environment

2010-05-20 Thread Nick Thompson
On 20/05/10 04:43, anup behare wrote: > Hi Nick, > > > I observed that when i used saveenv the warning never occurred, but when i > used to erase the flash and burn the u-boot that warning comes again hence I > will have to use saveenv on u-boot command prompt. > > > ~Anup Yes, indeed! The war

Re: [U-Boot] *** Warning - bad CRC, using default environment

2010-05-20 Thread Detlev Zundel
Hi Nick, > Yes, indeed! The warning was trying to let you know that your work flow is > wrong. Flash can be eased in sectors. The env should be in a sector(s) on > it's own. There is no need to erase that sector(s) to re-flash U-Boot. > > Erase only U-Boot before re-flashing U-Boot. This will keep