Skip to content
Commit dd85dc55 authored by Mylène Josserand's avatar Mylène Josserand Committed by Tom Rini
Browse files

mkimage: Fix error message if write less data then expected



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: default avatarMylène Josserand <mylene.josserand@collabora.com>
Reviewed-by: default avatarWalter Lozano <walter.lozano@collabora.com>
parent 5c6a4d5a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment