[U-Boot] [PATCH v5 0/5] mtd, ubi, ubifs: resync with Linux-3.14

Jörg Krause
2014-06-28T19:34:46Z

Dear Wolfgang,

On 06/28/2014 01:44 PM, Wolfgang Denk wrote:
> Dear J?rg,
>
> In message <53ADFFF5.7050605@posteo.de> you wrote:
>> I applied this series of patches on top of a patch from Stephen Warren
>> from 2014-06-23: [PATCH] usb: ci_udc: fix interaction with
>> CONFIG_USB_ETH_CDC.
>>
>> Now my USB Ethernet driver does not work anymore. I am using tfpd for
>> downloading files over USB Ethernet Gadget from my notebook to an
>> Freescale i.MX28 board.
> It is definitely not wise to testseveral independent changes at once,
> as you will never know which of them (or any interacton between these)
> caused the problem.
I understand.

Since commit 2813006fecdab740c3745b2dcbb06777cdd51dff on u-boot-imx
branch the USB Ethernet driver on my custom i.MX28 board is broken. I
cannot use tftp for downloading a file. The patch from Stephen Warren
fixed most (but not all) problems with the driver.
>
> I strongly recommend to apply only one of these patches iitially, then
> test it, and only if it works, then apply the second patch (series)
>
Stephen Warren, Marek Vasut and I am trying to figure out, why USB
Ethernet driver is broken since the stated commit. One assumption of
Stephen Warren was that is has something to do with mtd or ubifs. That's
why I am reporting this.
>> This is the error message:
>>
>> => run update_rootfs
>> Updating rootfs ...
>> using ci_udc, OUT ep- IN ep- STATUS ep-
>> high speed config #1: 2 mA, Ethernet Gadget, using CDC Ethernet
>> ERROR: The remote end did not respond in time.
>> at drivers/usb/gadget/ether.c:2383/usb_eth_init()
> It would have been helpful to show the actual commands here, instead
> of referring to "update_rootfs" the definition of which is unknown to
> us. In any case, this looks like a USB gadget driver related issue,
> which is independent from Heiko's changes. So I think you wpuld have
> seen the same problem when testing Stephen's patch alone. You should
> do that, and eventually report the problem against the "usb: ci_udc:
> fix interaction..." patch.
That's right. I already reported the problem to Stephen Warren.
>
> The mtd, ubi, ubifs update appears to be innocent here.
Seems so. Maybe I will revert the patches from Stephen Warren to the
commit where my USB Ethernet driver worked well and apply the mtd, ubi,
ubifs patches for testing.
>
> Best regards,
>
> Wolfgang Denk
>
Best regards
J?rg Krause