[U-Boot] [PATCH v2 0/5] Tegra 2 USB ULPI series

Stephen Warren swarren at wwwdotorg.org
Thu Aug 23 20:42:27 CEST 2012


On 08/21/2012 02:18 PM, Lucas Stach wrote:
> With this series we are able to initialize USB controllers
> using an external ULPI phy AKA USB2 on Tegra 2 devices.
> 
> This was tested to work on a Toradex Colibri T20 board,
> where USB2 is used to access the ASIX ethernet chipset.
> Testing was done with "tegra20: usb: rework set_host_mode" [1]
> applied. I did not spot any regressions on the UTMI ports.
> 
> v2 incorporates all the review feedback I've got so far,
> including now trying harder to enable VBus in all configurations.
> 
> Patch 3 is already in u-boot-usb and only provided as the ULPI
> init code now depends on it.
> Igor could you please take a look at Patch 4?
> 
> Patchset is based on top of u-boot-tegra/next
> 
> [1] http://lists.denx.de/pipermail/u-boot/2012-August/130177.html

OK, with the addition of an appropriate pin_mux_usb() function to
harmony.c, this works now. So, please consider the series,

Tested-by: Stephen Warren <swarren at wwwdotorg.org>

Note that I did see the following:

Tegra20 (Harmony) # usb start
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 5 USB Device(s) found
       scanning bus for storage devices... Device NOT ready
   Request Sense returned 02 3A 00
2 Storage Device(s) found
       scanning bus for ethernet devices... 1 Ethernet Device(s) found

However, both "usb tree" and then "ext2ls" on the USB device succeeded
without issue, so I think that's tested well enough. I even booted a
kernel from the USB device, and the kernel was able to use the USB
device for the root filesystem, so U-Boot hadn't broken it in any way:-)


More information about the U-Boot mailing list