iMX7D with PCIE SSD questions

cancel
Showing results for 
Search instead for 
Did you mean: 

iMX7D with PCIE SSD questions

331 Views
marco_lam
Contributor I

Hi all,

I am working on a custom iMX7 Dual board and hope to support M.2 SSD as an additional storage.

The PCIe interface is mapped to the M.2 connector directly.

Having tested with a Kingston SSD, the pci link is detected and can be listed via Linux command "lspci" and "lsblk".

# lspci
00:00.0 Class 0604: 16c3:abcd
01:00.0 Class 0108: 2646:5008

NAME         MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT

.......

nvme0n1 259:0 0 223.6G 0 disk
`-nvme0n1p1 259:1 0 223.6G 0 part /media/nvme0n1p1

Up to here, we assume the PCIe interface is correctly linked and implemented by software.

However, when we tested with a Western Digital (WD) SSD, iMX7 is unable to detect the pci interface.

lspci is unable to list the link and the boot message indicated that the pcie phy link never came up.

imx6q-pcie 33800000.pcie: phy link never came up
imx6q-pcie 33800000.pcie: Link never came up
imx6q-pcie 33800000.pcie: failed to initialize host
imx6q-pcie: probe of 33800000.pcie failed with error -110

I have searched for the error code -110, but most of the case I got were error code -22.

I have also verified this issue on the iMX7D Sabre board with an image supporting pci function and connected the SSD via a mini PCIe to M.2 adapter. But the result is as same as my custom board, only the Kingston SSD can be recognized.

I would like to ask:

1)   What does the error code -110 actually means? 

2)   Does my issue related to some drivers compatibility? Or shall I look for driver updates to resolve the problem?

Thanks,

Marco

Labels (2)
0 Kudos
3 Replies

150 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Marco

one can look at suggestions for link issues on

PCIe on i.MX7 

or try link as Gen1 :

https://community.nxp.com/thread/442575 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

150 Views
marco_lam
Contributor I

Hi igor,

Thanks for your reply, I will study the quotes about the pci link.

But are there any related documents about the error code -110?


Thanks,

Marco

0 Kudos

150 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Marco

one can look on linux generic errors

c - How to know what the 'errno' means? - Stack Overflow 

~igor

0 Kudos