From patchwork Fri Jun 5 08:01:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?UTF-8?q?Myl=C3=A8ne=20Josserand?= X-Patchwork-Id: 241807 List-Id: U-Boot discussion From: mylene.josserand at collabora.com (=?UTF-8?q?Myl=C3=A8ne=20Josserand?=) Date: Fri, 5 Jun 2020 10:01:26 +0200 Subject: [PATCH v1 0/1] Fix mkimage error message Message-ID: <20200605080127.10156-1-mylene.josserand@collabora.com> Hello everyone, While using mkimage with debos, I noticed a wierd error: "mkimage: Write error on uImage: Success" After some investications, I found that this error is in fact a "No space left" error. This patch is updating mkimage's code to print a new error message in case the size written is less than the expected size. We can't write all the data probably because of of not enough space on the device. Thank you in advance, Best regards Myl?ne Myl?ne Josserand (1): mkimage: Fix error message if write less data then expected tools/mkimage.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-)