From: Wolfgang Denk Date: Wed, 26 Apr 2006 15:05:18 +0200 Subject: [U-Boot-Users] Redundant environment expected behavior vs current In-Reply-To: Your message of "Wed, 26 Apr 2006 08:32:10 EDT." <444F684A.8060406@imagemap.com> Message-ID: <20060426130518.40F58353DAC@atlas.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 In message <444F684A.8060406@imagemap.com> you wrote: > > I am new to this but it seems that once we successfully write the > environment and protect it, how does (should) one go about writing that > same environment to the redundant sector? Is it done with saveenv if > the redundant environment is enabled? I guess I need to go look at the Correct. All you need to do is call "saveenv" twice. [That's why I can't see a real need for changing the code.] Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "The net result is a system that is not only binary compatible with 4.3 BSD, but is even bug for bug compatible in almost all features." - Avadit Tevanian, Jr., "Architecture-Independent Virtual Memory Management for Parallel and Distributed Environments: The Mach Approach"