Files
OpenCellular/extra
Vadim Bendebury 6ceabb07e3 usb_updater: change command line option from --spi to --systemdev
The command line option to trigger communicating with the cr50 over
/dev/tpm0 has been set to 'spi' originally, as SPI was the interface
to communicate with the TPM on first devices using cr50.

This is not technically correct, as many devices use i2c for this
purpose. Let's rename the command line option from 'spi' to 'dev' and
correct names and comments to reflect this too.

BRANCH=none
BUG=none
TEST=ran on a reef device:
    localhost tmp # ./usb_updater -f --systemdev
    Could not open TPM: Device or resource busy
    localhost tmp # initctl stop trunksd
    trunksd stop/waiting
    localhost tmp # ./usb_updater -f --systemdev
    start
    target running protocol version 6
    offsets: backup RO at 0x40000, backup RW at 0x4000
    keyids: RO 0xaa66150f, RW 0xb93d6539
    Current versions:
    RO 0.0.10
    RW 0.0.16
    localhost tmp # ./usb_updater -f -s
    start
    target running protocol version 6
    offsets: backup RO at 0x40000, backup RW at 0x4000
    keyids: RO 0xaa66150f, RW 0xb93d6539
    Current versions:
    RO 0.0.10
    RW 0.0.16

Change-Id: Ifbdd3618209ad9930e0678cf50e82a789ae5e2cd
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/447781
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2017-02-28 22:33:47 -08:00
..
2016-11-08 17:11:15 -08:00

This directory is for experiments only. It is not built automatically,
required, supported, guaranteed to work, or necessarily well-documented.

The contents may change without warning at any time.