summaryrefslogtreecommitdiff
path: root/cts
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2016-08-07 19:11:45 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-08-08 20:19:46 -0700
commit3b24f8ac3f13969b745bae6239d2b7780d6e79cf (patch)
treecc0a7228e0364342819f28b3696246b75d8e29c5 /cts
parent37784e1e868fc9c722a80dbf1179a72782c87056 (diff)
downloadchrome-ec-3b24f8ac3f13969b745bae6239d2b7780d6e79cf.tar.gz
cr50: try recovering from rolling rebootsstabilize-8688.B
Sometimes a perfectly sane image enters rolling reboot mode in case some data change triggered a bug which prevents the normal startup and causes a reset. The most likely task causing in in case of cr50 would be the tpm task. Let's add another check of the restart counter: should it reach the value of 50, do not start the TPM task. BRANCH=none BUG=chrome-os-partner:55708 TEST=with this code plus an unaligned access introduced in tpm initialization sequence in both RW_A and RW_B, program the full image on the dev board. Observe the device reset 50 time is rapid succession and then stop with the following message on the console: Bldr |511709 retry|50 Himg =4F992103..408D193E Hfss =384E4655..EE13EBD0 Hinf =44D21600..B70529BD jump @00044000 --- UART initialized after reboot --- [Reset cause: rtc-alarm] [Image: RW, cr50_v1.1.5044-8d6f7a2+ private-cr51:v0.0.68-633229c ... + cryptoc:v0.0.4-5319e83 2016-08-07 19:37:16 vbendeb@kvasha] [0.004130 Inits done] [0.006919 Active NVram partition set to 0] Console is enabled; type HELP for help. > system_rolling_reboot_suspected: roling reboots suspected. Try \ powercycling to clear this condition. [0.010502 Task 2 (TPM) exited!] Change-Id: I6b08c5c1a02da9edf9bdf394e57cc56d2e595ad1 Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/366892 Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'cts')
0 files changed, 0 insertions, 0 deletions