From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Tue, 8 Jan 2013 21:29:33 +0100 Subject: [U-Boot] setting the environment address In-Reply-To: <1357672697.21566.64.camel@genx> References: <1357672697.21566.64.camel@genx> Message-ID: <20130108212933.76cfe3fe@lilith> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi John, On Tue, 08 Jan 2013 11:18:17 -0800, John Stile 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.