From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id A0C42E009C2; Thu, 21 May 2015 10:08:32 -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=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [193.201.172.118 listed in list.dnswl.org] * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (picmaster[at]mail.bg) * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from mx2.mail.bg (mx2.mail.bg [193.201.172.118]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id D3F78E00902 for ; Thu, 21 May 2015 10:08:25 -0700 (PDT) Received: from [192.168.0.62] (unknown [93.152.143.60]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx2.mail.bg (Postfix) with ESMTPSA id A197F6000FD5; Thu, 21 May 2015 20:08:24 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mail.bg; s=default; t=1432228104; bh=CbXO+ZWZJZh2l1Eyeoy+F11dKkwdfmNAzNAqggUQTJA=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=RQ2Zh+j7p58PKjHFm4EocZFN3d1cse1Mz1sYucbNNtBir0py+4rFrO7DsYAyZu/F+ 2mmM6Nh94+nh+h4KZdphmJM6FrCGWfngIIMZW2kMuVAmOu+qJ/q8c1ceXaDxYToTCx 5hA0vUI14uBeaybUv4wDEZxIZOxHHpzKCHy5sHmI= Message-ID: <555E1108.2050606@mail.bg> Date: Thu, 21 May 2015 20:08:24 +0300 From: Nikolay Dimitrov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.6.0 MIME-Version: 1.0 To: ansaris , "meta-freescale@yoctoproject.org" References: <555E071F.4080005@iwavesystems.com> <555E0AAF.4060104@mail.bg> <555E0E87.7030800@iwavesystems.com> In-Reply-To: <555E0E87.7030800@iwavesystems.com> Subject: Re: 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 17:08:32 -0000 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Hi ansaris, On 05/21/2015 07:57 PM, ansaris wrote: > Hi Nikolay, > > Thank you for your prompt input. > > My PCIe device is a SSD SATA only and it is connected in mini-pcie slot. > With Linux 3.10.53_1.0.0-GA BSP, the same device is getting detected and > it is not detecting in Linux 3.10.53_1.0.0-GA. > > Thank You > Regards, > Ansari > > On Thursday 21 May 2015 10:11 PM, Nikolay Dimitrov wrote: >> Hi ansaris, >> >> On 05/21/2015 07:26 PM, ansaris wrote: >>> 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. >> >> Please clarify whether your device is PCIe or SATA - it can be only one >> of those, not both at the same time. Most probably the device has a mPCIe form-factor, but it's a SATA device. Please check whether you have SATA drivers enabled in the kernel config. Also, if the device's power rails can be controlled by the software, you need to check that the device is actually powered-on. Regards, Nikolay