From 646aedf8ea12fb324c40e87e42a668318b3307b9 Mon Sep 17 00:00:00 2001 From: Vadim Bendebury Date: Thu, 23 Dec 2021 09:33:25 -0800 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3354850 Reviewed-by: Andrey Pronin Commit-Queue: Andrey Pronin --- docs/gsc_without_servod.md | 8 ++++---- 1 file 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 /ti50.bin.prepvt /dev/ttyUSB4 +$ ../util/brescue.sh /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 -- cgit v1.2.1