diff options
author | Nicolas Boichat <drinkcat@chromium.org> | 2019-10-09 12:03:27 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-10-18 08:52:46 +0000 |
commit | 5f3380d0a80dcedb6cb120b9e4c420b66b747a95 (patch) | |
tree | bc7e95388a0f9e6179f2482cadaea829e008628e /extra/usb_updater | |
parent | b9b9c35c38b50908cc5985d75947aeb3aa1571ce (diff) | |
download | chrome-ec-5f3380d0a80dcedb6cb120b9e4c420b66b747a95.tar.gz |
board/hammer: Fix masterball touchpad settings
Fix the dimensions, and also the size, and make sure that updating
the FW actually works (it seems like increasing the timeout to
2000ms is needed).
BRANCH=kukui
BUG=b:140596094
TEST=Flash masterball, no warning in console on start
TEST=
Host:
make TOUCHPAD_FW=S8648A-15H0_FW01.bin BOARD=masterball -j
USE=updater_utils emerge-kukui -av ec-utils
cros deploy $IP ec-utils
DUT:
usb_updater2 -d 18d1:503c -r; sleep 0.5; \
usb_updater2 -d 18d1:503c -s; usb_updater2 -d 18d1:503c ec.bin
usb_updater2 -d 18d1:503c -p S8648A-15H0_FW01.bin
Change-Id: Ia473ac420b42f52ad1639f950a3f08ff5d32df09
Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1847512
Reviewed-by: Eric Yilun Lin <yllin@chromium.org>
Reviewed-by: Joel Kitching <kitching@chromium.org>
Diffstat (limited to 'extra/usb_updater')
-rw-r--r-- | extra/usb_updater/usb_updater2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/usb_updater/usb_updater2.c b/extra/usb_updater/usb_updater2.c index 65c5fd248d..10bfeee7bb 100644 --- a/extra/usb_updater/usb_updater2.c +++ b/extra/usb_updater/usb_updater2.c @@ -513,7 +513,7 @@ static int transfer_block(struct usb_endpoint *uep, /* Now get the reply. */ r = libusb_bulk_transfer(uep->devh, uep->ep_num | 0x80, (void *) &reply, sizeof(reply), - &actual, 1000); + &actual, 5000); if (r) { if (r == -7) { fprintf(stderr, "Timeout!\n"); |