[U-Boot] Creating U-Boot env image

Alexey Smishlayev alexey at xtech2.lv
Tue Dec 10 13:32:22 CET 2013


Hello, Mats,

On 2013.12.10. 13:39, Mats Kärrman wrote:
> Hi Alexey,
>
> I can definitely see the use case in producing a complete flash image, e.g. for
> production use and maybe be able to select the env image from one of many
> depending on some factor.

Yes, the use case is exactly as you described.

> What you describe should definitely be possible. Are you sure that it's not
> something simple like a missmatch in env size?
I'm not sure, if that's not something simple, that's why I wrote to this 
list. I just don't know every little detail about using U-Boot.

> You could use U-Boots Linux fw_printenv tools and/or dd to read the flashed env
> image and perhaps compare it to an image saved by U-Boot to figure out what is
> going wrong.

That's what I've thought also - if I just dd the environment contents to 
a file, can I then use it as a valid image for production? That could be 
the most simple way to achieve what I want.

Best regards,
Alexey Smishlayev


More information about the U-Boot mailing list