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.

How to Changing the DVEVM memory map from 64M to 128M(OmapL138 platform)

Other Parts Discussed in Thread: OMAPL138

hello everyone:

        I encounter some troubles when Changing the DVEVM memory map from 64M to 128M(OmapL138 platform,dvsdk_4_02_00_06_omapl138) ,I do this according to the document "Changing the DVEVM memory map"

(http://processors.wiki.ti.com/index.php/Changing_the_DVEVM_memory_map> ):

 

Platform:OmapL138

DVSDK: (dsplink_1_65_00_02codec-engine_2_26_02_11)

At first,I use the initial DVEVM  memory map :

32M

Linux

0xC0000000 - 0xC1FFFFFF ----------Linux--32M

 

12 MB

CMEM

0xC2000000 - 0xC2BFFFFF

3 MB

SDRAM (BIOS, Codecs, Applications)

0xC2C00000 - 0xC2EFFFFF

 

4 KB

DSPLINK (RESET)

0xC2F00000 - 0xC2F0FFFF

 

1 MB - 4 KB = 1020 KB

DSPLINK (MEM)

0xC2F10000 - 0xC2FFFFFF

 

16 MB

DDRALGHEAP

0xC3000000 - 0xC3FFFFFF

 

Test:

I run a application and  call  Engine_getCpuLoad  to get Server's CPU usage in percent.

nearly 70%

 

Now I want to use the full 128M and I only change the files:

(1)memmap.tci(codecs-omapl138_4_02/packages/ti/sdo/server/cs)

I will change the followings:(below is the initial config

var mem_ext = [

{

    comment:    "DDR2: off-chip memory for application code and data",

    name:       "DDR2",

    base:       0xc3200000,

    len:        0x00300000,

    space:      "code/data"

},

{

    comment:    "RESET_VECTOR: off-chip memory for the reset vector table",

    name:       "RESET_VECTOR",

    base:       0xc3500000,

    len:        0x00001000,

    space:      "code/data"

},

{

    comment:    "DSPLINK: off-chip memory reserved for DSPLINK code and data",

    name:       "DSPLINKMEM",

    base:       0xc3501000,

    len:        0x000FF000,

    space:      "code/data"

},

{

    comment:    "DDRALGHEAP: off-chip memory for dynamic algmem allocation",

    name:       "DDRALGHEAP",

    base:       0xc3600000,

    len:        0x00A00000,

    space:      "code/data"

},

];

 

(2)CFG_OMAPL138GEM_SHMEM.c(dsplink_1_65_00_02/dsplink/config/all)

I will change:

#define  RESETCTRLADDR      0xC3E00000

---------------------

 

Test:

after changing the above  files according to my need : 

At the condition I call Engine_getCpuLoad  to get Server's CPU usage in percent.

nearly 92%

 

 

why when I change memory map ,the Server's CPU usage one is 70% and another is 92%(the memory is larger)

and if I still use the 64M of 128M(keeping the same memory as the initial), I only change the address offset(4M) of DSP :

 

12 MB

CMEM

0xC2000000 - 0xC2BFFFFF

 

the followings address  all add 0x00400000(4M)

3 MB

SDRAM (BIOS, Codecs, Applications)

0xC2C00000 - 0xC2EFFFFF

 

4 KB

DSPLINK (RESET)

0xC2F00000 - 0xC2F0FFFF

 

 

1 MB - 4 KB = 1020 KB

DSPLINK (MEM)

0xC2F10000 - 0xC2FFFFFF

 

16 MB

DDRALGHEAP

0xC3000000 - 0xC3FFFFFF

 

and RESETCTRLADDR+4M

 

but I still get the above result90%

I use dsplink_1_65_00_02codec-engine_2_26_02_11 ,so I the gstreamer cfg file I need not to change.and some steps of the document I passed.

Is there some files I have not change? or?

Why turn out this problem

Thanks