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.

Building syslink driver and libraries incomplete on DM8168-evm

Hi,


           I am a new user of DM8168-evm. I am trying to build the syslink driver and its libraries.

I am using the syslink 2.20.00.14 version

when I try to make syslink. it returns an error

makefile: 482: The linux kernel is set to a path which is invalid.  Could not find file kernel.release.

However I am giving a path which directly leads to the kernel.release file.

Later I have tried

make syslink-driver, which returns the same error.

make syslink-hlos > runs fine.

make syslink-rtos > Error

Error = make file: 577: CGT_C674_ELF_INSTALL_DIR is set to a path where cl6x* file could not be found.

Am I missing something?


Kindly advice.

  • Hello,

    I tried to  make syslink_rtos and I am not observed problem.

    What is the software release  and version that you are using here?

    Best Regards,

    Margarita

  • Hello,


    I am using the ti-ezsdk_dm816x-evm-5_05_01_04 software / ezsdk.

    Also I would like to add,

    When I execute make syslink-rtos, I get the below response.

    ubuntu@ubuntu:~/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/syslink_2_20_00_14$      
    make syslink-rtos

    makefile:577: *** CGT_C674_ELF_INSTALL_DIR is set to "/home/ubuntu/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/c674x-aaclcdec_01_41_00_00_elf", which is invalid (could not find file "/home/ubuntu/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/c674x-aaclcdec_01_41_00_00_elf/bin/cl6x*"). Set this in <SysLink Install>/products.mak. Refer to the SysLink Install Guide for more information..  Stop.

    A similar error comes up when make syslink is executed.

    Kindly advise.

  • Hello,

    Enter in ezsdk install dir not in syslink dir.

    The command is make syslink_rtos not make syslink-rtos.



    ~/ti-ezsdk_dm816x-evm_5_05_01_04$ make syslink_rtos


    make -C /home/users/mgashova/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/syslink_2_20_02_20 DEVICE=TI816X GPPOS=Linux LOADER=ELF SDK=EZSDK IPC_INSTALL_DIR="/home/users/mgashova/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/ipc_1_24_03_32" BIOS_INSTALL_DIR="/home/users/mgashova/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/bios_6_33_05_46" XDC_INSTALL_DIR="/home/users/mgashova/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/xdctools_3_23_03_53" LINUXKERNEL="/home/users/mgashova/ti-ezsdk_dm816x-evm_5_05_01_04/board-support/linux-2.6.37-psp04.04.00.01" CGT_ARM_INSTALL_DIR="/home/users/mgashova/CodeSourcery/Sourcery_G++_Lite/" CGT_ARM_PREFIX="/home/users/mgashova/CodeSourcery/Sourcery_G++_Lite//bin/arm-none-linux-gnueabi-" CGT_C674_ELF_INSTALL_DIR="/home/users/mgashova/ti-ezsdk_dm816x-evm_5_05_01_04/dsp-devkit/cgt6x_7_3_1" USE_SYSLINK_NOTIFY=0 syslink-rtos
    make[1]: Entering directory `/home/users/mgashova/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/syslink_2_20_02_20'
    #
    # Making syslink-rtos...
    make -C packages  \
                DEVICE=TI816X \
                GPPOS=Linux \
                LOADER=ELF \
                SDK=EZSDK \
                TI81XXDSP_DMTIMER_FREQ=32768 \
                SYSLINK_REPO=/home/users/mgashova/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/syslink_2_20_02_20/packages \
                IPC_INSTALL_DIR=/home/users/mgashova/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/ipc_1_24_03_32 \
                BIOS_INSTALL_DIR=/home/users/mgashova/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/bios_6_33_05_46 \
                XDC_INSTALL_DIR=/home/users/mgashova/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/xdctools_3_23_03_53 \
             \
                CGT_C674_ELF_INSTALL_DIR=/home/users/mgashova/ti-ezsdk_dm816x-evm_5_05_01_04/dsp-devkit/cgt6x_7_3_1 \
                CGT_M3_ELF_INSTALL_DIR= \
                syslink-rtos
    make[2]: Entering directory `/home/users/mgashova/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/syslink_2_20_02_20/packages'
    #
    # Making syslink-rtos in ti/syslink
    /home/users/mgashova/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/xdctools_3_23_03_53/xdc XDCBUILDCFG=/home/users/mgashova/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/syslink_2_20_02_20/packages/_config.bld XDCPATH="/home/users/mgashova/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/ipc_1_24_03_32/packages;/home/users/mgashova/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/bios_6_33_05_46/packages;/home/users/mgashova/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/syslink_2_20_02_20/packages" \
                XDCARGS="DEVICE=TI816X CGT_C674_ELF_DIR=/home/users/mgashova/ti-ezsdk_dm816x-evm_5_05_01_04/dsp-devkit/cgt6x_7_3_1 CGT_M3_ELF_DIR= DEVICE_VARIANT=TI816X TI81XXDSP_DMTIMER_FREQ=32768" .libraries -Pr /home/users/mgashova/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/syslink_2_20_02_20/packages
    making .libraries: Tue Apr 1 10:25:23 EEST 2014 ...
    ======== .interfaces [/home/users/mgashova/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/syslink_2_20_02_20/packages/ti/syslink] ========
    ======== .interfaces [/home/users/mgashova/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/syslink_2_20_02_20/packages/ti/syslink/buildutils/rtos/buildScripts] ========
    ======== .interfaces [/home/users/mgashova/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/syslink_2_20_02_20/packages/ti/syslink/family/rtos/bios6/ti814x] ========
    ======== .interfaces [/home/users/mgashova/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/syslink_2_20_02_20/packages/ti/syslink/ipc/rtos] ========
    ======== .interfaces [/home/users/mgashova/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/syslink_2_20_02_20/packages/ti/syslink/procMgr/rtos/bios6] ========
    ======== .interfaces [/home/users/mgashova/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/syslink_2_20_02_20/packages/ti/syslink/utils/rtos/bios6] ========
    .interfaces files complete: Tue Apr 1 10:25:24 EEST 2014.
    ======== .libraries [/home/users/mgashova/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/syslink_2_20_02_20/packages/ti/syslink] ========
    ======== .libraries [/home/users/mgashova/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/syslink_2_20_02_20/packages/ti/syslink/buildutils/rtos/buildScripts] ========
    ======== .libraries [/home/users/mgashova/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/syslink_2_20_02_20/packages/ti/syslink/family/rtos/bios6/ti814x] ========
    ======== .libraries [/home/users/mgashova/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/syslink_2_20_02_20/packages/ti/syslink/ipc/rtos] ========
    ======== .libraries [/home/users/mgashova/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/syslink_2_20_02_20/packages/ti/syslink/procMgr/rtos/bios6] ========
    ======== .libraries [/home/users/mgashova/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/syslink_2_20_02_20/packages/ti/syslink/utils/rtos/bios6] ========
    .libraries files complete: Tue Apr 1 10:25:24 EEST 2014.
    make[2]: Leaving directory `/home/users/mgashova/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/syslink_2_20_02_20/packages'
    make[1]: Leaving directory `/home/users/mgashova/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/syslink_2_20_02_20'
    :~/ti-ezsdk_dm816x-evm_5_05_01_04$


    Best Regards,

    Margarita

  • Hi,

         You were right Margarita, I was following the document [user guide] which said the command is make syslink-rtos.

    Infact the command is make syslink_rtos not make syslink-rtos. This has to be rectified in the document. I request you to bring this to the notice of the concerned people if possible.


    Thanks for your help. Much appreciated.

  • Hello,

    I am glad that the issue is solved.

    I will let them know.

    Best Regards,

    Margarita