b20a873d0f
Running lsusb (to get iSerial) and openocd requires a privilege. This patch makes cts.py run these commands as a root. Opening ttyACM0 requires a privilege as well but it'll be done by asking a user to add themselves to dialout group. BUG=chromium:664309 BRANCH=none TEST=Run cts.py on a freshly set up cros_sdk chroot. Change-Id: Ib9d007459c4b1322b15f521a5253d833e2304c3c Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/558804 Reviewed-by: Randall Spangler <rspangler@chromium.org> |
||
---|---|---|
.. | ||
common | ||
gpio | ||
hook | ||
i2c | ||
interrupt | ||
meta | ||
mutex | ||
task | ||
timer | ||
README | ||
build.mk | ||
cts.py | ||
cts.tasklist |
README
The first time you use this with a particular th, connect only th and run ./cts/cts.py --th from the ec directory. Then connect both boards and you can run ./cts/cts to flash both boards.