• 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 » Digital Signal Processors (DSP) » OMAP™ Processors » OMAP-L13x, AM1x and C674x Processors Forum » Can't rebuild OMAP-L138_FlashAndBootUtils_2_36 - Source Files Missing!
Share
OMAP™ Processors
  • Forums
  • Announcements
Options
  • Subscribe via RSS
Resources
  • OMAP-L1x DSP+ARM9™-based Processors Product Folder
  • OMAP3525/30 DSP+ARM Cortex™-A8-based SOCs Product Folder

  • Top OMAPL Wiki Links
  • OMAPL3x Schematic Review Checklist
  • OMAPL13x Boot resources

  • OMAPL Document Resources
  • OMAPL137 Technical reference manual
  • OMAPL138 Technical reference manual
  • OMAPL Boot loader App Notes
  • Forums

    Can't rebuild OMAP-L138_FlashAndBootUtils_2_36 - Source Files Missing!

    This question is not answered
    Brian Boorman
    Posted by Brian Boorman
    on Mar 28 2012 15:46 PM
    Mastermind6060 points

    I am trying to rebuild the Flash utils for a custom board. Unfortunately, the archive available from TI won't build, as some source files are missing.

    1. I obtained the latest archive from: http://sourceforge.net/projects/dvflashutils/files/OMAP-L138/v2.36/

    2. I unzipped the tarball to a "golden" directory location.

    3. I copied the source tree to a location to make modifications from.

    4. (Ignore. Misread directions on .NET tools)

    5. Looks like the boot.asm file is missing in several of the CCS project src folders...

    This is the error I get:

    [boot.asm] "C:\Program Files\Texas Instruments\TMS470 Code Generation Tools 4.6.6\bin\cl470" -g -fr"C:/TVP/Builds/C6748_Utils/OMAP-L138/CCS/NANDWriter/Debug" -i"C:/TVP/Builds/C6748_Utils/OMAP-L138/CCS/NANDWriter/include" -i"C:/TVP/Builds/C6748_Utils/OMAP-L138/CCS/NANDWriter/../../Common/include" -i"C:/TVP/Builds/C6748_Utils/OMAP-L138/CCS/NANDWriter/../../../Common/include" -i"C:/TVP/Builds/C6748_Utils/OMAP-L138/CCS/NANDWriter/../../../Common/ccs/include" -i"C:/TVP/Builds/C6748_Utils/OMAP-L138/CCS/NANDWriter/../../../Common/drivers/include" -d"_DEBUG" -d"SKIP_LOW_LEVEL_INIT" -me -mv5e --abi=eabi -@"../Debug.lkf" "boot.asm"

    "boot.asm", ERROR! : [E1000] Cannot open source file boot.asm: No such file or directory

    >> Compilation failure

    6. I see that there is a boot.asm in the SDMMCWriter\src subfolder. Is this file the same for all projects? Can I just copy this to the other folders?

    ~Brian


    Help make the forums a better place. Please click "Verify Answer" when someone helps solve your issue.

    OMAP CCS omap l138 OMAP-L138 OMAPl138 boot C674x tms320c6748 omapl138 boot omap-l138 L138 L-138 OMAP_L138 bootloader c6748 OMAP L-138 StarterWare
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Brian Boorman
      Posted by Brian Boorman
      on Mar 28 2012 15:51 PM
      Mastermind6060 points

       

      Additional notes: I originally extracted the tarball using WinZip in the Windows environment.

      I just extracted using tar under Cygwin to a separate folder, and the boot.asm files ARE STILL MISSING.

      ~Brian


      Help make the forums a better place. Please click "Verify Answer" when someone helps solve your issue.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Marc DAmato
      Posted by Marc DAmato
      on Mar 28 2012 16:30 PM
      Expert7700 points

      Brian,

      Not sure why boot.asm is not in the package you downloaded.  I found reference to it on the forum @

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

      which then points to source on this wiki page:

      http://processors.wiki.ti.com/index.php/Boot_Images_for_OMAP-L138

      under: Obtain the SW here, the .zip file contains the boot.asm

      Regards,

      Marc

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Brian Boorman
      Posted by Brian Boorman
      on Apr 10 2012 16:18 PM
      Mastermind6060 points

      Marc,

      It contains _a single_ boot.asm

      The problem is that each of the sub projects require a boot.asm in each of their source trees, which they don't have.

      Solution is to either:

      a - include boot.asm in the src folder for each output program that requires it, or

      b - fix the project makefiles to point to the single boot.asm correctly.

      As it stands, anyone downloading the package off the web cannot simply follow the instructions to rebuild the software.

      Also, there are some backwards dependencies, that cause HexAIS program to not get built until after other nakefile which assume it's already there. You cannot do a "make clean" followed by a "make". You first have to make the HexAIS utility (which got deleted by the clean). This is not documented in the instructions.

      ~Brian

      ~Brian


      Help make the forums a better place. Please click "Verify Answer" when someone helps solve your issue.

      c6748 OMAP L-138 StarterWare HexAIS
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Daniel Allred
      Posted by Daniel Allred
      on Apr 12 2012 14:04 PM
      Genius15085 points

      A new release is now available online, here:

      http://sourceforge.net/projects/dvflashutils/files/OMAP-L138/v2.40/

      This should fix the issue you saw with the Make dependencies and it of course adds in the missing boot.asm file.  Please note that a few things changed with the build procedures, in that we centralized the location information for the ARM and DSP compilers into one file, called Common/build.mak.  We are trying to move away from the instructions to add everything you your path.  The rebuilding instructions on the wiki will be updated shortly.  Also note that the CCSv3 projects are not prebuilt in the package.  Future updates will likely add CCSv5 projects (or maybe replace the CCSv3 ones), but the included CCSv3 projects can be easily imported into newer versions of CCS

      Regards, Daniel

      ----------------------------------------------------------------------------------------------------------
      Please click the
      Verify Answer button on this post if it answers your question.
      ----------------------------------------------------------------------------------------------------------

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Brian Boorman
      Posted by Brian Boorman
      on Apr 12 2012 14:54 PM
      Mastermind6060 points

      Daniel,

      Thanks for the reply. Just a couple quick questions before I hit "Verify" on this thread....

      1. Are there other changes between 2.36 and 2.40 besides build environment, eg source code changes?

      2. I have also noticed (but not yet submitted to TI formally) that the NOR driver has issues with Neumonyx 65nm "P30" flash devices. Specifically the Buffer Write mode didn't work, and left the flash in a bad state when then trying to call single-word programming mode, causing that to also fail (when it really worked). I ended up commenting out the buffer mode and inserting the Intel "Clear Status" command to get things working. What is the preferred method of feeding this back to the correct dev team at TI?

      Thanks,

      Brian

      ~Brian


      Help make the forums a better place. Please click "Verify Answer" when someone helps solve your issue.

      c6748 OMAP L-138 StarterWare
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Daniel Allred
      Posted by Daniel Allred
      on Apr 12 2012 15:14 PM
      Genius15085 points

      Brian Boorman
      1. Are there other changes between 2.36 and 2.40 besides build environment, eg source code changes?

      Here is the list of changes from the changelog:

        * Included missing boot.asm file in CCS flashing tools
        * Updated build requirements to use file Common\build.mak to define
            ARM and DSP tool locations and prefixes
        * Fixed starting block number in NANDWriter program
        * Fix ELF handling (based on xdc.meta section in ARM9 executable)
        * Updated makefiles to better handle dependencies from other parts
            of the tree (e.g. HexAIS required for SFT/UBL builds)

      There are some source changes to address the ELF parsing issue, but that's really it.

      Regarding the NOR flash support, I have heard something similar previously, but unfortunately we can't test that code with every NOR flash on the market, though, as you can see by looking at it, it was written with the intention to be generic for many devices. I think the only guarantee we could make with respect to NOR flash, would be supporting what device comes on the standard EVM/board offerings. 

      For reporting issues like this, you could maybe use the issue tracker on the sourceforge site, though we primarily just use it for external hosting.  And you can certainly post patches or suggestions here.

      Regards, Daniel

      ----------------------------------------------------------------------------------------------------------
      Please click the
      Verify Answer button on this post if it answers your question.
      ----------------------------------------------------------------------------------------------------------

       

      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