VAR-SOM-AM43 USB OTG as device

From Variscite Wiki
Revision as of 14:26, 24 December 2015 by Aviad (talk | contribs) (Created page with "{{PageHeader|VAR-SOM-AM43 - USB OTG as device}} {{DocImage|category1=VAR-SOM-AM43|category2=Yocto}} __toc__ Plug a USB cable to a Linux or a Windows host.<br> Follow [http:...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
VAR-SOM-AM43 - USB OTG as device

Plug a USB cable to a Linux or a Windows host.

Follow www.linux-usb.org/gadget/file_storage.html and build the backing_file.

On the Target:

$ modprobe g_mass_storage file=./backing_file

On the Host:
Wait for a mass-storage device to be detected.