Re: Starting app on i.MX8MM M4 core from DDR via remoteproc

From: Frieder Schrempf
Date: Wed Mar 22 2023 - 05:57:34 EST


On 22.03.23 09:46, Frieder Schrempf wrote:
> Hello,
>
> I'm having problems with running an application from DDR memory on the
> M4 core of an i.MX8MM using remoteproc in Linux.
>
> * starting the app compiled for internal RAM from Linux works fine
> * starting the app compiled for DDR from U-Boot works fine
> * starting the app compiled for DDR from Linux doesn't show any output
> on the M4 debug UART
>
> Below there is some more information on my setup. If anyone has an idea
> for debugging this, please let me know.

I just came across Peng's patches [1] that add support for firmware in
DDR. With this applied it seems to work now!

[1]
https://patchwork.kernel.org/project/linux-remoteproc/cover/20230209063816.2782206-1-peng.fan@xxxxxxxxxxx/