This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to rebuild TI framework components 3_23_02_16?

Hi,all:

I use RMAN module in the framework component ,And I want to rebuild the rman.c .

Also,I want to add some printf info into rman.c to debug.

Who can give me some advice or some details or steps how to do that ?  Thanks!

http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/p/332309/1158520.aspx#1158520

  • Hi Steve,

    To rebuild the Framework components, you can try the following:

    - Go into the installation directory of FC:

        cd <FC_INSTALL_DIR>

    - edit products.mak with your favorite editor. Update all the '*_INSTALL_DIR' variables to point to the locations of the dependencies. This assumes that you already have them installed and have access to them. You'll also need to point the relevant ti.targets.elf.* variable(s) to the code generation tools applicable to your device. From your signature it sounds like it'd be 'ti.targets.elf.C66'

    - Run the following to rebuild FC:

         make -f framework_components.mak all

    Best regards,

    Vincent

  • Hi,Vincent:

    Thanks for your reply!

    I follow your advice and rebuild,but get some build errors.I post my mak config

    and error info.

    1. mak config

    My own products.mak is 8032.products.mak.txt

    EPOT = C:\ti

    # Set this to your FC installation dir
    FC_INSTALL_DIR := C:\ti\framework_components_3_23_02_16

    # Define the product variables for the device you will be using.
    OSAL_INSTALL_DIR = $(DEPOT)/osal_1_23_00_04
    XDAIS_INSTALL_DIR = $(DEPOT)/xdais_7_23_00_06
    CMEM_INSTALL_DIR = $(DEPOT)/linuxutils_3_23_00_01
    EDMA3_LLD_INSTALL_DIR = $(DEPOT)/edma3_lld_02_11_05_02
    XDC_INSTALL_DIR = $(DEPOT)/xdctools_3_23_03_53
    BIOS_INSTALL_DIR = $(DEPOT)/bios_6_33_05_46

    # Set location of various cgtools
    ti.targets.C64P ?=
    ti.targets.C674 ?=

    ti.targets.elf.C64P ?=
    ti.targets.elf.C64T ?=
    ti.targets.elf.C66 ?= C:\ti\C6000 Code Generation Tools 7.2.4
    ti.targets.elf.C674 ?=

    ti.targets.arm.elf.M3 ?=

    2. error info

    2313.build fc.txt

  • Hi Steve,

    According to your build output, it looks like it was unable to find your code generation tools path for ti.targets.elf.C66:

    C:\ti/xdctools_3_23_03_53/xdc XDCARGS="ti.targets.C64P=\"\" ti.targets.C674=\"\"
    ti.targets.arm.elf.M3=\"\" ti.targets.elf.C64P=\"\" ti.targets.elf.C64T=\"\" ti
    .targets.elf.C66=\"\" ti.targets.elf.C674=\"\" gnu.targets.arm.GCArmv5T=\";LONGN
    AME=;profiles.release.compileOpts.copts=-O2 -ffunction-sections\"" XDCBUILDCFG=.
    /framework_components.bld --jobs=1 -Pr ./packages

    Could you install your code generation tools into a directory without spaces? I am wondering if the makefile is not dealing with the spaces correctly in Windows. Also, I typically use '/' instead of '\' in path names. 

    Best regards,

    Vincent

  • Hi,Vincent:

    I use C:/ti/C6000_CodeGenerationTools7.2.4 instead of C6000 Code Generation Tools 7.2.4 to

    avoid spaces in the cgt directory.But still fail.Build log is here 0602.build fc.txt

    Another,I am not very special on mingw,Would you download the framework_components_3_23_02_16

    from the below link and try to rebuild to see whether it has problem?  Thanks!

    http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/index.html

  • Hi Steve,

    Good. It looks like removing the spaces in the code generation tools directory allows the compiler to be picked up.

    I was able to successfully rebuild FC under my environment in Windows. The error you are seeing is saying that it cannot find the package 'ti.sdo.tools.build', which is located in your OSAL installation under C:/ti/osal_1_23_00_04/packages. Could you verify that this directory exists and that there is indeed a non-empty 'package' directory under 'C:\ti\osal_1_23_00_04\packages\ti\sdo\tools\build\package'? If not you'll need to reinstall the OSAL software.

    If you are worried about mingw32-make, you can use gmake.exe under c:\ti\xdctools_3_23_03_53 instead, so that we are on the same page.

    Best regards,

    Vincent

  • Hi,Vincent:

    I have already rebuild my fc .Thanks!