This is my hardware connection:
i.MX8MQ PCIe1 M.2 slot <---> M.2 convert to miniPCIe <---> PCIe bridge <---> PCIe netcards intel 82574 L
Linux version is:
Linux version 4.9.51-imx_4.9.51_imx8m_ga+g6df7474 working at PCIe1 Gen2
Power up the board, sometimes PCIe1 controller doesn't scan properly, and can't find the PCIe card.
And sometimes, this happens with high probability.
If I remove the PCIe bridge, PCIe card will work properly.
But when it doesn't scan properly, the GEN2 link is still up, so are there any registers I can check?
->imx6q-pcie 33c00000.pcie: Link up, Gen2
Please give me some hint. Thanks!