History log of /external/vboot_reference/tests/futility/test_dump_fmap.sh
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1eae873b6194db25781233d7a4aaee6a34160eec 05-Feb-2015 Bill Richardson <wfrichar@chromium.org> futility: Add global args to specify vboot API and format

The host-side futility tool will need to support all extant vboot
implementations. Some legacy futility commands only support the
original vb1 format, but others ("show" or "sign", for example)
may need to be instructed which formats to expect or emit.

This change adds some global args to specify the preferred
formats. It also cleans up a few [unused AFAICT] one-letter args
to avoid conflicts.

BUG=chromium:231574
BRANCH=none
TEST=make runtests

Nothing makes use of this yet, except the "help" command.

Change-Id: Ib79fa12af72b8860b9494e5d9e90b9572c006107
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/246765
Reviewed-by: Randall Spangler <rspangler@chromium.org>
/external/vboot_reference/tests/futility/test_dump_fmap.sh
7ccd9ce48e761b7614d29ff95ef97d0a7dc1d599 31-Jan-2015 Bill Richardson <wfrichar@chromium.org> futility: handle truncated BIOS images without segfault

A truncated BIOS with an otherwise valid FMAP that now points way
off the end of the file shouldn't cause coredumps.

BUG=none
BRANCH=ToT
TEST=make runtests

Change-Id: Idf96e1e6a381bf0fe0b1cb2d16e3dad39ce7a0dc
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/245500
Reviewed-by: Randall Spangler <rspangler@chromium.org>
/external/vboot_reference/tests/futility/test_dump_fmap.sh
d5aa5bdb292b64f259f55319fd83bd4a4d548a12 23-Sep-2014 Bill Richardson <wfrichar@chromium.org> futility: allow dump_fmap to specify where to extract area

Previously, you could extract FMAP areas like so:

futility dump_fmap -x bios.bin FW_MAIN_A VBLOCK_A ...

This lets you decide what to name each area as it's extracted:

futility dump_fmap -x bios.bin FW_MAIN_A:/tmp/rw_a ../vblock

BUG=none
BRANCH=ToT
TEST=make runtests

Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Change-Id: If02b57e03294b0b0b1dbc216ef57afdd3bdf2960
Reviewed-on: https://chromium-review.googlesource.com/219646
Reviewed-by: Randall Spangler <rspangler@chromium.org>
/external/vboot_reference/tests/futility/test_dump_fmap.sh
6f3961507e73f90cec665896dece884e86be560a 15-Jul-2014 Bill Richardson <wfrichar@chromium.org> futility: Add remaining vboot binary utilities

This change adds these formerly external utilities into the futility binary:

dev_sign_file
dump_kernel_config
gbb_utility
vbutil_firmware
vbutil_kernel

These target binaries will remain independent of futility, since they are
not directly related to verified boot:

cgpt
crossystem
tpm_init_temp_fix
tpmc

Also, dumpRSAPublicKey is removed from the target, since it is only used on
the build host to create new keypairs.

This change also add several additional tests.

BUG=chromium:224734
BRANCH=ToT
CQ-DEPEND=CL:210391,CL:210568,CL:210587
TEST=manual

make runtests
make clean

Also build and test:
- normal image
- test image
- recovery image
- firmware shellball

Note that this CL depends on simultaneous changes to the chromeos-initramfs
ebuild.

Change-Id: If791b5e9b5aac218ceafa9f45fc1785f16b91a64
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/210403
/external/vboot_reference/tests/futility/test_dump_fmap.sh
bc2d2b21d97d35f69dc083ad44fb08419fe32a08 10-Jul-2014 Bill Richardson <wfrichar@chromium.org> Increase test coverage for dump_fmap

This checks some additional cases where the FMAP is a bit messed up.

BUG=chromium:224734
BRANCH=ToT
TEST=make runtests

Change-Id: Ic2b16bd8afdd1247d1f24c9f976d967764cadb73
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/207719
/external/vboot_reference/tests/futility/test_dump_fmap.sh
d2d08b2cc68f720a485cdfa6f044ddb234e8c42b 09-Jul-2014 Bill Richardson <wfrichar@chromium.org> Cleanup futility test coverage framework a bit

This cleans up the Makfile and test scripts a bit, and adds a new test for
the builtin commands.

BUG=chromium:224734
BRANCH=ToT
TEST=make runtests

Change-Id: Ibf5aa867d4dcabc0e46daac6633036b035c99ac8
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/207718
/external/vboot_reference/tests/futility/test_dump_fmap.sh
20807b6158b6a43baf0974bc763890888ba1f841 09-Apr-2013 Bill Richardson <wfrichar@chromium.org> Build dump_fmap into futility.

This stops creating dump_fmap as a standalone utility and builds it into
futility. Since it was already invoked as a symlink, no user-visible changes
should be observed.

BUG=chromium:224734
BRANCH=none
TEST=manual, trybots

sudo FEATURES=test emerge vboot_reference
FEATURES=test emerge-$BOARD vboot_reference

Change-Id: I68d1bea0c1867043b2633e15509b95c2717009a7
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/47672
Reviewed-by: Randall Spangler <rspangler@chromium.org>
/external/vboot_reference/tests/futility/test_dump_fmap.sh