Quantcast
Channel: 数字信号处理器 (DSP) & ARM® 微处理器
Viewing all articles
Browse latest Browse all 21822

帖子: 关于pool的分配

$
0
0

您好,我用的DM3730的平台在loadmodules.sh修改关于pools的部分,

#CMEM_MODPARAMS="phys_start=0x91000000 phys_end=0x92000000 pools=20x4096,10x131072,2x1048576"
CMEM_MODPARAMS="phys_start=0x91000000 phys_end=0x92000000 pools=2x1310720 "

然后执行app端程序返回如下,按照串口返回的heap的信息,我应该已经成功分配了2*1310720的pool,为什么还是fail to fit呢?求给点建议,app端我在

#define NSAMPLES    1310720  /* must be multiple of 128 for cache/DMA reasons */   将原本的1024改成了1310720,原因是我需要处理的图片较大,而且需要边缘提取的操作需要整体读入,

allocated heap buffer 0xd1000000 of size 0xd80000
cmemk initialized
DSPLINK Module (1.65.01.05_eng) created on Date: Jun 7 2016 Time: 00:36:00
root@dm37x-evm:/media/sda1# ./app_remote.xv5T
@0x0007b751:[T:0x4001e320] ti.sdCMEMK Error: Failed to find a pool which fits 1310720
o.ce.examples.apps.video_copy - main> ti.sdo.ce.examples.apps.video_copy
@0x0007b8bf:[T:0x4001e320] ti.sdo.ce.examples.apps.video_copy - App-> Application started.
CMEM Error: getPool: Failed to get a pool fitting a size 1310720


Viewing all articles
Browse latest Browse all 21822

Trending Articles