From: Lukasz Majewski Date: Tue, 06 Nov 2012 10:03:43 +0100 Subject: [U-Boot] USB mass storage gadget patch In-Reply-To: <019901cdbbea$73d9b000$5b8d1000$@keyasic.com> References: <033201cdb8ea$3fe03a10$bfa0ae30$@keyasic.com> <20121102141909.14571cb3@amdc308.digital.local> <019901cdbbea$73d9b000$5b8d1000$@keyasic.com> Message-ID: <20121106100343.3db7cc1a@amdc308.digital.local> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi victor, Regarding UMS support: The last version posted at u-boot ML can be found at [**]: http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/113004/match=ums I've go through your fixes for file_storage.c. Please find appended diff file [*] for changes which I was able to apply on the original file_storage.c file (taken from [**]). I've attached output from Host dmesg and target's console (output.txt) It seems that on my setup your patches are causing errors and UMS is not working (e.g. partitions aren't exported). I don't have enough time now to delve to your solution, but I'm skeptical about hard setting EPs (like below). +if (fsg_fs_bulk_out_desc.bEndpointAddress != 0x1) + fsg_fs_bulk_out_desc.bEndpointAddress = 0x1; + If possible, please align to patch set [**], so we can have the same setup. However, I will try to find some time to help you with the problem (that's why I've asked for description of the problem, which you are trying to fix). -- Best regards, Lukasz Majewski Samsung Poland R&D Center | Linux Platform Group -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-UMS-CHanges-made-by-Victor-applied-to-UMS_v2-file-ap.patch Type: text/x-patch Size: 83556 bytes Desc: not available URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: output.txt URL: