coreboot/util/bimgtool
Vadim Bendebury 3e631c311d bimgtool: add verification mode
When only one argument is passed on the command line, consider this
argument the name of the BIMG formatted file, and verity its
integrity.

Updated the help/usage text to match new behavior.

BRANCH=none
BUG=none

TEST=when the corrupted coreboot BIMG image is passed as the only
     argument, this utility reports the problem. With the build fixed,
     the check passes without errors (the second invocation below).

$ build/util/bimgtool/bimgtool /build/urara/firmware/coreboot.rom.serial
Data header CRC mismatch at 0
$ build/util/bimgtool/bimgtool /build/urara/firmware/coreboot.rom.serial
$

Change-Id: Ie56f87f99838891d8e341d7989c614efbcabe0cd
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/227522
Reviewed-by: Zdenko Pulitika <zdenko.pulitika@imgtec.com>
Tested-by: Ionela Voinescu <ionela.voinescu@imgtec.com>
2014-11-22 01:40:46 +00:00
..
bimgtool.c bimgtool: add verification mode 2014-11-22 01:40:46 +00:00
Makefile imgtec/danube: Build BIMG boot images 2014-09-01 11:06:36 +00:00