AnsweredAssumed Answered

Configure t1040d4rdb to support  16GB PCIe address space

Question asked by Alexander Bobrov on Jul 19, 2018
Latest reply on Jul 29, 2018 by Yiping Wang


We have purchased t1040d4rdb board for evaluation of using t1040 in our new product. We need t1040 to support a lof of simultaneously connected pcie devices, total address space of all pcie devices is up to 16GB.

t1040d4rdb initially support 4 pcie controllers and 256GB of address space mapped for each of them.


I suppose (Please say if I wrong) that to change address space, we need to

1. change linux device-tree in file: ./arch/powerpc/boot/dts/fsl/t104xd4rdb.dtsi

2. change u-boot mapping in file ./include/configs/T104XRDB.h


I tried to disable 3 pcie controllers, and map wider address space for 1-st pcie controller, up to 1GB and it seems to work ok, but how to map PCIe address wider, up to 4GB or even 16GB?


Macros SET_TLB_ENTRY, which use constants from T104XRDB.h (CONFIG_SYS_PCIE1_MEM_VIRT, CONFIG_SYS_PCIE1_MEM_PHYS) in file tlb.c event not accept 64-bit CONFIG_SYS_PCIE1_MEM_VIRT.

Can anybody help me to map 16GB for PCIe?


Thanks in advance.