AnsweredAssumed Answered

IMX6SX PCI mem space failed to assign BAR0

Question asked by Mattias Barthel on May 2, 2017
Latest reply on May 4, 2017 by Mattias Barthel

Hi!

I am trying assign the BAR0 of a FPGA PCIe interface. I get:

 

pci 0000:01:00.0: BAR 0: no space for [mem size 0x10000000 64bit pref]
pci 0000:01:00.0: BAR 0: failed to assign [mem size 0x10000000 64bit pref]

 

So the FPGA wants 268435456 Bytes of PCIe memory space. 

 

Is the IMX6SX PCI allocatable size a maximum of 16MB or even less?

 

Found this:

Note that the IMX6 has a limited memory window (16M) between the PCI
core and the memory controller. This is mapped as:

 

512KB config space
64KB io space
15MB mem space available for devices

 

Is the same for IMX6SX?

Outcomes