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 run dsp0 errors on evmtci6638k2k

Hi ,all:

 

My hardware was EVMTCI6638K2K,My CCS version was CCS5.1.

 

I compiled my DSP project called ipc_slave.out,Then I using mpmcl comman to reset, load and run ipc_slave.out like this:

 

#mpmcl reset dsp0

[  176.514008]  remoteproc0: stopped remote processor 2620040.dsp0

reset succeded

 

#mpmcl load dsp0 ipc_slave.out

load succeded

 

#mpmcl run dsp0

[  162.523916]  remoteproc0: powering up 2620040.dsp0

[  162.528697]  remoteproc0: Booting unspecified firmware

[  162.534043] rproc-user 2620040.dsp0: dma_alloc_coherent failed

[  162.539880] virtio_rpmsg_bus: probe of virtio2 failed with error -22

[  162.539892]  remoteproc0: registered virtio2 (type 7)

[  162.539905]  remoteproc0: remote processor 2620040.dsp0 is now up

run succeded

 

 

Why it produce some error info like below when I mpmcl run dsp0:

[  162.534043] rproc-user 2620040.dsp0: dma_alloc_coherent failed

[  162.539880] virtio_rpmsg_bus: probe of virtio2 failed with error -22

 

 

How to avoid that error ?

Any help will be appreciated. Thanks!

  • Hi, Steve,

    The message means your memory allocation failed. Here is a link talking about dma_alloc_coherent failure, http://e2e.ti.com/support/embedded/linux/f/354/t/89419.aspx. If I have to guess, I suspect your DSP project address set up is wrong, and the address is at somewhere kernel can not access. A very quick way of verifying this is to use mpm demo code. If it works, follow its framework and address set up.

    Rex