[U-Boot-Users] Problem with some usb stick FAT 32

Cacre Marco, IT m.cacre at olivetti.com
Thu Jul 31 14:46:31 CEST 2008


Hi all,

I'm experiencing a problem with some KINGSTON usb stick (FAT32, 2 Gbytes) using u-boot 1.1.5.
Since I'm a newbe in u-boot I hope someone could give me some info/suggestions about this problem.

Our HW platform is based on ATMEL at91sam9261ek board on which we have installed (in dataflash) the at91 bootstrap, u-boot 1.1.5 and linux kernel 2.6.22.

In short, in u-boot the usb device is correctly recognized but a subsequent read of a file fail with the
error: "CTL: TIMEOUT" printed in the function submit_common_msg() (file ./cpu/arm926ejs/at91sam926x/usb_ohci.c)

I work with the same usb sticks without any problem when linux boot up.

I experience the same problem with both the uboot 1.1.5 at91 atmel patches ver. 1.2  and the latest ver 1.7 

I have attached a detailed trace hoping that could be useful

Thanks a lot in anticipation for any kind of help

Best regards

Marco Cacre

=============================================================================================================

USB:   DEBUG: USB HC reset_hc usb-sam9261: ctrl = 0x0 ;


scanning bus for devices... 
1 Storage Device(s) found


------->  I have leave the detailed trace before this line to reduce the size of the post

DEBUG: SUB URB:[ b81] dev: 2,ep: 1-O,type:BULK,len:0/31 stat:0x80000000
DEBUG: RET(ctlr) URB:[ b92] dev: 2,ep: 1-O,type:BULK,len:31/31 stat:0x0
DEBUG: SUB URB:[ b9d] dev: 2,ep: 1-I,type:BULK,len:0/13 stat:0x80000000
DEBUG: RET(ctlr) URB:[ bae] dev: 2,ep: 1-I,type:BULK,len:13/13 stat:0x0
DEBUG: SUB URB:[ bb5] dev: 2,ep: 1-O,type:BULK,len:0/31 stat:0x80000000
DEBUG: RET(ctlr) URB:[ bc6] dev: 2,ep: 1-O,type:BULK,len:31/31 stat:0x0
DEBUG: SUB URB:[ bd1] dev: 2,ep: 1-I,type:BULK,len:0/512 stat:0x80000000
DEBUG: RET(ctlr) URB:[ be2] dev: 2,ep: 1-I,type:BULK,len:512/512 stat:0x0
DEBUG: SUB URB:[ be9] dev: 2,ep: 1-I,type:BULK,len:0/13 stat:0x80000000
DEBUG: RET(ctlr) URB:[ bfa] dev: 2,ep: 1-I,type:BULK,len:13/13 stat:0x0
DEBUG: SUB URB:[ c00] dev: 2,ep: 1-O,type:BULK,len:0/31 stat:0x80000000
DEBUG: RET(ctlr) URB:[ c11] dev: 2,ep: 1-O,type:BULK,len:31/31 stat:0x0
DEBUG: SUB URB:[ c1d] dev: 2,ep: 1-I,type:BULK,len:0/13 stat:0x80000000
DEBUG: RET(ctlr) URB:[ c2e] dev: 2,ep: 1-I,type:BULK,len:13/13 stat:0x0
DEBUG: SUB URB:[ c34] dev: 2,ep: 1-O,type:BULK,len:0/31 stat:0x80000000
DEBUG: RET(ctlr) URB:[ c45] dev: 2,ep: 1-O,type:BULK,len:31/31 stat:0x0
DEBUG: SUB URB:[ c50] dev: 2,ep: 1-I,type:BULK,len:0/512 stat:0x80000000
DEBUG: RET(ctlr) URB:[ c62] dev: 2,ep: 1-I,type:BULK,len:512/512 stat:0x0
DEBUG: SUB URB:[ c68] dev: 2,ep: 1-I,type:BULK,len:0/13 stat:0x80000000
DEBUG: RET(ctlr) URB:[ c79] dev: 2,ep: 1-I,type:BULK,len:13/13 stat:0x0
reading /mft300/boot/ripristino//at91.bin.sig
DEBUG: SUB URB:[ c84] dev: 2,ep: 1-O,type:BULK,len:0/31 stat:0x80000000
DEBUG: RET(ctlr) URB:[ c95] dev: 2,ep: 1-O,type:BULK,len:31/31 stat:0x0
DEBUG: SUB URB:[ ca0] dev: 2,ep: 1-I,type:BULK,len:0/13 stat:0x80000000
DEBUG: RET(ctlr) URB:[ cb1] dev: 2,ep: 1-I,type:BULK,len:13/13 stat:0x0
DEBUG: SUB URB:[ cb8] dev: 2,ep: 1-O,type:BULK,len:0/31 stat:0x80000000
DEBUG: RET(ctlr) URB:[ cc9] dev: 2,ep: 1-O,type:BULK,len:31/31 stat:0x0
DEBUG: SUB URB:[ cd4] dev: 2,ep: 1-I,type:BULK,len:0/512 stat:0x80000000
DEBUG: RET(ctlr) URB:[ ce5] dev: 2,ep: 1-I,type:BULK,len:512/512 stat:0x0
DEBUG: SUB URB:[ cec] dev: 2,ep: 1-I,type:BULK,len:0/13 stat:0x80000000
DEBUG: RET(ctlr) URB:[ cfd] dev: 2,ep: 1-I,type:BULK,len:13/13 stat:0x0
DEBUG: SUB URB:[ d03] dev: 2,ep: 1-O,type:BULK,len:0/31 stat:0x80000000
DEBUG: RET(ctlr) URB:[ d14] dev: 2,ep: 1-O,type:BULK,len:31/31 stat:0x0
DEBUG: SUB URB:[ d20] dev: 2,ep: 1-I,type:BULK,len:0/13 stat:0x80000000
DEBUG: RET(ctlr) URB:[ d31] dev: 2,ep: 1-I,type:BULK,len:13/13 stat:0x0
DEBUG: SUB URB:[ d37] dev: 2,ep: 1-O,type:BULK,len:0/31 stat:0x80000000
DEBUG: RET(ctlr) URB:[ d48] dev: 2,ep: 1-O,type:BULK,len:31/31 stat:0x0
DEBUG: SUB URB:[ d54] dev: 2,ep: 1-I,type:BULK,len:0/10240 stat:0x80000000
DEBUG: %
DEBUG: hc_interrupt: returning..

DEBUG: %
DEBUG: hc_interrupt: returning..

.... same message many times
........................................
........................................
........................................
........................................


ERROR: CTL:TIMEOUT
DEBUG: submit_common_msg: TO status ff

DEBUG: RET(ctlr) URB:[6ae1] dev: 2,ep: 1-I,type:BULK,len:0/10240 stat:0x20
DEBUG: SUB URB:[6ae7] dev: 2,ep: 0-O,type:CTRL,len:0/0 stat:0x80000000
DEBUG: SUB URB:[6aed] dev: 2,ep: 0-O,type:CTRL,len:0/0 stat:0x80000000
DEBUG:  USB-error/status: 5 : 21f2d560
DEBUG: ConditionCode 0x5
DEBUG: RET(ctlr) URB:[6b04] dev: 2,ep: 0-O,type:CTRL,len:0/0 stat:0x20
DEBUG: SUB URB:[6ba1] dev: 2,ep: 0-O,type:CTRL,len:0/0 stat:0x80000000
DEBUG: SUB URB:[6ba7] dev: 2,ep: 0-O,type:CTRL,len:0/0 stat:0x80000000
DEBUG:  USB-error/status: 5 : 21f2d5e0
DEBUG: ConditionCode 0x5
DEBUG: RET(ctlr) URB:[6bbe] dev: 2,ep: 0-O,type:CTRL,len:0/0 stat:0x20
DEBUG: SUB URB:[6c5a] dev: 2,ep: 0-O,type:CTRL,len:0/0 stat:0x80000000
DEBUG: SUB URB:[6c60] dev: 2,ep: 0-O,type:CTRL,len:0/0 stat:0x80000000
DEBUG:  USB-error/status: 5 : 21f2d5a0
DEBUG: ConditionCode 0x5
DEBUG: RET(ctlr) URB:[6c77] dev: 2,ep: 0-O,type:CTRL,len:0/0 stat:0x20
DEBUG: SUB URB:[6d14] dev: 2,ep: 1-O,type:BULK,len:0/31 stat:0x80000000
DEBUG: hc_interrupt: returning..

DEBUG: %
DEBUG: hc_interrupt: returning..

DEBUG: %
DEBUG: hc_interrupt: returning..


.... same message many times
..............................................................
..............................................................
..............................................................
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20080731/4feb4035/attachment.htm 


More information about the U-Boot mailing list