[U-Boot] FW: Configuring USB Host1 in U-Boot for I.MX53

Sarvesh Gupta Sarvesh.Gupta at infotech-enterprises.com
Mon Jan 7 15:18:11 CET 2013


Dear All,

I am using IMX53-Start-R board of freescale. I am trying to configure USB Host in U-Boot of I.MX53 and I am also facing the same as you are having in I.MX25, Please see the below dump and suggest:


CPU:   Freescale i.MX53 family 2.1V at 800 MHz

mx53 pll1: 800MHz

mx53 pll2: 400MHz

mx53 pll3: 216MHz

mx53 pll4: 455MHz

ipg clock     : 66666666Hz

ipg per clock : 33333333Hz

uart clock    : 66666666Hz

cspi clock    : 54000000Hz

ahb clock     : 133333333Hz

axi_a clock   : 400000000Hz

axi_b clock   : 200000000Hz

emi_slow clock: 133333333Hz

ddr clock     : 400000000Hz

esdhc1 clock  : 80000000Hz

esdhc2 clock  : 80000000Hz

esdhc3 clock  : 80000000Hz

esdhc4 clock  : 80000000Hz

nfc clock     : 26666666Hz

Board: MX53-LOCO 1.0

Boot Reason: [POR]

Boot Device: SD

I2C:   ready

DRAM:   1 GB

MMC:   FSL_ESDHC: 0, FSL_ESDHC: 1

In:    serial

Out:   serial

Err:   serial

Serial reinitilized!

Net:   got MAC address from IIM: 00:04:9f:02:41:18

FEC0 [PRIME]

Hit any key to stop autoboot:  0

MX53-LOCO U-Boot >

MX53-LOCO U-Boot >

MX53-LOCO U-Boot > usb start

(Re)start USB...

USB:   Register 10011 NbrPorts 1

USB EHCI 1.00

scanning bus for devices... New Device 0

USB GET DESCRIPTOR

usb_control_msg: request: 0x6, requesttype: 0x80, value 0x100 index 0x0 length 0x40

USB DESCRIPTOR 18

set address 1

usb_control_msg: request: 0x5, requesttype: 0x0, value 0x1 index 0x0 length 0x0

USB GET DESCRIPTOR

usb_control_msg: request: 0x6, requesttype: 0x80, value 0x100 index 0x0 length 0x12

Sar - New Device Max Ports are: 0

USB GET DESCRIPTOR

usb_control_msg: request: 0x6, requesttype: 0x80, value 0x200 index 0x0 length 0x9

USB GET DESCRIPTOR

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 hub found

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

1 ports detected

individual port power switching

standalone hub

global over-current protection

power on to power good time: 20ms

hub controller current requirement: 0mA

port 1 is removable

usb_control_msg: request: 0x0, requesttype: 0xA0, value 0x0 index 0x0 length 0x4

get_hub_status returned status 1, change 8101

local power source is lost (inactive)

no over-current condition exists

enabling power on all ports

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 301 Change 1

port 1 connection change

port 1 connection change

usb_control_msg: request: 0x0, requesttype: 0xA3, value 0x0 index 0x1 length 0x4

portstatus 301, change 1, 1.5 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

usb_control_msg: request: 0x0, requesttype: 0xA3, value 0x0 index 0x1 length 0x4

portstatus 303, change 10, 1.5 Mb/s

STAT_C_CONNECTION = 0 STAT_CONNECTION = 1  USB_PORT_STAT_ENABLE 1

usb_control_msg: request: 0x1, requesttype: 0x23, value 0x14 index 0x1 length 0x0

New Device 1

USB GET DESCRIPTOR

usb_control_msg: request: 0x6, requesttype: 0x80, value 0x100 index 0x0 length 0x40

EHCI timed out on TD - token=0x80008c80

USB DESCRIPTOR 64

hub_port_reset: resetting port 0...

usb_control_msg: request: 0x3, requesttype: 0x23, value 0x4 index 0x1 length 0x0

usb_control_msg: request: 0x0, requesttype: 0xA3, value 0x0 index 0x1 length 0x4

portstatus 303, change 10, 1.5 Mb/s

STAT_C_CONNECTION = 0 STAT_CONNECTION = 1  USB_PORT_STAT_ENABLE 1

usb_control_msg: request: 0x1, requesttype: 0x23, value 0x14 index 0x1 length 0x0

set address 2

usb_control_msg: request: 0x5, requesttype: 0x0, value 0x2 index 0x0 length 0x0

EHCI timed out on TD - token=0x80008d80

USB GET DESCRIPTOR

usb_control_msg: request: 0x6, requesttype: 0x80, value 0x100 index 0x0 length 0x12

EHCI timed out on TD - token=0x80008c80

Sar - New Device Max Ports are: 0

USB GET DESCRIPTOR

usb_control_msg: request: 0x6, requesttype: 0x80, value 0x200 index 0x0 length 0x9

EHCI timed out on TD - token=0x80008c80

usb_get_configuration_no: failed to get descriptor - too long: 65535

ERROR: NOT USB_CONFIG_DESC ff

set configuration 0

usb_control_msg: request: 0x9, requesttype: 0x0, value 0x0 index 0x0 length 0x0

EHCI timed out on TD - token=0x80008d80

new device strings: Mfr=0, Product=0, SerialNumber=0

Manufacturer

Product

SerialNumber

Manufacturer

Product

SerialNumber

2 USB Device(s) found

       scanning bus for storage devices...



0 Storage Device(s) found

MX53-LOCO U-Boot > usb tree

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


Thanks & Regards,

Sarvesh Gupta


________________________________

DISCLAIMER:

This email may contain confidential information and is intended only for the use of the specific individual(s) to which it is addressed. If you are not the intended recipient of this email, you are hereby notified that any unauthorized use, dissemination or copying of this email or the information contained in it or attached to it is strictly prohibited. If you received this message in error, please immediately notify the sender at Infotech and delete the original message.


More information about the U-Boot mailing list