Re: [PATCH v2] mkimage: Fix error message if write less data then expected

2020-07-20 Thread Mylene Josserand
Hello, On 7/17/20 10:58 PM, Tom Rini wrote: On Wed, Jul 08, 2020 at 11:52:50AM +0200, Mylène Josserand wrote: Add a new error message in case the size of data written are shorter than the one expected. Currently, it will lead to the following error message: "mkimage: Write error on uImage: S

Re: [PATCH v2] mkimage: Fix error message if write less data then expected

2020-07-17 Thread Tom Rini
On Wed, Jul 08, 2020 at 11:52:50AM +0200, Mylène Josserand wrote: > Add a new error message in case the size of data written > are shorter than the one expected. > > Currently, it will lead to the following error message: > > "mkimage: Write error on uImage: Success" > > This is not explicit wh

[PATCH v2] mkimage: Fix error message if write less data then expected

2020-07-08 Thread Mylène Josserand
Add a new error message in case the size of data written are shorter than the one expected. Currently, it will lead to the following error message: "mkimage: Write error on uImage: Success" This is not explicit when the error is because the device doesn't have enough space. Let's use a more unde