sorry for not getting back about the USB drive issue before: I actually didn't have any around to test with. Editing
/etc/fstab seems to be a good step in that direction, but maybe if you have an error in there, it will prevent something else from working fine?
My guess is that some errors there make this line in
/opt/Bela/bela_gadget.sh to fail:
# make boot partition available as mass storage
echo `cat /opt/Bela/rootfs_dev`p1 > functions/mass_storage.0/lun.0/file
this in turns prevents the rest of the file from being executed, so that the other functions available over USB are not enabled.
So, now that you can log into the board on the SD card, we want to look at your
/etc/fstab on the emmc and see what's wrong with it.
- boot from the SD card
- mount the ext4 partition of the emmc on /mnt/
mount /dev/mmcblk1p2 /mnt/
- get the current content of that
fstab from that partition:
- post the result back here so we can see what went wrong
- while you are at it, try removing the line
set -e from
/mnt/opt/Bela/bela_gadget.sh (that is on the eMMC): this should prevent an error occurred during execution (as it's happening now) from stopping all the USB gadget from being loaded. I applied the same change to the main repo now, here. This should allow you to log back into the eMMC (if you boot without an SD card).