if we do a menuconfig about usb as bellow and make the otg ID pin to ground,we can find a mass storage device in the windows device manager,but if the otg ID pin floating,the kernel running stop on the above message all the same:
CONFIG_USB_EHCI_ARC_OTG—Enable support for the USB OTG port in HS/FS Host
mode.built as Y
• CONFIG_USB_GADGET—USB Gadget Support: built as y
• CONFIG_USB_OTG —OTG Support: built as Y
• CONFIG_MXC_OTG—USB OTG pin detect support for UTMI PHY: built as Y
• build USB GADGET driver as M, for example:
CONFIG_USB_ETH — usb ethernet gadget , build as M
CONFIG_USB_FILE_STORAGE—usb mass storage gadget, build as M
then , if you want to use EVK as mass storage device, insmod g_file_storage.ko
file=/dev/mmcblk0p2
why the otg ID pin can produce the effect?