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.

Linux/PROCESSOR-SDK-DRA7X: vision SDK 3.00.00 unable to build ipu2 xem with IPUMM

Part Number: PROCESSOR-SDK-DRA7X

Tool/software: Linux

Hi,

I managed to build the vision SDK 3.00.00 with the default settings, by making some changes to the steps mentioned in the VisionSDK_Linux_UserGuide.pdf with some changes as mentioned in the comments of this link. However, I then tried to build the same with IPUMM=yes in $INSTALL_DIR/vision_sdk/apps/configs/tda2xx_evm_linux_all/cfg.mk file. Alongwith this, I replaces the framework_components folder as mentioned in the user guide. However, while building, I get the following error :

"$INSTALL_DIR/vision_sdk/binaries/apps/tda2xx_evm_linux_all/obj/vision_sdk/tda2xx-evm/ipu2/release/vision_sdk_configuro/linker_mod.cmd", line 430: error:

   program will not fit into available memory.  run placement with alignment

   fails for section ".systemHeap" size 0x2800000 .  Available memory ranges:

   IPU2_DATA_MEM   size: 0x1400000    unused: 0x93ef18     max hole: 0x93eefc

error: errors encountered during linking;

   "$INSTALL_DIR/vision_sdk/binaries/apps/tda2xx_evm_linux_al

   l/vision_sdk/bin/tda2xx-evm/vision_sdk_ipu2_release.xem4" not built

make[7]: *** [$INSTALL_DIR/vision_sdk/binaries/apps/tda2xx_evm_linux_all/vision_sdk/bin/tda2xx-evm/vision_sdk_ipu2_release.xem4] Error 1

make[6]: *** [ipu2] Error 2

make[5]: *** [apps_ipu2] Error 2

make[4]: *** [apps] Error 2

make[3]: *** [apps] Error 2

make[2]: *** [apps_exe] Error 2

make[1]: *** [apps] Error 2

make: *** [vision_sdk] Error 2

 

 

It looks like, the ipu2.xem and the linker are taking two different memory maps and hence the build is failing. It will be helpful if I can get clarifications on the following points:

1. Is the edited config file, a correct config file to set IPUMM to true?

2. Are there any other changes needed for the vision SDK to build with the IPUMM? If yes, can someone guide me to the changes/ document with the changes?