
I have testet a lot more and have found the following:
1. I tried an old USB 1.0 stick, but got the same bad result...
2. Then I took that USB 1.0 stick and deleted multiple partitions with linux fdisk and created a single bootable FAT32 partition. This variant worked without any problems in u-boot. (the multiple partitions seems to be typical from the vendors)
3. Then I took the USB 2.0 stick (from the trace in my first mail) and did the same repartioning with fdisk. But this stick still gives the same bad result :-(
So????
Are there any known limitations/requirements to the u-boot USB implementation? -USB1.0 vs USB2.0 -How to partition the stick (if the original partition can't be used) -Other
...and once more: the USB 2.0 stick works fine in linux....
Best regards Pål Bakken
From: Remy Bohmer [linux@bohmer.net] Sent: 2009-01-14 19:53:29 CET To: Paal Bakken [pabakken@online.no] Cc: u-boot@lists.denx.de, Stelian Pop [stelian@popies.net] Subject: Re: [U-Boot] Problems with USB mass storage on at91sam9263
Hello,
2009/1/14 Paal Bakken pabakken@online.no:
I have problems with usb mass storage in u-boot. We have our own at91sam9263 board, but I experience exactly the same problems on the standard at91sam9263ek. And the usb-port AND memory stick works fine in linux. I have tried both FAT and FAT32. Below follows an edited screendump of some usb commands with a u-boot snapshot version from 13.01.2009.
The current version should work, indeed a lot has been done in that area for these cores. However, IIRC there were some problems with the bootstrap code not initialising the PLLB correctly, which resulted in similar errors. I thought that Stelian got it to work finally on this particular core as well, so maybe he can confirm this. (I concentrated the patches on the sam9261)
Kind Regards,
Remy
(Re)start USB... USB: scanning bus for devices... 2 USB Device(s) found scanning bus for storage devices... ERROR: USB-error: STALL: TD was moved to the Done Queue because the endpoint returned a STALL PID (4) ERROR: USB-error: STALL: TD was moved to the Done Queue because the endpoint returned a STALL PID (4) ERROR: USB-error: DEVICENOTRESPONDING: Device did not respond to token (IN) or did not provide a handshake (OUT) (5) ERROR: USB-error: DEVICENOTRESPONDING: Device did not respond to token (IN) or did not provide a handshake (OUT) (5) : 225 more of the same error? :-) : ERROR: USB-error: DEVICENOTRESPONDING: Device did not respond to token (IN) or did not provide a handshake (OUT) (5) Device NOT ready Request Sense returned 00 00 00 1 Storage Device(s) found
DUnf-Boot2009> usb tree
Device Tree: 1 Hub (12MBit/s, 0mA) | OHCI Root Hub | |?-2 Mass Storage (12MBit/s, 100mA) TTI-MSA USB 2.0 Mobile Disk FF04091900068
DUnf-Boot2009> 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
- TTI-MSA USB 2.0 Mobile Disk FF04091900068
- Class: (from Interface) Mass Storage
- PacketSize: 64 Configurations: 1
- Vendor: 0x126f Product 0x1325 Version 1.0
Configuration: 1
- Interfaces: 1 Bus Powered 100mA
- ERROR: USB-error: DEVICENOTRESPONDING: Device did not respond to token (IN) or did not provide a handshake (OUT) (5)
ERROR: USB-error: DEVICENOTRESPONDING: Device did not respond to token (IN) or did not provide a handshake (OUT) (5) ERROR: USB-error: DEVICENOTRESPONDING: Device did not respond to token (IN) or did not provide a handshake (OUT) (5) ERROR: USB-error: DEVICENOTRESPONDING: Device did not respond to token (IN) or did not provide a handshake (OUT) (5) ERROR: USB-error: DEVICENOTRESPONDING: Device did not respond to token (IN) or did not provide a handshake (OUT) (5) ERROR: USB-error: DEVICENOTRESPONDING: Device did not respond to token (IN) or did not provide a handshake (OUT) (5) ERROR: USB-error: DEVICENOTRESPONDING: Device did not respond to token (IN) or did not provide a handshake (OUT) (5) ERROR: USB-error: DEVICENOTRESPONDING: Device did not respond to token (IN) or did not provide a handshake (OUT) (5) ERROR: USB-error: DEVICENOTRESPONDING: Device did not respond to token (IN) or did not provide a handshake (OUT) (5) ERROR: USB-error: DEVICENOTRESPONDING: Device did not respond to token (IN) or did not provide a handshake (OUT) (5) ERROR: USB-error: DEVICENOTRESPONDING: Device did not respond to token (IN) or did not provide a handshake (OUT) (5) ERROR: USB-error: DEVICENOTRESPONDING: Device did not respond to token (IN) or did not provide a handshake (OUT) (5)
Interface: 0 - Alternate Setting 0, Endpoints: 3 - Class Mass Storage, Transp. SCSI, Bulk only - ERROR: USB-error: DEVICENOTRESPONDING: Device did not respond to token (IN) or did not provide a handshake (OUT) (5)
ERROR: USB-error: DEVICENOTRESPONDING: Device did not respond to token (IN) or did not provide a handshake (OUT) (5) ERROR: USB-error: DEVICENOTRESPONDING: Device did not respond to token (IN) or did not provide a handshake (OUT) (5) ERROR: USB-error: DEVICENOTRESPONDING: Device did not respond to token (IN) or did not provide a handshake (OUT) (5) ERROR: USB-error: DEVICENOTRESPONDING: Device did not respond to token (IN) or did not provide a handshake (OUT) (5) ERROR: USB-error: DEVICENOTRESPONDING: Device did not respond to token (IN) or did not provide a handshake (OUT) (5) ERROR: USB-error: DEVICENOTRESPONDING: Device did not respond to token (IN) or did not provide a handshake (OUT) (5) ERROR: USB-error: DEVICENOTRESPONDING: Device did not respond to token (IN) or did not provide a handshake (OUT) (5) ERROR: USB-error: DEVICENOTRESPONDING: Device did not respond to token (IN) or did not provide a handshake (OUT) (5) ERROR: USB-error: DEVICENOTRESPONDING: Device did not respond to token (IN) or did not provide a handshake (OUT) (5) ERROR: USB-error: DEVICENOTRESPONDING: Device did not respond to token (IN) or did not provide a handshake (OUT) (5) ERROR: USB-error: DEVICENOTRESPONDING: Device did not respond to token (IN) or did not provide a handshake (OUT) (5)
- Endpoint 1 In Bulk MaxPacket 64 - Endpoint 2 Out Bulk MaxPacket 64 - Endpoint 3 In Interrupt MaxPacket 2 Interval 1ms
DUnf-Boot2009> usb storage Device 0: Vendor: Rev: Prod: Type: Removable Hard Disk Capacity: not available
U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot