From: Tom Rini Date: Fri, 17 Jul 2020 16:58:31 -0400 Subject: [PATCH v2] mkimage: Fix error message if write less data then expected In-Reply-To: <20200708095250.9649-1-mylene.josserand@collabora.com> References: <20200708095250.9649-1-mylene.josserand@collabora.com> Message-ID: <20200717205831.GD6227@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Reviewed-by: Walter Lozano Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: