summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2019-06-28 10:44:28 -0700
committerCommit Bot <commit-bot@chromium.org>2019-06-28 19:43:06 +0000
commitad6d0528341d71b5b74be66e065a85dc70aa0c8a (patch)
tree4d5a2955b57db1d23382695549172a7f988292fa /docs
parentfaca2dd193794d087bd559c47ee43eaffe8d3839 (diff)
downloadchrome-ec-ad6d0528341d71b5b74be66e065a85dc70aa0c8a.tar.gz
docs: add cr50 ccd prerequisites
Add some prerequisites that tell you what you need to emerge. BUG=none BRANCH=none TEST=read doc prerequisites. Make sure information and formatting looks ok. Change-Id: Iedbbd297b9f98890cb07dc658d2643ebb006ef3f Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1682170 Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'docs')
-rw-r--r--docs/case_closed_debugging_cr50.md37
1 files changed, 37 insertions, 0 deletions
diff --git a/docs/case_closed_debugging_cr50.md b/docs/case_closed_debugging_cr50.md
index a73003affa..8a76cf6419 100644
--- a/docs/case_closed_debugging_cr50.md
+++ b/docs/case_closed_debugging_cr50.md
@@ -65,6 +65,43 @@ Cr50 CCD needs to be opened to access all CCD functionality or to modify
capability settings so the device doesn't need to be open to access CCD
functionality.
+### Prerequisites
+Cr50 needs to be newer than 0.3.9 or 0.4.9 to setup ccd. The 3 in the major
+version means it's a MP image and 0.4.X is a prePVT image. There aren't many
+differences between the MP and prePVT versions of images. It is just a little
+easier to CCD open prePVT images. You can't run prePVT images on MP devices,
+so if you're trying to update to .prepvt and it fails try using .prod.
+
+* Sync chroot to TOT (run repo sync in chromiumos directory) update servod and
+ gsctool in chroot
+
+ from chroot > sudo emerge hdctools ec-devutils servo-firmware
+ chromeos-cr50 chromeos-cr50-scripts
+
+* Update servo v4 firmware
+
+ from chroot > sudo servo_updater -b servo_v4
+
+* Ensure cr50 firmware is up to date. You can run these gsctool commands from
+ the AP console or you can run them as root from inside the chroot if suzyq is
+ connected.
+ * If you're doing this from the AP, install a test image newer than M66.
+ * check the cr50 version
+
+ sudo gsctool -a -f
+
+ * If the RW version is greater than 0.(3|4).9 then you don't need to
+ update cr50. If it's not, then you need to update cr50.
+ * Update cr50.
+
+ sudo gsctool -a /opt/google/cr50/firmware/cr50.bin.prod
+
+ * Check the cr50 version again to make sure it's now newer than 0.X.9
+
+* Ensure power isolation on servo v4
+ * Plug USB-C power into servo v4 for dut pass though
+ * Green LED will light up when plugged into DUT.
+
### Basic Steps for CCD setup
1. Use the general [setup](case_closed_debugging.md#Setup) instructions to