[U-Boot] setting the environment address

Albert ARIBAUD albert.u.boot at aribaud.net
Tue Jan 8 21:29:33 CET 2013


Hi John,

On Tue, 08 Jan 2013 11:18:17 -0800, John Stile <john at 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.


More information about the U-Boot mailing list