networking through the USB gadget Ethernet

please i need your help i tried to do networking between the USB
device port of the board and a USB port of my workstation through the
USB gadget Ethernet driver using the free electron labs for
beagleboard
.i ve add the below configuration settings to my kernel but it doesn
t work , when i try that with another uImage downloaded it works :
        USB Gadget Support (CONFIG_USB_GADGET=y)
        Inventra HDRC USB Peripheral (TI, ADI, ...)
        (CONFIG_USB_GADGET_MUSB_HDRC=y)
        USB Peripheral (gadget stack)
        (CONFIG_USB_MUSB_PERIPHERAL=y)
        Ethernet Gadget (with CDC Ethernet support)
        (CONFIG_USB_ETH=y)
please could you help me what should i do

how do you edit uImage??? and my beagle board is not powered up…i am using an 5v voltage adapter

you can use the usb for the power and in the same time to emulate the
ethenet connection ,i have do that with a kernel downloaded but i
didny succed to configure my own kernel for that