
Thank you Maxime!
I have removed the USB_HOST configuration. Now I get:
LD u-boot drivers/usb/host/built-in.o: In function `ehci_usb_remove': /home/pi/otg/mikboot/u-boot/drivers/usb/host/ehci-sunxi.c:78: undefined reference to `ehci_deregister' drivers/usb/host/built-in.o: In function `ehci_usb_probe': /home/pi/otg/mikboot/u-boot/drivers/usb/host/ehci-sunxi.c:69: undefined reference to `ehci_register' drivers/usb/host/built-in.o:(.u_boot_list_2_driver_2_ehci_sunxi+0x3c): undefined reference to `ehci_usb_ops' arm-linux-gnueabihf-ld.bfd: BFD (GNU Binutils for Raspbian) 2.25 assertion fail ../../bfd/elf32-arm.c:7827 arm-linux-gnueabihf-ld.bfd: BFD (GNU Binutils for Raspbian) 2.25 assertion fail ../../bfd/elf32-arm.c:7827 arm-linux-gnueabihf-ld.bfd: error: required section '.rel.plt' not found in the linker script arm-linux-gnueabihf-ld.bfd: final link failed: Invalid operation Makefile:1255: recipe for target 'u-boot' failed make: *** [u-boot] Error 1
Here is my .config USB reference: --------------------------------- CONFIG_INITIAL_USB_SCAN_DELAY=0 CONFIG_USB0_VBUS_PIN="" CONFIG_USB0_VBUS_DET="" CONFIG_USB0_ID_DET="" CONFIG_USB1_VBUS_PIN="" CONFIG_USB2_VBUS_PIN="" CONFIG_USB3_VBUS_PIN="" # CONFIG_SPL_MUSB_NEW_SUPPORT is not set # CONFIG_SPL_USB_HOST_SUPPORT is not set # CONFIG_SPL_USB_GADGET_SUPPORT is not set CONFIG_CMD_USB=y # CONFIG_CMD_USB_MASS_STORAGE is not set CONFIG_USB=y CONFIG_DM_USB=y # USB Host Controller Drivers # CONFIG_USB_XHCI_HCD is not set # CONFIG_USB_EHCI_HCD is not set # CONFIG_USB_OHCI_HCD is not set # CONFIG_USB_UHCI_HCD is not set # CONFIG_USB_DWC2 is not set # CONFIG_USB_DWC3 is not set # MUSB Controller Driver # CONFIG_USB_MUSB_HOST is not set CONFIG_USB_MUSB_GADGET=y # CONFIG_USB_MUSB_TI is not set CONFIG_USB_MUSB_SUNXI=y # USB peripherals CONFIG_USB_STORAGE=y CONFIG_USB_KEYBOARD=y CONFIG_USB_GADGET=y # CONFIG_USB_GADGET_ATMEL_USBA is not set # CONFIG_USB_GADGET_BCM_UDC_OTG_PHY is not set # CONFIG_USB_GADGET_DWC2_OTG is not set CONFIG_USB_GADGET_VBUS_DRAW=2 CONFIG_USB_GADGET_DUALSPEED=y # CONFIG_USB_GADGET_DOWNLOAD is not set # USB to Ethernet Controller Drivers # CONFIG_USB_ETHER_LAN75XX is not set # CONFIG_USB_ETHER_LAN78XX is not set
Can you tell me how to fix this?
Michael