I am powering my BBB from an external power supply and am not using the mini USB cable.
I have an SD card installed and visible within the Linux file system.
I have added a uEnv.txt file to the SD card so that the BBB boots from eMMC and not the SD card.
When I connect to a PC using a regular USB cable (ie not the mini USB cable), the PC recognizes the device as a USB flash device.
The PC can only see /media/BEAGLEBONE.
I would like to be able to configure the BBB so that the PC sees /media/SDVolume instead.
Where SDVolume is the name of the volume created on the SD card.
Neither that nor VMWare will help you see the ext4 partition using the default Angstrom image on the BeagleBone Black because only the FAT partition is shared. Sharing drives as mass-storage class devices at the same time they are mounted on another system is a recipe for disaster. The idea promoted in this current solution is that the FAT partition on the eMMC is for the exclusive use of the PC host after boot. During boot, files like the uEnv.txt are read, providing a mechanism for external systems to update the boot parameters.
What you most likely really want to do is use sshfs. A protocol like sshfs uses the BeagleBone Black’s running file system code to access the disk, rather than exposing the raw file system to the host. It runs over a network connection, like the one provided by the RNDIS driver over USB and equally over Ethernet. It uses the sshd server running on the BeagleBone Black to establish a connection and to read/write files.
I need to read more carefully… for some reason, I had it in my head you wanted to access the eMMC. I read below you actually want to access the SD card. That is possible to share over USB as a mass-storage class device, if you have an updated kernel. More below…
Is there something wrong with making the partition a FAT32 partition ?
And I think Jason hit on it already, that there are Linux file system tools for Windows, but last I used them, it was for ext2/ext3 at most, and where buggy as hell. The tools while attempting to, or already having mounted a Linux file system would slow to a crawl for long periods of time.
Samba works great too, but would not exactly be a mass storage type drive.
I’m using a beaglebone Black, debian. 4.1.15-ti-rt-43.
I’m trying to achieve the same thing. – accessing my external storage SD card (in the BBB which is booting off emmc). I have log files which I save to the SD card and I want to access them by connecting my beaglebone to the computer (instead of taking out the SD card, putting it into a reader and then into my computer).
However, /usr/bin/g-ether-load.sh and /lib/systemd/system/storage-gadget-init.service don’t exist where it’s said to in this answer, so I don’t know how to proceed.
Hi Robert,
i’m working with uname=3.8.13-bone79 and my /opt/scripts/boot/am335x_evm.sh has only 285 lines.
Can i use your linked …avm335x_evm.sh (and insert after line#748 the 2 lines