diff options
author | Namyoon Woo <namyoon@chromium.org> | 2020-03-10 17:56:18 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-03-11 20:55:42 +0000 |
commit | 3def48bef02dbd81acab77163924bc3bbb20983b (patch) | |
tree | e1e625a384a80a5459c8ede88a90ac559d87a5e1 /board/cr50 | |
parent | 744a123033a043f7b10b7937ed7814fa1505d3fd (diff) | |
download | chrome-ec-3def48bef02dbd81acab77163924bc3bbb20983b.tar.gz |
add corrupt and reload options to 'ec_comm' console cmd
Two new options for 'ec_comm' are for test usage only.
- ec_comm corrupt: it corrupts the ECRW hash in ec_comm module.
Hash corruption will cause EC-FW verification failure. It can be
useful to check how AP firmware performs software sync on this
failure.
- ec_comm reload: it forces Cr50 to reload ECRW hash from tpm nvmem.
This is to restore the EC EFS2 status in Cr50 from corrupted status.
BUG=b:150650877
BRANCH=cr50
TEST=manually ran 'ec_comm corrupt' or 'ec_comm reload' with dev image.
Checked cr50 normal image refuses those command lines.
Signed-off-by: Namyoon Woo <namyoon@chromium.org>
Change-Id: Ib4aa9532132e1ee786e623bd658a68987e4681dc
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2094781
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Diffstat (limited to 'board/cr50')
0 files changed, 0 insertions, 0 deletions