* [U-Boot-Users] environment variable are not saving
@ 2007-12-11 6:10 Pankaj PANDEY
2007-12-11 13:12 ` Jerry Van Baren
2007-12-11 16:08 ` Wolfgang Denk
0 siblings, 2 replies; 4+ messages in thread
From: Pankaj PANDEY @ 2007-12-11 6:10 UTC (permalink / raw)
To: u-boot
Hi Friends,
I am working on u-boot-1.1.2 for Arm926ejs target board.
Here, if i set the environment variables Ex:"setenv bootargs hello"
Environment variables are not saving in flash.
What was the problem and i am getting warnning message has " *** Warning -
bad CRC, using default environment"
Please suggest any idea to resolve this issue.
Thanks and Regards
Pankaj Pandey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20071211/a0537356/attachment.htm
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot-Users] environment variable are not saving
2007-12-11 6:10 [U-Boot-Users] environment variable are not saving Pankaj PANDEY
@ 2007-12-11 13:12 ` Jerry Van Baren
[not found] ` <1540ab320712110518l3db771b8m518a92619a3b3b7@mail.gmail.com>
2007-12-11 16:08 ` Wolfgang Denk
1 sibling, 1 reply; 4+ messages in thread
From: Jerry Van Baren @ 2007-12-11 13:12 UTC (permalink / raw)
To: u-boot
Pankaj PANDEY wrote:
> Hi Friends,
>
> I am working on u-boot-1.1.2 for Arm926ejs target board.
> Here, if i set the environment variables Ex:"setenv bootargs hello"
> Environment variables are not saving in flash.
> What was the problem and i am getting warnning message has " *** Warning
> - bad CRC, using default environment"
>
> Please suggest any idea to resolve this issue.
>
> Thanks and Regards
> Pankaj Pandey
saveenv?
gvb
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot-Users] environment variable are not saving
[not found] ` <1540ab320712110518l3db771b8m518a92619a3b3b7@mail.gmail.com>
@ 2007-12-11 14:57 ` Jerry Van Baren
0 siblings, 0 replies; 4+ messages in thread
From: Jerry Van Baren @ 2007-12-11 14:57 UTC (permalink / raw)
To: u-boot
Pankaj PANDEY wrote:
> sorry i forget to explain full problem...actually when we modify any of
> environment variables and called "saveenv" to save on flash and than
> called "reset" and check modify environment value using "printenv"
> command than we are are not able to do get modify environment value,
> it remain same as we hardcoded in u-boot-1.1.2 source code.
>
> Thanks
> Pankaj
>
> On Dec 11, 2007 6:42 PM, Jerry Van Baren <gerald.vanbaren@ge.com
> <mailto:gerald.vanbaren@ge.com>> wrote:
>
> Pankaj PANDEY wrote:
> > Hi Friends,
> >
> > I am working on u-boot-1.1.2 for Arm926ejs target board.
> > Here, if i set the environment variables Ex:"setenv bootargs hello"
> > Environment variables are not saving in flash.
> > What was the problem and i am getting warnning message has " ***
> Warning
> > - bad CRC, using default environment"
> >
> > Please suggest any idea to resolve this issue.
> >
> > Thanks and Regards
> > Pankaj Pandey
>
> saveenv?
>
> gvb
Hi Pankaj,
You need to debug your flash writing. This is board and processor
specific, and I have basically no knowledge of either so I can only give
general guidance.
Try writing to flash using command line commands, erasing flash, etc.
Once that works, figure out where in flash your env is being saved...
see if anything is being saved there when you do the "saveenv", why it
isn't being saved or why it is being corrupted.
Also, please honor u-boot email list etiquette:
* HTML is not welcome on this list.
* Please bottom post.
* CC: the u-boot list on your replies or you won't get the benefit of
the immense amount of talent that is subscribed to this list.
Best regards,
gvb
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot-Users] environment variable are not saving
2007-12-11 6:10 [U-Boot-Users] environment variable are not saving Pankaj PANDEY
2007-12-11 13:12 ` Jerry Van Baren
@ 2007-12-11 16:08 ` Wolfgang Denk
1 sibling, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2007-12-11 16:08 UTC (permalink / raw)
To: u-boot
In message <1540ab320712102210r5514986g406895b51274aa4a@mail.gmail.com> you wrote:
>
> I am working on u-boot-1.1.2 for Arm926ejs target board.
> Here, if i set the environment variables Ex:"setenv bootargs hello"
> Environment variables are not saving in flash.
> What was the problem and i am getting warnning message has " *** Warning -
> bad CRC, using default environment"
> Please suggest any idea to resolve this issue.
RTFM.
And stop posting HTML.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Children are natural mimics who act like their parents despite every
effort to teach them good manners.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-12-11 16:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-11 6:10 [U-Boot-Users] environment variable are not saving Pankaj PANDEY
2007-12-11 13:12 ` Jerry Van Baren
[not found] ` <1540ab320712110518l3db771b8m518a92619a3b3b7@mail.gmail.com>
2007-12-11 14:57 ` Jerry Van Baren
2007-12-11 16:08 ` Wolfgang Denk
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.