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.

DM8168 & MCFW: DSP IPC link



Hello guys,

what kind of IPC link I can to use to send processed data buffer (not video buffer, just raw data, aka BitsBuf) from C64 slave processor to Host (A8)?

ThanX alot for any help.

 

  • Marat,

    IpcBitsOutLinkRTOS on Dsp and ipcBitsInHLOS on A8 can be used for sending BitsBuf from DSP to A8. This is illustrated in progressive demo for DM816x.

    Regards,

    Yogesh.

    NOTE: Please click "Verify Answer" if this post has answered your question

     

  • ThanX alot for answer.

    You mean "multich_progressive_4d1_vcap_venc_vdec_vdis.c" usecase?

    But in this usecase DSP ALG link hasn't output queue and "next link" for connect and send data to next recipient. Only "input queue" and "previous link" defined.

    I mean, DSP ALG doesn't work in, let say, "traditional" link schema, where each link (outside of capture and display) has "IN" and "OUT" connectivity.

     

    Above example, if I understood correclty, used only 2 links on DSP side: SYSTEM_DSP_LINK_ID_IPC_FRAMES_IN_0 (for input) and SYSTEM_LINK_ID_ALG_0 (for processing). Other links run on VPSS, Video or Host subsystems.

  • Marat,

    I meant dvr_rdk\mcfw\src_linux\mcfw_api\usecases\ti816x\multich_progressive_vcap_venc_vdec_vdis.c not the 4d1 progressive.

    Which version of RDK you are using?

  • ThanX again ;-)

    My version of DVR-RDK is 01_09_00_19.

    Sorry, but in my DVR-RDK version, I don't found any difference in DSP ALG "connectivity" between 2 usecases: "multich_progressive_vcap_venc_vdec_vdis.c" and "multich_progressive_4d1_vcap_venc_vdec_vdis.c".

     

  • I think this is my usecase, but I don't know how ipmlement this case on DSP:

    VPSS IPC OUT link

    |

    +-<------------> process link (DSP link)

    |                                                      |

    |                                                      |

    Encoder link etc.                              |

                                                    Host A8 (queue "listener")

  • Marat,

    The RDK version you are using is pretty old, we would stongly suggest to move the latest one (V 2.80). This version excatly shows the IpcBitsOutLinkRTOS from DSP with output queue connected to IpcBitsInLinkHLOS on A8.

     

     

  • 1) May I ask you URL for download latest version?

     

    2) I think this is my usecase, but I don't know how ipmlement this case on DSP:

    VPSS IPC OUT link

    |

    +-<------------> process link (DSP link)

    |                                                      |

    |                                                      |

    Encoder link etc.                               |

                                                    Host A8 (queue "listener")

     

    3) It's a problem to use "output queue" and work by "traditional" link schema on DSP?

    ThanX again

  • Marat,

    This is not possible with the RDK version you are using. Dsp lik did not have outque at that time. Which platform you are on? If you are using UDworks 816x dvr please contact them for the URL

     

  • Ok, I'll try to upgrade my DVR-RDK version.

    Yes I'm works with UDWORKS.

     

    But on UDWORKS site latest version available for download is: 02.00.00.24. Is this version good enougth for my purpose?

    New version of RDK require update of ti_tools too? 

     

  • Marat,

    Yes 02.00.00.24 should have outque implemented so this is good enough. Regarding ti_tools, its better to update ti_tools that 02.00.00.24 supports to avoid getting into unknown issues.

  • I update my old RDK version on 02.00.00.24 from UDWORKS, but this version hasn't sources of SCD algorithm. When I try compile SCD have errors as is following:

     

    make dvr_rdk_bios6_algs

    rm -rf build/lib/

    rm -rf build/obj/

    make -fMAKEFILE.MK -C /home/marat/workdir/netra_dvrrdk/dvr_rdk/../dvr_rdk/mcfw/src_bios6/alg/scd

    make[1]: Entering directory `/home/marat/workdir/netra_dvrrdk/dvr_rdk/mcfw/src_bios6/alg/scd'

    make -C /home/marat/workdir/netra_dvrrdk/dvr_rdk/../dvr_rdk/mcfw/src_bios6/alg/scd CORE=c6xdsp

    make[2]: Entering directory `/home/marat/workdir/netra_dvrrdk/dvr_rdk/mcfw/src_bios6/alg/scd'

    /bin/mkdir -p /home/marat/workdir/netra_dvrrdk/dvr_rdk/../dvr_rdk/build//obj/c674/debug

    /bin/mkdir -p /home/marat/workdir/netra_dvrrdk/dvr_rdk/../dvr_rdk/build//obj/c674/debug/.deps

    /bin/mkdir -p /home/marat/workdir/netra_dvrrdk/dvr_rdk/../dvr_rdk/build//lib/c674/debug

    make[2]: *** No rule to make target `SCD_TI_ialg.c', needed by `/home/marat/workdir/netra_dvrrdk/dvr_rdk/../dvr_rdk/build//obj/c674/debug/SCD_TI_ialg.oe674'.  Stop.

    make[2]: Leaving directory `/home/marat/workdir/netra_dvrrdk/dvr_rdk/mcfw/src_bios6/alg/scd'

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

    make[1]: Leaving directory `/home/marat/workdir/netra_dvrrdk/dvr_rdk/mcfw/src_bios6/alg/scd'

    make: *** [dvr_rdk_bios6_algs] Error 2

     

    I saw that there are no files for SCD algorithm - only lib files and no source files. Pleas help me - where I can to get source files and fix compilation error.

    ThanX alot.