Previously I've used ltib and kernel 2.6.35 with g_ether running fine.
After I downloaded kernel 3.7.0
make mxs_defconfig
make menuconfig (enable usb ethernet gadget)
make -j4 uImage modules
make INSTALL_MOD_PATH=$ROOTFSDIR modules_install (using rootfs generated by ltib)
When running modprobe g_ether on target with my new kernel i get the following message:
modprobe: failed to load module g_ether (/lib/modules/3.7.0-04111-g9977d9b-dirty/kernel/drivers/usb/gadget/g_ether.ko): No such device
I get the same result if i insmod /lib/modules/.../g_ether.ko
Am I missing a step?
Cheers,
Lars
Solved! Go to Solution.
Lars,
Only USB host is currently supported in the mainline kernel. USB OTG is work in progress though and patches have been already sent to the linux-usb mailing list.
Regards,
Fabio Estevam
I sent a patch to allow USB peripheral to work on mx28evk:
This will reach mainline kernel in 3.12-rc1, but you can use it currently in linux-next tree.
Regards,
Fabio Estevam
Initial USB OTG support for i.MX28 should be in mainline Kernel 3.11-rc1 ( https://community.nxp.com/" name="bugnotes" title="https://community.freescale.com/driver: ChipIdea Highspeed Dual Role Controller ).
Kernel 3.9.7 is used in my imx28 based board. Is it possible to move some code from 3.11 to 3.9.7, as quite a lot modifications made in this version.
BR
Cheng Shi
Hi Cheng,
i'm using Kernel 3.10 and ported this feature back. There is a quick and dirty way: copy all files from drivers/usb/chipidea + include/linux/usb/chipidea.h from Kernel 3.11.
Hope this helps.
Best regards
Stefan Wahren
Edit: Sorry, i forgot to mention that the Patch "Add tested id switch and vbus connect detect support for Chipidea" in Version 14 or higher also needs to applied.
Lars,
Only USB host is currently supported in the mainline kernel. USB OTG is work in progress though and patches have been already sent to the linux-usb mailing list.
Regards,
Fabio Estevam