public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Mohammed Amine SAYA <amine.saya@rfo.atmel.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] USB OHCI issue
Date: Tue, 29 Nov 2005 18:19:28 +0100	[thread overview]
Message-ID: <438C8DA0.8060600@rfo.atmel.com> (raw)

Hi all,
I am trying to port usb_ohci code (u-boot-1.1.3 version) from 
cpu/arm920t/s3c24x0 to our chip.
I added low_level specific functions and It seems to work correctly with 
a low
speed device (mouse...).
Things get a little more compilcated when I use a disk-on-key.
when I perform a : usb start

U-Boot> usb start
(Re)start USB...
USB:   scanning bus for devices... 2 USB Device(s) found
       scanning bus for storage devices... ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
Device NOT ready
   Request Sense returned 00 00 00
0 Storage Device(s) found



But when I perform a usb tree I get this :
U-Boot> usb tree

Device Tree:
  1  Hub (12MBit/s, 0mA)
  |   OHCI Root Hub
  |
  +-2  Mass Storage (12MBit/s, 94mA)
       M-Sys DiskOnKey 2730C3409173AB63

or a usb info :

U-Boot> usb info
1: Hub,  USB Revision 1.10
 -  OHCI Root Hub
 - Class: Hub
 - PacketSize: 8  Configurations: 1
 - Vendor: 0x0000  Product 0x0000 Version 0.0
   Configuration: 1
   - Interfaces: 1 Self Powered 0mA
     Interface: 0
     - Alternate Settings 0, Endpoints: 1
     - Class Hub
     - Endpoint 1 In Interrupt MaxPacket 2 Interval 255ms

2: Mass Storage,  USB Revision 2.0
 - M-Sys DiskOnKey 2730C3409173AB63
 - Class: (from Interface) Mass Storage
 - PacketSize: 64  Configurations: 1
 - Vendor: 0x08ec  Product 0x0012 Version 2.0
   Configuration: 1
   - Interfaces: 1 Bus Powered 94mA
     Interface: 0
     - Alternate Settings 0, Endpoints: 2
     - Class Mass Storage, Transp. SCSI, Bulk only
     - Endpoint 1 In Bulk MaxPacket 64
     - Endpoint 2 Out Bulk MaxPacket 64


But when I perform a usb storage I get this :

U-Boot> usb storage
No storage devices, perhaps not 'usb start'ed..?



Do you know why all this mess around the disk-on-key ?

Do you know how to solve this ?

Should I try code from cvs instead of that of 1.1.3 version ?

Best regards,

Amine.

             reply	other threads:[~2005-11-29 17:19 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-29 17:19 Mohammed Amine SAYA [this message]
2005-11-29 19:39 ` [U-Boot-Users] USB OHCI issue Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2007-10-13 17:03 Matthias Fuchs
2007-10-15  9:32 ` Markus Klotzbücher
2007-12-24  1:57 [U-Boot-Users] usb ohci issue Wang, Steven
2007-12-24  8:54 ` Wolfgang Denk
2007-12-24  8:57   ` Wang, Steven
2008-01-02  9:41     ` Zhang Wei
2008-01-03  5:40       ` Wang, Steven
2008-01-03  5:47         ` Zhang Wei

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=438C8DA0.8060600@rfo.atmel.com \
    --to=amine.saya@rfo.atmel.com \
    --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