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.

TDA2EVM5777: Alg Plugin Creation on Linux

Part Number: TDA2EVM5777
Other Parts Discussed in Thread: SYSBIOS

Hello everyone,

I am creating an alg-plugin for my usecase over linux.

UseCase :- Capture -> Alg_ABC (DSP1) -> Display_M4 (IPU1_0)

I have referred FrameCopy for the development and followed the same steps for Linux. But when I include my plugin in cfg.mk at apps/configs path ,where all plugins are included for build , it is searching for SRC.MK file. But it is not being included in the plugin folder for the development over Linux (as per referred FrameCopy). 

Am I doing something wrong in here? Do I need to put the plugin folder at rtos path and create SRC.MK file specifying path for build ?

Following error has been given on the terminal :-

Makefile:51: /home/linux/Documents/SourceCode/vision_sdk/apps/src/rtos/alg_plugins/ABC/SRC_FILES.MK: No such file or directory
make[4]: *** No rule to make target '/home/linux/Documents/SourceCode/vision_sdk/apps/src/rtos/alg_plugins/ABC/SRC_FILES.MK'. Stop.
MAKEFILE.MK:9: recipe for target 'libs' failed
make[3]: *** [libs] Error 2
Makefile:200: recipe for target 'app_alg_plugins' failed
make[2]: *** [app_alg_plugins] Error 2
Makefile:36: recipe for target 'apps' failed
make[1]: *** [apps] Error 2
Makefile:12: recipe for target 'vision_sdk' failed
make: *** [vision_sdk] Error 2

Pl provide your inputs to resolve the issue. 

Regards,

Shantanu Joshi  

  • Hi Shantanu,

    you need to add SRC_FILES.MK with source dir and source files inside your vision_sdk/apps/src/rtos/alg_plugins/ABC directory.

    For details please check chapter "6.3 Adding new alg plugins to build (BIOS side)" in vision_sdk/docs/FeatureSpecificUserGuides/VisionSDK_UserGuide_BuildSystem.pdf or look at any of the existing plugins under vision_sdk/apps/src/rtos/alg_plugins.

    Regards,

    Yordan

  • Hi Yordan,

    I am creating alg-plugin for linux under hlos directory and not under rtos for SYSBIOS. The error though I am getting is for the path of 

    rtos/alg_plugins/ABC directory. I am not getting why it is giving error for SRC.MK under rtos directory while I am creating plug-in under hlos.

    Regards,

    Shantanu Joshi

  • Hi,

    Please take a reference of below link available in HLOS folder

    vision_sdk\apps\src\hlos\adas\src\alg_plugins\framecopy

    Dont look for rtos alg link.

    Please refer below guide also.

    vision_sdk\docs\FeatureSpecificUserGuides\VisionSDK_UserGuide_BuildSystem.pdf

    Regards,

    Anuj