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

Niels de Vos devos at fedoraproject.org
Thu Jul 11 15:05:55 UTC 2013


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 at wandboard ~]# modprobe ci13xxx_imx
[root at wandboard ~]# modprobe usbmisc_imx
[root at 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



More information about the arm mailing list