[U-Boot] Fwd: EHCI timed out on TD - token=0x80008d80

Manjunath manjunath at tes-dst.com
Thu Apr 21 07:49:03 CEST 2016


----- Forwarded Message -----
From: "Manjunath" <manjunath at tes-dst.com>
To: "fabio estevam" <fabio.estevam at nxp.com>
Sent: Wednesday, April 20, 2016 4:03:05 PM
Subject: Re: EHCI timed out on TD - token=0x80008d80

Hi Fabio,

No it doesn't.


I enabled debug prints and i get the following.


U-Boot > usb start
(Re)start USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... New Device 0
usb_control_msg: request: 0x6, requesttype: 0x80, value 0x100 index 0x0 length 0x40
set address 1
usb_control_msg: request: 0x5, requesttype: 0x0, value 0x1 index 0x0 length 0x0
usb_control_msg: request: 0x6, requesttype: 0x80, value 0x100 index 0x0 length 0x12
usb_control_msg: request: 0x6, requesttype: 0x80, value 0x200 index 0x0 length 0x9
usb_control_msg: request: 0x6, requesttype: 0x80, value 0x200 index 0x0 length 0x19
get_conf_no 0 Result 25, wLength 25
if 0, ep 0
##EP epmaxpacketin[1] = 8
set configuration 1
usb_control_msg: request: 0x9, requesttype: 0x0, value 0x1 index 0x0 length 0x0
new device strings: Mfr=1, Product=2, SerialNumber=0
usb_control_msg: request: 0x6, requesttype: 0x80, value 0x300 index 0x0 length 0xFF
USB device number 1 default language ID 0x1
usb_control_msg: request: 0x6, requesttype: 0x80, value 0x301 index 0x1 length 0xFF
usb_control_msg: request: 0x6, requesttype: 0x80, value 0x302 index 0x1 length 0xFF
Manufacturer u-boot
Product      EHCI Host Controller
SerialNumber
usb_control_msg: request: 0x6, requesttype: 0xA0, value 0x2900 index 0x0 length 0x4
usb_control_msg: request: 0x6, requesttype: 0xA0, value 0x2900 index 0x0 length 0x8
usb_control_msg: request: 0x0, requesttype: 0xA0, value 0x0 index 0x0 length 0x4
usb_control_msg: request: 0x3, requesttype: 0x23, value 0x8 index 0x1 length 0x0
usb_control_msg: request: 0x0, requesttype: 0xA3, value 0x0 index 0x1 length 0x4
1 USB Device(s) found
USB1:   USB EHCI 1.00
scanning bus 1 for devices... New Device 1
usb_control_msg: request: 0x6, requesttype: 0x80, value 0x100 index 0x0 length 0x40
set address 2
usb_control_msg: request: 0x5, requesttype: 0x0, value 0x2 index 0x0 length 0x0
usb_control_msg: request: 0x6, requesttype: 0x80, value 0x100 index 0x0 length 0x12
usb_control_msg: request: 0x6, requesttype: 0x80, value 0x200 index 0x0 length 0x9
usb_control_msg: request: 0x6, requesttype: 0x80, value 0x200 index 0x0 length 0x19
get_conf_no 0 Result 25, wLength 25
if 0, ep 0
##EP epmaxpacketin[1] = 8
set configuration 1
usb_control_msg: request: 0x9, requesttype: 0x0, value 0x1 index 0x0 length 0x0
new device strings: Mfr=1, Product=2, SerialNumber=0
usb_control_msg: request: 0x6, requesttype: 0x80, value 0x300 index 0x0 length 0xFF
USB device number 2 default language ID 0x1
usb_control_msg: request: 0x6, requesttype: 0x80, value 0x301 index 0x1 length 0xFF
usb_control_msg: request: 0x6, requesttype: 0x80, value 0x302 index 0x1 length 0xFF
Manufacturer u-boot
Product      EHCI Host Controller
SerialNumber
usb_control_msg: request: 0x6, requesttype: 0xA0, value 0x2900 index 0x0 length 0x4
usb_control_msg: request: 0x6, requesttype: 0xA0, value 0x2900 index 0x0 length 0x8
usb_control_msg: request: 0x0, requesttype: 0xA0, value 0x0 index 0x0 length 0x4
usb_control_msg: request: 0x3, requesttype: 0x23, value 0x8 index 0x1 length 0x0
usb_control_msg: request: 0x0, requesttype: 0xA3, value 0x0 index 0x1 length 0x4
1 USB Device(s) found
scan end
       scanning usb for storage devices... 0 Storage Device(s) found



Regards,
Manju

----- Original Message -----
From: "fabio estevam" <fabio.estevam at nxp.com>
To: "Manjunath" <manjunath at tes-dst.com>
Sent: Monday, April 18, 2016 6:16:18 PM
Subject: Re: EHCI timed out on TD - token=0x80008d80

Hi Manju,

Does setting USB_MAX_XFER_BLK to 32767 solve this issue?

Regards,

Fabio Estevam

________________________________________
From: Manjunath <manjunath at tes-dst.com>
Sent: Monday, April 18, 2016 4:14:08 AM
To: Fabio Estevam
Subject: EHCI timed out on TD - token=0x80008d80

Hello Fabio,

Hope you are doing well. I needed your help in solving one issue that i am stuck with.

The issue is regarding u-boot 2013.04 version. This version supports USB. The issue i am facing is,

EHCI timed out on TD - token=0x80008d80

This time out error occurs when i flash u-boot first time on the board. But first time even though this error is seen the USB is detected and content of USB can be accessed./


For the second time when i reboot, the same USB key is not detected since i get below error,

U-Boot > usb start

(Re)start USB...

USB0:   USB EHCI 1.00

scanning bus 0 for devices... 1 USB Device(s) found

USB1:   USB EHCI 1.00

scanning bus 1 for devices... 1 USB Device(s) found

       scanning usb for storage devices... 0 Storage Device(s) found

       scanning usb for ethernet devices... 0 Ethernet Device(s) found


Please let me know what is your view on this. Since you are a member of u-boot community i am assuming that somebody would have had this issue before. I have tried mailing to u-boot team but i didn't get any response.


I need your help.

Regards,
Manju


More information about the U-Boot mailing list