[U-Boot] [PATCH] Add support for the MPC5121e USB Host controller.

Einar Már Björgvinsson Einar.Bjorgvinsson at marel.com
Wed Aug 25 13:27:52 CEST 2010


 Hi Damien

This patch didn't fix the problem, behaves exactly the same.

I'm using 2 usb sticks for testing: Corsair (32BG) and Doulos (128MB) both formatted with vfat.
My board contains NXP ISP1520 USB Hub.
Neither of these sticks are being detected correctly, in fact the Corsair is not detected at all.

By using 'usb start' it detects 3 devices (2 ports and 1 device I assume).
Output from 'usb tree' and 'usb info' gives me not much information but some:

--------------------------------------------------------------------------------

=> usb tree

Device Tree:
  1  Hub (480 Mb/s, 0mA)
  |  u-boot EHCI Host Controller
  |
  +-0  See Interface (480 Mb/s, 0mA)

=> usb info
1: Hub,  USB Revision 2.0
 - u-boot EHCI Host Controller
 - Class: Hub
 - PacketSize: 64  Configurations: 1
 - Vendor: 0x0000  Product 0x0000 Version 1.0
   Configuration: 1
   - Interfaces: 1 Self Powered 0mA
     Interface: 0
     - Alternate Setting 0, Endpoints: 1
     - Class Hub
     - Endpoint 1 In Interrupt MaxPacket 2048 Interval 0ms

   Configuration: 0
   - Interfaces: 0 Bus Powered 0mA

=>

--------------------------------------------------------------------------------


I have tested successfully the Doulos stick on another board with mpc5200 which don't have any USB Hub, just using the 2 on-chip ports. The Corsair stick is not working, halts the cpu.

Regards
Einar

________________________________
From: Damien Dusha [d.dusha at gmail.com]
Sent: Wednesday, August 25, 2010 12:45 AM
To: Einar Már Björgvinsson
Cc: u-boot at lists.denx.de
Subject: Re: [U-Boot] [PATCH] Add support for the MPC5121e USB Host controller.

Hi Elinar,

The root hub is detected and also it detects a device connected to the controller.
However, by testing with a usbstick (mass storage) it fails to detect the device as a storage device.

I have here a debug printout which is being printed (with debug enabled) during execution of the command 'usb start':

Unfortunately, our experience also shows  some USB Mass Storage Devices work better than others.   For example, we are able to reproduce some of the issues we have on the SheevaPlug (Marvel Kirkwood ARM) with the same combinations of hubs and USB sticks.  Do you have another USB Host board available to try to see if your issue is reproducible across platforms?

Are you able to list the hub and the USB Stick that you are using below?  Is it reproducible across different hubs and sticks?  For example, SMSC hubs tend to exhibit the problems far more than Genesys Logic hubs.   I have no experience with Cypress hubs as to whether they perform any better or not.

If you search the mailing list, I asked about the same issue some time ago.

  -- Damien




More information about the U-Boot mailing list