[U-Boot] [PATCH] Add "memenv" command, to set environment from a memory area

Wolfgang Denk wd at denx.de
Fri Oct 31 23:40:44 CET 2008


Dear Alessandro,

In message <20081031221826.GA9555 at 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.


More information about the U-Boot mailing list