From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?J=F6rg_Krause?= Date: Tue, 01 Jul 2014 13:48:22 +0200 Subject: [U-Boot] [PATCH V2] usb: ci_udc: Allocate the qTD list directly In-Reply-To: <201407011335.52656.marex@denx.de> References: <1404172398-6522-1-git-send-email-marex@denx.de> <201407011319.37499.marex@denx.de> <53B29A01.6080108@posteo.de> <201407011335.52656.marex@denx.de> Message-ID: <53B2A006.3060709@posteo.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 07/01/2014 01:35 PM, Marek Vasut wrote: > On Tuesday, July 01, 2014 at 01:22:41 PM, J?rg Krause wrote: >> On 07/01/2014 01:19 PM, Marek Vasut wrote: >>> [snip] >>> >>>>> Can you edit arch/arm/cpu/arm926ejs/cache.c and change the debug() to >>>>> printf() , then re-test please ? I suspect this might trap something >>>>> still. Ah, and please test on u-boot-usb/master with this patch. >>>> No additional output on the console. >>> What does this mean? Do you see warning messages prefixed with "CACHE: " >>> ? >> No messages prefixed with "CACHE: ". Just the usual error message. >> >> => >> using ci_udc, OUT ep- IN ep- STATUS ep- >> MAC 00:19:b8:00:00:02 >> HOST MAC 00:19:b8:00:00:01 >> 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:2392/usb_eth_init() > Just to make sure, did you remove any CDC ethernet tunables (like > cdc_connect_timeout) from your env ? => printenv cdc_connect_timeout ## Error: "cdc_connect_timeout" not defined Also, no other CDC ethernet variables. These are the related env variables from my config header file: #define CONFIG_IPADDR 10.0.0.2 #define CONFIG_SERVERIP 10.0.0.1 #define CONFIG_NETMASK 255.255.255.0 #define CONFIG_EXTRA_ENV_SETTINGS \ "ethact=usb_ether\0" \ "ethprime=usb_ether\0" \ "usbnet_hostaddr=00:19:B8:00:00:01\0" \ "usbnet_devaddr=00:19:B8:00:00:02\0" \ [...] And these are my settings for USB: /* USB */ #ifdef CONFIG_CMD_USB # define CONFIG_EHCI_MXS_PORT0 # define CONFIG_USB_MAX_CONTROLLER_COUNT 1 # define CONFIG_CI_UDC /* ChipIdea CI13xxx UDC */ # define CONFIG_USB_REG_BASE 0x80080000 # define CONFIG_USBD_HS /* High speed support for usb device and usbtty. */ # define CONFIG_USB_GADGET_DUALSPEED # define CONFIG_USB_ETHER # define CONFIG_USB_ETH_CDC #endif > > Best regards, > Marek Vasut