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.

CMEM error in DM3730 EVM for DSP



Sezai Sablak posted RE: run c6runapp/hello_world_dsp in OMAP35x Processors Forum.

I fixed this problem with unloadmodules and loadmodules. Now, I assigned the different range of memoryfor CMEM, I tried several different ranges but it is happy with following range while insmod to cmemk.ko.

insmod cmemk.ko "phys_start=0x90000000 phys_end=0x99000000 pools=20x4096"

it doesn't complain but when I try to run hello_world_dsp, it gives segmentation fault as below


root@dm37x-evm:/usr/share/ti/c6run-apps/examples/c6runapp/hello_world# ./hello_world_dsp
Segmentation fault

root@dm37x-evm:/usr/share/ti/c6run-apps/examples/c6runapp/hello_world#

How could I fix this problem?

Thank you for your help,

-Steve


  • Hi Steve,

    I am not familiar with this platform, I know nothing here, but in order to run the example you could try to boot your board with the default bootargs and then to:

    # /etc/init.d/loadmodule-rc stop

    # /usr/share/ti/c6run-apps/loadmodules.sh

    # /usr/share/ti/c6run-apps/examples/c6runapp/hello_world/hello_world_dsp

    Please, examine the scripts for more details.

    Thank you.

    BR
    Vladimir