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 allocation in A8_01.00 EVM_OMAP3530

I noticed the entries for the physical memory allocation in the DVSDK_1_10_00_00 DVSDK.reg are:

"PhysicalStart0"=dword:86300000

"PhysicalEnd0"=dword:87300000

and the following two entries are commented out:

;"PhysicalStart0"=dword:85800000

;"PhysicalEnd0"=dword:88000000

but in image_cfg.h the CMEM defines for inclusion in config.bib are:

#define IMAGE_CMEM_DSP_CA 0x85800000 //

#define IMAGE_CMEM_DSP_SIZE 0x02800000 // DSP 40 MB

I believe the the two settings that are active in DVSDK.reg are correct only for the old (6.15) BSP but not the A8_01_00 BSP which has the memory map reworked.

Is this correct? Should the correct setting to match the unified BSP be the ones that are commented out?

If this is correct the packaged distribution does not contain a matched set???

 

Also the CMEM_DSP define in config.bib of the AM35x_BSP would also be wrong even thought it is commented out at present.

 

  • I tried using the corrected memory boundries but it does not work.

    The original configuration works but I am getting some strange errors which I think might be related to memory errors.

    What am I missing?

  • Upon further study I guess the original physical memory setting in DVSDK.reg may be correct.

    But there is only 16meg mapped whereas in image_cfg.h 40meg is allocated to the DSP.

    Is the other 24meg used by other DSP components?

    Is the 16meg just the "shared" memory?

  • David

    The region between 0x85800000 and 0x86300000 is currently not used by anyone. BSP has allocated 0x85800000-0x88000000 region for CMEM+DSP but CMEM+DSP is only using 0x86300000-0x88000000. The region (0x85800000-0x86300000) has been reserved for future use. Just as a heads up, we are planning to use this region in future release within BSP.

    -Madhvi

     

     

  • To add to Madhvi's reply:

    Yes the 16Meg (0x86300000-0x87300000) is the shared memory for buffers. 

    Rest of the memory (0x87300000-0x8800000) is for used for DSP code and data.