Hello viniamin tokarchuk,
To test/Validate PCIe Lanes, you could use a loopback device to connect PCIe Tx port to its Rx port.
Please read LTSSM state status register (PEX_CSR0) to check the status of link training, in case of successful PCI Express link training the register value will be 010001b - L0 state.
For details, please refer to CSR0[LTSSM_SC] in T2080 Reference Manual.
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------