Using USB Mass Storage on AM335X

Tom Rini trini at konsulko.com
Thu Oct 29 23:46:06 CET 2020


On Thu, Oct 29, 2020 at 07:19:47PM -0300, Otavio Salvador wrote:

> Hi,
> 
> I am working on porting mainline U-Boot to a custom AM335X board that
> only has eMMC as the boot medium.
> 
> I can load U-Boot via serial boot and flash MLO and u-boot.img into
> the eMMC using DFU. Then the board boots successfully via eMMC.
> 
> Now I want to run the "ums" command to be able to mount the eMMC on
> the host. The problem I am getting is that when I select
> CONFIG_CMD_USB_MASS_STORAGE=y the board no longer boots.
> 
> Does anyone know why selecting CONFIG_CMD_USB_MASS_STORAGE=y causes
> the board to not boot anymore?

Have you otherwise confirmed that you have gadget support configured /
enabled correctly on the board?  The first thing that comes to mind with
that type of problem is clock/pinmux being wrong.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20201029/6a2b2dce/attachment.sig>


More information about the U-Boot mailing list