[U-Boot] getting usb working

Frank Wunderlich frank-w at public-files.de
Wed Dec 19 13:38:54 UTC 2018


Hi,

i'm trying to get USB working in uboot.

first thing i've noticed: usb3 and usb2 cannot be used together (multiple definition of "submit_control_msg" and other functions).

next i try to enable usb-command (which seems to be needed), then i get this:

common/usb_storage.c: In function ‘usb_stor_probe_device’:
common/usb_storage.c:206:32: error: ‘struct usb_device’ has no member named ‘dev’; did you mean ‘devnum’?
  data = dev_get_platdata(udev->dev);
                                ^~~
                                devnum
common/usb_storage.c:216:34: error: ‘struct usb_device’ has no member named ‘dev’; did you mean ‘devnum’?
   ret = blk_create_devicef(udev->dev, "usb_storage_blk", str,
                                  ^~~
                                  devnum

is there a vendor-specific driver (bpi-r2) missing or do i make anything wrong? how about sata...is there anything needed from vendor?

regards Frank


More information about the U-Boot mailing list