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.

TDA4VM: DDR MEM SIZE

Part Number: TDA4VM


HI, TI Teams:

software version: ti-processor-sdk-rtos-j721e-evm-07_03_00_07

OS: QNX

According to  ti-processor-sdk-rtos-j721e-evm-07_03_00_07/vision_apps/apps/basic_demos/app_tirtos/tirtos_qnx/gen_linker_mem_map.py  file:


116 ddr_mem_addr = 0xa0000000;
117 ddr_mem_size = 1*GB + 448*MB; # Last 64MB is used by Linux
118
119 ddr_mem_addr_hi = 0x100000000;
120 ddr_mem_size_hi = 1*GB;

1.  the  mcu1_x mcu2_x mcu3_x c66_x c71x   memory size total is 2.5G, so the DDR SIZE for QNX system is 4G-2.5G = 1.5G ?
2.  exec:  "pidin info " command

      

 the picture show the QNX system FreeMem is 2.5G .

QA:  FreeMem is 2.5G ,but 4G-2.5G = 1.5G , so please give me some points.

    thanks!

  • Hi,

    The lines referenced above 116 - 120, are specifying, by default how much of DDR that vision apps framework would like reserved for it's own use.  The py file reads as 1 GB + 448 MB + 1GB = ~2.5G.  This memory reservation, can be reduced / increased as per the use case requirements.

    The required vision apps memory reservation should be reflected in the generated html file at ti-processor-sdk-rtos-j721e-evm-07_03_00_07/vision_apps/apps/basic_demos/app_tirtos/tirtos_qnx/system_memory_map.html

    The "pidin info" output that has been provided shows that the QNX HLOS believes that ~2.5GB is free, which is more than is expected.   A better way view the QNX memory in this case, is to use "pidin syspage=asinfo".    As you have noted the required vision_apps reservation, should be reflected in the amount of the memory that the QNX HLOS would view as unavailable.

    Below thread can be referenced for a similar discussion on the PSDK QNX 8.0 SDK.

    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1086153/tda4vm-does-the-qnx-system-need-the-memory-map-configuration-as-linux/4024344

    For PSDK QNX 7.3 SDK, and the settings show above for the ti-processor-sdk-rtos-j721e-evm-07_03_00_07/vision_apps/apps/basic_demos/app_tirtos/tirtos_qnx/gen_linker_mem_map.py,  the entry in ti-processor-sdk-rtos-j721e-evm-07_03_00_07/psdkqa/qnx/bsp/images/j721e-evm-ti.build should be modified as below:

    Current Entry

    [+keeplinked] startup-j721e-evm -v -r0xA0000000,0xA0000000,1 -d, 

     should be replaced with the below to align with the py /  html file. 

    [+keeplinked] startup-j721e-evm -v -r0xA0000000,0x60000000,1 -r0x880000000,0x40000000,1 -d

    Regards,

    kb