Add in a stop-gap simplified ST touch FW updater

This patch adds in a simplified version of a touch FW updater for
ST touchpads.  This updater is very basic, trying to force a FW update
every time the device boots.  Obviously this is undesirable for a
couple reasons such as wasting boot time and exposing the touchpad
to a lot of risk during fw flashes, but it is simple and should work.
This is just to get some logic merged in that will allow us to
flash early prototype devices automatically instead of having to do
them by hand, and is intended to be replaced within weeks.

This tool requires st_flash to run, so the CL depends on their CLs.

BUG=chrome-os-partner:61088
TEST=emerged and deployed on my copy of eve, with the firmware in the
right location on disk everything works on reboot.
CQ-DEPS=CL:422669,CL:421428,CL:422907

Change-Id: I96574577de45b4abd7a119199538f492f6ebfac4
Signed-off-by: Charlie Mooney <charliemooney@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/421102
Commit-Ready: Wei-Ning Huang <wnhuang@chromium.org>
Tested-by: Wei-Ning Huang <wnhuang@chromium.org>
Reviewed-by: Dennis Kempin <denniskempin@google.com>
2 files changed
tree: 46438a7ac8a65a41d4b845d0b5fb29546ac6d70f
  1. policies/
  2. scripts/
  3. LICENSE
  4. OWNERS
  5. README