This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM5718: 运行DSP程序时是否能够设置静态内存映射将其运行在OCMC_RAM1上?

Part Number: AM5718

当前想要实现的操作是将DSP相关应用程序运行在OCMC_RAM1上,但出现系列报错:  

[21579.679926]omap_hwmod:mmu1_dsp1: _wait_target_disable failed

[21583.879970]omap_hwmod:mmu0_dsp1: _wait_target_disable failed

[21583.880344]remoteproc remoteproc0:stopped remote processor 40800000.dsp

[21583.888075]remoteproc remoteproc0:releasing 40800000.dsp

[21583.898551]omap-rproc 40800000.dsp:assigned reserved memory node dsp1_cma@99000000

[21583.908473]remoteproc remoteproc0:40800000.dsp is available

[21583.927859]remoteproc remoteproc0:powering up 40800000.dsp

[21583.933763]remoteproc remoteproc0:Booting fw image dra7-dsp1-fw.xe66,size 4686076

[21583.950234]omap_hwmod:mmu0)dsp1: _wait_target_disable failed

[21583.979343]remoteproc remoteproc0:bad phdr da 0x300000 mem 0x20120

[21583.985806]remoteproc remoteproc0:Failed to load program segments:-22

[21584.007753]omap_hwmod:mmu1_dsp1: _wait_target_disable failed

[21584.020313]omap_hwmod:mmu0_dsp1: _wait_target_disable failed

当前在DSP端程序中对MEMORY的配置如下所示:

SECTIONS的配置如下所示:

想要请教的问题: 

1.DSP应用可否设置运行到OCMC_RAM1空间中;如果能够实现运行在OCMC_RAM1中,需要执行的相关配置内容有哪些;

2.当前linker.cmd文件中的MOMORY为手动修改的结果,原因在于AM5718芯片中只有一个OCMC_RAM1,但不知在何处配置了L2SRAM、OCMC_RAM1、OCMC_RAM2、OCMC_RAM3,导致一旦进行程序的编译MEMORY则会更新,请问具体配置的位置在哪儿呢;

3.针对以上报错问题,期待得到意见或建议;

感谢您!