From: Wolfgang Denk Date: Fri, 31 Oct 2008 23:40:44 +0100 Subject: [U-Boot] [PATCH] Add "memenv" command, to set environment from a memory area In-Reply-To: <20081031221826.GA9555@mail.gnudd.com> References: <20081031221826.GA9555@mail.gnudd.com> Message-ID: <20081031224044.8CFC183420FE@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 Alessandro, In message <20081031221826.GA9555@mail.gnudd.com> you wrote: > > This command reads a memory area (up to a specified length) and > assigns the content to an environment variable. Any newlines are turned > into semicolons, and any hash is makes all the rest of the line to be turned > into spaces. Doesn't this more or less duplicate the function of the "autoscr" command? > The command is meant to allow downloading a shell script from the network > or a storage device and then run it using the "run" command. This greatly > simplifies the task of upgrading a system from within the boot loader, > or just running some tests automatically, without the need to define the > specific commands at compile time. Yes, this duplicates "autoscr" (which will be renamed into "source" soon). I think we don't need this? 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 What the gods would destroy they first submit to an IEEE standards committee.