Hi:
i am using DM8148EVM REV D board, and try to config 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
i built-in a usb gadget driver "NCM" into kernel, and configured the MUSB0 to device, and MUSB1 to host. my .config file is here: 8322.config.zip
after boot, i insert usb cable to connect PC with DM8148 USB0 or USB1 connector, but there is no USB enumeration action at all.
my boot log is here: 4606.bootlog.zip
and if i insert usb mice into USB0, DM8148 can use it, but USB1 cannot use mice. it is strange because i configure the USB0 as device, and USB1 as host, so i think only USB1 can use mice.
i also did a lot of test, summary is as below:
1. compile kernel ether gadget driver as built-in, after boot, insert usb cable, no usb enumeration.
2. compile ether gadget as module, and inmod this module after boot, no usb enumeration.
3. configure USB0 as host, USB1 as device, after boot, USB0 can use mice, but neither of them can trigger usb enumeration.
4. configure USB0 as device, USB1 as host, after boot, USB0 can use mice, but neither of them can triiger usb enumeration, this test result is the same as the step 3.
please advise, thanks very much.