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.

source code of IPC demo (image processing)

I am a newcomer of EVMK2H 4.0 using MCSDK 3.0.4.

 In my project, I want to use an arm core as a master, dsp cores as slaves and I know i can refer to IPC demo (image processing) according to  the post as follows , but i don't know how to find the source code of the image processing demo, especially the one under linux?   

thanks for your any response.

  • Hi,
    You can get the IPC source code in the following location of MCSDK installation path.

    C:\ti\mcsdk_bios_3_01_01_04\demos\image_processing\ipc\evmtci6638k2k

    This src needs to be compiled in linux (makefile) with arm toolchain.
    C:\ti\mcsdk_bios_3_01_01_04\demos\image_processing\ipc\master\src

    Also you would find IPC binaries and scripts in the following K2HK linux filesystem.

    /usr/share/matrix-gui-2.0/apps/demo_ipc
    /usr/share/matrix-gui-2.0/apps/demo_imageproc

    Linux driver code location:
    drivers/remoteproc

    "remoteproc" driver has been used for IPC (dealing with DSPs)

    "mpmcl" utility has been used to load *.out on DSP cores.
  • Hi, Titusrathinaraj 

    Thanks for your response and what you replied is right what i want. 

    Here i have another question. Could you brief me on the program matrix-gui-2.0, who calls it and who it calls to start up matrix? Because i have not identied its calling relationship in root filesystem except the script file named "/etc/init.d/matrix-gui-2.0" in which i found  a call to "/usr/bin/matrix-browser" that howerver actually does not exist. 

  • Hi Xin,

    For more info and insights on Matrix gui, please refer to

    processors.wiki.ti.com/.../Matrix_Users_Guide

    ---
  • thanks for your quick reply.  

    I have read the Matrix_Users_Guide you mentioned above, but it doesn't give how linux starts the matrix when linux startups.

    From the root filesystem "tisdk-rootfs.tar.gz" under MCSDK 3.0.3.15 installation path, I found the matrix startup as followings:

    "/sbin/init" -> "/etc/inittab"  -> "/etc/init.d/rc 5"  -> "/etc/rc5.d/S97matrix-gui-2.0" -> "/etc/init.d/matrix_gui_2.0" -> "/usr/bin/matrix_brower" . 

    but I have not found the program "/usr/bin/matrix_brower" in the rootfs.

    Could you tell where it is Or linux startups matrix not in the way I mentioned above?

  • Hi,


    "/sbin/init" -> "/etc/inittab" -> "/etc/init.d/rc 5" -> "/etc/rc5.d/S97matrix-gui-2.0" -> "/etc/init.d/matrix_gui_2.0" -> "/usr/bin/matrix_brower" .

    Actually we don't run QT application from this location.

    matrix_brower -> Its QT application and its needed when we have hw LCD display.
    But we are using lightpd server to run that matrix application where K2H board doesn't have hw LCD display so we are running this matrix app as internet server application.

    You have to provide the IP address (which you got from K2H bootlogs or small LCD display) to the internet browser to run that application

    processors.wiki.ti.com/.../MCSDK_Inter_Processor_Communication_Demonstration_Guide