From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Date: Wed, 15 Nov 2006 23:34:26 -0800 Subject: [U-Boot-Users] storing hush scripts In-Reply-To: <04fe01c70880$88987f40$561fa8c0@pcajain> References: <20061114212251.E50AB352B86@atlas.denx.de> <04fe01c70880$88987f40$561fa8c0@pcajain> Message-ID: <20061115233426.4698eec5@localhost.localdomain> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, 15 Nov 2006 12:07:27 +0530 "Ajay Jain" wrote: > > > > Infact, use (abuse) of environment variables to store the scripts > > > is strongly discouraged. > > > > Who says so? I strongly disagree. > > Refering to the text below: > > here. Note: overly (ab)use of the default environment is > discouraged. Make sure to check other ways to preset the environment The key word here is ....... ^default^. The comment is for the specific C macro to setup the default env in the compiled image. I used it to create some standard scripts for a standard devel setup on many boards at once. To create and run "saveenv" to store any scripts you want on a specific board is just fine.