tools: dumpimage: Provide more feedback on internal errors
authorAndrew F. Davis <afd@ti.com>
Tue, 17 Sep 2019 21:09:33 +0000 (17:09 -0400)
committerTom Rini <trini@konsulko.com>
Tue, 7 Jan 2020 16:12:46 +0000 (11:12 -0500)
commit79e984c470f7a2bfa4d292214a985ec39185d935
treef86eb9fd7603c3cd912d50d5d7bcfb4f41a310f7
parentd8a3f5259a36e76d1de127f65714c40918e8ee4c
tools: dumpimage: Provide more feedback on internal errors

The dumpimage utility errors out in a number of places without providing
sufficient feedback to allow the user to easily determine what has gone
wrong. Add additional error messages to make the cause of the failure
more obvious.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
tools/dumpimage.c