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/TDA2EVM5777: [VISION SDK] Running a TIDL usecase in LINUX+BIOS mode.

Part Number: TDA2EVM5777


Tool/software: Linux

Hi,

In the VISION SDK, we found that the sample usecase for TIDL is present only for the BIOS only mode (i.e rtos)

As we are building apps for Linux+Bios mode (i.e hlos), the chain as well as Alg_plugin link available for TIDL is not getting built. And we want to run TIDL usecase in hlos mode.

Hence please clarify our below Queries:

1) Can we integrate the TIDL alg plugin link and TIDL usecase just by copying the respective folders from rtos to hlos directories? (With appropriate additions in cfg.mk and uc_cfg.mk files)

2) If not, please suggest how to enable the 'TIDL alg plugin link' and 'TIDL usecase' for hlos mode.

Thanks in advance.

Regards,

Ranjith.

  • Hi Ranjith,

    TIDL does not build and run in Linux.

    Thanks,
    Praveen
  • Hi Praveen,

    Thanks for the quick response.
    We do know that TIDL will not run on Linux. What we were trying to do is use the rtos alg_plugin_link of TIDL in a usecase running in Linux.
    I.e the TIDL Link will still be running on RTOS of EVE/DSP, the use-case which is invoking this link will be built for hlos.

    Below is the chain we are trying to build for hlos mode:
    UseCase: chains_tidlEve

    NullSource -> Alg_tidlpreproc (A15)
    Alg_tidlpreproc (A15) -> Alg_tidl_1 (EVE1)
    Alg_tidl_1 (EVE1) -> Merge (IPU1_0)
    Merge (IPU1_0) -> Null

    We thought that including an alg_plugin link of rtos in a hlos usecase should be possible, please correct/confirm our understanding.

    Regards,
    Ranjith
  • Hi Ranjith ,

    Your understanding is correct that TIDL Link will still be running on RTOS of EVE/DSP.

    There are some changes in your usecase .

    NullSource link needs to be in A15 as filesystem is in hlos (linux).

    So file read would happen from linux . YUV files are fed as input to Alg_tidlpreprocess (A15).

    Currently
    1) Alg_tidlpreprocess is not ported to Linux, hence the algplugin needs to be ported to linux.
    2) Alg_tidl_1(EVE1) is a algplugin which runs on bios core. Hence no changes to be done here.
    3) Null Link needs to be in A15 again as File i/o is present in hlos(linux) .


    Yes including an alg_plugin link of rtos in a hlos usecase should be possible only if the alg is running on a rtos core. ( Not on hlos.)
    In this case Alg_tidlpreprocess is running on hlos core hence it needs to be ported .

    Regards
    Chetan.M
  • Hi Ranjith,

    You would have to port Alg_tidlpreprocess to linux ,

    we have no plans to support the same on linux in up coming release

    Regards
    Chetan.M