
On 3/18/19 10:56 AM, Eugeniu Rosca wrote:
Hi Marek, Paul, cc: Alex
Hi,
jFYI/FWIW, reverting [1-2] allows getting rid of below warnings on R-Car3, when running basic fastboot commands (e.g. fastboot getvar):
Maybe a more constructive approach would be to send a patch fixing the issue instead of reverting patches :)
[ 8.035764] status: -104 ep 'ep1' trans: 0 [ 18.744354] status: -104 ep 'ep1' trans: 28 [ 18.748950] status: -104 ep 'ep1' trans: 9 [ 18.753370] status: -104 ep 'ep1' trans: 28 [ 26.064761] status: -104 ep 'ep1' trans: 28
This has been pointed out by Dmytro (To:) in one of his patches which reached us via official Renesas release. Since R-Car USB gadget driver is not yet present in mainline [3], the behavior cannot be reproduced with vanilla U-Boot. In case, at some point in time, you hit the same problem and come to the same or an alternative solution, please share. TIA!
Since this is gadget code, CCing U-Boot USB gadget maintainer.
[1] https://patchwork.ozlabs.org/patch/491249/ ("[U-Boot,2/2] usb: gadget: fastboot: Dequeue the previous IN request for the current request") [2] http://git.denx.de/?p=u-boot.git;a=commitdiff;h=bc9071c9f318 ("usb: gadget: fastboot: Dequeue the previous IN request for the current request") [3] https://patchwork.ozlabs.org/patch/978026/#2107803
Best regards, Eugeniu.