• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Embedded Software » Linux » Linux forum » EZSDK for DM8168 - can't install some components
Share
Linux
  • Forum
Options
  • Subscribe via RSS

Forums

EZSDK for DM8168 - can't install some components

This question is not answered
Ivan Todorovic
Posted by Ivan Todorovic
on Aug 31 2012 06:33 AM
Intellectual440 points

Hello,

We developed custom DM8168-based hardware, compatible with DM8168 EVM. Now we are customizing EZSDK 5.04.00.11 for our platform, but we have trouble in build process.

'make clean' works.

'make all' works.

'make install' fails with 'omx', 'gstomx' and 'rpe', with errors similar to this:

make -C /home/ivan/ezsdk_q7/component-sources/rpe_1_00_00_05 ROOTDIR=/home/ivan/ezsdk_q7/component-sources/rpe_1_00_00_05 EXTERNAL_SW_ROOT=/home/ivan/ezsdk_q7/component-sources INTERNAL_SW_ROOT=/home/ivan/ezsdk_q7/component-sources/rpe_1_00_00_05/src bios_PATH=/home/ivan/ezsdk_q7/component-sources/bios_6_33_02_31 xdais_PATH=/home/ivan/ezsdk_q7/component-sources/xdais_7_22_00_03 linuxutils_PATH=/home/ivan/ezsdk_q7/component-sources/linuxutils_3_22_00_02 aaclcdec_PATH=/home/ivan/ezsdk_q7/component-sources/c674x-aaclcdec_01_41_00_00_elf ipc_PATH=/home/ivan/ezsdk_q7/component-sources/ipc_1_24_02_27 syslink_PATH=/home/ivan/ezsdk_q7/component-sources/syslink_2_10_03_20 xdc_PATH=/home/ivan/ezsdk_q7/component-sources/xdctools_3_23_01_43 uia_PATH=/home/ivan/ezsdk_q7/component-sources/uia_1_00_03_25 mcutils_PATH=/home/ivan/ezsdk_q7/board-support/media-controller-utils_2_05_00_17 lindevkit_PATH=/home/ivan/ezsdk_q7/linux-devkit/arm-none-linux-gnueabi/usr PLATFORM=ti816x-evm CODEGEN_PATH_A8=/home/ivan/CodeSourcery/Sourcery_G++_Lite CROSS_COMPILE=arm-none-linux-gnueabi- TOOLCHAIN_LONGNAME=arm-none-linux-gnueabi CODEGEN_PATH_DSPELF=/home/ivan/ezsdk_q7/dsp-devkit/cgt6x_7_3_1 install prefix=/home/ivan/ezsdk_q7/build/ti8168_q7/usr

make[1]: Entering directory `/home/ivan/ezsdk_q7/component-sources/rpe_1_00_00_05'
install: cannot stat `lib/dm81xx/bin/ti816x-evm/*': No such file or directory

make[1]: *** [install] Error 1

make[1]: Leaving directory `/home/ivan/ezsdk_q7/component-sources/rpe_1_00_00_05'
make: *** [rpe_install] Error 2

Anyone experienced something like this with DM8168?

ezsdk dm8168 linux build
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Vijayvithal Onkar
    Posted by Vijayvithal Onkar
    on Aug 31 2012 07:27 AM
    Prodigy210 points

    Hi,

    Are you sure that you are using 5.04.00.011 ? Because we haven't seen this issue at our end.This issue was present in previous release of 5.04.00.11 and fixed in this release. Please re-verify.

    Regards,

    Vijayvithal

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Ivan Todorovic
    Posted by Ivan Todorovic
    on Aug 31 2012 07:39 AM
    Intellectual440 points

    Hello Vijayvithal,

    We are using the latest release, installed from ezsdk_dm816x-evm_5_04_00_11_setuplinux (MD5: 010d245ced03a9c43989ed0b0c49af9b). The rest of the development platform is 32-bit Ubuntu 10.04, bash shell (as required by EZSDK) and CodeSourcery 2009q1-203.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Velan
    Posted by Velan
    on Aug 31 2012 09:21 AM
    Intellectual2805 points

    Ivan,

            This can be further debugged by individually playing with the components "make rpe_clean, make rpe and make rpe_instal", this can be done only after all the dependent components are built (like after make components)

            I also do not understand why all others can install, but not omx, gstomx and ipe. Mostly i suspect it is a local modification at your side, we have not observed this issue with 5.04.00.11.

    Thanks & Regards,
    Velan

    Don't forget to verify answers to your forum questions by using the green "verify Answer" button.

    Did you read the DVSDK4.x FAQ? If not, PLEASE read it.


    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Ivan Todorovic
    Posted by Ivan Todorovic
    on Sep 05 2012 04:15 AM
    Intellectual440 points

    Ok, we modified the main Makefile and excluded problematic components like this:

    components_linux: linux cmem osal syslink_hlos syslink_driver sgx-driver omx gstomx media-controller-utils rpe_linux
    we changed to
    components_linux: linux cmem osal syslink sgx-driver media-controller-utils

    components_dsp: syslink_rtos edma3lld rpe_dsp
    we changed to
    components_dsp: edma3lld

    components_install: linux_install syslink_install cmem_install sgx-driver_install omx_install gstomx_install media-controller-utils_install rpe_install
    we changed to
    components_install: linux_install syslink_install cmem_install sgx-driver_install media-controller-utils_install

    apps: u-boot matrix psp-examples omtb
    we changed to
    apps: u-boot matrix psp-examples

    apps_install: u-boot_install matrix_install psp-examples_install omtb_install
    we changed to
    apps_install: u-boot_install matrix_install psp-examples_install

    And with these modifications, we invoked

    make clean
    make all
    make install

    and it finishes fine.

    Then, we invoked

    make syslink_clean
    make syslink
    make syslink_install

    just to be sure, since syslink is required for dsp components.

    Then, we built the excluded components separatly:

    rpe_clean
    rpe
    rpe_install

    omx_clean
    omx
    omx_install

    gstomx_clean
    gstomx
    gstomx_install

    omtb_clean
    omtb
    omtb_install

    This way, everything builds and installs fine!

    However, we reverted the changes in the main Makefile so rpe, omx, gstomx and omtb are there back again. Then we invoked:

    make clean
    make all
    make install

    and at the "install" step, it gives us the same old error again:

    ...
    install lib/sys_top/bin/ti816x-evm/sys_top_a8host_debug.xv5T /home/ivan/ezsdk_q7/build/ti8168_q7/usr/bin/sys_top

    install src/linux/ti816x-evm/*.sh /home/ivan/ezsdk_q7/build/ti8168_q7/usr/share/ti/ti-media-controller-utils

    make[1]: Leaving directory `/home/ivan/ezsdk_q7/board-support/media-controller-utils_2_05_00_17'

    for i in `find board-support/prebuilt-images -name "*.xem3" -or -name "*.xe674"`; do \
            install $i /home/ivan/ezsdk_q7/build/ti8168_q7/usr/share/ti/ti-media-controller-utils/ ; \
        done

    make -C /home/ivan/ezsdk_q7/component-sources/rpe_1_00_00_05 ROOTDIR=/home/ivan/ezsdk_q7/component-sources/rpe_1_00_00_05 EXTERNAL_SW_ROOT=/home/ivan/ezsdk_q7/component-sources INTERNAL_SW_ROOT=/home/ivan/ezsdk_q7/component-sources/rpe_1_00_00_05/src bios_PATH=/home/ivan/ezsdk_q7/component-sources/bios_6_33_02_31 xdais_PATH=/home/ivan/ezsdk_q7/component-sources/xdais_7_22_00_03 linuxutils_PATH=/home/ivan/ezsdk_q7/component-sources/linuxutils_3_22_00_02 aaclcdec_PATH=/home/ivan/ezsdk_q7/component-sources/c674x-aaclcdec_01_41_00_00_elf ipc_PATH=/home/ivan/ezsdk_q7/component-sources/ipc_1_24_02_27 syslink_PATH=/home/ivan/ezsdk_q7/component-sources/syslink_2_10_03_20 xdc_PATH=/home/ivan/ezsdk_q7/component-sources/xdctools_3_23_01_43 uia_PATH=/home/ivan/ezsdk_q7/component-sources/uia_1_00_03_25 mcutils_PATH=/home/ivan/ezsdk_q7/board-support/media-controller-utils_2_05_00_17 lindevkit_PATH=/home/ivan/ezsdk_q7/linux-devkit/arm-none-linux-gnueabi/usr PLATFORM=ti816x-evm CODEGEN_PATH_A8=/home/ivan/CodeSourcery/Sourcery_G++_Lite CROSS_COMPILE=arm-none-linux-gnueabi- TOOLCHAIN_LONGNAME=arm-none-linux-gnueabi CODEGEN_PATH_DSPELF=/home/ivan/ezsdk_q7/dsp-devkit/cgt6x_7_3_1 install prefix=/home/ivan/ezsdk_q7/build/ti8168_q7/usr

    make[1]: Entering directory `/home/ivan/ezsdk_q7/component-sources/rpe_1_00_00_05'

    install: cannot stat `lib/dm81xx/bin/ti816x-evm/*': No such file or directory

    make[1]: *** [install] Error 1

    make[1]: Leaving directory `/home/ivan/ezsdk_q7/component-sources/rpe_1_00_00_05'

    make: *** [rpe_install] Error 2

    So the question is, why the components build fine separatly and failed to build in the main Makefile?

    Linux DSP EZSDK TI8168
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Velan
    Posted by Velan
    on Sep 10 2012 07:16 AM
    Intellectual2805 points

    Ivan,

           I only suspect that the Build directory and EXEC_DIR is not being maintained correclty.

           With original EZSDK the EXEC_DIR points to target fs, but the above build trace shows it is differetn (prefix=/home/ivan/ezsdk_q7/build/ti8168_q7/usr) (ie. prefix=$(EXEC_DIR)/usr

    Ivan Todorovic
    install: cannot stat `lib/dm81xx/bin/ti816x-evm/*': No such file or directory

          The files lib/dm81xx/bin/ti816x-evm/* is under /home/ivan/ezsdk_q7/component-sources/rpe_1_00_00_05 after make rpe or make all, something like outfiles are going to some other directory which install can not pick.

         We verified that this issue do not occur with the release.

    Thanks & Regards,

    Velan

    Don't forget to verify answers to your forum questions by using the green "verify Answer" button.

    Did you read the DVSDK4.x FAQ? If not, PLEASE read it.


    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Ivan Todorovic
    Posted by Ivan Todorovic
    on Sep 10 2012 09:21 AM
    Intellectual440 points

    Hello Velan,

    All our changes related to Make procedure are these:

    1. We introduced two new variables which should be set in shell before invoking the main Makefile. EZSDK_Q7_GIT should point to EZSDK install directory (in our case, /home/ivan/ezsdk_q7) and EZSDK_Q7_TOOLCHAIN should point to CodeSourcery directory (in our case, /home/ivan/CodeSourcery/Sourcery_G++_Lite)

    2. In main Rules.make, we set EZSDK_INSTALL_DIR=${EZSDK_Q7_GIT} and CSTOOL_DIR=${EZSDK_Q7_TOOLCHAIN}, and also retargeted EXEC_DIR=${EZSDK_Q7_GIT}/build/ti8168_q7, which serves as our targetfs directory.

    And those are all the changes. Everything else is intact.

    I'm currently investigating this further in components' Makefiles, but if you have any idea how these modifications can cause this trouble, any advice will be appreciated.

    Best regards,
    Ivan

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Ivan Todorovic
    Posted by Ivan Todorovic
    on Oct 30 2012 10:24 AM
    Intellectual440 points

    We applied our changes to new EZSDK 5.05 and those make install errors dissapeared, good job! :)

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use