From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Mon, 30 Jun 2014 23:15:40 +0200 Subject: [U-Boot] [PATCH] usb: ci_udc: fix interaction with CONFIG_USB_ETH_CDC In-Reply-To: <53B1CEC9.7060909@posteo.de> References: <1403546568-30830-1-git-send-email-swarren@wwwdotorg.org> <53B189F8.1060809@wwwdotorg.org> <53B1CEC9.7060909@posteo.de> Message-ID: <201406302315.40646.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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