* [U-Boot] Dumb question: is UMS/MASS_STORAGE_GADGET in SPL possible? @ 2017-02-03 8:17 Jason Kridner 2017-02-03 13:07 ` Lukasz Majewski 0 siblings, 1 reply; 2+ messages in thread From: Jason Kridner @ 2017-02-03 8:17 UTC (permalink / raw) To: u-boot 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? 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. 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). ^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot] Dumb question: is UMS/MASS_STORAGE_GADGET in SPL possible? 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 0 siblings, 0 replies; 2+ messages in thread From: Lukasz Majewski @ 2017-02-03 13:07 UTC (permalink / raw) To: u-boot 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 ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-02-03 13:07 UTC | newest] Thread overview: 2+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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 is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox