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.

66AK2H12: PDK DDR, MPM, and DSP memory configuration

Part Number: 66AK2H12

Hi All,

We are developing arm-dsp application using k2hk device, the system is not behaving as expected and crashing,

In the processor SDK, we are observing some memory mismatch in the following configuration, 

  1. Device tree

     dsp-common-mpm-memory@820000000 {

          compatible = "ti,keystone-dsp-mem-pool";

          reg = <0x8 0x20000000 0x0 0x10000000>;
          no-map;
          status = "okay";
        };
  2. mpm_config.json

    {
    "name": "local-ddr",
    "globaladdr": "0x90000000",
    "length": "0x30000000",
    "devicename": "/dev/dspmem"
    },

  3. DSP repo memory map is DSP source code

      DDR_IPC               a0000000   0b000000  00000000  0b000000  RW X

the above three configuration is fine? if not than as wihich address we can configure for all?

Regards,

Snehal

  • Hi, Snehal,

    The json file defines the daemon's memory map, but dts file mpm reserved memory defines the area the download will be using. The linux and DSP memory locations are at the same location. Linux is using LPAE format and DSP in 32-bit address format. For memory map please see Note 5 of the device memory map summary in the K2H Datasheet (page 79 of SPRS866g).

    Rex