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

Kever Yang
2017-09-07T03:48:28Z

Hi Michael,

There is no 'otg_mode' in U-Boot, the driver framework is different
with kernel.

If you want to use usb device, you can use cmd like this:

ums 0 mmc 0

If you want to use usb host, you can use:

usb start

this command will enumerate all the device connect to the host port.

But there no support for work as host or device which depends on what's
the usb id
pin in the cable.

Thanks,
- Kever
On 09/06/2017 05:56 PM, rivael_il wrote:
> Hello u-booters!
>
> I want to load u-boot-sunxi-with-spl.bin and make it operate the USB in otg mode.
> (Where the host can still be connected to the board).
>
> How can I achieve this?
>
> (I have attempted to use: "usb0:dr_mode=otg,phy_type=utmi\0" without success).
>
> Thank you,
>
> Michael
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot