From: Tom Rini Date: Fri, 6 May 2016 13:48:07 -0400 Subject: [U-Boot] [PATCH] test/py: dfu: wait for USB device to go away at boot In-Reply-To: <1462489326-10091-1-git-send-email-swarren@wwwdotorg.org> References: <1462489326-10091-1-git-send-email-swarren@wwwdotorg.org> Message-ID: <20160506174807.GU24828@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, May 05, 2016 at 05:02:06PM -0600, Stephen Warren wrote: > From: Stephen Warren > > It can take a while for a host machine to notice that a USB device has > disconnected, and process the change. At the end of the DFU test, we wait > up to 10 seconds for this to happen. This change makes the test wait the > same (up to) 10 seconds at the start of the test for any previously active > USB device-mode session to be cleaned up. Such as session might have been > used to download U-Boot into memory for example; this is certainly true > on my Tegra test systems. This changes should solve the DFU test > intermittency issues I've been seeing on some Tegra devices. > > Signed-off-by: Stephen Warren Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: