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.

How to compile ARM side code in image processing demo of EVMK2h?

Hi 

I am trying to run image processing demo for EVMK2H to test IPC functionality. I want to know how can I compile ARM side code in linux?

I have tried to make file present at (image_processing/ipc/evmtci6638k2k/master). But I always get error

mcip_mem_mgmt.c:53:24 fatal error: ti/ipc/Std.h: No such file or directory

Regards

  • Hi Rao,

    For building the ARM side code, please follow up the instructions present at the wiki below.

    Before you build the ARM code, you should build the IPC package.

    .

  • 
    

    Thanks

    when i try to install I follow this post and user guide

    I get error. Seems like there is a binary required with name strip but I don't see any thing with this name in toolchain.

    configure: WARNING: If you wanted to set the --build type, don't use --host.
        If a cross compiler is detected then cross compile mode will be used.
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for arm-linux-gnueabi-strip... no
    checking for strip... strip
    checking whether to enable maintainer-specific portions of Makefiles... no
    checking build system type... i686-pc-linux
    checking host system type... arm-unknown-linux-gnueabi
    checking for style of include used by make... GNU
    checking for arm-linux-gnueabi-gcc... /home/ubuntu/Keystone_ii_linux_uboot/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin/arm-linux-gnueabi-gcc
    checking for C compiler default output file name... configure: error: C compiler cannot create executables
    See `config.log' for more details.
    make: *** [config] Error 77

  • I realized that I was making a mistake by picking wrong tool chain prefix prefix. I resolved that issue. Now make ipc

    But now I am stuck in different issue. when i type make; sudo make install. Complete lof file and product.mak are attached here by.

    chmod 644 /home/ubuntu/Keystone_ii_linux_uboot/sample_apps/lib/lib/libtiipcutils_lad.a

    arm-linux-gnueabihf-ranlib /home/ubuntu/Keystone_ii_linux_uboot/sample_apps/lib/lib/libtiipcutils_lad.a

    ../../../libtool: line 6556: arm-linux-gnueabihf-ranlib: command not found

    make[2]: *** [install-libLTLIBRARIES] Error 127

    make[2]: Leaving directory `/home/ubuntu/ti/ipc_3_36_02_13/linux/src/utils'

    make[1]: *** [install-am] Error 2

    make[1]: Leaving directory `/home/ubuntu/ti/ipc_3_36_02_13/linux/src/utils'

    make: *** [install-recursive] Error 1
  • Rao Munzir,

    The error log of yours tells me that you need to export the tool chain path like below

    Steps:

    =====

    1) sudo su

    2) echo "export PATH=/home/ti-sdk-/linux-devkit/bin:$PATH" >> /etc/bash.bashrc

    3)Command for update the bashrc file

    source /etc/bash.bashrc

    4) Terminal should be like this after "sudo su"

    Enter the arm-linux-gnueabihf-gcc command in terminal to check whether the toolchain is exported or not.

  • Hi Rao Munzir,
    Thanks for the update.
    Please let me know if any issues.
  • There is one particular issue. When I include
    #include <ti/ipc/interfaces/INetworkTransport.h>
    #include <ti/ipc/interfaces/ITransport.h>
    #include <ti/ipc/transports/TransportRpmsg.h>
    in my code it gives me error
    fatal error xdc/sdt.h no such file exists.
  • Hi Rao,

    This seems to be a path inclusion error.
    Check whether you have included the path where these files were located.

    It is better to open up a new thread as your previous query has been answered.