• Resolved

TDA2SX: MDMA memory Issues

Part Number: TDA2SX

When i allocate memory in DDR non cache section, i get the error. PFA error screenshot.
Please help.

 

  • In reply to Piyali Goswami:

    Hi Piyali,

    Please ignore my post on Mar 6, 2017.

    When i allocate memory in DSP, in utils non cached section i get Utils MDMA error.

    Please refer mem_segment_definition_512mb_bios.7z (.xs) dated Feb 27, 2017 in this thread.

    Currently i have allocated this memory in cache section of DDR to overcome this error. However i need to allocate this memory in non cached section of DDR.

    Could you please help us resolve this issue ASAP.

    Thanks

    Regards,
    Socrates
  • In reply to Socrates Paramasivam:

    Hi Socrates,

    I will try and re-produce this at my end and get back to you.

    Thanks and Regards,

    Piyali

  • In reply to Piyali Goswami:

    Hi Piyali,

    Any updates on this.

    In fact we have customer release scheduled this week. Any help on this issue would be appreciated.

    Thanks

    Best Regards
    Socrates
  • In reply to Socrates Paramasivam:

    Hi Socrates,

    I see that the build is failing with the XS file changes over 2.10 Vision SDK release. Have you made any other changes to reproduce this issue?

    "D:/VISION_SDK_02_10_00_00/vision_sdk/binaries/obj/vision_sdk/tda2xx-evm/ipu1_0/debug/vision_sdk_con
    figuro/linker_mod.cmd", line 297: error:
    program will not fit into available memory. run placement with alignment
    fails for section ".bss:heapMemDDR" size 0x15e00000 . Available memory
    ranges:
    SR1_FRAME_BUFFER_MEM size: 0x103fd000 unused: 0x103fd000 max hole:
    0x103fd000
    error: errors encountered during linking;
    "D:/VISION_SDK_02_10_00_00/vision_sdk/binaries/vision_sdk/bin/tda2xx-evm/vis
    ion_sdk_ipu1_0_debug.xem4" not built
    gmake[6]: *** [D:/VISION_SDK_02_10_00_00/vision_sdk/binaries/vision_sdk/bin/tda2xx-evm/vision_sdk_ip
    u1_0_debug.xem4] Error 1
    gmake[5]: *** [ipu1_0] Error 2
    gmake[4]: *** [apps_ipu1_0] Error 2
    gmake[3]: *** [apps] Error 2
    gmake[2]: *** [apps] Error 2
    gmake[1]: *** [vision_sdk_apps] Error 2
    gmake: *** [vision_sdk] Error 2

    I will dig some more from my end.

    Regards,
    Piyali
  • In reply to Piyali Goswami:

    Hi Socrates,

    I wanted to follow up on this issue. Kindly let me know the other changes you have made over 2.10 Vision SDK to help me reproduce the issue at my end.

    Thanks and Regards,

    Piyali

  • In reply to Piyali Goswami:

    Hi Piyali,

    Apart from the changes mentioned in the earlier posts, we did perform any other changes. 

    Could you please provide your desk number so that I can explain the issues in a better way.

    Thanks

    Regards,

    Socrates

    socrates.paramasivam@kpit.com

  • In reply to Socrates Paramasivam:

    Hi Socrates,

    Summarizing the discussion here:

    I could re-produce the issue at my end. The issue occurs because the IPU allocates 0xB** address for the non-cached shared region. The SBL does not map a LISA mapping which maps 0xA000_0000 to the same memory region as 0x8000_0000.

    The change required is:

    --- a/starterware_/bootloader/sbl_utils/src/sbl_utils_tda2xx_ddr_config.c
    +++ b/starterware_/bootloader/sbl_utils/src/sbl_utils_tda2xx_ddr_config.c
    @@ -500,8 +500,10 @@ static void TDA2xx_set_lisa_maps(void)
    " Same memory mapped at 0x80000000 and 0xA0000000\n");
    /* MA_LISA_MAP_i */
    HW_WR_REG32(SOC_MA_MPU_CONF_REGS_BASE + LISA_MAP_0, 0x80500100U);
    + HW_WR_REG32(SOC_MA_MPU_CONF_REGS_BASE + LISA_MAP_1, 0xA0500100U);
    /* DMM_LISA_MAP_i */
    HW_WR_REG32(SOC_DMM_CONF_REGS_BASE + LISA_MAP_0, 0x80500100U);
    + HW_WR_REG32(SOC_DMM_CONF_REGS_BASE + LISA_MAP_1, 0xA0500100U);
    }
    #endif
    }

    Kindly try this at your end and let me know if this works.

    Thanks and Regards,

    Piyali

  • In reply to Piyali Goswami:

    Hi Piyali,

    Thanks indeed for your detailed explanation as well providing the fix for MDMA issue. This issue is resolved.

    Regards,
    Socrates