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.

run c6runapp/hello_world_dsp

Other Parts Discussed in Thread: DM3730, OMAP3530

when i run hello_world_dsp on dm3730, i came cross below question:

root@dm37x-evm:/usr/share/ti/c6run-apps/examples# ./c6runapp/hello_world/hello_world_dsp
[  345.231964] CMEMK Error: ioctl: failed to allocate heap buffer of size 0x4900
 000
CMEM Error: allocHeap: ioctl CMEM_IOCALLOCHEAPCACHED failed: -1
CMEM_alloc() failed!
Memory allocation for DSP image has failed.
C6RUN_IPC_create() failed!

cat loadmodules.sh:

IPC=dsplink
DSP_REGION_START_ADDR="0x84F00000"
DSP_REGION_END_ADDR="0x85900000"

root@dm37x-evm:/usr/share/ti/c6run-apps# lsmod
Module                  Size  Used by
sdmak                   3740  0
lpm_omap3530            6257  0
dsplinkk              123514  1 lpm_omap3530
cmemk                  21346  0
root@dm37x-evm:/usr/share/ti/c6run-apps#

insmod dspxx module:

   14.548828] CMEMK module: built on Nov 16 2012 at 19:50:47
[   14.554534]   Reference Linux version 2.6.37
[   14.558990]   File /home/luoyi/mtp3730/android/external/ti-dsp/ti-dvsdk_dm3730-evm_04_03_00_06/linuxutils_2_26_02_05/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
[   14.574829] CMEM Range Overlaps Kernel Physical - allowing overlap
[   14.581298] CMEM phys_start (0x84f00000) overlaps kernel (0x80000000 -> 0x9a400000)
[   14.589691] allocated heap buffer 0xe3000000 of size 0xa00000
[   14.595703] heap fallback enabled - will try heap if pool buffer is not available
[   14.603515] cmemk initialized
[   14.633941] DSPLINK Module (1.65.01.05_eng) created on Date: Oct  4 2012 Time: 14:24:17
[   14.676940] SDMAK module: built on Nov 16 2012 at 19:50:48
[   14.682708]   Reference Linux version 2.6.37
[   14.687164]   File /home/luoyi/mtp3730/android/external/ti-dsp/ti-dvsdk_dm3730-evm_04_03_00_06/linuxutils_2_26_02_05/packages/ti/sdo/linuxutils/sdma/src/module/sdmak.c

Best Regards !

Lawyee