diff options
author | Allen Martin <amartin@nvidia.com> | 2014-02-10 14:23:12 -0800 |
---|---|---|
committer | Allen Martin <amartin@nvidia.com> | 2014-06-05 15:56:29 -0700 |
commit | 7d4f922e6aa1fe131c91a8051ada4dd7406cca37 (patch) | |
tree | 1be454fe8421c41c475b125fb5add4c03b591d3b | |
parent | 61d8ce0af46bad1db94cf1fdbb5ca1d4dbb0288c (diff) | |
download | tegrarcm-7d4f922e6aa1fe131c91a8051ada4dd7406cca37.tar.gz |
increase USB timeout and wait on 3p status after bootloader dl
-rw-r--r-- | src/main.c | 6 | ||||
-rw-r--r-- | src/usb.c | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -991,6 +991,12 @@ static int download_bootloader(nv3p_handle_t h3p, char *filename, return ret; } + ret = wait_status(h3p); + if (ret) { + dprintf("error waiting for status on bootloader dl\n"); + return ret; + } + return 0; } @@ -35,7 +35,7 @@ #include "debug.h" // USB xfer timeout in ms -#define USB_TIMEOUT 1000 +#define USB_TIMEOUT 3000 #define USB_XFER_MAX 4096 |