Jump to content

BananaPro for USB Gadget


黄达

Recommended Posts

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?

    

Board: Not on the list
Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines