remoteproc: Load coprocessor code to the specific main memory location

Ohad Ben-Cohen ohad at wizery.com
Tue Feb 14 11:28:33 EST 2012


On Mon, Feb 13, 2012 at 3:20 PM, Michal Simek <monstr at monstr.eu> wrote:
> Here is how it is achieve
>        ret = dma_declare_coherent_memory(&zynq_freertos.dev, 0,
>                                0, 0x10000000, DMA_MEMORY_MAP);
>
> which is fully compatible with remoteproc.

Great, this is what we've been doing with davinci too.

> Do you have any example of using it?

What exactly are you looking for ? RTOS or Linux side ?

On the Linux side, you can just make the rpmsg sample work (it's part
of the rpmsg patch set). For the RTOS side, feel free to just take our
code (it's BSD licensed and hosted on github) and adapt it to your
environment.

Ohad.



More information about the linux-arm-kernel mailing list