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.

TMS320C6678: how to recompile "romparse" of PROCESSOR-SDK

Guru 10235 points
Part Number: TMS320C6678


Hello, TI Experts,

 

We found the information about "recompileing romparse" as E2E thread below.

http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/t/500524?tisearch=e2e-sitesearch&keymatch=romparse

 

But we cannot recompile romparse for PROCESSOR-SDK-RTOS-C667x with MinGW by using attatched makefile of this E2E-thread.

I would appreciate if you tell us how to recompile romparse of "PROCESSOR-SDK-RTOS-C667x 03_03_00_04".

 

<Log is as below>

bash-3.1$ make

Checking command line dependencies

same

gcc -DIBL_CFG_I2C_MAP_TABLE_DATA_BUS_ADDR=0x50 -o romparse -g romparse.c rparse.tab.o lex.yy.o -I../.. -I. -I../../device/c66x -Dc66x

rparse.tab.o: file not recognized: File format not recognized

collect2.exe: error: ld returned 1 exit status

make: *** [romparse] Error 1

Best regards

  • Hi,

    I assume you're using the same build environment (host os version & environment variables), right?
    Can you do a make clean first to make sure that any old configurations are cleared and they don't mess with the new build.

    Best Regards,
    Yordan
  • Matusan,

    Have checked the build instructions provided here:
    pdk_c667x_2_0_5\packages\ti\boot\ibl\doc

    I will provide detailed instructions once i get a chance but let me know if those instructions don`t work for you.

    Regards,.
    Rahul
  • Matusan,

    I have simplified this by creating a bat file that you can use to set the path.  Edit the paths in the bat file to point to C6000 compiler , MinGW and Perl installation

    Setup environment file:

    @echo off
    
    rem  Setup the boot loader build environment
    
    
    set TOOLSC6X=C:/ti/ccsv5/tools/compiler/c6000_7.4.4
    set TOOLSC6XDOS=C:\ti\ccsv5\tools\compiler\c6000_7.4.4
    set TOOL_MINGW_DST=C:\MinGW\
    set TOOL_C6X_DST=C:\ti\ccsv5\tools\compiler\c6000_7.4.4
    set TOOL_PERL_DST=C:\perl\bin\perl
    set MINGW=yes
    
    :environment
    
    set PATH=%TOOL_TI_DSP_CGEN_DST%;%TOOL_MINGW_DST%\bin;%TOOL_MINGW_DST%\msys\1.0\bin;%PATH%
    set PATH=%PATH%;%TOOL_C6X_DST%\bin
    
    set PERLDOS=%TOOL_PERL_DST%
    set PERL=//C/perl/bin/perl
    
    :end
    
    

    1. run setupMinGW.bat in the Windows command line.

    2. Change directory to pdk_c66x_x_x_x/packages/ti/boot/ibl/src/make

    3.  Execute following commands:

    make -C ../util/romparse TARGET=c66x I2C_BUS_ADDR=0x51 clean

    make -C ../util/romparse TARGET=c66x I2C_BUS_ADDR=0x51

    Regards,

    Rahul

  • Hi,

    Thank you very much for your kindness.
    I really appreciate your help.
    It seems to be successful for recompile romparse.

    Best regards,