mkenvimage CRC does not match the CRC of fw_setenv

Alexander Dahl ada at thorsis.com
Fri Jan 24 08:12:11 CET 2025


Hello Floyd,

Am Thu, Jan 23, 2025 at 02:04:03PM -0500 schrieb Floyd Brown:
> When I run the same file against both utilities, they do not produce
> the same CRC.
> 
> The CRC of fw_setenv matches what uboot has when the environment is
> created inside the image.

fw_setenv is Linux userland to write to flash on the running system,
right?  And mkenvimage produces an image file IIRC.

> Is this a known issue? If so, I am sorry to bring it up (but maybe
> remove mkenvimage...)

By chance: are your settings for redundant image the same?  For
fw_setenv this is set in file /etc/fw_env.config on the target system.
For mkenvimage you pass -r as parameter or not.

Greets
Alex



More information about the U-Boot mailing list