[PATCH v2] mkimage: Fix error message if write less data then expected
Mylene Josserand
mylene.josserand at collabora.com
Mon Jul 20 14:15:12 CEST 2020
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: Success"
>>
>> This is not explicit when the error is because the device
>> doesn't have enough space. Let's use a more understandable message:
>>
>> "mkimage: Write only 4202432/4682240 bytes, probably no space left on the device"
>>
>> Signed-off-by: Mylène Josserand <mylene.josserand at collabora.com>
>> Reviewed-by: Walter Lozano <walter.lozano at collabora.com>
>
> Applied to u-boot/master, thanks!
>
Great, thank you!
Best regards,
Mylène
More information about the U-Boot
mailing list