Remy Bohmer
c9e8436b10
USB layer of U-Boot causes USB protocol errors while using USB memory sticks
...
There are several differences between Linux, Windows and U-boot for initialising the
USB devices. While analysing the behaviour of U-boot it turned out that U-boot does
things really different, and some are wrong (compared to the USB standard).
This patch fixes some errors:
* The NEW_init procedure that was already in the code is good, while the old procedure
is wrong. See code comments for more info.
* On a Control request the data returned by the device can be more than 8 bytes, while
the host limits it to 8 bytes. This caused the host to generate a DataOverrun error.
This results in a lot of USB sticks not being recognised, and the transmission ended
frequently with a CTL:TIMEOUT Error.
* Added a flag CONFIG_LEGACY_USB_INIT_SEQ to allow users to use the old init procedure.
Signed-off-by: Remy Bohmer <linux@bohmer.net >
Signed-off-by: Markus Klotzbuecher <mk@denx.de >
2008-09-17 15:41:21 +02:00
..
2008-08-13 01:40:38 +02:00
2008-08-13 01:40:38 +02:00
2008-08-13 01:40:38 +02:00
2004-03-12 00:14:09 +00:00
2008-04-13 09:59:26 -07:00
2008-09-10 11:09:39 +02:00
2008-09-10 22:48:06 +02:00
2007-11-20 22:33:54 -07:00
2008-01-12 00:35:48 +01:00
2008-04-18 00:31:41 -07:00
2008-03-15 22:13:58 -04:00
2008-09-13 01:59:07 +02:00
2007-07-10 11:02:44 -05:00
2008-08-31 04:24:55 +02:00
2008-03-15 22:14:54 -04:00
2008-09-07 00:56:36 +02:00
2008-05-21 00:14:08 +02:00
2008-06-03 20:28:50 +02:00
2007-11-20 22:33:54 -07:00
2007-11-20 22:33:54 -07:00
2008-08-12 11:31:17 -05:00
2007-11-20 22:33:54 -07:00
2008-09-10 22:47:52 +02:00
2008-04-18 00:30:42 -07:00
2007-11-20 22:33:54 -07:00
2007-11-20 22:33:54 -07:00
2008-09-10 21:09:37 +02:00
2007-11-20 22:33:54 -07:00
2008-09-13 02:03:38 +02:00
2008-08-06 14:05:38 +02:00
2008-07-14 15:19:07 +02:00
2008-09-10 22:48:05 +02:00
2008-08-21 01:33:58 +02:00
2007-11-20 22:33:54 -07:00
2008-08-21 00:53:02 +02:00
2008-09-10 22:48:05 +02:00
2008-09-06 22:50:08 +02:00
2008-08-18 23:21:49 +02:00
2008-09-06 01:57:18 +02:00
2008-06-03 19:34:19 +02:00
2008-09-10 21:09:37 +02:00
2008-09-10 22:48:05 +02:00
2008-08-06 14:05:38 +02:00
2008-04-13 23:03:02 -07:00
2007-11-20 22:33:54 -07:00
2007-11-20 22:33:54 -07:00
2008-08-12 00:09:29 +02:00
2008-08-14 14:41:06 +02:00
2008-08-26 22:46:23 -07:00
2008-09-10 22:48:06 +02:00
2008-08-21 13:50:20 -05:00
2008-02-04 19:26:57 -05:00
2008-09-10 22:48:05 +02:00
2007-07-08 18:05:39 -05:00
2008-09-10 22:48:05 +02:00
2008-07-11 13:18:14 +02:00
2007-11-20 22:33:54 -07:00
2008-03-26 23:38:51 +01:00
2008-07-14 15:19:07 +02:00
2008-03-25 22:16:15 +01:00
2008-06-03 20:32:25 +02:00
2008-06-03 20:28:50 +02:00
2008-02-04 19:26:57 -05:00
2008-08-31 04:24:55 +02:00
2007-11-20 22:33:54 -07:00
2008-07-14 15:19:07 +02:00
2008-09-10 21:09:37 +02:00
2008-04-24 17:21:55 +02:00
2008-08-25 23:45:41 +02:00
2008-09-10 22:48:05 +02:00
2008-09-06 22:36:54 +02:00
2008-08-13 01:40:38 +02:00
2008-08-27 02:05:53 +02:00
2008-09-05 13:27:01 +02:00
2008-08-06 14:05:38 +02:00
2003-06-27 21:31:46 +00:00
2008-08-13 01:40:38 +02:00
2008-09-10 22:48:06 +02:00
2008-09-10 22:48:06 +02:00
2008-09-10 22:48:06 +02:00
2008-09-10 22:48:06 +02:00
2008-09-10 22:48:06 +02:00
2008-09-10 22:48:06 +02:00
2008-09-10 22:48:01 +02:00
2008-09-10 22:48:06 +02:00
2008-09-10 22:48:06 +02:00
2008-09-10 22:48:06 +02:00
2007-08-06 00:45:40 +02:00
2008-09-13 02:03:38 +02:00
2008-07-14 15:19:07 +02:00
2008-08-13 01:40:38 +02:00
2008-08-21 02:05:03 +02:00
2008-09-13 01:59:07 +02:00
2008-03-09 10:33:31 +01:00
2008-08-13 01:40:38 +02:00
2008-08-13 01:40:38 +02:00
2008-08-06 14:05:38 +02:00
2008-09-10 22:48:05 +02:00
2006-11-06 17:06:36 +01:00
2008-08-29 21:53:56 +02:00
2002-08-17 09:36:01 +00:00
2008-02-04 23:52:49 +01:00
2008-08-13 01:40:38 +02:00
2008-08-13 01:40:38 +02:00
2008-08-13 01:40:38 +02:00
2008-09-09 17:02:59 +02:00
2008-08-13 01:40:38 +02:00
2008-09-17 15:41:21 +02:00
2008-08-13 01:40:38 +02:00
2008-08-13 01:40:38 +02:00
2006-08-31 16:46:53 +02:00