From: Wolfgang Denk Date: Thu, 19 Feb 2009 23:35:56 +0100 Subject: [U-Boot] Copying default environment to NVRAM In-Reply-To: <499DBC21.7050505@trs80.net> References: <499DBC21.7050505@trs80.net> Message-ID: <20090219223556.09E4A832E43F@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 rory, In message <499DBC21.7050505@trs80.net> you wrote: > Is there some flag or normal way to get the default environment that is > in RAM to get written to NVRAM? I'm currently going to put a routine in > our preboot code to do so, but was wondering if there was an officially > sanctioned "right" way to do this. I've looked thru code and FAQ's and > the best I can find is to run "saveenv" from the CLI, but that's not > really a good solution. Why not? What's wrong with a simple command? I'm not sure what you are looking for? 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 Making files is easy under the UNIX operating system. Therefore, users tend to create numerous files using large amounts of file space. It has been said that the only standard thing about all UNIX systems is the message-of-the-day telling users to clean up their files. - System V.2 administrator's guide