From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Mon, 14 Mar 2016 12:01:17 -0600 Subject: [U-Boot] [PATCH v2 25/32] dm: usb: Convert USB storage to use driver-model for block devs In-Reply-To: <1456784765-10788-26-git-send-email-sjg@chromium.org> References: <1456784765-10788-2-git-send-email-sjg@chromium.org> <1456784765-10788-26-git-send-email-sjg@chromium.org> Message-ID: <56E6FC6D.6090402@wwwdotorg.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 02/29/2016 03:25 PM, Simon Glass wrote: > Update this code to support CONFIG_BLK. Each USB storage device can have > one or more block devices as children, each one representing a LUN > (logical unit) of the USB device. Note that I accidentally tested some other patches in the wrong place today, and found that this patch prevents my USB SD card reader from working when attached to Jetson TK1. I get: U-Boot 2016.03-rc3-00056-gb3601815cf72 (Mar 14 2016 - 11:54:53 -0600) TEGRA124 Model: NVIDIA Jetson TK1 Board: NVIDIA Jetson TK1 DRAM: 2 GiB MMC: Tegra SD/MMC: 0, Tegra SD/MMC: 1 In: serial Out: serial Err: serial Net: No ethernet found. Hit any key to stop autoboot: 0 Tegra124 (Jetson TK1) # usb start starting USB... USB0: USB EHCI 1.10 USB1: USB EHCI 1.10 scanning bus 0 for devices... 1 USB Device(s) found scanning bus 1 for devices... Device NOT ready Request Sense returned 02 3A 00 ### ERROR ### Please RESET the board ### (The Request Sense error happens even in the passing cases, but in those cases the overall "usb start" operation succeeds, and then USB storage access does actually work. I guess my reader is a little slow to initialize or something). The patch immediately before this one works fine. Can you reproduce this? If not, let me know and I'll investigate further.