Hi all,
I'm working on 3.6.x support for the board. Currently I'm based off 3.6.4, with which I have a couple issues around MMC and USB, I'm using the Koliqi patchset on github to add USB support into the DTS tree. My issues are:
- For USB, the usb0_vbus regulator is found, but mxs_phy doesn't come up:
[ 0.320000] usb0_vbus: 5000 mV
[...]
[ 169.950000] mxs_phy 8007c000.usbphy: can't get the clock, err=-2
[ 169.960000] mxs_phy: probe of 8007c000.usbphy failed with error -2
Also, I've seen Christian Jann (jann.cc) using the chipidea driver for USB. Shouldn't the chipidea driver be patched to be compatible with the DTS tree on fsl:imx23-usb ?
- On the MMC side, after the mxs-mmc init a random delay is followed before finding the card, this varies from 5 sec to 180 sec. rootwait is set on the kernel cmdline so the system can be booted up, but this delay is a bit strange.
[ 0.530000] Waiting for root device /dev/mmcblk0p2...
[ 161.590000] mmc0: host does not support reading read-only switch. assuming w.
[ 161.600000] mmc0: new SD card at address c975
[ 161.610000] mmcblk0: mmc0:c975 SU02G 1.84 GiB
[ 161.620000] mmcblk0: p1 p2 p3
[ 0.530000] Waiting for root device /dev/mmcblk0p2...
[ 183.590000] mmc0: host does not support reading read-only switch. assuming w.
[ 183.600000] mmc0: new SD card at address c975
[ 183.610000] mmcblk0: mmc0:c975 SU02G 1.84 GiB
[ 183.620000] mmcblk0: p1 p2 p3
[ 0.520000] Waiting for root device /dev/mmcblk0p2...
[ 104.590000] mmc0: host does not support reading read-only switch. assuming w.
[ 104.600000] mmc0: new SD card at address c975
[ 104.610000] mmcblk0: mmc0:c975 SU02G 1.84 GiB
[ 104.620000] mmcblk0: p1 p2 p3
My DTS trees are uploaded here:
http://trabant.uid0.hu/openwrt/20121104/imx23.dtsi (http://trabant.uid0.hu/openwrt/20121104/imx23.dtsi)
http://trabant.uid0.hu/openwrt/20121104/imx23-olinuxino.dts (http://trabant.uid0.hu/openwrt/20121104/imx23-olinuxino.dts)
Thanks,
-w-
Quote from: wigyori on November 04, 2012, 04:09:20 PM
Hi all,
I'm working on 3.6.x support for the board. Currently I'm based off 3.6.4, with which I have a couple issues around MMC and USB, I'm using the Koliqi patchset on github to add USB support into the DTS tree.
USB patches are already included on new 3.7-rc2 kernel. Follow procedure from https://github.com/koliqi/imx23-olinuxino but do not apply patches on kernel and everything will work as needed.
Regards
Fadil Berisha
I can vouch for the 3.7-rc3 working. Both MMC and USB. But I am still having GPIO problems. Here is my current config, http://batbuilds.com/Config-linux-3.7-rc3.txt.
I've working with 3.7-rc3 and it works great for USB and MMC, but been struggling to get i2c working, seems like the DMA ISR is not working correctly.. (using buildroot)