[LEDE-DEV] enable Banana Pi OTG

Gerhard Bertelsmann info at gerhard-bertelsmann.de
Tue Jun 13 02:36:03 PDT 2017


Hi,

Am 2017-06-10 15:20, schrieb Daniel Golle:
> On Sat, Jun 10, 2017 at 02:53:53PM +0200, Gerhard Bertelsmann wrote:
>> Hi,
>> 
>> the Banana Pi has a USB OTG capable port. This seems to be not enabled
>> or choosable with 'make menuconfig'. I had a quick look in the
>> makefiles but didn't find the central place where USB_GADGET_SUPPORT
>> is enabled.
>> 
>> Could somebody put me in the right direction to enable USB OTG
>> for SUNXI unde Lede ?
> 
> I'm not sure whether the OTG drivers are supported in the kernel, but
> you can give it a shot by adding the 'usbgadget' feature to the
> FEATURES variable in target/linux/sunxi/Makefile
> you may need to package the kernel module in charge of gadget mode on
> that hardware...

thanks, that was helpful ! You were completely right - I have to enable
all other thinks in 'make kernel_menuconfig'. I'm going to make a
sepearte Makefile for the kernel module.

BTW: OTG is working on BananaPi ;-)

Regards

Gerd

PS: Some useful hints here: http://linux-sunxi.org/USB_Gadget/Ethernet



More information about the Lede-dev mailing list