Gadget Mode Applications - Texas Instruments OMAP35 Series User Manual

Evm linux psp
Hide thumbs Also See for OMAP35 Series:
Table of Contents

Advertisement

10.3.11. Gadget Mode Applications

File Storage Gadget: This is the Mass storage gadget driver.
10.3.11.1. Configuration
10.3.11.2. Installation of File Storage Gadget Driver
Let us assume that we are interested in exposing /dev/mmcblk0 block device
to the file storage gadget driver. To that effect we need to issue the following
command to load the file storage gadget driver.
Version 02.01.01.08
Device Drivers --->
USB support --->
<*> Support for USB Gadgets
USB Peripheral Controller (Inventra HDRC Peripheral(TI, ...)) --->
<M> USB Gadget Drivers
<M> File-backed Storage Gadget
<*> Inventra Highspeed Dual Role Controller (TI, ...)
*** OMAP 343x high speed USB support ***
Driver Mode (USB Peripheral (gadget stack)) --->
[ ] Disable DMA (always use PIO)
[ ] Use System DMA for Rx endpoints
[*] Enable debugging messages
insmod <g_file_storage.ko> file=/dev/mmcblk0 stall=0
Platform Support Products
USB Driver
Gadget Mode Applications
193

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omap3515Omap3525Omap3530

Table of Contents