I am trying to connect Imx6 and Com-express module(the core is intel i7 5th).Imx6 is working in EP mode.From the log,I know the linkup is established,however,no pcie node can be found with command "lspci".
.............
cpaddr = ea880000 suspend_iram_base=ea8e8000
PM driver module loaded
iMX6 PCIe PCIe EP mode imx_pcie_pltfm_probe entering.
dbi_base maped addr is 1ffc000
PCIE: imx_pcie_pltfm_probe start link up.
PCIe EP: waiting for link up...zxsm version 1.0
PCIe EP: link up.
.............
Before linkup,some PCIe CTRL EP Mode Memory Registers are printed as follow:
PCIe EP: PLC_REG 0x10120
PCIe EP: GPR1 0x48610005
PCIe EP: GPR4 0xf00000cf
PCIe EP: GPR8 0xfffd4000
PCIe EP: GPR12 0x0f000490
PCIe EP: PLC_REG 0x10120
PCIe EP: PCIE_EP_DeviceID 0xabcd16c3
PCIe EP: PCIE_EP_Command 0x100000
PCIe EP: PCIE_EP_BIST 0x0
PCIe EP: PCIE_EP_BAR0 0xc
PCIe EP: PCIE_EP_ILR 0x1ff
PCIe EP: PCIE_EP_AER 0x14010001
PCIe EP: PCIE_EP_UESR 0x0
PCIe EP: PCIE_EP_UEMR 0x0
PCIe EP: PCIE_EP_UESevR 0x62030
PCIe EP: PCIE_EP_CESR 0x0
PCIe EP: PCIE_EP_CEMR 0x2000
PCIe EP: PCIE_EP_ACCR 0xa0
PCIe EP: PCIE_EP_HLR 0x0
PCIe EP: PCIE_EP_VCECHR 0x10002
PCIe EP: PCIE_EP_PVCCR1 0x0
PCIe EP: PCIE_EP_PVCCR2 0x0
PCIe EP: PCIE_EP_PVCCSR 0x0
PCIe EP: PCIE_EP_VCRCR 0x0
PCIe EP: PCIE_EP_VCRConR 0x800000ff
PCIe EP: PCIE_EP_VCRSR 0x20000
After linkup,these Registers are printed as follow:
PCIe EP: PCIE_EP_DeviceID 0xabcd16c3
PCIe EP: PCIE_EP_Command 0x100000
PCIe EP: PCIE_EP_BIST 0x0
PCIe EP: PCIE_EP_BAR0 0xc
PCIe EP: PCIE_EP_ILR 0x1ff
PCIe EP: PCIE_EP_AER 0x14010001
PCIe EP: PCIE_EP_UESR 0x2000
PCIe EP: PCIE_EP_UEMR 0x0
PCIe EP: PCIE_EP_UESevR 0x62030
PCIe EP: PCIE_EP_CESR 0x81
PCIe EP: PCIE_EP_CEMR 0x2000
PCIe EP: PCIE_EP_ACCR 0xad
PCIe EP: PCIE_EP_HLR 0x0
PCIe EP: PCIE_EP_VCECHR 0x10002
PCIe EP: PCIE_EP_PVCCR1 0x0
PCIe EP: PCIE_EP_PVCCR2 0x0
PCIe EP: PCIE_EP_PVCCSR 0x0
PCIe EP: PCIE_EP_VCRCR 0x0
PCIe EP: PCIE_EP_VCRConR 0x800000ff
PCIe EP: PCIE_EP_VCRSR 0x0
according to these values,several errors are found as:
1 Flow_Control_Protocol_Error_Status bit in Register PCIE_EP_UESR is changed to 1.
2 Bad_DLLP_Status bit in Register PCIE_EP_CESR is changed to 1.