From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Wed, 10 Mar 2010 07:30:37 +0100 Subject: [U-Boot] Question about fw_printenv settings In-Reply-To: <67a3f13e1003092150o19ed0f64y3c200378c73b55bf@mail.gmail.com> References: <67a3f13e1003092150o19ed0f64y3c200378c73b55bf@mail.gmail.com> Message-ID: <20100310063037.4F7953F6CD@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Joe Culler, In message <67a3f13e1003092150o19ed0f64y3c200378c73b55bf@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.