public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: qiaowj <qiaowj@netpower.com.cn>
To: u-boot@lists.denx.de
Subject: [U-Boot] mv78100 board whether can support from the usb start?
Date: Mon, 17 May 2010 20:02:52 -0700 (PDT)	[thread overview]
Message-ID: <28591067.post@talk.nabble.com> (raw)


I try to start from the usb directly, but mv78100 didn't provide
corresponding driving, I found a marvell high version of the usb driver, put
it to boot1.1.4, but couldn't find a  usb storage, I don't know how to do
it, who will give me some advice? Thank you, here is some information to
start:

Marvell>> 
(Re)start USB...
USB:   scanning bus for devices... New Device 0
usb_control_msg: request: 0x6, requesttype: 0x80, value 0x100 index 0x0
length 0x8
EHCI_DEBUG: ehci_submit_root: req=6 (0x6), type=128 (0x80), value=256,
index=0
set address 1
usb_control_msg: request: 0x5, requesttype: 0x0, value 0x1 index 0x0 length
0x0
EHCI_DEBUG: ehci_submit_root: req=5 (0x5), type=0 (0x0), value=1, index=0
usb_control_msg: request: 0x6, requesttype: 0x80, value 0x100 index 0x0
length 0x12
EHCI_DEBUG: ehci_submit_root: req=6 (0x6), type=128 (0x80), value=256,
index=0
usb_control_msg: request: 0x6, requesttype: 0x80, value 0x200 index 0x0
length 0x9
EHCI_DEBUG: ehci_submit_root: req=6 (0x6), type=128 (0x80), value=512,
index=0
usb_control_msg: request: 0x6, requesttype: 0x80, value 0x200 index 0x0
length 0x19
EHCI_DEBUG: ehci_submit_root: req=6 (0x6), type=128 (0x80), value=512,
index=0
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
EHCI_DEBUG: ehci_submit_root: req=9 (0x9), type=0 (0x0), value=1, index=0
new device strings: Mfr=1, Product=2, SerialNumber=0
usb_control_msg: request: 0x6, requesttype: 0x80, value 0x300 index 0x0
length 0xFF
EHCI_DEBUG: ehci_submit_root: req=6 (0x6), type=128 (0x80), value=768,
index=0
USB device number 1 default language ID 0x1
usb_control_msg: request: 0x6, requesttype: 0x80, value 0x301 index 0x1
length 0xFF
EHCI_DEBUG: ehci_submit_root: req=6 (0x6), type=128 (0x80), value=769,
index=1
usb_control_msg: request: 0x6, requesttype: 0x80, value 0x302 index 0x1
length 0xFF
EHCI_DEBUG: ehci_submit_root: req=6 (0x6), type=128 (0x80), value=770,
index=1
Manufacturer Marvell
Product      EHCI
SerialNumber 
usb_control_msg: request: 0x6, requesttype: 0xA0, value 0x2900 index 0x0
length 0x4
EHCI_DEBUG: ehci_submit_root: req=6 (0x6), type=160 (0xa0), value=10496,
index=0
usb_control_msg: request: 0x6, requesttype: 0xA0, value 0x2900 index 0x0
length 0x8
EHCI_DEBUG: ehci_submit_root: req=6 (0x6), type=160 (0xa0), value=10496,
index=0
usb_control_msg: request: 0x0, requesttype: 0xA0, value 0x0 index 0x0 length
0x4
EHCI_DEBUG: ehci_submit_root: req=0 (0x0), type=160 (0xa0), value=0, index=0
usb_control_msg: request: 0x3, requesttype: 0x23, value 0x8 index 0x1 length
0x0
EHCI_DEBUG: ehci_submit_root: req=3 (0x3), type=35 (0x23), value=8, index=1
usb_control_msg: request: 0x0, requesttype: 0xA3, value 0x0 index 0x1 length
0x4
EHCI_DEBUG: ehci_submit_root: req=0 (0x0), type=163 (0xa3), value=0, index=1
1 USB Device(s) found
       scanning bus for storage devices... i=0
netpower: usb probe fail, bDeviceClass:9, bInterfaceClass:9,
bInterfaceSubClass:0, bInterfaceSubClass:0
i=1  //this is my print message
0 Storage Device(s) found


Marvell>> usb info
1: Hub,  USB Revision 2.0
 - Marvell EHCI 
 - 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 8 Interval 255ms

why  bInterfaceClass=9? http://old.nabble.com/file/p28591067/usb_ehci.c
usb_ehci.c  http://old.nabble.com/file/p28591067/usb_ehci.h usb_ehci.h 
-- 
View this message in context: http://old.nabble.com/mv78100-board-whether-can-support-from-the-usb-start--tp28591067p28591067.html
Sent from the Uboot - Users mailing list archive at Nabble.com.

                 reply	other threads:[~2010-05-18  3:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=28591067.post@talk.nabble.com \
    --to=qiaowj@netpower.com.cn \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox