[U-Boot] Environment "image" tool

Wolfgang Denk wd at denx.de
Sun Jul 17 01:31:41 CEST 2011


Dear Alessio Sangalli,

In message <4E221C41.1080900 at manoweb.com> you wrote:
> Hi, is there a tool to create an "environemnt image" that I can flash to
> my NAND?
> 
> I think I've seen a tool that takes a text file with an environment
> setting per line, calculates the CRC and generates a binary that can be
> transferred to the board (via tftp or other means) to be written with
> "nand write".
> 
> Alternatively, is there a description of how the environment is read, my
> U-Boot, so that I can write my own program to create such image?

Just load the text file into U-Boot (for example using TFTP or reading
from some file system) and use "env import -t" on it.

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
If you're not part of the solution, you're part of the problem.


More information about the U-Boot mailing list