[U-Boot] [PATCH] usb: ci_udc: fix interaction with CONFIG_USB_ETH_CDC

Marek Vasut marex at denx.de
Mon Jun 30 23:15:40 CEST 2014


On Monday, June 30, 2014 at 10:55:37 PM, Jörg Krause wrote:
[...]
> >>> 2) You applied "allow multiple buffer allocs per ep"
> >> 
> >> Setting #define CONFIG_SYS_CACHELINE_SIZE 32 to my config file helped
> >> here. But still timeouts. First run almost always runs fine, only
> >> sometimes timeouts while receiving a packet, but always running to the
> >> end. Running tftp after this a second time and more fails with a ERROR:
> >> The remote end did not respond in time. at
> >> drivers/usb/gadget/ether.c:2388/usb_eth_init(), but sometimes it works.
> >> 
> >> Setting CONFIG_SYS_CACHELINE_SIZE 32 does not make it better (as I
> >> previously wrote it).
> 
> Sorry, this is a typo. It should be CONFIG_SYS_CACHELINE_SIZE 16 (not 32).

MX28 has 32b-long cachelines. Setting this to 16 is nonsense.
[...]

Best regards,
Marek Vasut


More information about the U-Boot mailing list