• 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 » BIOS » BIOS forum » How to remove xdc.meta data from image
Share
BIOS
  • Forum
  • Announcements
Options
  • Subscribe via RSS

How to remove xdc.meta data from image

How to remove xdc.meta data from image

This question is answered
Frank
Posted by Frank
on Jan 18 2012 09:26 AM
Intellectual875 points

Hello,

we are using the following tools/versions on the ARM side of the OMAP-L138:

- CCS Version 4.2.1.00004
- SYS/BIOS 6.30.03.46
- TMS470 Code Generation Tools 4.6.4
- XDCTOOLS 3.20.07.86

We are interested if it is possible to remove the whole xdc.meta data from the image.

If it is possible, what needs to be done to remove it (at least from the bin resp. the h file generated via AISgen D800K008 Version1.9)?

Currently the following meta data are in the mapfile:
__ASM__
__ISA__
__PLAT__
__TARG__
__TRDR__

I already searched through the forums, but could not find how remove the whole meta data.

One interesting link was:

http://e2e.ti.com/support/development_tools/compiler/f/343/t/85269.aspx?PageIndex=1

However, I could not figure out how to remove the whole meta data for the tools/versions I'm using.

What are the drawbacks if the whole meta data were removed?

Thanks,
Frank

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Alan DeMars
    Posted by Alan DeMars
    on Jan 18 2012 11:33 AM
    Genius14065 points

    The CCS ROV tool uses the information contained in the xdc.meta section to know how to interpret the binary image.

    Removing the xdc.meta section from the image will result in ROV not being usable for that application.

    The xdc.meta section does not occupy any memory in the target. It exists only in the file.

    Do you really need to remove it?

    Alan

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Frank
    Posted by Frank
    on Jan 19 2012 05:59 AM
    Intellectual875 points

    Hello Alan,

    thanks.

    If the meta would be only in the out file, I would not have a problem with it,
    but it looks for me, that it is also within the h file generated via AISgen.

    When starting developing on the OMAPL-138, I observed that AISgen had
    overwritten my ARM code with the meta data and when running out of the flash
    this meta data "code" was executed which leads to ARM exceptions.
    When looking into the map file I saw that xdc.meta was using same addresses (0xc0002100) as my code:

    xdc.meta   0    c0002100    000000f8     COPY SECTION
                      c0002100    000000f8     ARM9_OS_SPIW_ELF_configuration_xe9.oe9 (xdc.meta)

    .text      0    c0002100    000150e0    
                      c0002100    000041b8     taskPM.obj (.text)

    As a solution I added in my configuration the following section map:

    Program.sectMap["xdc.meta"] = new Program.SectionSpec();
    Program.sectMap["xdc.meta"].loadSegment = "META";
    Program.sectMap["xdc.meta"].type = "COPY";

    and within my own custom platform a memory section "META".

    With this, I had no overlapping of xdc.meta and .text section and the code worked fine, extract from the new map file:

    xdc.meta   0    c0002100    000000fc     COPY SECTION
                      c0002100    000000fc     ARM9_OS_SPIW_ELF_configuration_xe9.oe9 (xdc.meta)

    .text      0    c0002300    000150b8    
                      c0002300    000041b8     taskPM.obj (.text)


    As ROV will not be usable I aggree to not remove xdc.meta data.

    However, why are the xdc.meta data in the generated h file?
    You were stating, that it does not occupy any memory in the target and I also read this in other threads.

    Is this a problem of AISgen and I need a new one?
    Is there anything else which must be changed to get rid of xdc.meta data in the target image (generated h file)?

    Frank

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Alan DeMars
    Posted by Alan DeMars
    on Jan 19 2012 06:44 AM
    Genius14065 points
    Frank, I'm not familiar with the AISgen tool you're referencing. I don't know about the associated header file nor how it is used. When I load an application that contains xdc.meta data using CCS, the xdc.meta data IS NOT written to the target. Alan
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Frank
    Posted by Frank
    on Jan 19 2012 06:54 AM
    Intellectual875 points

    Alan,

    that's what I also observed: loading the out file with the emulator (CCS) my code is loaded/executed and NOT the xdc.meta data.

    Shall I open a new ticked for AISgen or can you internally (within TI) forward this thread to someone who is familiar with it?

    Thanks,
    Frank

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Alan DeMars
    Posted by Alan DeMars
    on Jan 19 2012 07:56 AM
    Genius14065 points

    Frank,

    Please file a ticket for AISgen.

    Alan

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Frank
    Posted by Frank
    on Jan 19 2012 09:52 AM
    Verified Answer
    Verified by Frank
    Intellectual875 points

    Alan,

    I opened a ticked under:

    http://e2e.ti.com/support/dsp/omap_applications_processors/f/42/t/159297.aspx

    and will close this one.

    Thanks,
    Frank

    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