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

'Maxime Ripard' maxime.ripard at free-electrons.com
Fri Sep 8 14:50:20 UTC 2017


On Fri, Sep 08, 2017 at 04:45:31PM +0300, rivael_il wrote:
> It got compiled. But the u-boot-sunxi-with-spl.bin still generate HOST
> controller rather than Peripheral USB.
> I can't see it in lsusb.
> 
> Here is the u-boot console:
> 
> => usb stop
> stopping USB..
> => usb tree
> USB is stopped. Please issue 'usb start' first.
> => usb start
> starting USB...
> USB0:   USB EHCI 1.00
> USB1:   USB OHCI 1.0
> USB2:   USB EHCI 1.00
> USB3:   USB OHCI 1.0
> scanning bus 0 for devices... 1 USB Device(s) found
> scanning bus 2 for devices... 1 USB Device(s) found
>        scanning usb for storage devices... 0 Storage Device(s) found
> => usb tree
> USB device tree:
>   1  Hub (480 Mb/s, 0mA)
>      u-boot EHCI Host Controller
> 
>   1  Hub (480 Mb/s, 0mA)
>      u-boot EHCI Host Controller

Those are all host only commands. What are you trying to do, and which
gadgets are you trying to use?

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/d2992121/attachment.sig>


More information about the U-Boot mailing list