[U-Boot] Starting u-boot in USB otg mode

'Maxime Ripard' maxime.ripard at free-electrons.com
Fri Sep 8 13:27:19 UTC 2017


On Fri, Sep 08, 2017 at 03:38:42PM +0300, rivael_il wrote:
> 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

You should keep USB_HOST.

Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170908/6b2888b1/attachment.sig>


More information about the U-Boot mailing list