[quote user="Steve Kipisz"]
I'm guessing this is because CONFIG_SPL_USBETH_SUPPORT is not set. Look in boards.cfg and you'll see a build target, am335x_evm_usbspl, that includes this define. So try "make am335x_evm_usbspl" and test it out. I'm fairly sure this is the issue why you get the ### ERROR ###
[/quote]
Correct, it appears you can not have CONFIG_SPL_USBETH_SUPPORT with CONFIG_MUSB_HOST as it #undef the MUSB it there is USBETH...
/* * USB configuration. We enable MUSB support, both for host and for * gadget. We set USB0 as peripheral and USB1 as host, based on the * board schematic and physical port wired to each. Then for host we * add mass storage support and for gadget we add both RNDIS ethernet * and DFU. */ #define CONFIG_USB_MUSB_DSPS #define CONFIG_ARCH_MISC_INIT #define CONFIG_MUSB_GADGET #define CONFIG_MUSB_PIO_ONLY #define CONFIG_MUSB_DISABLE_BULK_COMBINE_SPLIT #define CONFIG_USB_GADGET #define CONFIG_USBDOWNLOAD_GADGET #define CONFIG_USB_GADGET_DUALSPEED #define CONFIG_USB_GADGET_VBUS_DRAW 2 #define CONFIG_MUSB_HOST #define CONFIG_AM335X_USB0 #define CONFIG_AM335X_USB0_MODE MUSB_PERIPHERAL #define CONFIG_AM335X_USB1 #define CONFIG_AM335X_USB1_MODE MUSB_HOST #ifdef CONFIG_MUSB_HOST #define CONFIG_CMD_USB #define CONFIG_USB_STORAGE #endif #ifdef CONFIG_MUSB_GADGET #define CONFIG_USB_ETHER #define CONFIG_USB_ETH_RNDIS #define CONFIG_USBNET_HOST_ADDR "de:ad:be:af:00:00" /* USB TI's IDs */ #define CONFIG_G_DNL_VENDOR_NUM 0x0403 #define CONFIG_G_DNL_PRODUCT_NUM 0xBD00 #define CONFIG_G_DNL_MANUFACTURER "Texas Instruments" #endif /* CONFIG_MUSB_GADGET */ #if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_USBETH_SUPPORT) /* disable host part of MUSB in SPL */ #undef CONFIG_MUSB_HOST /* * Disable CPSW SPL support so we fit within the 101KiB limit. */ #undef CONFIG_SPL_ETH_SUPPORT #endif
I only want the USB1 HOST after uboot.img how would i go about enabling it?
In the meantime i will try getting the NFS to work so i can boot the kernel...
Thanks