04-18-2018 12:12 PM - edited 04-18-2018 12:13 PM
I have set up Petalinux to run the echo_test OpenAMP example on our custom board. I am running Petalinux 2017.3. Our board is a Zynq 7045 design based on the ZC702 board. The example runs fine.
However, I am attempting to update code which used the older AMP design described in XAPP1078 to use the newer OpenAMP API described in UG1186. In the old design, Petalinux runs on CPU0 exclusively, and the baremetal app runs on CPU1 exclusively. In the new design Petalinux runs on both CPUs and this cannot be changed. The baremetal app still runs exclusively on CPU1.
When I run the command cat /proc/cpuinfo, I can see that Petalinux is using both CPUs. In our design, we need the baremetal app to have the most resources, as it will be doing a lot of work. We want it to have CPU1 all to itself, and we want it to have the majority of the memory (which I also have not figured out, but that is a separate issue).
Things I have tried:
How can I tell Petalinux to be constrained to CPU0?