From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 6FB76E009C5; Thu, 21 May 2015 09:26:28 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE, T_FROM_12LTRDOM autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message * 0.0 T_FROM_12LTRDOM From a 12-letter domain Received: from sip2-98.nexcess.net (iwavesystems.com [207.32.180.10]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 75D0BE009B6 for ; Thu, 21 May 2015 09:26:25 -0700 (PDT) Received: (qmail 13239 invoked by uid 108); 21 May 2015 12:26:24 -0400 Received: from unknown (HELO ?192.168.2.104?) (115.119.206.104) by sip2-98.nexcess.net with SMTP; 21 May 2015 12:26:24 -0400 Message-ID: <555E071F.4080005@iwavesystems.com> Date: Thu, 21 May 2015 21:56:07 +0530 From: ansaris User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: "meta-freescale@yoctoproject.org" Subject: i.MX6 - PCIe not detecting some devices in Linux 3.14.28 X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 16:26:28 -0000 Content-Type: multipart/alternative; boundary="------------080306090307000200070608" --------------080306090307000200070608 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi, We are using imx6Q custom platform based on sabresd platform. For our development we are using Linux 3.14.28_1.0.0-GA BSP but initially we used Linux 3.10.53_1.0.0-GA BSP. We have seen that the pcie driver file is updated in Linux 3.14.28. The problem we are facing is, we have a PCIe device which is SSD SATA. With Linux 3.14.28_1.0.0-GA BSP, the PCIe-SATA is not getting detected and it is showing below error. imx6q-pcie 1ffc000.pcie: phy link never came up imx6q-pcie 1ffc000.pcie: Failed to bring link up! imx6q-pcie 1ffc000.pcie: failed to initialize host imx6q-pcie: probe of 1ffc000.pcie failed with error -22 With Linux 3.10.53_1.0.0-GA BSP, the same PCIe-SATA is getting detected and mounted as block device. Here we have not changed any hardware. We just replaced the booting SD card which contains Linux 3.10.53_1.0.0-GA BSP binaries. In addition, , we have checked with several PCIe devices (network PCIe devices) with Linux 3.14.28_1.0.0-GA BSP. Only some of the PCIe devices are getting detected. Please note that, all the devices are getting detected in the Linux 3.10.53_1.0.0-GA BSP. Please help us to resolve this issue. Thank You, Regards, Ansari --------------080306090307000200070608 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit Hi,
We are using imx6Q custom platform based on sabresd platform. For our development we are using Linux 3.14.28_1.0.0-GA BSP but initially we used Linux 3.10.53_1.0.0-GA BSP.
We have seen that the pcie driver file is updated in Linux 3.14.28.

The problem we are facing is, we have a PCIe device which is SSD SATA.
With Linux 3.14.28_1.0.0-GA BSP, the PCIe-SATA is not getting detected and it is showing below error.
    imx6q-pcie 1ffc000.pcie: phy link never came up
    imx6q-pcie 1ffc000.pcie: Failed to bring link up!
    imx6q-pcie 1ffc000.pcie: failed to initialize host
    imx6q-pcie: probe of 1ffc000.pcie failed with error -22

With Linux 3.10.53_1.0.0-GA BSP, the same PCIe-SATA is getting detected and mounted as block device.

Here we have not changed any hardware. We just replaced the booting SD card which contains Linux 3.10.53_1.0.0-GA BSP binaries.

In addition, , we have checked with several PCIe devices (network PCIe devices) with Linux 3.14.28_1.0.0-GA BSP. Only some of the PCIe devices are getting detected.
Please note that, all the devices are getting detected in the Linux 3.10.53_1.0.0-GA BSP.

Please help us to resolve this issue.


Thank You,

Regards,
Ansari
--------------080306090307000200070608--