[PATCH] kernel .config options to enable USB on a Wandboard (and other i.MX systems)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Peter and others,

The following .config options make it possible to use USB on a Wandboard 
Duallite and likely other i.MX based boards. USB works for me after 
loading the modules manually:

[root@wandboard ~]# modprobe ci13xxx_imx
[root@wandboard ~]# modprobe usbmisc_imx
[root@wandboard ~]# dmesg
...
[  191.791974] imx_usb 2184200.usb: pinctrl get/select failed, err=-19
[  191.796368] ci_hdrc ci_hdrc.0: doesn't support gadget
[  191.796396] ci_hdrc ci_hdrc.0: EHCI Host Controller
[  191.796733] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
[  191.811471] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[  191.811583] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[  191.811599] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  191.811612] usb usb1: Product: EHCI Host Controller
[  191.811624] usb usb1: Manufacturer: Linux 3.10.0-1.0.imx.fc20.armv7hl ehci_hcd
[  191.811633] usb usb1: SerialNumber: ci_hdrc.0
[  191.812443] hub 1-0:1.0: USB hub found
[  191.812476] hub 1-0:1.0: 1 port detected
...

A test-build that includes these options and that I used for 
verification testing is temporarily available from koji:
- http://arm.koji.fedoraproject.org/koji/taskinfo?taskID=1975489

I have made modifications to arm-boot-config that can boot this kernel 
on an unmodified from upstream u-boot. A patch for a-b-c should follow 
in a few days. Grubby needs to be able to set the LOADADDR correctly, 
and I still have to look into that (/etc/sysconfig/uboot can be used 
until grubby knows about Wandboards).

Thanks,
Niels

---
 config-armv7 | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/config-armv7 b/config-armv7
index b598a02..3a8a2e5 100644
--- a/config-armv7
+++ b/config-armv7
@@ -397,6 +397,10 @@ CONFIG_IMX_HAVE_PLATFORM_MXC_NAND=y
 CONFIG_IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX=y
 CONFIG_IMX_HAVE_PLATFORM_SPI_IMX=y
 CONFIG_PATA_IMX=m
+CONFIG_USB_CHIPIDEA=m
+CONFIG_USB_CHIPIDEA_UDC=y
+CONFIG_USB_CHIPIDEA_HOST=y
+# CONFIG_USB_CHIPIDEA_DEBUG is not set
 CONFIG_NET_VENDOR_FREESCALE=y
 CONFIG_FEC=m
 CONFIG_KEYBOARD_IMX=m
-- 
1.8.2.1

_______________________________________________
arm mailing list
arm@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/arm





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM (Vger)]     [Linux ARM]     [ARM Kernel]     [Fedora User Discussion]     [Older Fedora Users Discussion]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

Powered by Linux