coreboot-kgpe-d16/util
Patrick Georgi 7db2b6cacc cbfstool: Allows mixed-state fmap regions to work
When using FMAP regions (with option -r) that were generated with a
master header (as done by cbfstool copy, eg. in Chrome OS' build
system), there were differences in interpretation of the master header's
fields.

Normalize for that by not sanity-checking the master header's size field
(there are enough other tests) and by dealing with region offsets
properly.

BUG=chromium:445938
BRANCH=tot
TEST=`cbfstool /build/veyron_minnie/firmware/image.dev.bin print -r
FW_MAIN_A` shows that region's directory (instead of claiming that
there's no CBFS at all, or showing an empty directory).

Change-Id: Ia840c823739d4ca144a7f861573d6d1b4113d799
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 0e5364d291f45e4705e83c0331e128e35ab226d3
Original-Change-Id: Ie28edbf55ec56b7c78160000290ef3c57fda0f0e
Original-Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/312210
Original-Commit-Ready: Patrick Georgi <pgeorgi@chromium.org>
Original-Tested-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/12416
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2015-11-13 00:53:14 +01:00
..
abuild abuild: allow specifying multiple targets by mainboard descriptor 2015-11-01 14:27:02 +01:00
acpi tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
amdtools
arm_boot_tools/mksunxiboot
autoport tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
bimgtool tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
board_status board-status: Reorder the table categories 2015-11-03 21:29:16 +01:00
broadcom secimage: Use libz's crc32 function 2015-08-09 12:34:24 +02:00
cbfstool cbfstool: Allows mixed-state fmap regions to work 2015-11-13 00:53:14 +01:00
cbmem util/cbmem: remove duplicated cbmem data structure logic. 2015-11-04 00:04:17 +01:00
crossgcc buildgcc: change -j variable name from BUILDJOBS to CPUS 2015-11-04 21:40:06 +01:00
dtd_parser tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
ectool tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
exynos
fletcher
fuzz-tests tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
genbuild_h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
genprof
gitconfig gitconfig/rebase.sh: adapt default branch name 2015-08-28 18:41:21 +00:00
ifdfake tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
ifdtool tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
inteltool tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
intelvbttool tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
ipqheader
k8resdump tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
kconfig util/kconfig: fill glob_t with 0 before calling glob 2015-11-05 02:16:02 +01:00
lint tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
msrtool tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
nvidia
nvramtool tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
optionlist tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
release util/release: Add release notes generator script 2015-11-11 20:42:00 +01:00
rockchip
romcc
sconfig tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
scripts utils/scripts: Add microcode conversion tool 2015-11-10 18:46:04 +01:00
showdevicetree tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
spkmodem_recv tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
superiotool tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
uio_usbdebug tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
vgabios vgabios: fix compilation after x86emu changes 2015-10-25 21:33:32 +01:00
viatool tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
xcompile tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00