All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stelian Pop <stelian@popies.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] [patch 0/3] Improve stability USB memory sticks for the common	OHCI USB layer.
Date: Thu, 18 Sep 2008 14:00:10 +0200	[thread overview]
Message-ID: <1221739210.9289.17.camel@galileo> (raw)
In-Reply-To: <20080916125541.347606297@bohmer.net>>

Le mardi 16 septembre 2008 ? 14:55 +0200, Remy Bohmer a ?crit :
> This series is a set of patches that are required to make USB sticks behave 
> robust while using U-Boot on a OHCI host.

Hi,

I gave your patches a run on an AT91CAP9 and had limited success with
them (usb seems to work, usb storage do not):

$ egrep FAT\|USB include/configs/at91cap9adk.h 
#define CONFIG_CMD_USB		1
/* USB */
#define CONFIG_USB_OHCI_NEW		1
#define CFG_USB_OHCI_CPU_INIT		1
#define CFG_USB_OHCI_REGS_BASE		0x00700000	/* AT91_BASE_UHP */
#define CFG_USB_OHCI_SLOT_NAME		"at91cap9"
#define CFG_USB_OHCI_MAX_ROOT_PORTS	2
#define CONFIG_USB_STORAGE		1
#define CONFIG_CMD_FAT			1

...

U-Boot> usb reset                                                                            
(Re)start USB...                                                                             
USB:   scanning bus for devices... 2 USB Device(s) found                                     
       scanning bus for storage devices... 1 Storage Device(s) found                         
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 Setting 0, Endpoints: 1                                                     
     - Class Hub                                                                             
     - Endpoint 1 In Interrupt MaxPacket 2 Interval 255ms                                    
                                                                                             
2: Mass Storage,  USB Revision 2.0                                                           
 - P Technology USB Mass Storage Device 00000000000743                                       
 - Class: (from Interface) Mass Storage                                                      
 - PacketSize: 64  Configurations: 1                                                         
 - Vendor: 0x1307  Product 0x0163 Version 1.0                                                
   Configuration: 1                                                                          
   - Interfaces: 1 Bus Powered 80mA                                                          
     Interface: 0                                                                            
     - Alternate Setting 0, Endpoints: 3                                                     
     - Class Mass Storage, Transp. SCSI, Bulk only                                           
     - Endpoint 1 Out Bulk MaxPacket 64                                                      
     - Endpoint 2 In Bulk MaxPacket 64                                                       
     - Endpoint 3 In Interrupt MaxPacket 64 Interval 8ms                                     

U-Boot> usb part                                                                             
print_part of 0                                                                              
                                                                                             
Partition Map for USB device 0  --   Partition Type: DOS                                     
                                                                                             
Partition     Start Sector     Num Sectors     Type                                          
    1                   63         1974208       6                                           
                                                                                             
print_part of 1                                                                              
## Unknown partition table                                                                   
                                                                                             
print_part of 2                                                                              
## Unknown partition table                                                                   
                                                                                             
print_part of 3                                                                              
## Unknown partition table                                                                   
                                                                                             
print_part of 4                                                                              
## Unknown partition table                                                                                                                 

U-Boot> usb storage                                                                          
  Device 0: not available                                                                    

U-Boot> fatinfo usb 0:1                                                                      
                                                                                             
** Invalid boot device **                                                                    

-- 
Stelian Pop <stelian@popies.net>

  parent reply	other threads:[~2008-09-18 12:00 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-16 12:55 [U-Boot] [patch 0/3] Improve stability USB memory sticks for the common OHCI USB layer Remy Bohmer
2008-09-16 12:55 ` [U-Boot] [patch 1/3] Fix for USB sticks not working on ARM while using GCC 4.x compilers Remy Bohmer
2008-09-16 12:55 ` [U-Boot] [patch 2/3] Refactoring parts of the common USB OHCI code Remy Bohmer
2008-09-16 12:55 ` [U-Boot] [patch 3/3] USB layer of U-Boot causes USB protocol errors while using USB memory sticks Remy Bohmer
2008-09-16 14:10 ` [U-Boot] [patch 0/3] Improve stability USB memory sticks for the common OHCI USB layer Markus Klotzbücher
2008-09-17  3:09   ` [U-Boot] [patch 0/3] Improve stability USB memory sticks for the commonOHCI " Thao To Hieu
2008-09-17 20:31 ` [U-Boot] [patch 0/3] Improve stability USB memory sticks for the common OHCI " Markus Klotzbücher
2008-09-18 12:00 ` Stelian Pop [this message]
2008-09-18 14:54   ` Remy Bohmer
2008-09-19  8:46     ` Stelian Pop
2008-09-19  9:16       ` Remy Bohmer
2008-09-19 14:42         ` Stelian Pop
2008-09-20  9:38           ` Remy Bohmer
2008-09-20 20:14             ` Stelian Pop
2008-10-02 15:51               ` Stelian Pop
2008-10-02 18:45                 ` Remy Bohmer
2008-09-21 18:24         ` Wolfgang Denk
2008-09-22  8:26           ` Remy Bohmer
2008-09-19  9:45       ` Remy Bohmer
2008-09-19 10:05         ` Markus Klotzbücher
2008-09-19 10:19           ` Remy Bohmer
2008-09-18 15:01   ` Remy Bohmer

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=1221739210.9289.17.camel@galileo \
    --to=stelian@popies.net \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.