• 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 » SYS/BIOS with psp 3.0.1.0: including/building cslr
Share
BIOS
  • Forum
  • Announcements
Options
  • Subscribe via RSS

SYS/BIOS with psp 3.0.1.0: including/building cslr

SYS/BIOS with psp 3.0.1.0: including/building cslr

This question is answered
Marshall Schiring
Posted by Marshall Schiring
on Mar 15 2012 16:05 PM
Intellectual420 points

Hi -

I've been able to download and link to my project the psp tools for SYS/BIOS on OMAPL138. I am trying to #include the clsr but it does not show up under /biospsp_03_00_01_00/drivers in my includes path. I figured I needed to build it as referenced in the user's guide:



Execute the following command
C:\Program Files\Texas Instruments\biospsp_xx_yy_zz_aa> gmake cslr
I've had quite the trouble trying to build this to include it in my project.

The directory I have all my packages in is C:/ti/ because the spaces in "Program Files/Texas Instruments" were not playing nicely. This is where biospsp v3.0.1.0 and xdctools v3.23.00.32 are located.

I first "set ROOTDIR=C:\ti\biospsp_03_00_01_00". I assume cygwin must be used because all the makefiles are written for UNIX. Below is the error I receive:



$ gmake cslr
# Configuring XDC packages for cslr_evm6748_example_uart:c6xdsp:debug
C:/ti/xdctools_3_23_00_32/gmake -C C:/ti/biospsp_03_00_01_00/cslr\evm6748\examples\uart xdc_configuro PLATFORM=c6748-evm CORE=c6xdsp PROFILE_c6xdsp=debug
gmake[1]: Entering directory `C:/ti/biospsp_03_00_01_00/cslr/evm6748/examples/uart'
# Invoking configuro...
a+x maketemp_configuro_cmd_c6xdsp.bat
maketemp_configuro_cmd_c6xdsp.bat

C:\ti\biospsp_03_00_01_00\cslr\evm6748\examples\uart>C:/ti/xdctools_3_23_00_32/xs xdc.tools.configuro --generationOnly -o obj/c6748-evm/c6xdsp/debug/cslr_evm6748_example_uart_configuro -t ti.targets.elf.C674 -p ti.platforms.evm6748 -r whole_program -c C:/ti/C6000C~1.1 -b C:/ti/biospsp_03_00_01_00/config.bld uartExample.cfg
making package.mak (because of package.bld) ...
js: "C:\ti\xdctools_3_23_00_32\packages\xdc\tools\configuro\template\compiler.opt.xdt", line 66: Error: template generation of 'compiler.opt' failed: Error: C:/ti/C6000C~1.1 cannot be found. Ensure that rootDir for the C674 target is set correctly in ./config.bld
"./package.bld", line 60
xdctools_3_23_00_32\gmake.exe: *** Deleting file `package.mak'
xdctools_3_23_00_32\gmake.exe: *** No rule to make target `linker.cmd'. Stop.
Warning: directory "C:/ti/edma3_lld_02_11_02_04/packages" on package path does not exist
js: "C:/ti/xdctools_3_23_00_32/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake[1]: *** [xdc_configuro] Error 1
gmake[1]: Leaving directory `C:/ti/biospsp_03_00_01_00/cslr/evm6748/examples/uart'
gmake: *** [cslr_evm6748_example_uart] Error 2


I can't find any clues in config.bld or the C6000 folder in xdctools on what needs to be done next. This all seems very unusual to be jumping through all these hoops to get CSLR in my project - am I even on the right track here?

//edit for formatting, this was not very user friendly :(

Thanks,

Marshall

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Marshall Schiring
    Posted by Marshall Schiring
    on Mar 15 2012 17:24 PM
    Intellectual420 points

    I failed to mention some edits I had to make in C:/ti/biospsp_03_00_01_00/env.mk

    I adjusted INTERNAL_SW_ROOT to be C:/ti/biospsp_03_00_01_00

    I adjusted EXTERNAL_SW_ROOT to be C:/ti

    I adjusted UTILS_INSTALL_DIR to be C:/ti/xdctools_3_23_00_32

    I just recently discovered:

    # DSP - Since same toolchain does not support COFF and ELF, there are two entries
    # This would go away when one version supports both formats
    CODEGEN_PATH_DSP = $(EXTERNAL_SW_ROOT)/C6000C~1.1
    CODEGEN_PATH_DSPELF = $(EXTERNAL_SW_ROOT)/C6000C~1.1
    
    
    Which looks related to my problem.
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Raghavendra Maddikery
    Posted by Raghavendra Maddikery
    on Mar 16 2012 08:00 AM
    Verified Answer
    Verified by Marshall Schiring
    Expert5500 points

    Hi Marshall,

    Marshall Schiring
    I am trying to #include the clsr but it does not show up under /biospsp_03_00_01_00/drivers in my includes path.

    The cslr is placed under the /biospsp_03_00_01_00/ directory.

    Please refer the "C6748_BIOSPSP_Userguide" regarding all the tools required and environment variable setting. Accordingly, modify the env.mk file of the biospsp package. If you refer section 1.5.1.1 it explains about setting environment variable "CGTOOLS"; Make sure the CG tools is installed and the appropriate directory is specified in the "CGTOOLS" environment variable.

    Hope this helps..

    Best Regards,

    Raghavendra

    Does this help with your question? If not, please send back more information. If it answers your question, please click the  Verify Answer  button below.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Marshall Schiring
    Posted by Marshall Schiring
    on Mar 16 2012 08:50 AM
    Intellectual420 points

    So I just have to add another distinct include path for cslr... which will need to be updated every revision of psp.

    I don't get why it wasn't just included by default when you include the psp under project->properties->general->RTSC?

    Either way, thanks for the clarification Raghavendra.

    Marshall

    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 May 07 2012 17:08 PM
    Mastermind6070 points

    Marshall,

    None of this sys/bios  and psp stuff is as straightforward as it should be.

    ~Brian

    ~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.
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