From mboxrd@z Thu Jan 1 00:00:00 1970 From: rory Date: Thu, 19 Feb 2009 14:44:47 -0800 Subject: [U-Boot] Copying default environment to NVRAM In-Reply-To: <20090219223556.09E4A832E43F@gemini.denx.de> References: <499DBC21.7050505@trs80.net> <20090219223556.09E4A832E43F@gemini.denx.de> Message-ID: <499DE0DF.8080104@trs80.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de It needs to happen automagically, w/o typing anything. I was wondering (I couldn't find anything) if there was some flag that I could set to make it happen, rather than modify my boot process to automagically do it for me. Wolfgang Denk wrote: > 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 > >