[PATCH 1/3] usb: ehci-mx6: move mode set/detect to probe

Fabio Estevam festevam at gmail.com
Fri Jul 2 02:41:40 CEST 2021


Hi Tim.

On Thu, Jun 3, 2021 at 12:50 PM Tim Harvey <tharvey at gateworks.com> wrote:

> Marek,
>
> Is there something you want me to change here?
>
> I am happy to test gadget support as my board has an OTG connector.
> Could you give me some pointers on how to configure a gadget in U-Boot
> in order to test?

One quick way to test gadget support is via the "ums 0 mmc 0" command.

This will mount the eMMC content via USB mass storage device on the PC.

You can check configs/warp7_defconfig for an example on how to select
the USB gadget options.

I applied this one and tested on a imx7s-warp board via "ums 0 mmc 0".

Tested-by: Fabio Estevam <festevam at gmail.com>

I am interested in getting USB gadget support in imx8mm too.

Thanks


More information about the U-Boot mailing list