summaryrefslogtreecommitdiff
path: root/util/bincfg/bincfg.lex.c_shipped
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2022-02-03 21:31:34 -0600
committerFelix Held <felix-coreboot@felixheld.de>2022-02-11 23:57:03 +0000
commitb0844490db9ea42a94f56bbb9ec9fce144d8f36f (patch)
treef2d99bc224da05d7f85eb76d3a789505cbd4a8d7 /util/bincfg/bincfg.lex.c_shipped
parente42731603e683c614ba67b8fd46d7f98ed7cbc9e (diff)
util/chromeos/crosfirmware: Handle "broken" recovery images
Several recovery images for newer ChromeOS boards fail in extract_partition() due to parted detecting that there are overlapping partitions, and therefore failing to print the partition layout (this is potentially a parted bug; requries further investigation). To work around this, fall back to using fdisk, making the assumption that ROOT-A is always partition #3, and calculate the partition start and size using the sector size. Test: successfully extract coreboot firmware images from recovery images which previously failed to extract (fizz, octopus, volteer). Change-Id: I03234170ba0544af9eb0879253f0a8e0e7bf33f5 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/61616 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'util/bincfg/bincfg.lex.c_shipped')
0 files changed, 0 insertions, 0 deletions