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

2020-02-14 Thread Patrick DELAUNAY
Hi, > From: Patrick DELAUNAY > Sent: mardi 28 janvier 2020 15:42 > > From: Antonio Borneo > > 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 fi

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

2020-01-28 Thread Patrick Delaunay
From: Antonio Borneo 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. Sign