When i allocate memory in DDR non cache section, i get the error. PFA error screenshot.
Please help.
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.
When i allocate memory in DDR non cache section, i get the error. PFA error screenshot.
Please help.
Hi
Which is the vision SDK version you use?
what is the plaform slected, does it TDA2x, TDA3x etc.?
What is A15 side OS, Bios or Linux?
regards, Shiju
Socrates
can you please provide more details on which memory section you have increased and how much?
regards, Shiju
Hi Shiju,
PFA mem_segment_definition_512mb_bios.xs for your reference.
We have increased DSP2_DATA_SIZE as 72*MB;
Thanks
Hi,
When i allocate memory in DSP non cache section, I get this MDMA error. However when I allocate memory in A15 non cache section, I do not get this MDMA error.
Regards,
Socrates
Hi Socrates,
Sorry for not being able to get back to you earlier. This is an unexpected behavior. Could you please let us know the exact address where you are allocating the buffer and how the DSP is accessing the A15 non-cached region? This will help us understand this better.
Thanks and Regards,
Piyali
Hi Socrates,
I will try and re-produce this at my end and get back to you.
Thanks and Regards,
Piyali
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
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
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