AGX ORIN pcie 0005:01:00.0:BAR0:no space for[MEM size 0x400000000 64bit pref]

Hi
We are using the ORIN AGX module, connecting the FPGA device to the ORIN module via a PCIE X8 bus.

The ORIN module PCIE controller is identified as C5, and the FPGA needs to request 16GB of BAR0 space. Does the ORIN module support requesting 16GB of BAR0 space? The error message of the ORIN module is attached.

Hi,

If you are designing a custom base board, then it means some adaptation configurations are needed.
Otherwise, your board may not work fine.

For Orin AGX series, you could refer to below document
https://docs.nvidia.com/jetson/archives/r36.3/DeveloperGuide/HR/JetsonModuleAdaptationAndBringUp/JetsonAgxOrinSeries.html?highlight=universal%20serial%20bus#jetson-agx-orin-platform-adaptation-and-bring-up
(please be aware that above link is for rel-36.3/jetpack6.0)

This document includes below configuration

  1. pinmux change & GPIO configuration
  2. EEPROM change as most custom boards do not have an EEPROM on it.
  3. Kernel porting
  4. PCIe configuration
  5. USB configuration
  6. MGBE configuration
  7. RGMII configuration

Thanks!

No, if the driver reports no space, then it is not supported.

Hi
What is the maximum BAR0 MEM space that the ORIN module can support? I can’t find the relevant documentation.

The following figure shows the space marked in the device tree. The note content is inconsistent with the actual space configured.

Will it pass if FPGA requests smaller size?

Hi
We want to get a standard statement that the ORIN module cannot allocate 16GB of PCIE BAR mem space, and then change the FPGA logic according to this standard value. The BAR space applied by FPGA cannot be reduced indefinitely, and we hope that this space is larger.

In which document can I find the answer?

Sorry, there is no such document.