diff options
author | Hung-Te Lin <hungte@chromium.org> | 2018-08-24 12:25:42 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-08-31 11:19:59 -0700 |
commit | ad02d85e4fe8c2f96cf7abd3db25eafda056952e (patch) | |
tree | 5cb2b64d743a7de8fb3b9ecf82e6c27bcf32a165 /firmware/include/tpm1_tss_constants.h | |
parent | 75e3c5bb621cf26d7fd774a6603e224ad4120f59 (diff) | |
download | vboot-ad02d85e4fe8c2f96cf7abd3db25eafda056952e.tar.gz |
futility: cmd_update: Implement updater logic "TRY-RW" (--try)
In vboot2, to try one RW (unused) section on next boot, we have to:
- Find mainfw_act
- Select and update to the "other" slot
- Set system property fw_try_{next,count} values to try in next boot.
The new '--try' (-t) option can trigger the mode if available.
BUG=chromium:875551
TEST=make futil; tests/futility/run_test_scripts.sh $(pwd)/build/futility
futility update --emulation FILE -i IMAGE -t --sys_prop 0; # Updates to B.
futility update --emulation FILE -i IMAGE -t --sys_prop 1; # Updates to A.
BRANCH=None
Change-Id: I4b4662616a7181d2f37307238b7b80ae82369768
Signed-off-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1188017
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'firmware/include/tpm1_tss_constants.h')
0 files changed, 0 insertions, 0 deletions