Hi,TI team
I try to PCIE end-point test on AM64x original board + Processor SDK Linux for AM64X 08_02_00_14.
I wish know how to transact the local memory area to address area on PCIe host computer.
My example) local 0x81000000, size 0x100000 ---> pci config BAR0 ---> host 0xe0500000
But u-boot behavior (or linux kernel behavior) and the description of the manual "spruim2c.pdf" are mismatched.
u-boot behavior (or linux kernel behavior):
cdns_set_bar() or cdns_pcie_ep_set_bar() (in pcie-cadence-ep.c)
0D400840: DNS_PCIE_AT_IB_EP_FUNC_BAR_ADDR0 <-- addr0 (lower 32bit 0x81000000)
0D400844: DNS_PCIE_AT_IB_EP_FUNC_BAR_ADDR1 <-- addr1 (upper 32bit 0x00000000)
0D100240: CDNS_PCIE_LM_EP_FUNC_BAR_CFG0 <-- cfg (0x0505058d)
the manual "spruim2c.pdf": (not found register address)
12.2.2.5 PCIe Subsystem Registers, Table 12-1665,
address 0D40_0840h is not found.
address 0D40_0844h is not found.
address 0D10_0240h is not found.
Where is the specification explain of the inbound setting registers concerning with the pci-endpoint?
1. address and setting value of registers
2. how to use CDNS_PCIE_LM_EP_FUNC_BAR_CFG0 register
Regards,
Hanaoka