[U-Boot] [PATCH v2 25/32] dm: usb: Convert USB storage to use driver-model for block devs

Stephen Warren swarren at wwwdotorg.org
Mon Mar 14 19:01:17 CET 2016


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.


More information about the U-Boot mailing list