public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: rivael_il <rivael_il@yahoo.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Starting u-boot in USB otg mode
Date: Fri, 8 Sep 2017 15:38:42 +0300	[thread overview]
Message-ID: <00ff01d3289f$6ca8f6c0$45fae440$@com> (raw)
In-Reply-To: <20170907111557.6dbjojrmz2adfbta@flea.lan>

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

  reply	other threads:[~2017-09-08 12:38 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.21434.1504602153.174.u-boot@lists.denx.de>
2017-09-06  9:56 ` [U-Boot] Starting u-boot in USB otg mode rivael_il
2017-09-07  3:48   ` Kever Yang
2017-09-07  9:05     ` rivael_il
2017-09-07  9:43       ` Maxime Ripard
2017-09-07 10:23         ` rivael_il
2017-09-07 11:15           ` 'Maxime Ripard'
2017-09-08 12:38             ` rivael_il [this message]
2017-09-08 13:27               ` 'Maxime Ripard'
2017-09-08 13:45                 ` rivael_il
2017-09-08 14:50                   ` 'Maxime Ripard'
2020-02-27  9:06             ` mRbinG
2020-02-27 10:59         ` mRbinG

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='00ff01d3289f$6ca8f6c0$45fae440$@com' \
    --to=rivael_il@yahoo.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox