Hi!
I'm using Devkit8000 board with OMAP3530. Recently I was trying to use C6Run tool but I've some problems with memory allocation. During the configuration for omap3530 platform I set memory map variables in platform.mak file(I wish to have 32MB for CMEM and 32MB dor DSP code; in bootargs I set mem=192M, so I think that base address should be 0x8c000000):
# Default memory map variables (can be overridden)
DSP_REGION_BASE_ADDR ?= 0x8C000000
DSP_REGION_CMEM_SIZE ?= 0x02000000
DSP_REGION_CODE_SIZE ?= 0x02000000
After that I continue setup and build DSPLink and CMEM module, then copy those modules and modules loading and unloading scripts(loadmodules.sh , unloadmodules.sh) to my NFS. When I boot my board i got info:
CMEMK module: built on Dec 11 2011 at 03:49:02
Reference Linux version 2.6.29
File /home/TI/linuxutils_2_24_04_05/packages/ti/sdo/linuxutils/cmem/src/module
/cmemk.c
allocated heap buffer 0xcf000000 of size 0x4000000
cmemk initialized
DSPLINK Module (1.61.03) created on Date: Dec 11 2011 Time: 03:48:49
The problem occurs when I try to run application compiled by c6runapp or c6runlib - following message appears in console:
Configuration error (B): Exceeded maximum number [31] of Translation Look-aside
Buffers.
The configured entries are:
Number of entries of size 4KB: 0
Number of buffers of size 64KB: 0
Number of buffers of size 1MB: 31
Number of buffers of size 16MB: 1
It looks like I'm trying to allocate 47MB of memory for DSPLink, but as I showed earlier, that is not what I wanted.
Can anyone tell me what I did wrong?
Thanks in advance
Rafał