[U-Boot] USB External Hub detection problem

Balaji N balajinpmeet at gmail.com
Mon Dec 1 11:15:31 CET 2014


Hi All,

In EHCI Controller, external USB Hub is connected. We have 2 boards of same
type.
In Board1, external USB hub is detected properly and in board2, it is not
detected properly.

In board2, got the error as:

usb_control_msg: request: 0x3, requesttype: 0x23, value 0x8 index 0x1
length 0x0
port 1 returns 0
usb_control_msg: request: 0x0, requesttype: 0xA3, value 0x0 index 0x1
length 0x4
Port 1 Status 101 Change 1
port 1 connection change
usb_control_msg: request: 0x0, requesttype: 0xA3, value 0x0 index 0x1
length 0x4
portstatus 101, change 1, 12 Mb/s
usb_control_msg: request: 0x1, requesttype: 0x23, value 0x10 index 0x1
length 0x0
hub_port_reset: resetting port 0...
usb_control_msg: request: 0x3, requesttype: 0x23, value 0x4 index 0x1
length 0x0
Port Status Reg: 1801
reg=180B
In port reset error code
After Reset, Port Status: 180B
USB Status: 8C
usb_control_msg: request: 0x0, requesttype: 0xA3, value 0x0 index 0x1
length 0x4
portstatus 101, change 13, 12 Mb/s
STAT_C_CONNECTION = 1 STAT_CONNECTION = 1  USB_PORT_STAT_ENABLE 0

Here, the device is not enabled and connection status change bit is set and
the register is port status and control registers.
This status is after the port feature reset.

In board1,the working log as:

usb_control_msg: request: 0x3, requesttype: 0x23, value 0x8 index 0x1
length 0x0
port 1 returns 0
usb_control_msg: request: 0x0, requesttype: 0xA3, value 0x0 index 0x1
length 0x4
Port 1 Status 101 Change 1
port 1 connection change
usb_control_msg: request: 0x0, requesttype: 0xA3, value 0x0 index 0x1
length 0x4
portstatus 101, change 1, 12 Mb/s
usb_control_msg: request: 0x1, requesttype: 0x23, value 0x10 index 0x1
length 0x0
hub_port_reset: resetting port 0...
usb_control_msg: request: 0x3, requesttype: 0x23, value 0x4 index 0x1
length 0x0
Port Status Reg: 1801
reg=8001205
In port reset error code
After Reset, Port Status: 8001205
USB Status: 8C
usb_control_msg: request: 0x0, requesttype: 0xA3, value 0x0 index 0x1
length 0x4
portstatus 503, change 10, 480 Mb/s
STAT_C_CONNECTION = 0 STAT_CONNECTION = 1  USB_PORT_STAT_ENABLE 1

The U-Boot version is: U-Boot 2011.12 and the external Hub is:
USB2514B-AEZC.

Whether need to introduce the delay is some place or it is due to some
other problem?

How it works in one board and not works in another board. Please share the
suggestions.

-Thanks.


More information about the U-Boot mailing list