All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] *** Warning - bad CRC, using default environment
Date: Tue, 18 May 2010 09:55:58 +0200	[thread overview]
Message-ID: <201005180955.58293.sr@denx.de> (raw)
In-Reply-To: <AANLkTimPNrTWU-TNWjkBeYxNafvRvSthe8erM6sga7gc@mail.gmail.com>

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 variables has never been
> initialized yet.
> Is there any fix to remove this warning  message without passing the
> saveenv command on u-boot prompt?

No, these is no "fix", since this is not a bug but a desired feature.

Why do you want to change this behaviour? Don't you have any environment 
storage area at all? Then you should define CONFIG_ENV_IS_NOWHERE in your 
board config header.

Cheers,
Stefan

--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de

  reply	other threads:[~2010-05-18  7:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-18  7:11 [U-Boot] *** Warning - bad CRC, using default environment anup behare
2010-05-18  7:55 ` Stefan Roese [this message]
2010-05-18  9:12   ` anup behare
2010-05-18  9:23     ` Stefan Roese
2010-05-18  9:28       ` anup behare
2010-05-19 15:24 ` Nick Thompson
2010-05-20  3:43   ` anup behare
2010-05-20  8:33     ` Nick Thompson
2010-05-20 13:04       ` Detlev Zundel

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=201005180955.58293.sr@denx.de \
    --to=sr@denx.de \
    --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.