• 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 » Development Tools » Code Composer Studio » Code Composer Forum » CCSv5: File does not match target endianness
Share
Code Composer Studio
  • Forum
  • Announcements
Options
  • Subscribe via RSS
Common Questions
  • Code Composer Studio Forum Usage Guidelines

  • Resources
  • Code Composer Studio (CCStudio) Product Folder
  • Troubleshooting CCS
  • CCS Wiki
  • Download CCS
  • Order CCS
  • Tools Insider Blog
  • Bug Tracking
  • Forums

    CCSv5: File does not match target endianness

    This question is not answered
    norio
    Posted by norio
    on Apr 12 2012 10:09 AM
    Prodigy20 points

    Hello,

    I'm following the instructions here:

        http://processors.wiki.ti.com/index.php/Linux_Debug_in_CCSv5

    The following errors occur in Stop Mode Debug Launching:
        Load Program Error.
        File:/root/targetfs/boot/vmlinux-2.6.32.17-davinchi1
        Does not match the target endianness, not loaded.
        Check builld options and target configurations file(ccxml).

    Execution of Builld Configurations-->Builld All will generate the following errors:
       
      make all
        CHK     include/linux/version.h
      make[1]: `include/asm-arm/mach-types.h'is ending with updating.
        CHK     include/linux/utsrelease.h
        SYMLINK include/asm -> include/asm-arm
        CC      kernel/bounds.s
      cc1: error: unrecognized command line option "-mlittle-endian"
      cc1: error: unrecognized command line option "-mapcs"
      cc1: error: unrecognized command line option "-mno-sched-prolog"
      cc1: error: unrecognized command line option "-mabi=aapcs-linux"
      cc1: error: unrecognized command line option "-mno-thumb-interwork"
      kernel/bounds.c:1: error: bad value (armv4t) for -march= switch
      kernel/bounds.c:1: error: bad value (arm9tdmi) for -mtune= switch
      make[1]: *** [kernel/bounds.s] error 1
      make: *** [prepare0] error 2

      **** Build Finished ****


    Development environment is the following:
      1.CCSv5
      2.XDS510 USB PLUS
      3.DM365

    I want to know how to avoid the error.

    Thank you,

    Norio

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Ki-Soo Lee
      Posted by Ki-Soo Lee
      on Apr 13 2012 09:12 AM
      Guru116985 points

      Hi Norio,

      Looking at these message:

      norio
      The following errors occur in Stop Mode Debug Launching:
          Load Program Error.
          File:/root/targetfs/boot/vmlinux-2.6.32.17-davinchi1
          Does not match the target endianness, not loaded.

      norio
      cc1: error: unrecognized command line option "-mlittle-endian"

      For whatever reason, the option to build for little endianness was not recognized. Hence it probably built for big endian and hence your first message about "does not match target endianness" (since I assume the target is little endian)

      You will need to resolve your build issue with the unrecognized command line options (sorry I can't help with that)

      Thanks

      ki

      -----------------------------------

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

      Did you read the CCS Forum Guidelines & FAQ? If not, PLEASE read it. If you haven't read it in awhile, please read it again to see if any updates were made.

      Having CCSv5 problems? Check out the CCSv5 Troubleshooting Guide

      Click here to track an issue. Enter your bug id in the "Find Record ID" box

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • desouza
      Posted by desouza
      on Apr 13 2012 10:07 AM
      Guru56025 points

      Norio,

      Just adding to Ki's response, neither the u-boot nor the Linux kernel should be built from within CCS, as they have their own makefiles that contain too many intrinsic build options, defines, etc.

      Cheers,

      Rafael


      If my reply answers your question please click on the green button "Verify Answer".
      Search the wiki or go to useful pages for SDOWP, CGT, BIOS, CCSv3, CCSv4, CCSv5
      PJT_Create
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • norio
      Posted by norio
      on Apr 30 2012 22:26 PM
      Prodigy20 points

      Hi Rafael and Ki,

      Thanks for your cooperation.
      I reconstructed Vmlinux.
      However, an error comes out.
      error:
       load program error.
       File:/usr/local/dvsdk/psp/linux-2.6.32.17-psp03.01.39/vmlinux:
       a data verification error occurred, file load failed.

      Best regards,

      Norio

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Brad Schwagler
      Posted by Brad Schwagler
      on Nov 14 2012 18:59 PM
      Prodigy105 points

      Hi,

      I am also completely stuck with this and seeing the same error:

      IcePick_C_0: GEL: File: C:\tftp\linux-davinci-lcvr\vmlinux Does not match the target endianness, not loaded. Check build options and target configuration file (ccxml).

      Here is my setup:

      CCS Version: 5.2.1.00018 

      Linux Kernel:  2.6.32.17-davinci

      Target: TMS320DM6467t

      Emulator: XDS560v2 STM ethernet

      I tried both stock EVMDM6467.ccxml and TMS320DM6467.ccxml configurations, with removed GEL file initialization scripts.

      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