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.

TDA2EXEVM: Changing TDA2 Memory Map

Part Number: TDA2EXEVM
Other Parts Discussed in Thread: TDA2, SYSBIOS

Hi,

I need to have much bigger DDR memory foot print for DSP1. Looks like all memory allocation request ended up a rquest to IPU0 for allocation. And ultimately the size of the Frame Buffer on SR1 needs to be much bigger. I tried to change the TDA2 memory map based on this doc  https://processors.wiki.ti.com/index.php/VSDK/VisionSDK_UserGuide_MemoryMap

1. Created a new memory map C:\TI\processor_sdk_radar_03_08_00_00\vision_sdk\apps\build\tda2xx\mem_segment_definition_bios_1024mb.xs file for 1024MB with below changes:

DDR3_SIZE                   = 1024*MB;

DDR3_BASE_SIZE_0            = 1019*MB;

if(java.lang.System.getenv("ECC_FFI_INCLUDE")=="yes")
{
/* Ensure ECC regions are 64kB aligned */
SR1_FRAME_BUFFER_SIZE = 809.5*MB;
SR1_BUFF_ECC_ASIL_SIZE = 1*MB;
SR1_BUFF_ECC_QM_SIZE = 40*MB;
SR1_BUFF_NON_ECC_ASIL_SIZE = 1*MB;
}
else
{
SR1_BUFF_ECC_ASIL_SIZE = 4*KB;
SR1_BUFF_ECC_QM_SIZE = 4*KB;
SR1_BUFF_NON_ECC_ASIL_SIZE = 4*KB;
SR1_FRAME_BUFFER_SIZE = 851.5*MB -

}

2. From C:\TI\processor_sdk_radar_03_08_00_00\vision_sdk\build\rtos\tda2xx, modified the 4 config_a15.bld, config_m4.bld, etc...to look for 1024mb .xs file

if (platformMem == "DDR_MEM_1024M")
{
var MemSegDefine = xdc.loadCapsule("" + appPath + "/build/tda2xx/mem_segment_definition_bios_1024mb.xs");
}

if (platformMem == "DDR_MEM_512M")
{
var MemSegDefine = xdc.loadCapsule("" + appPath + "/build/tda2xx/mem_segment_definition_bios.xs");
}

3. Modified C:\TI\processor_sdk_radar_03_08_00_00\vision_sdk\apps\configs\tda2xx_cascade_bios_radar\cfg.mk

DDR_MEM=DDR_MEM_1024M

4. Modified C:\TI\processor_sdk_radar_03_08_00_00\vision_sdk\build\rtos\makerules\components.make

ifeq ($(PLATFORM),$(filter $(PLATFORM), tda2xx-evm tda2xx-rvp))
vision_sdk_CFLAGS = -DTDA2XX_BUILD -DTDA2XX_FAMILY_BUILD -DSOC_TDA2XX -DPLATFORM_EVM_SI
vision_sdk_CFLAGS += -D_DRA7xx -D_SC_VER_1_16 -D__sysbios__
ifeq ($(DDR_MEM),DDR_MEM_512M)
vision_sdk_CFLAGS += -DTDA2XX_512MB_DDR
else
vision_sdk_CFLAGS += -DTDA2XX_1024MB_DDR
endif

After that rebuilt the code with a fresh build (ie: gmake -s -j depend, etc...), Run the AppImage and it got stuck at boot in the attached screenshot. Please advice...any feedback is appreciate it.

Thanks,

--Khai