diff options
author | Julius Werner <jwerner@chromium.org> | 2018-03-22 14:38:11 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-03-26 20:16:25 -0700 |
commit | 3f896a5b638c26632098ff9fdf563686a55c10dd (patch) | |
tree | fda5cb41a2c31c90a634848e233802a0a2e28e55 /scripts | |
parent | 754e56bff6911fdd667b6c03d8b7ba1269dba966 (diff) | |
download | vboot-3f896a5b638c26632098ff9fdf563686a55c10dd.tar.gz |
Add new GBB_FLAG_FORCE_MANUAL_RECOVERY
It seems like there are some testing use cases where we want the device
to boot into the recovery installer but it is impractical to fully
simulate a user-triggered recovery. This has become impossible with the
recent change to always require manual recovery to boot an image, even
when the developer mode switch is enabled (CL:924458).
This patch adds a new GBB flag to support this use case. When the flag
is set, all recovery mode is manual recovery mode, regardless of wheter
the developer mode switch is on or not.
Since the GBB_FLAG_ENABLE_SERIAL was killed off before it ever really
worked anyway, we can safely reuse the bit reserved for it.
BRANCH=None
BUG=None
TEST=make runtests, manually confirmed on Kevin
Change-Id: I4f51dfd20b4ff04c522f53596896dccbceee52dc
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/976660
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/image_signing/gbb_flags_common.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/image_signing/gbb_flags_common.sh b/scripts/image_signing/gbb_flags_common.sh index 9a8d1cb4..fed7ac61 100644 --- a/scripts/image_signing/gbb_flags_common.sh +++ b/scripts/image_signing/gbb_flags_common.sh @@ -33,7 +33,7 @@ GBBFLAGS_LIST=" GBB_FLAG_DISABLE_PD_SOFTWARE_SYNC 0x00000800 GBB_FLAG_DISABLE_LID_SHUTDOWN 0x00001000 GBB_FLAG_FORCE_DEV_BOOT_FASTBOOT_FULL_CAP 0x00002000 - GBB_FLAG_ENABLE_SERIAL 0x00004000 + GBB_FLAG_FORCE_MANUAL_RECOVERY 0x00004000 " GBBFLAGS_DESCRIPTION_SUFFIX=" |