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.

RTOS: Vision SDK -OOM issue ( usecase camera + display server )

Tool/software: TI-RTOS

Hello all,

We are using dra7xx customized board having 1 GB ram.We are using vision SDK for UseCase-camera & as display-server.

We are facing oom issue.  Can i reduce the vsdk_sr1_memory size ? What is the minimal  memory size required  for each region  to execute my usecase?

&reserved_mem {
cmem_ocmc: cmem@40300000 {
compatible = "shared-dma-pool";
reg = <0x0 0x40300000 0x0 0x300000>;
sram = <&ocmcram1>;
no-map;
status = "okay";
};

cmem_pool: cmem@A9000000 {
compatible = "shared-dma-pool";
reg = <0x0 0xA9000000 0x0 0x4000000>;
no-map;
status = "okay";
};

vsdk_sr1_mem: vsdk_sr1_mem@84000000 {
compatible = "shared-dma-pool";
reg = <0x0 0x84000000 0x0 0x10000000>;
status = "okay";
};

vsdk_sr0_mem: vsdk_sr0_mem@A0000000 {
compatible = "shared-dma-pool";
reg = <0x0 0xA0000000 0x0 0x1000000>;
status = "okay";
};

vsdk_eve_mem: vsdk_eve_mem@A5000000 {
compatible = "shared-dma-pool";
reg = <0x0 0xA5000000 0x0 0x4000000>;
status = "okay";
};

We are not using EVE ,dsp1 and dsp2 core. We are using only IPu1 core for our usecase.

Regards,

Gokul

  • Gokul

    VSDK Linux default memory configuration is for 1GB.
    You can reduce the SR1 section, the minimum size varies with the application.
    You need to modify the .xs file and kernel dts files to make any changes in the memory map
    mem_segment_definition_linux.xs
    dra7-evm-infoadas.dts

    regards, Shiju