How can BeagleBone Black be used as Mass Storage Device?

Is it possible to use the BB as Mass Storage Device?

I want it to be connected to an audio player that can read files from USB connectivity (such as USB flash drive) and act as data storage device containing one specific folder (and its sub-folders) from the file system (if possible, on a flash drive connected to the board.).

As the device specs says, it has connectivity of:

  • USB client for power & communications
  • USB host

Operating system will probably be Ubuntu but can be changed.

What drivers or configurations needs to be done in order to achieve this?

Use g_multi, you can either pass "partition" or "file.img"..

(you can also pass the same partition your running from, but it's not recommend)


Buy our book :wink:

” Create your own video theatre and music jukebox using Beaglebone. Make your multimedia library available to all the devices on your network, without spending an excessive amount of money on computer components and software.

You’ll start off by installing the Debian operating system image onto your BeagleBone, and setting up the software required to serve up both audio and video files to any device on the network. Next, you’ll move on to network monitoring software, and install traceroute, MTR (My traceroute), Nmap, and iptraf-ng, to monitor the traffic on your local network. Once the monitoring software is set up, you’ll create a RAID array to store all your media files. You’ll then go one step further, and set up live and recorded video streaming using a web-based application. Finally, you’ll learn to add Wi-Fi connectivity to your multimedia server by setting up WAP on your BeagleBone system.