I have been playing around with the kernel source trying to get g_ether to work. But, the kernel is missing the source for usb/gadget.
I managed to get a working kernel with network support(ifconfig lo up works) on my GP2X, and be able to modprobe the modules that GPH included. But, without the source for the gadget modules, I can't build g_ether.
I know that net2272.o(the modules that GPH included) is GPL, so we should be able to get the source.
I managed to get a working kernel with network support(ifconfig lo up works) on my GP2X, and be able to modprobe the modules that GPH included. But, without the source for the gadget modules, I can't build g_ether.
I know that net2272.o(the modules that GPH included) is GPL, so we should be able to get the source.
[root@Linux /]$ modinfo /lib/modules/2.4.25/kernel/drivers/usb/gadget/net2272.o
filename: /lib/modules/2.4.25/kernel/drivers/usb/gadget/net2272.o
kernel_version: 2.4.25
parm_use_dma: i
parm_desc_use_dma:enable net2272 dma
parm_dma_ep: i
parm_desc_dma_em:Select dma endpoint: 1=ep-a, 2=ep-b
parm_dma_mode: i
parm_desc_dma_modeMA Mode: 0=Slow DREQ, 1=Fast DREQ, 2=Burst
parm_fifo_mode: i
parm_desc_fifo_mode:NET2272 Buffer Mode
description: PLX NET2272 USB Peripheral Controller
author: PLX Technology, Inc.
license: GPL