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 in the sys/bios

Other Parts Discussed in Thread: OMAPL138, OMAP-L138

hello,I use sys/bios in omapl138 ARM side.however I don't know how to communicate with dsp.      CMEM as a component in the linux and wince products,whether sys/bios also use it.  where to download it. please help me .

  • Hi

       The CMEM package will be found under the linux SDK, just download the linux SDK for your chip.

  • CMEM is not supported on SYS/BIOS.  CMEM was mainly created to allocate physically contiguous memory on systems where that's not natively supported (e.g. Linux/WinCE, where malloc() returns non-physically contiguous virtual memory).  All memory allocated in a SYS/BIOS system is already physically contiguous.

    For managing memory between SYS/BIOS-ARM and SYS/BIOS-DSP on an OMAP-L138 device, you might look at the IPC product.  There you'll find cross-core memory allocation support (e.g. HeapBufMP) where, for example, you could alloc memory on one side and free it on the other if you want.

    Alternatively, you can just carve off some memory and manage it yourself.

    Chris