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
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot