2398978_en-US

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

2398978_en-US

2398978_en-US

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
Re: imx93 failed to load mcimx93evk_ethosu_apps.elf if mcimx93evk_ethosu_apps.elf need OCRAM.

Hi,

This app is only suitable for loading in U-Boot. For remoteproc, the OCRAM memory attribute is not defined in drivers/remoteproc/imx_rproc.c.

Zhiming_Liu_0-1785301592854.pngZhiming_Liu_0-1785301592854.png




Best Regards,
Zhiming

タグ(1)
評価なし
バージョン履歴
最終更新日:
4 週間前
更新者: