[U-Boot] Question about fw_printenv settings

Wolfgang Denk wd at denx.de
Wed Mar 10 07:30:37 CET 2010


Dear Joe Culler,

In message <67a3f13e1003092150o19ed0f64y3c200378c73b55bf at mail.gmail.com> you wrote:
> 
> In my board config:
...
> #define CONFIG_ENV_ADDR_REDUND          (CONFIG_ENV_ADDR + CONFIG_ENV_SECT_SIZE)

So you have redundant envrionment, i. e. 2 copies of it in 2 different
sectors.

> My fw_env.config setting:
> /dev/mtd2              0x400000        0x20000         0x20000
> 
> but it doesn't work :(

Here you describe just one sectore - with redundant envrionment, you
must describe BOTH.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
There are two ways to write error-free programs. Only the  third  one
works.


More information about the U-Boot mailing list