imx93 failed to load mcimx93evk_ethosu_apps.elf if mcimx93evk_ethosu_apps.elf need OCRAM.I am try the examples code.
mcimx93evk_ethosu_apps. in this case,the elf would need use OCRAM (some variable is too much size).
after the elf is built. I load this elf file to m33.
it always failed to :
remoteproc remoteproc0: Registered carveout doesn't fit da request
remoteproc remoteproc0: bad phdr da 0x20480000 mem 0x60000
remoteproc remoteproc0: Failed to load program segments: -22
remoteproc remoteproc0: Boot failed: -22
maybe the memory allocat failed for conflict.
why?
this example code is :
mcimx93evk_ethosu_apps from sdk_examples. would you please check this exsample?
i.MX 8M | i.MX 8M Mini | i.MX 8M NanoRe: imx93 failed to load mcimx93evk_ethosu_apps.elf if mcimx93evk_ethosu_apps.elf need OCRAM.sdk version from nxp site is :
2.14.xx
anybody success to load mcimx93evk_ethosu_apps to m33?
how can i success to run mcimx93evk_ethosu_apps in m33?
thanks.Re: imx93 failed to load mcimx93evk_ethosu_apps.elf if mcimx93evk_ethosu_apps.elf need OCRAM.I did not modify the ld
m_ocram (RW) : ORIGIN = 0x20480000, LENGTH = 0x00060000
__attribute__((section(".bss.tensor_arena_ocram"), aligned(32))) uint8_t inferenceProcessTensorArena[TENSOR_ARENA_SIZE];
the result when I load elf to m33:
remoteproc remoteproc0: bad phdr da 0x20480000 mem 0x60000