public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] use mx5 ehci usb support patch, but just 1 port detected
@ 2011-12-01  3:24 华 梁
  2011-12-01 11:16 ` Stefano Babic
  0 siblings, 1 reply; 2+ messages in thread
From: 华 梁 @ 2011-12-01  3:24 UTC (permalink / raw)
  To: u-boot

 I see wolfgang patch for mx51 usb support, i use it at mx51-bbg platform. i run usb start at u-boot command line, it ouput:


(Re)start USB...
USB:  
will, usb init....
Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus 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 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: 510ms
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 500 Change 0
1 USB Device(s) found
       scanning bus for storage devices... i=0
bDeviceClass 9
bInterfaceClass 9
bInterfaceSubClass 0
i=1
0 Storage Device(s) found


just 1 port detected, i need usb storage support, so i think 2 ports detected at least, one for the hub , the other for the storage. the u-boot i used is 1.3.4. i am new student at this, hope your write back. Thank You.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot] use mx5 ehci usb support patch, but just 1 port detected
  2011-12-01  3:24 [U-Boot] use mx5 ehci usb support patch, but just 1 port detected 华 梁
@ 2011-12-01 11:16 ` Stefano Babic
  0 siblings, 0 replies; 2+ messages in thread
From: Stefano Babic @ 2011-12-01 11:16 UTC (permalink / raw)
  To: u-boot

On 01/12/2011 04:24, ? ? wrote:
> I see wolfgang patch for mx51 usb support, i use it at mx51-bbg
> platform. i run usb start at u-boot command line, it ouput:
> 

> 
> just 1 port detected, i need usb storage support, so i think 2 ports
> detected at least, one for the hub , the other for the storage. the
> u-boot i used is 1.3.4. i am new student at this, hope your write
> back. Thank You.

It makes no sense you tested new patches for the current U-Boot with an
ancient version. Please update to the current u-boot, better getting it
with git from our repository.

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-12-01 11:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-01  3:24 [U-Boot] use mx5 ehci usb support patch, but just 1 port detected 华 梁
2011-12-01 11:16 ` Stefano Babic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox