I saw the h/w notes about USB OTG is not available on EVM, and I should set the mode by jumper.
USB device mode should be enable in Linux kernel too. By default in ti8148_evm_defconfig only USB host function is enabled.
I tried to enable gadget mode in menuconfig, but no sure which low-level USB device controller should I use. Selection of OMAP is causing the build error.
I looked into other TI's platforms' configuration files, and found that DaVinchi is using MUSB.
drivers/usb/gadget/omap_udc.c in EzSDK 5.02.02.60 is a 2004 version, and I have a filling that it's not in use nowdays, especially when OTG is being supported.
I could not find in provided documentation more info about current USB device controller.
Could anyone clarify how to enable?
TIA.