summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2021-12-23 09:33:25 -0800
committerCommit Bot <commit-bot@chromium.org>2021-12-23 18:42:36 +0000
commit646aedf8ea12fb324c40e87e42a668318b3307b9 (patch)
treefe9d174e9c98248349e7c7d8a62db525205483ad
parent109643dd7efa9556b7ae363300522c26be1f6c4c (diff)
downloadchrome-ec-646aedf8ea12fb324c40e87e42a668318b3307b9.tar.gz
doc: fix errors in gsc_without_servod.md
An independent tester followed the instructions discovered a few inaccuracies, now being fixed. BUG=None TEST=None Change-Id: I528d5e0121f000bf0018157699441bb689b1f509 Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3354850 Reviewed-by: Andrey Pronin <apronin@chromium.org> Commit-Queue: Andrey Pronin <apronin@chromium.org>
-rw-r--r--docs/gsc_without_servod.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/gsc_without_servod.md b/docs/gsc_without_servod.md
index 94ee3833f8..c8ac986d8c 100644
--- a/docs/gsc_without_servod.md
+++ b/docs/gsc_without_servod.md
@@ -41,7 +41,7 @@ Linux distributions):
```
$ git clone https://chrome-internal.googlesource.com/chromeos/platform/cr50-utils
$ cd cr50-utils/software/tools/SPI
-$ sudo apt-get install libc6 libelf1 libgcc-s1 libssl1.1 libstdc++6 libudev1 libusb-1.0-0 zlib1g
+$ sudo apt-get install libc6 libelf-dev- libgcc-s1 libssl-dev libstdc++6 libudev1 libusb-1.0-0-dev zlib1g
$ make rescue
```
This will create the `rescue` utility in the local directory, place it
@@ -55,7 +55,7 @@ invoking `rescue` with proper command line parameters.
To find the TTY devices created by Servo Micro run:
```
-$ ./util/maptty.sh | grep Servo_Micro
+$ ../util/maptty.sh | grep Servo_Micro
/dev/ttyUSB0 /dev/serial/by-id/usb-Google_Inc._Servo_Micro_CMO653-00166-040489J04128-if00-port0
/dev/ttyUSB1 /dev/serial/by-id/usb-Google_Inc._Servo_Micro_CMO653-00166-040489J04128-if03-port0
/dev/ttyUSB2 /dev/serial/by-id/usb-Google_Inc._Servo_Micro_CMO653-00166-040489J04128-if05-port0
@@ -102,7 +102,7 @@ This is all there is to it.
Using C2D2 is even simpler. The same `maptty.sh` script will show the TTY
devices connected when C2D2 is attached:
```
-$ ./util/maptty.sh | grep C2D2
+$ ../util/maptty.sh | grep C2D2
/dev/ttyUSB4 /dev/serial/by-id/usb-Google_Inc._C2D2_C2103110780-if00-port0
/dev/ttyUSB5 /dev/serial/by-id/usb-Google_Inc._C2D2_C2103110780-if03-port0
/dev/ttyUSB6 /dev/serial/by-id/usb-Google_Inc._C2D2_C2103110780-if05-port0
@@ -155,7 +155,7 @@ Then to rescue the GSC chip, do the following:
Here is an example of a Ti50 rescue session:
```
-$ ./util/brescue.sh <path to>/ti50.bin.prepvt /dev/ttyUSB4
+$ ../util/brescue.sh <path to>/ti50.bin.prepvt /dev/ttyUSB4
carved out binary /tmp/brescue.sh.y1uXW/rw.bin mapped to 0x88000
converted to /tmp/brescue.sh.y1uXW/rw.hex, waiting for target reset
flash_start_: 00008000 flash_end_: 00018000