USB host port

Discussion in 'UDOO NEO' started by tcmichals, Mar 21, 2016.

  1. tcmichals

    tcmichals Member

    Joined:
    Feb 25, 2015
    Messages:
    54
    Likes Received:
    27
    The OTG usb port works but the host port is not working; (ubuntu works fine with both ports) I'm trying to configure u-boot udev and here is the output:

    [ 2.733462] ci_hdrc ci_hdrc.0: EHCI Host Controller
    [ 2.747173] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
    [ 2.785798] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
    [ 2.796990] tsl2563 1-0029: detect error 5
    [ 2.803324] hub 1-0:1.0: USB hub found
    [ 2.811593] tsl2563: probe of 1-0029 failed with error -5
    [ 2.819778] hub 1-0:1.0: 1 port detected
    [ 2.830466] si70xx: probe of 1-0040 failed with error -5
    [ 2.843851] stmp_reset_block(a0816030): module reset timeout
    [ 2.852423] lm75: probe of 1-0048 failed with error -5
    [ 2.867040] mpl3115: probe of 1-0060 failed with error -5
    [ 2.874830] ci_hdrc ci_hdrc.1: unable to init phy: -110
    [ 2.896308] ci_hdrc: probe of ci_hdrc.1 failed with error -110
    [ 2.961604] CSI: Registered sensor subdevice: fsl_vadc

    Notice ci_hdrc ci_hdrc.1: unable to init phy: -110 is not working for the second USB port i.e USB host port:
    Module Size Used by Tainted: G
    ipv6 265440 10 [permanent]
    wl18xx 77651 0
    wlcore 166577 1 wl18xx
    mac80211 372273 2 wl18xx,wlcore
    cfg80211 185096 3 wl18xx,wlcore,mac80211
    mxc_vadc 5946 1
    mx6s_capture 12535 0
    mpl3115 2618 0
    lm75 4066 0
    si70xx 2973 0
    tsl2563 5033 0
    hwmon 2426 2 lm75,si70xx
    industrialio_triggered_buffer 1050 1 mpl3115
    ci_hdrc_imx 6980 0
    ci_hdrc 28952 1 ci_hdrc_imx
    wlcore_sdio 6136 0
    udc_core 6480 1 ci_hdrc
    btwilink 3687 0
    usbmisc_imx 7440 1 ci_hdrc_imx
    ehci_hcd 40105 1 ci_hdrc
    evbug 1617 0
    usbcore 144527 2 ci_hdrc,ehci_hcd
    usb_common 2233 3 ci_hdrc,udc_core,usbcore
    bluetooth 287290 2 btwilink
    rfkill 13240 4 cfg80211,bluetooth
    st_drv 16781 1 btwilink

    Thoughts?
     
  2. Francesco

    Francesco Active Member

    Joined:
    Jun 23, 2015
    Messages:
    220
    Likes Received:
    110
  3. tcmichals

    tcmichals Member

    Joined:
    Feb 25, 2015
    Messages:
    54
    Likes Received:
    27
    OK, will make sure I'm pulling the right kernel using buildroot.
     
  4. tcmichals

    tcmichals Member

    Joined:
    Feb 25, 2015
    Messages:
    54
    Likes Received:
    27
    Still getting having issues:
    [ 10.032097] ci_hdrc ci_hdrc.0: EHCI Host Controller
    [ 10.039534] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
    ....
    [ 10.183120] ci_hdrc ci_hdrc.1: unable to init phy: -110
    [ 10.225980] wait vadc auto detect video mode....
    [ 10.230666] ci_hdrc: probe of ci_hdrc.1 failed with error -110
     
  5. Francesco

    Francesco Active Member

    Joined:
    Jun 23, 2015
    Messages:
    220
    Likes Received:
    110
    Are you using UDOO kernel and bootloader?
     
  6. tcmichals

    tcmichals Member

    Joined:
    Feb 25, 2015
    Messages:
    54
    Likes Received:
    27
    Yes using both.
     
  7. Andrea Rovai

    Andrea Rovai Well-Known Member

    Joined:
    Oct 27, 2014
    Messages:
    1,703
    Likes Received:
    240
    Dear @tcmichals, do you still encounter this problem? We have passed to RC2 very recently
     
  8. tcmichals

    tcmichals Member

    Joined:
    Feb 25, 2015
    Messages:
    54
    Likes Received:
    27
    No, this is not an issue due to requirements to use the newer 4.x kernel.; I'm off trying to get the ga working on the Neo.
     
  9. Francesco

    Francesco Active Member

    Joined:
    Jun 23, 2015
    Messages:
    220
    Likes Received:
    110
    https://github.com/fmntf/linux_kernel/tree/4.1.15_1.x-udoo
    This kernel is booting in Quad using the imx_v7_defconfig
    It could work on Neo (but it is untested). If you want to try it, let me know!
     
  10. tcmichals

    tcmichals Member

    Joined:
    Feb 25, 2015
    Messages:
    54
    Likes Received:
    27
    The 4.1.15 is "booting", but there are several errors and I think they are DT related. If possible please post the kernel boot up output. There are several new messages that I thought were errors; but are not. The main issue is the anatop power regulators. plus the SDCARD is not responding.
     
  11. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    @tcmichals I had issues with USB on my Yocto build when no m4 firmware was loaded maybe this is the case for your issue as-well
     
  12. Francesco

    Francesco Active Member

    Joined:
    Jun 23, 2015
    Messages:
    220
    Likes Received:
    110
    This is dmesg after boot on Quad. BTW I don't think could help you to boot the Neo successfully (DT is totally different).
    In any case, it is better to move the discussion about 4.1 on a separate thread.
     

    Attached Files:

  13. tcmichals

    tcmichals Member

    Joined:
    Feb 25, 2015
    Messages:
    54
    Likes Received:
    27
    Linux 4.1.15 is now mounting FS and host USB port is working.; Working issue with gpio pins with SD
    Linux version 4.1.15 (tcmichals@tcmichals-Studio-540) (gcc version 5.2.1 20151005 (Linaro GCC 5.2-2015.11-2) ) #1 SMP PREEMPT Sun Apr 10 12:036
    CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
    CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    Machine model: UDOO Neo Full
     
    delba, Francesco and graugans like this.

Share This Page