How to modify BAR size in Jetson Orin PCIe endpoint mode

I am using two Orin modules for RP/EP communication and have encountered two issues.

When using “pcie -v” command, the result shows only a 64K BAR size. How to modify BAR size?

please refer to PCIe Endpoint Mode — Jetson Linux Developer Guide documentation

Yes, I have read this article. Using the configuration method described in the article, the BAR size of the data is 64K. I want to increase the size of the BAR size. How can I do that?

Yes, I have read this article. Using the configuration method described in the article, the BAR size of the data is 64K. I want to increase the size of the BAR size. How can I do that?

Go to the driver code and directly modify it in the driver…

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks

Sorry for the late response, is this still an issue to support? Thanks