How to use framework ectool from their repo

From razwiki
Jump to navigation Jump to search


Install dependencies

sudo apt install libftdi-dev
sudo apt install libusb-1.0-0-dev


make utils

But it doesn't work:

EmbeddedController $ sudo ./build/bds/util/ectool led power green
Missing Chromium EC memory map.
Cannot find I2C adapter
Unable to establish host communication
Couldn't find EC

Strangely adding a print didn't show in the build didn't work:

vim util/comm-lpc.c +286