My project is to find means to transfer bulk of data from host computer to ZOOM OMAPL138 EVM board via USB 2.0/OTG port. From reading of user guide, I understand that Mentor USB controller is used in the OMAPL138 Platform.
However, I have a few questions regarded to musb drivers for OMAPL-138 platform.I have searched TI wiki for the information about USB drivers and found there are a few things confused me.
Firstly, in the USB OTG page for Davinci(http://processors.wiki.ti.com/index.php/USB_OTG_on_DaVinci#Jumper_Settings), it mentioned that OTG has been implemented on the DM355 and DM6446 platform. In addition, it also mentioned that OMAPl137 has used the same Inventra (M)HDRC USB Peripheral in link(http://processors.wiki.ti.com/index.php/Inventra_HDRC_USB_Controller). However, when I compiled the kernel and selected both host and peripheral (On The Go) rule, I get the following errors:
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
GZIP kernel/config_data.gz
IKCFG kernel/config_data.h
CC kernel/configs.o
LD kernel/built-in.o
CC drivers/usb/musb/musb_core.o
drivers/usb/musb/musb_core.c: In function 'musb_init_controller':
drivers/usb/musb/musb_core.c:1948: error: label 'bad_config' used but not defined
make[2]: *** [drivers/usb/musb/musb_core.o] Error 1
make[1]: *** [drivers/usb/musb] Error 2
make: *** [drivers] Error 2
So my first question is is there a kernel patch which can fix error? or I have to modify the musb_core.c to make it work?
Secondly, in another wikipage for Davinci GIT Kernel(http://processors.wiki.ti.com/index.php/DaVinci_GIT_Linux_Kernel#USB_OTG), it mentioned that
USB OTG
Devices | DM644x | DM6467 | DM355 | DM365 | DA830/OMAP-L137 | DA850/OMAP-L138 | Mainline |
---|---|---|---|---|---|---|---|
Status |
Status / To Do
- MUSB support need to be added in OMAPL138 board file.
- CPPI4.1 DMA driver needs to be added for OMAPL1x.
- USB patches to support DM365 and DM646x needs to be added.
- CPPI3.0 DMA fine tuning for performance enhancements is pending