Hi All:
i am using DM8148EVM REV D board, and try to configure usb port to be one host and one device followed the link: http://processors.wiki.ti.com/index.php/Usbgeneralpage#One_port_as_host_and_other_port_as_Gadget_.28for_DM81XX.29
then i back port a usb gadget dirver "NCM" from OMAP to EZSDK, the patch is here: http://e2e.ti.com/cfs-file.ashx/__key/communityserver-discussions-components-files/717/3704.0002_2D00_ncm_2D00_compile_2D00_ok.7z
i built-in a usb gadget driver "NCM" into kernel, and after boot, usb0 port will load NCM gadget driver automatically. then i connect DM8148 with PC(fedora) via USB cable, PC can recoginize NCM device, then i did below steps:
1. send command "ifconfig usb0 192.168.1.114 up" to DM8148.
2. send command "sudo ifconfig usb0 192.168.1.116 up" to PC.
3. type "ping 192.168.1.114" on PC, it woks, but the response
is there anybody can review this patch?
i think the most important thing is to verify whether the configuration in ti8148_evm_defconfig is correct for usb gadget mode.
Best Regards