Forums › Reference, Evaluation, and Development Boards › OSD32MP1-RED › OSD32MP1-RED as mass storage device
Currently, the USB OTG port on OSD32MP1-RED is configured as ethernet network adapter. I would like to configure it so when connected to host PC, the OSD32MP1-RED would appear as a mass storage device. Are there instructions on how to do this? Thank you.
Yanjun,
You can do this, but you will need to add the mass storage gadget drivers to the kernel first:
CONFIG_USB_GADGETFS=m
CONFIG_USB_G_ACM_MS=m
CONFIG_USB_MASS_STORAGE=m
Once you add these drivers, you will also need to disable the current USB RNDIS network on the board. Then, you should be able to do:
modprobe g_mass_storage file=/path_to_storage_file
Best,
Neeraj
Octavo Systems LLC all rights reserved
OCTAVO is registered in the U.S. Patent and Trademark Office. OSD, C-SiP, and the Octavo Logo are trademarks of Octavo Systems LLC.
"*" indicates required fields
"*" indicates required fields
"*" indicates required fields
"*" indicates required fields