[U-Boot] Environment "image" tool

Alessio Sangalli alesan at manoweb.com
Mon Jul 18 18:22:28 CEST 2011


On 07/16/2011 10:19 PM, Alessio Sangalli wrote:

> I am writing a "flashing tool" for my NAND chip.
> 
> Is the format that U-Boot uses to write the environment "stable" or it
> could change?


So I have written in my application some code that:

1) takes an area equivalent in size to ENV_SIZE and places a series of
'\0' terminated strings
2) calculates the CRC32 and places it in the first 4 bytes

This is written to the NAND and used by U-Boot, no problems at all.

My application is GLP-3 and available at:

https://gitorious.org/microflasher

bye
as



More information about the U-Boot mailing list