Tool/software:
Hello,
I am working with a yocto build that uses the git.ti.com/.../ti-u-boot.git ( branch ti-u-boot-2025.01 ), and I am trying to get pci devices enumerated in u-boot using the 'pci enum' command, but I am running into the error: "pcie_cdns_ti pcie@f102000: failed to bring up link" error.
I have verified that the device exists and is showing up in the 'dm tree' command, and have setup the serdes lane configuration in my device tree file, but I still can not enumerate devices on the PCIe port.
Here are the relevant things in my device tree:
from poking around the registers with the md.l command I see the following:
md.l 0x43004090 1 "Synchronous Abort" handler, esr 0x96000010, far 0x43004090
elr: 00000000808c5da0 lr : 00000000808c5cf0 (reloc)
elr: 00000000fff77da0 lr : 00000000fff77cf0
x0 : 0000000000000009 x1 : 00000000fde592d8
x2 : 00000000fffffffe x3 : 0000000000000020
x4 : 0000000000000000 x5 : 00000000fde592d0
x6 : 0000000000000030 x7 : 000000000000000f
x8 : 00000000fde59220 x9 : 00000000ffffffd8
x10: 0000000000000010 x11: 000000000001869f
x12: 00000000fde59548 x13: 00000000fde596b0
x14: 0000000000000008 x15: 00000000fde592d0
x16: 00000000ffecdc28 x17: 0000000000000000
x18: 00000000fde71df0 x19: 0000000000000004
x20: 0000000000000004 x21: 0000000000000001
x22: 0000000043004090 x23: 00000000fde592d9
x24: 0000000000000000 x25: 00000000fde59288
x26: 00000000fffa4b0c x27: 0000000000000008
x28: 0000000000000004 x29: 00000000fde59220
Code: 2a0403f3 17ffffcb 7100129f 54000181 (b94002c3) Resetting CPU ...
which seems to indicate the MAIN CTRL_MMR window is being blocked from reading.
How can I debug and fix this issue so u-boot is able to enumerate PCI devices?
thanks