Hello all,
I have two evmAM5728 board and I configured one of them as EP and other as RC and connected them with PCIe port. Both running Linux. When I dived into pcie-designware-host.c and pcie-designware-ep.c, only ep_setup function configures inbound BARs. rc_setup function looks like it does not set any inbound related BAR or ATU. Also, I tried to write from ep to rc and I could not find where ep wrote on rc's DDR memory. I have case like my AM5728 SoC needs to be RC and one EP connected to it needs to initiate read/write operations. I constructed RC writes/reads to EP but I need otherway around.
Can you help me to setup RC's inbound BARs and inbound ATU when AM5728 in RC configuration?