I'm running an OpenAMP configuration with the MicroZed board (7z020) where the master (CPU0) is running Petalinux (2015.4) and the remote (CPU1) is running FreeRTOS. I'm trying to configure a large block of DDR memory (128MB) to be shared between the processors for passing data acquired in the remote to the master.
My configuration is based off the "proxy_app" example code that shares a block of memory for the RPC messaging. I am able to successfully pass messages between the two processors using printfs, reading/writing files, etc. However, I need direct access to the large memory area on the Linux side. I cannot find any information that illustrates how to access the shared memory from user space on the master processor. In addition, I'm unable to modify the size of the shared memory without breaking the proxy_app on Linux. I do find some bits and pieces of information in some of the app notes or user guides, but much of it is outdated or incomplete.
Any help would be much appreciated!