[U-Boot] [PATCH] omap3: beagle: Enable DM_MMC and BLK for u-boot only, not SPL

Adam Ford aford173 at gmail.com
Mon Dec 17 20:44:18 UTC 2018


On Mon, Dec 17, 2018 at 1:34 PM Adam Ford <aford173 at gmail.com> wrote:
>
> On Mon, Dec 17, 2018 at 11:04 AM Guillaume Gardet
> <guillaume.gardet at free.fr> wrote:
> >
> >
> > Le 21/11/2018 à 18:06, Tom Rini a écrit :
> > > On Wed, Nov 21, 2018 at 04:13:20PM +0100, Guillaume GARDET wrote:
> > >
> > >> Also disable USB_STORAGE as it is not ready for the switch.
> > >> Tested on a Beagleboard xM rev. B.
> > >>
> > >> Signed-off-by: Guillaume GARDET <guillaume.gardet at free.fr>
> > >>
> > >> Cc: Tom Rini <trini at konsulko.com>
> > >> Cc: Simon Glass <sjg at chromium.org>
> > > In the case of USB_STORAGE we need to turn on DM_USB and then it works.
> >
> >
> > If DM_USB is enabled, no USB controller are detected, so we loose Ethernet. Did I miss an additional option to enable?
>
> AFASK, the MUSB driver didn't yet support gadget mode when used with
> DM_USB... at least until recently.  I noticed that part of the MUSB
> driver was updated, but the omap2430 glue hasn't been updated yet.  I
> am not 100% sure, but I think the Beagle xM is a DM3730 which uses the
> omap2430 glue.  I doubt TI will update the omap2430 glue, so I started
> some stuff. I've got on patch that seems to show the usb gadget
> controller in the DM tree, but my board hangs when I try to use a
> gadget.
>
> It's not ready for the mailing list yet, but I can push this stuff to
> my github later today if someone wants to look at it and/or
> test/improve it.

Guillaume,

I 'think' I got the peripheral mode working on my DM3730.  Like
before, it only supports host or gadget, and I set the patch up to
look at whether or not CONFIG_USB_MUSB_GADGET is set.

I was able to get Fastboot devices to appear and an sdp device to
appear.  I wasn't setup to actually run data through those interfaces,
but my host machine recognized them.

Feel free to try the patches and please give feedback.  They are
located: https://patchwork.ozlabs.org/project/uboot/list/?series=82418

adam

>
> adam
> >
> > Guillaume
> >
> >
> > _______________________________________________
> > U-Boot mailing list
> > U-Boot at lists.denx.de
> > https://lists.denx.de/listinfo/u-boot


More information about the U-Boot mailing list