All of lore.kernel.org
 help / color / mirror / Atom feed
From: Albert ARIBAUD <albert.u.boot@aribaud.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] setting the environment address
Date: Tue, 8 Jan 2013 21:29:33 +0100	[thread overview]
Message-ID: <20130108212933.76cfe3fe@lilith> (raw)
In-Reply-To: <1357672697.21566.64.camel@genx>

Hi John,

On Tue, 08 Jan 2013 11:18:17 -0800, John Stile <john@stilen.com> wrote:
> How does uboot decide where in NAND the configuration will be found?
> I'm getting the classic errors:
> *** Warning - bad CRC or NAND, using default environment
> 
> I am writing my environment to nand, with crc, but how do I know that
> uboot is looking for it in the right place?
> 
> Is that a compile time only setting?
> Ultimately I'd like to have 2 copies of the environment.

This is defined in the board's config header file. See README and
CONFIG_ENV_OFFSET.

Amicalement,
-- 
Albert.

      reply	other threads:[~2013-01-08 20:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-08 19:18 [U-Boot] setting the environment address John Stile
2013-01-08 20:29 ` Albert ARIBAUD [this message]

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=20130108212933.76cfe3fe@lilith \
    --to=albert.u.boot@aribaud.net \
    --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.