commit | 763df1415de41c24645ca268868fb3e6bbed83c3 | [log] [tgz] |
---|---|---|
author | David Schneider <dnschneid@chromium.org> | Tue Mar 31 23:47:07 2020 |
committer | David Schneider <dnschneid@chromium.org> | Fri Apr 03 22:41:27 2020 |
tree | 65428ae9689dca958560b2656f5ac30bc8ec8334 | |
parent | 8e0eeaf6444f58eb9bc5478e1b18d973dd9f53f4 [diff] |
Add dfu-utils as a prerequisite for flashrom Adds support for STM32s in DFU mode. Change-Id: I6f42e1970325acc9ab94f1c0a8df2655a9c55a86 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/standalone-hdctools/+/2131394 Tested-by: David Schneider <dnschneid@chromium.org> Reviewed-by: Mike Frysinger <vapier@chromium.org>
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}/+/master/${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/master
The above steps will upload a patch to chromium-review.googlesource.com where you can get your patch reviewed, and submit.