From: Lukasz Majewski <lukma@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Dumb question: is UMS/MASS_STORAGE_GADGET in SPL possible?
Date: Fri, 3 Feb 2017 14:07:44 +0100 [thread overview]
Message-ID: <20170203140744.2943bba4@jawa> (raw)
In-Reply-To: <CA+T6QP=+sm0hFgvhQB_Gc3qbptMdu+qDz9pAvX2fdETTgOoyMQ@mail.gmail.com>
Hi Jason
> I'm trying to make a small image enabling u-boot UMS mode on
> BeagleBone Black against the on-board eMMC. Is it possible to enable
> UMS simply within SPL?
As fair as I remember UMS is not supported in SPL.
However, recently there was an attempt to use the DFU gadget in SPL
(CONFIG_SPL_DFU_RAM):
http://u-boot.10912.n7.nabble.com/RFC-PATCH-v3-0-5-SPL-DFU-Support-in-SPL-td262621.html#a262626
It is already supported in ML. You can look into this implementation
and add similar code to support UMS.
>
> It seems like some others have done it in the past (
> http://lists.denx.de/pipermail/u-boot/2015-March/207600.html), but I
> don't see an obvious way to enable it.
In the link the UMS support is disabled to avoid too big size grown.
>
> Performance might not be great (
> https://boundarydevices.com/u-boot-usb-mass-storage-gadget/), but
> minimizing the user steps could make it worth doing it in u-boot
> (preferably SPL) than to load a kernel and ramdisk (
> https://github.com/ungureanuvladvictor/BBBlfs).
Maybe you can reuse as much as possible from the SPL-DFU support?
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
prev parent reply other threads:[~2017-02-03 13:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-03 8:17 [U-Boot] Dumb question: is UMS/MASS_STORAGE_GADGET in SPL possible? Jason Kridner
2017-02-03 13:07 ` Lukasz Majewski [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170203140744.2943bba4@jawa \
--to=lukma@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox