commit | 84f994cad9956c40ec70e4b5c4f102fbb7597f06 | [log] [tgz] |
---|---|---|
author | Sven van Ashbrook <svenva@chromium.org> | Fri Aug 19 19:38:53 2022 |
committer | Sven van Ashbrook <svenva@google.com> | Fri Aug 19 20:47:33 2022 |
tree | a47ced61cd9d8dda1c1018ffe77a17936ba7b32f | |
parent | acc1beaf61edd656333a35684cba895c17e5a2f4 [diff] |
Add support for hdctools's dut-power script hdctools contains a useful script named "dut-power". Add support for it. BUG=none TEST=on servo_v4p1 connected to brya-felwinter, measure power rails by running standalone dut-power. Signed-off-by: Sven van Ashbrook <svenva@chromium.org> Change-Id: Ia813a5be727c9f2e918112435c0439fff43bb939 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/standalone-hdctools/+/3842642 Tested-by: Sven van Ashbrook <svenva@google.com> Commit-Queue: Sven van Ashbrook <svenva@google.com> Reviewed-by: Sergey Frolov <sfrolov@google.com>
This is a repository of scripts that enable common hardware debug tasks outside of a Chromium chroot.
When all you need is quick access to servod, flashrom, or others, the wrapper scripts here will get you up and running without the overhead of creating, syncing, or entering a chroot.
This repo is designed such that you can clone or download the entire repo and run scripts within, or grab and run individual scripts.
You can download and run individual scripts without checking out the entire repo:
script=servod repo='https://chromium.googlesource.com/chromiumos/platform/standalone-hdctools/' curl -f "${repo}/+/main/${script}?format=TEXT" | base64 -d > "${script}" "./${script}"
Since this repo isn‘t in the manifest, it won’t show up in your chroot. Instead, to make changes:
git clone https://chromium.googlesource.com/chromiumos/platform/standalone-hdctools cd standalone-hdctools curl -Lo .git/hooks/commit-msg https://gerrit-review.googlesource.com/tools/hooks/commit-msg chmod +x .git/hooks/commit-msg git checkout -b changes # (make some changes) git commit -a git push origin HEAD:refs/for/main
The above steps will upload a patch to chromium-review.googlesource.com where you can get your patch reviewed, and submit.