[meta-freescale] i.MX6 - PCIe not detecting some devices in Linux 3.14.28

Nikolay Dimitrov picmaster at mail.bg
Thu May 21 10:08:24 PDT 2015


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


More information about the meta-freescale mailing list