[PATCH] tools: mkimage: fix STM32 image format for big endian hosts

Patrick DELAUNAY patrick.delaunay at st.com
Fri Feb 14 11:32:34 CET 2020


Hi,

> From: Patrick DELAUNAY <patrick.delaunay at st.com>
> Sent: mardi 28 janvier 2020 15:42
> 
> From: Antonio Borneo <antonio.borneo at st.com>
> 
> Two header fields are not properly converted to little endian before assignment,
> resulting in incorrect header while executing mkimage on big endian hosts.
> 
> Convert the value of the header fields image_checksum and edcsa_algorithm to
> little endian before the assignment.
> 
> Signed-off-by: Antonio Borneo <antonio.borneo at st.com>
> Reviewed-by: Patrick DELAUNAY <patrick.delaunay at st.com>
> Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>
> ---

Applied to u-boot-stm32/master, thanks!

Regards
Patrick


More information about the U-Boot mailing list