rockchip-linux / u-boot

U-Boot tree for pending commits
115 stars 79 forks source link

undefined reference to `dwc3_host_init' #29

Closed dlezcano closed 5 years ago

dlezcano commented 6 years ago

Hi,

I'm trying to compile u-boot for the rk3399 rock960 board with the USB in host mode so I can plug my usb-ethernet asix adapter and tftp my hacked kernels. However when I switch to this configuration, the compilation fails with:

drivers/usb/dwc3/built-in.o: In function dwc3_core_init_mode': u-boot-rockchip/drivers/usb/dwc3/core.c:571: undefined reference todwc3_host_init' drivers/usb/dwc3/built-in.o: In function dwc3_uboot_handle_interrupt': u-boot-rockchip/drivers/usb/dwc3/core.c:801: undefined reference todwc3_gadget_uboot_handle_interrupt' drivers/usb/gadget/built-in.o: In function usb_composite_register': u-boot-rockchip/drivers/usb/gadget/composite.c:1123: undefined reference tousb_gadget_register_driver' drivers/usb/gadget/built-in.o: In function usb_composite_unregister': u-boot-rockchip/drivers/usb/gadget/composite.c:1141: undefined reference tousb_gadget_unregister_driver'

dlezcano commented 5 years ago

One 1/2 month => no anwer => closing bug Thanks!