When only one argument is passed on the command line, consider this
argument the name of the BIMG formatted file, and verify its
integrity.
Update 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: I9f0672caa38e3d27917471fc5137ede4ca466e9a
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id:
|
||
|---|---|---|
| .. | ||
| abuild | ||
| acpi | ||
| amdtools | ||
| arm_boot_tools/mksunxiboot | ||
| bimgtool | ||
| board_status | ||
| cbfstool | ||
| cbmem | ||
| crossgcc | ||
| dtd_parser | ||
| dumpmmcr | ||
| ectool | ||
| exynos | ||
| fletcher | ||
| genbuild_h | ||
| genprof | ||
| gitconfig | ||
| i915tool | ||
| ifdfake | ||
| ifdtool | ||
| inteltool | ||
| ipqheader | ||
| k8resdump | ||
| kconfig | ||
| lbtdump | ||
| lint | ||
| msrtool | ||
| nvidia | ||
| nvramtool | ||
| optionlist | ||
| resetcf | ||
| rockchip | ||
| romcc | ||
| runfw | ||
| sconfig | ||
| showdevicetree | ||
| spkmodem_recv | ||
| superiotool | ||
| uio_usbdebug | ||
| vgabios | ||
| viatool | ||
| xcompile | ||