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.

mpmcl load error.

Other Parts Discussed in Thread: 66AK2H12

I copied a c66 elf binary(.out) to 66ak2h12's root filesystem.

and loaded dsp application by mpmcl.

mpmcl load dsp0 dsp_application.out

but an error is occurred as follows.

[ 52.774873] rproc-user dspmem.3: mmap offset 0x80000000 is outside the allowed range
load failed (error: -104)

dsp applications' MEMORY CONFIGURATION is as follows.

name origin length used unused attr
L2SRAM 00800000 00100000 000ef9f0 00010610 RW X
MSMCSRAM 0c000000 00600000 0056b97e 00094682 RW X
DDR3 80000000 80000000 021f4000 7de0c000 RWIX

i did two tries to solve this problem that ARM side cannot recognize the memory region which dsp side uses.

first, edit U-boot env 'mem_reserve = 1536M' to get more dsp's available memory.

next, change /etc/mpm/mpm_config.json as follows.

"name": "local-ddr",
"globaladdr": "0x80000000",
"length": "0x80000000",
"devicename": "/dev/dspmem"

but the problem is still there.

how can i load a dsp application which uses ddr3a memory while arm linux is running?