Memory allocation when the remote core does not interact with Linux#

Some memory regions are not required if the remote core is initialized by something other than the Linux Remoteproc driver, and does not interact with Linux through RPMsg.

As discussed at Allocating memory in Linux, some memory regions are only required if the remote core is initialized by the Linux Remoteproc driver, or if the remote core is communicating with Linux through the RPMsg IPC driver. Both of those memory regions can be removed if the remote core is initialized by a different source, and does not interact with Linux during runtime.

For more information about different ways to initialize remote cores, refer to Methods to initialize remote cores.

Note

Any DDR or SRAM regions that are used by the remote core must still be reserved n the Linux devicetree to prevent Linux from overwriting the data.

For more information about disabling a remote core in the Linux devicetree file, refer to Disabling remote cores in Linux.