This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM5718 SDK4 pcie link I210 failed

  

 I got a problem when initializing the I210 in SDK4, it **never link up** at most time, but it succeed 100% in SDK8, 

in kernel /drivers/pci/dwc/pci-dra7xx.c ,dra7xx_pcie_establish_link .

There are any ideas to fix the bug if I insist to use the kernel SDK4 ? obviously I know it is the good one to update to SDK8


SDK8:Linux 5.10.100-1.0.1 #151 SMP PREEMPT IRQPIPE Wed Nov 13 16:03:16 CST 2024 armv7l armv7l armv7l GNU/Linux

SDK4:Linux 4.9.41+ #27 SMP PREEMPT Wed Jun 14 17:58:54 CST 2023 armv7l GNU/Linux



sdk8 link OK 正常识别芯片
[    4.237518] dra7-pcie 51000000.pcie: GPIO lookup for consumer (null)
[    4.237548] dra7-pcie 51000000.pcie: using device tree for GPIO lookup
[    4.237731] dra7-pcie 51000000.pcie: host bridge /ocp/axi@0/pcie@51000000 ranges:
[    4.237792] dra7-pcie 51000000.pcie:       IO 0x0020003000..0x0020012fff -> 0x0000000000
[    4.237823] dra7-pcie 51000000.pcie:      MEM 0x0020013000..0x002fffffff -> 0x0020013000
[    4.237915] dra7-pcie 51000000.pcie: Reset pcie device
[    4.754364] dra7-pcie 51000000.pcie: Link up
[    4.754486] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00
 
SDK4 link ok正常识别芯片
[    0.496820] dra7-pcie 51000000.pcie: Linked as a consumer to phy-4a094000.pciephy.3
[    0.497037] dra7-pcie 51000000.pcie: GPIO lookup for consumer (null)
[    0.497046] dra7-pcie 51000000.pcie: using device tree for GPIO lookup
[    0.642013] dra7-pcie 51000000.pcie: link up
[    0.642213] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00
SDK4 link failed未识别到芯片
[    0.497903] dra7-pcie 51000000.pcie: Linked as a consumer to phy-4a094000.pciephy.3
[    0.498121] dra7-pcie 51000000.pcie: GPIO lookup for consumer (null)
[    0.498129] dra7-pcie 51000000.pcie: using device tree for GPIO lookup
[    1.543369] dra7-pcie 51000000.pcie: phy link never came up
[    1.543570] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00