Messages in this thread | | | Date | Wed, 1 Feb 2023 10:41:15 +0200 | Subject | Re: [PATCH v2] remoteproc: imx_dsp_rproc: add custom memory copy implementation for i.MX DSP Cores | From | Iuliana Prodan <> |
| |
Hi Peng,
On 2/1/2023 2:27 AM, Peng Fan wrote: > > > On 2/1/2023 1:04 AM, Iuliana Prodan (OSS) wrote: >> From: Iuliana Prodan <iuliana.prodan@nxp.com> >> >> The IRAM is part of the HiFi DSP. >> According to hardware specification only 32-bits write are allowed >> otherwise we get a Kernel panic. >> >> Therefore add a custom memory copy and memset functions to deal with >> the above restriction. > > Which platform has this limitation? This driver has been landed for > quite some time, is there any specific condition to trigger the issue? > > Regards, > Peng. > Any platform with HiFi DSP.
As I explained in the previous version, until now, it was used in a limited scenario and the firmware was correctly built to respect the write restriction - having the IRAM sections size a multiple of 4bytes.
Now, I was trying a simple hello_world sample from Zephyr, compiled with GCC and I crashed the Kernel trying to load it on the hifi4 DSP.
Thanks,
Iulia
| |