Thanks st2000 for reply.
0.
The ar9331 datasheet writes its usb mode can be host or device mode.
1.
In BARRIER BREAKER (14.07),we can find the option :kernel->usb support->usb chipidea.
Maybe The module of usb chipidea is related to setting the ar9331 usb device mode.
What is usb chipidea? how to use the module? Hope information about usb chipidea.
2.In BARRIER BREAKER (14.07),the option of usb-gadget is hidden ,can't be selectable.
Searching internet, usb-gadget is driver for usb device mode.
but In BARRIER BREAKER,we can't active it.
3.I have changed th usb.mk file, the option of usb-gadget appeared and executed 'make' successfully.but insmod g_ether ,it show ‘fail to insert g_ether.ko'.
but now I execute 'make',it shows errors about usb-gadget ,such as:miss depend udc-core.ko configfs.ko ...etc.So strange!