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.

Memory map

I have read this article named "Changing the DVEVM memory map". In the article:

When designing the memory map, one of the procedures is computing the Linux memory size .

"the Linux memory size = our device total DDR2 memory – DDR size – DDRALGHEAP size – DSPLINKMEM (1MB) ".

I havea question. It doesn't have the CMEM in this formula.  Why?  Without the CMEM, is this formula correct??

In additon, I think the DDR2 and the DDR are the same. So what the meaning of "our device total DDR2 memory "??

  • wumengtiankuo zhou said:

    "the Linux memory size = our device total DDR2 memory – DDR size – DDRALGHEAP size – DSPLINKMEM (1MB) ".

    I havea question. It doesn't have the CMEM in this formula.  Why?  Without the CMEM, is this formula correct??

    You're right, the formula should also subtract out any CMEM memory.  I've updated the article.

    wumengtiankuo zhou said:
    In additon, I think the DDR2 and the DDR are the same. So what the meaning of "our device total DDR2 memory "??

    I think the article is trying to use "DDR2" for the physical memory on the board (e.g. 128 MB, or whatever your board will have) and "DDR" as the memory section that contains DSP code/data.  I agree, it's confusing - I've updated that section as well to try to clarify.

    Chris