Hi,
I need to enable USB mass storage on the dragon board. What do I need to change on the kernel/device tree to have this working? Thanks for your response.
Shah
Hi,
I need to enable USB mass storage on the dragon board. What do I need to change on the kernel/device tree to have this working? Thanks for your response.
Shah
Found the solution. No kerneal modification needed as USB mass storage is turned on by default and part of the composite gadget driver. From an adb shell (over wifi) I did the following:
echo 0 > /sys/devices/virtual/android_usb/android0/enable
echo “mass_storage,adb” > /sys/class/android_usb/android0/functions
echo “/dev/block/vold/179:98” > /sys/devices/virtual/android_usb/android0/f_mass_storage/lun/file
echo 1 > /sys/devices/virtual/android_usb/android0/enable