Dear Joe Culler, In message <67a3f13e1003100053g38b9bd32k845b4d43f06d1...@mail.gmail.com> you wrote: > > >> #define CONFIG_ENV_ADDR_REDUND (CONFIG_ENV_ADDR + > >> CONFIG_ENV_SECT_SIZE) ... > Yes, I have redundant environment where saves some config files. > > >> 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. > > Maybe I'm stupid. I don't know how to describe my second sectore. > Would you teach me how to do? Thank you.
Why do you not read the documentation, or have a look at the examples? >From the line #define CONFIG_ENV_ADDR_REDUND (CONFIG_ENV_ADDR + CONFIG_ENV_SECT_SIZE) above it seems as if the redundant sector was immediately following the primary one. And #define CONFIG_ENV_ADDR (CFG_FLASH_BASE + 0x000c0000) means the offset is 0x000c0000. In this case try the following entries: /dev/mtd2 0x000C0000 0x20000 0x20000 /dev/mtd2 0x000E0000 0x20000 0x20000 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: w...@denx.de "Never face facts; if you do, you'll never get up in the morning." - Marlo Thomas _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot