[U-Boot] setting the environment address

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.

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,
participants (2)
-
Albert ARIBAUD
-
John Stile