New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 804511 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner: ----
Closed: May 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug

Blocked on:
issue 804507
issue 812880

Blocking:
issue 801281



Sign in to add a comment

Add crosh command to verify RO FW on a second device

Project Member Reported by rspangler@chromium.org, Jan 22 2018

Issue description

See design doc: go/verify-ro-firmware (option 1)

Device to test (aka DUT) is plugged into a second one (aka host) via USB-C debug cable.

Open a crosh shell on the host.

Type 'verify-other-chromebook' or something like that.

This uses the Cr50 serial console provided by the DUT to enter debug commands which hash the RO firmware.

Script needs to get the BoardID from the DUT so it knows what to check, and a table of BoardID to offset/length/hash for the right answer.  May be multiple possible right answers for a board, if we shipped multiple RO firmware over time.

Script prints:

DEVICE NOT FOUND (didn't find a device attached via debug cable)

PASS (device found in list and all hashed sections valid).

FAIL (device found in list and not all hashed sections valid).

UNKNOWN DEVICE (not found in list)

We could get fancier with a Chrome extension, but let's start with crosh because it'll take less time to develop.
 
Blockedon: 804507
Blocking: 801281
(OS>Firmware may not be the right component.  Where does crosh live in the bug tracker?)
Cc: ppichai@google.com tanaypadhi@google.com myivory@google.com
Blockedon: 812880
Owner: ----
Status: Fixed (was: Assigned)

Sign in to add a comment