All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jerry Van Baren <gerald.vanbaren@ge.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] environment variable are not saving
Date: Tue, 11 Dec 2007 09:57:01 -0500	[thread overview]
Message-ID: <475EA53D.7070302@ge.com> (raw)
In-Reply-To: <1540ab320712110518l3db771b8m518a92619a3b3b7@mail.gmail.com>

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

  parent reply	other threads:[~2007-12-11 14:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2007-12-11 16:08 ` Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=475EA53D.7070302@ge.com \
    --to=gerald.vanbaren@ge.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.