Hi all
i'm working on the DM37x EVM using the dvsdk-dm37x-evm pre-built image from the arago project.
I have a problem inserting the cmem module.
I think the problem is in my u-boot settings in the memory allocation part of the environment settings. I've tried changing them to get it to work without much success.
I printed a bunch of the errors if i'm wrong about the reason it's happening someone please point it out.
My current printenv is printed below,if anyone has a working configuration it would help a lot.
Please advice me what to do.
Thank you in advance,
Lilach
my printenv:
mmcargs=setenv bootargs console=${console} root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait
nandargs=setenv bootargs console=${console} root=/dev/mtdblock4 rw rootfstype=jffs2
from dmesg right after boot
CMEMK module: built on Mar 24 2011 at 20:50:56
Reference Linux version 2.6.32
File /sdk/build/DVSDK_4_02/4_02_00_06/arago-install/arago-tmp/work/dm37x-evm-none-linux-gnueabi/ti-linuxutils-1_2_26_01_02-r94d/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
no physical memory specified, continuing with no memory allocation capability...
cmemk initialized
when Im trying to run demos using the DSP from the dvsdk I get the following cmem error:
root@dm37x-evm:/usr/share/ti/c6run-apps/examples/c6runapp/cio_example# ./cio_example_dsp
CMEM Error: allocHeap: ioctl CMEM_IOCALLOCHEAPCACHED failed: -1
CMEM_alloc() failed!
Segmentation fault
root@dm37x-evm:/usr/share/ti/c6run-apps/examples/c6runapp/hello_world# ./hello_world_dsp
CMEM Error: allocHeap: ioctl CMEM_IOCALLOCHEAPCACHED failed: -1
CMEM_alloc() failed!
Segmentation fault
(Im using the load modules script from the dvsdk (shown in blue below) before running the demos but i still get the cmem error)