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: allocHeap



hi,

 I want to  Add SALDRE capabilities to DM368IPNC.setenv bootargs "mem=55M@0x80000000 console=ttyS0,115200n8 initrd=0x80900000,0x1500000 root=/dev/ram0 init=/init ip=192.168.1.168:192.168.1.141:192.168.1.1:255.255.255.0 ::eth0:off eth=00:01:02:03:04:05",

and insmod cmemk.ko phys_start=0x84000000 phys_end=0x88000000 allowOverlap=1 phys_start_1=0x00001000 phys_end_1=0x00008000 pools_1=1x28672. 

./av_server.out DM368 NTSC SALDRE APPRO2A AEWB 1080P H264 5000000 VBR AUTO MENUOFF &

But  i obtain a CMEM error:

CMEMK Error: ioctl: failed to allocate heap buffer of size 0x2fd080
CMEM Error: allocHeap: ioctl CMEM_IOCALLOCHEAP failed: -1
ERROR (avServer.c|AVSERVER_bufAlloc|180): OSA_cmemAlloc()
ERROR (avServerMainThr.c|AVSERVER_tskStart|204):

what have i to change to solve this problem?

Regards,

Wang