Skip to content
View in the app

A better way to browse. Learn more.

Learn more

BananaPro for USB Gadget

Featured Replies

I am building a media player using BananaPro (also called BananaPi M1+?).

I am doing:

 

1. Burn a SDCard.

2. Boot and set user and password.

3. Enable USB Massage Storage

        insmode g_mass_storage.ko file=a_sdcard_partition_or_a_big_file removable=1

        echo "2" >/sys/bus/platform/devices/sunxi_usb_udc/otg_role

stuck here

4. Install a media player and get H264 HW decoder working

5. ...

 

And I found that /sys/bus/platform/devices/sunxi_usb_udc/otg_role is not exist.

Than edited usb@01c13000 part in dtb file to change status = "disabled" to  change status = "okay", and the board would not boot any more.

I do not have a HDMI display, So I did those through SSH.I do not know what is happening.

 

I think that "disabled" there must be for a reason. So what shall I do to make USB gadget to work? Should I try another kernel, or try to compile some module?

    

Guest
This topic is now closed to further replies.

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.