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/AM5728: IPC examples build issues

Part Number: AM5728
Other Parts Discussed in Thread: MATHLIB

Tool/software: Linux

I am trying to follow the instructions (below) to build the IPC examples for the AM5728 EVM but I am running into some problems.

http://processors.wiki.ti.com/index.php/Processor_SDK_IPC_Quick_Start_Guide#Build_IPC_Linux_examples

The problem I am having is that when I go to build using 

make ti-ipc-linux

I get the following output:

$ sudo make ti-ipc-linux

Error: TI_RTOS_PATH () does not contain
       the corresponding Processor SDK RTOS release!

Please install Processor SDK RTOS 04.03.00.05 for am57xx-evm.
Makefile:767: recipe for target 'ti-ipc-rtos-path-check' failed
make: *** [ti-ipc-rtos-path-check] Error 1

I have tried exporting the RTOS install path as an environment variable but it continues to output the same thing. 

For reference here is the directory listing for the directory I point to for the RTOS install:

.
├── bios_6_52_00_12
├── cg_xml
├── ctoolslib_2_2_0_0
├── dsplib_c66x_3_4_0_0
├── edma3_lld_2_12_05_30C
├── framework_components_3_40_02_07
├── gcc-arm-none-eabi-6-2017-q1-update
├── imglib_c66x_3_1_1_0
├── ipc_3_47_01_00
├── mathlib_c66x_3_1_1_0
├── ndk_2_26_00_08
├── openmp_dsp_am57xx_2_06_02_01
├── pdk_am57xx_1_0_10
├── processor_sdk_rtos_am57xx_4_03_00_05
├── ti-cgt-arm_16.9.3.LTS
├── ti-cgt-c6000_8.2.2
├── ti-cgt-pru_2.2.1
├── uia_2_21_02_07
├── xdais_7_24_00_04
└── xdctools_3_50_03_33_core

I have Linux SDK Version 04.03.00.05

and TI RTOS SDK Version 04.03.00.05

What could be the cause of this error?

  • Hi Alex,

    Here is what you need to add in ~/ti-processor-sdk-linux-am57xx-evm-04.03.00.05/Rules.make:
    #Points to the root of the TI SDK
    export TI_SDK_PATH=/home/users/ykovachev/ti-processor-sdk-linux-am57xx-evm-04.03.00.05

    +#Points to TI RTOS
    +export TI_RTOS_PATH=/home/users/ykovachev/ti

    #root of the target file system for installing applications
    DESTDIR=__DESTDIR__

    After this modification I was able to build ti-ipc module.

    Best Regards,
    Yordan
  • Also here is the detailed guide on how to build IPC (and its components) in Processor SDK Linux:
    software-dl.ti.com/.../Foundational_Components.html

    Best Regards,
    Yordan
  • Thanks Yorden, I didn't realize that the environment variables needed to be exported in the Rules.make file and not just in the global environment.

  • Part Number: AM5728

    Tool/software: Linux

    I am still trying to build the IPC examples and still having some issues. I can no get through some of the build, but encounter an error when the make script reaches the "Configuring IPC" section. Below is the output:

    =================================
    Configuring IPC
    =================================
    SDK_INSTALL_PATH=/media/alex/d10c6511-1a24-48b5-a9a1-c1f6142f48bd/rtos_sdk_install source /media/alex/d10c6511-1a24-48b5-a9a1-c1f6142f48bd/rtos_sdk_install/processor_sdk_rtos_am57xx_4_03_00_05/setupenv.sh > /dev/null; \
    . /media/alex/d10c6511-1a24-48b5-a9a1-c1f6142f48bd/linux_sdk_install/linux-devkit/environment-setup; \
    cd ${IPC_INSTALL_PATH}; \
            ./configure ${CONFIGURE_FLAGS} \
    	CC=${CC} \
    	--prefix=/usr \
    	PLATFORM=${IPC_PLATFORM} \
    	KERNEL_INSTALL_DIR=/media/alex/d10c6511-1a24-48b5-a9a1-c1f6142f48bd/linux_sdk_install/board-support/linux-4.9.69+gitAUTOINC+9ce43c71ae-g9ce43c71ae
    /bin/sh: 1: source: not found
    /bin/sh: 4: ./configure: not found
    Makefile:784: recipe for target 'ti-ipc-linux-config' failed
    make: *** [ti-ipc-linux-config] Error 127
    

    It seems that there is some `./configure` executable missing. How can I configure to make this work properly?