diff options
author | Karthikeyan Ramasubramanian <kramasub@google.com> | 2021-12-16 12:34:37 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-12-23 09:22:14 +0000 |
commit | 60c5cd5955ca89c24c6d1018da8fa2388a42b14c (patch) | |
tree | 1eaf3a86314ed69ae355d66d78951305b71a34f8 | |
parent | 92b3d13933cd3e06f6802e94345ed1bef9e55b8c (diff) | |
download | vboot-60c5cd5955ca89c24c6d1018da8fa2388a42b14c.tar.gz |
futility/updater: Increase the fw_try_count to 8
Some platforms go through extra resets on cold boots. On an update scenario
involving GSC & PD firmware updates, this extra reset depletes the
fw_try_count of 6. This leads to device falling back to old FW slots.
Increase the fw_try_count to 8 to handle extra resets.
BUG=b:190207306
BRANCH=dedede, volteer
TEST=Build and boot to OS in Drawlat. Ensure that the AP + EC + ME + PD
FW updates are applied and the system was able to boot to OS
successfully - https://paste.googleplex.com/4966135716904960.
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com>
Change-Id: I8bb5507d2351cf1511fda773876dedbe098b5c44
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3345900
Reviewed-by: Evan Green <evgreen@chromium.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Tested-by: Karthikeyan Ramasubramanian <kramasub@chromium.org>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Commit-Queue: Bob Moragues <moragues@chromium.org>
-rw-r--r-- | futility/updater.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/futility/updater.c b/futility/updater.c index 7bc369a2..8b1c1555 100644 --- a/futility/updater.c +++ b/futility/updater.c @@ -275,7 +275,7 @@ static const char *decide_rw_target(struct updater_config *cfg, static int set_try_cookies(struct updater_config *cfg, const char *target, int has_update, int is_vboot2) { - int tries = 6; + int tries = 8; const char *slot; /* EC Software Sync needs few more reboots. */ |