[RFC PATCH] usb: gadget: dfu: Rework dfu command to use usbgadget

Anže Lešnik anze.lesnik at norik.com
Fri Sep 10 11:27:44 PDT 2021


On 10. 09. 21 10:44, Ahmad Fatoum wrote:

> Hi,
>
> On 08.09.21 14:45, Anže Lešnik wrote:
>> We have tested this patch on a PHYTEC phyCORE-i.MX6 ULL SOM running barebox 2021.04 (using the imx-usb driver) and it seems to resolve the issue. DFU transfer now works as intended.
> Great. So it's ok for Sascha to add
>
> Tested-by: Anže Lešnik <anze.lesnik at norik.com>
>
> to the commit log?

Yes. We have also tested the V2 of this patch, submitted earlier today, 
and it functions correctly.

>> If one receives timeouts on the host computer, try setting usbcore.autosuspend=-1.
> Did you need this kernel parameter with the old dfu command as well?
> If only new dfu command makes this parameter necessary, we might need to look
> why the timing behavior changed.

Yes, it was also required before this patch. We have tested it with a 
couple of hosts and this issue was only present on one machine.

> Cheers,
> Ahmad
>
>>
>> Anže
>>
>>
>> _______________________________________________
>> barebox mailing list
>> barebox at lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/barebox
>



More information about the barebox mailing list