From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?iso-8859-1?Q?Court=E8s?= Date: Tue, 05 Oct 2010 00:11:38 +0200 Subject: [U-Boot] [PATCH] usb: Add support for multiple-LUN mass storage devices In-Reply-To: <87aamwyys1.fsf@gnu.org> ("Ludovic =?iso-8859-1?Q?Court=E8s?= =?iso-8859-1?Q?=22's?= message of "Sun, 03 Oct 2010 01:12:46 +0200") References: <87ocbd7uqf.fsf@gnu.org> <87aamwyys1.fsf@gnu.org> Message-ID: <87sk0la9r9.fsf_-_@gnu.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, ludo at gnu.org (Ludovic Court?s) writes: > The request sense KCQ can be interpreted as ?Not Ready - Medium Not > Present?, according to > , despite the fact > that the SD card is actually in (and Linux can successfully read from > it.) > > The card reader has USB IDs 05e3:0726 (Genesys Logic). The problem was that this card reader exposes two SCSI logical units (LUNs), whereas the code in ?usb_storage.c? assumed single-LUN devices (which is typically the case with USB keys and disks.) The patch below adds support for multiple-LUN devices like this one. Tested on the GuruPlug. The net effect for the GuruPlug is that it makes it possible to boot a kernel stored on a microSD card, something long overdue [0, 1]. Can you please review and apply? Thanks, Ludo?. [0] http://plugcomputer.org/plugforum/index.php?topic=1642 [1] It really feels like I?m doing GlobalScale?s or Marvell?s job here. It looks like GlobalScale is steadily strengthening its reputation of being incompetent. Keep up the bad work! -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-usb-Add-support-for-multiple-LUN-mass-storage-device.patch Type: text/x-patch Size: 4166 bytes Desc: the patch Url : http://lists.denx.de/pipermail/u-boot/attachments/20101005/96e83f44/attachment.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: not available Url : http://lists.denx.de/pipermail/u-boot/attachments/20101005/96e83f44/attachment.pgp