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.

Linux/TDA2SX: DDR3 test cases or test tool

Part Number: TDA2SX
Other Parts Discussed in Thread: INA226

Tool/software: Linux

Hi all,

1. Does TI have any DDR3 test cases or test application(like stress tool) to test the DDR3 chip before board bring up?As we are going to change the DDR3 in our custom board.

2.  How we will test the DDR3 parameters like wait cycles,Access cycles,temperature etc;

Thanks & Regards,

A.Kavya Harini.

  • Hi,

    PDK drivers have DDR stress test app.

    Please see PROCESSOR_SDK_VISION_03_06_00_00\ti_components\drivers\pdk_01_10_02_07\packages\ti\csl\example\ddr\ddr_test_app.

    You need to set appropriate DDR parameters and check stability of DDR by referring to datasheet.

    Regards,

    Rishabh

  • Hi Rishabh,

    Thanks for the reply.

    I am trying to compile the ddr_test_app,But i'm getting some errors please go through the below log.

    I'm compiling this app in PROCESSOR_SDK_VISION_03_04_00_00 version.

    error: creating output section ".text" without a SECTIONS specification
    error: creating output section ".data" without a SECTIONS specification
    error: creating output section ".cinit" without a SECTIONS specification
    error: creating output section ".TI.noinit" without a SECTIONS specification
    error: creating output section ".my_sect_ddr" without a SECTIONS specification
    error: creating output section ".intvecs" without a SECTIONS specification
    error: creating output section ".sysmem" without a SECTIONS specification
    error: creating output section ".intc_text" without a SECTIONS specification
    error: creating ".stack" section with default size of 0x800; use the -stack
       option to change the default size
    error: creating ".sysmem" section with default size of 0x800; use the -heap
       option to change the default size
    error: errors encountered during linking;
       "/u/kavya/VISION_SDK_03_04/ti_components/drivers/pdk_01_10_00_08/packages/ti
       /binary/csl_ddr_test_app/bin/tda2xx-evm/csl_ddr_test_app_ipu1_0_release.xem4
       " not built
    /u/kavya/VISION_SDK_03_04/ti_components/drivers/pdk_01_10_00_08/packages/ti/build/makerules/rules_ti_cgt_arm.mk:203: recipe for target '/u/kavya/VISION_SDK_03_04/ti_components/drivers/pdk_01_10_00_08/packages/ti/binary/csl_ddr_test_app/bin/tda2xx-evm/csl_ddr_test_app_ipu1_0_release.xem4' failed
    make[1]: *** [/u/kavya/VISION_SDK_03_04/ti_components/drivers/pdk_01_10_00_08/packages/ti/binary/csl_ddr_test_app/bin/tda2xx-evm/csl_ddr_test_app_ipu1_0_release.xem4] Error 1
    make[1]: Leaving directory '/u/kavya/VISION_SDK_03_04/ti_components/drivers/pdk_01_10_00_08/packages/ti/csl/example/ddr/ddr_test_app'
    /u/kavya/VISION_SDK_03_04/ti_components/drivers/pdk_01_10_00_08/packages/ti/build/makerules/common.mk:389: recipe for target 'ipu1_0' failed
    make: *** [ipu1_0] Error 2

    I tried to solve these errors but i'm unable to solve those.Could you please help me to solve the issue.

    Thanks & Regards,

    A.Kavya Harini

  • Hi,

    I haven't heard back from you, I'm assuming you were able to resolve your issue.
    If not, just post a reply below (or create a new thread if the thread has locked due to time-out).

    Regards,
    Rishabh

  • Hi Rishabh,

    I'm unable to resolve the issue.

    1. Previously i'm compiling in linux system,But now i'm compiling on windows system with vision_sdk-03.03 version.I gone through the links what ever you send,I'm using the command "gmake -s all" to build the whole PDK.

    I'm getting this error.

    Nothing to be done for tda2xx-evm tda2xx ipu1_0 pm_junction_temp_app
    Nothing to be done for tda2xx-evm tda2xx ipu1_0 pm_ina226_app
    # Invoking configuro...
    D:PROCESSOR_SDK_VISION_03_03_00_00/ti_components/os_tools/windows/xdctools_3_32_01_22_core/xs: not found
    D:\PROCESSOR_SDK_VISION_03_03_00_00/ti_components/drivers/pdk_01_09_00_17/packages/ti/build/makerules/rules_ti_cgt_arm.mk:251: recipe for target 'D:\PROCESSOR_SDK_VISIO
    N_03_03_00_00/ti_components/drivers/pdk_01_09_00_17/packages/ti/binary/pm_core_loading_app/obj/tda2xx-evm/ipu1_0/release/configuro/package/cfg/pm_ipu1_0_pem4.c' failed
    gmake[2]: *** [D:\PROCESSOR_SDK_VISION_03_03_00_00/ti_components/drivers/pdk_01_09_00_17/packages/ti/binary/pm_core_loading_app/obj/tda2xx-evm/ipu1_0/release/configuro/
    package/cfg/pm_ipu1_0_pem4.c] Error 127
    makefile:137: recipe for target 'pm_core_loading_app' failed
    gmake[1]: *** [pm_core_loading_app] Error 2
    makefile:19: recipe for target 'all' failed
    gmake: *** [all] Error 2

    2. Regarding the ddr test app,In build console it is showing this log.

    Nothing to be done for tda2xx-evm tda2xx ipu1_0 csl_ddr_test_app 

    I think it is not compiling the ddr test app because i didn't found any executable in this path "D:\PROCESSOR_SDK_VISION_03_03_00_00\ti_components\drivers\pdk_01_09_00_17\packages\ti\binary\csl_ddr_test_app\bin\tda2xx-evm".In this path I found only the map file not executable.

    3.If i'm compiling the csl_ddr_test_app individually,it is giving the same error what I posted before.

    D:\PROCESSOR_SDK_VISION_03_03_00_00/ti_components/cg_tools/windows/ti-cgt-arm_16.9.2.LTS/bin/armlnk --emit_warnings_as_errors -w -q -u _c_int00 --silicon_version=7M4 -c --opt='--endian=little -mv7M4 --float_support=vfplib --abi=eabi -qq -pdsw225 -g -ms -DMAKEFILE_BUILD -oe --symdebug:dwarf -ms -op2 -O3 -os --optimize_with_debug --inline_recursion_limit=20 --diag_suppress=23000' --strict_compatibility=on -x --zero_init=on D:\PROCESSOR_SDK_VISION_03_03_00_00\ti_components\drivers\pdk_01_09_00_17\packages/ti/binary/csl_ddr_test_app/obj/tda2xx-evm/ipu1_0/release/main.oem4 D:\PROCESSOR_SDK_VISION_03_03_00_00\ti_components\drivers\pdk_01_09_00_17\packages/ti/binary/csl_ddr_test_app/obj/tda2xx-evm/ipu1_0/release/ddr_test.oem4 -o D:\PROCESSOR_SDK_VISION_03_03_00_00\ti_components\drivers\pdk_01_09_00_17\packages/ti/binary/csl_ddr_test_app/bin/tda2xx-evm/csl_ddr_test_app_ipu1_0_release.xem4 -m D:\PROCESSOR_SDK_VISION_03_03_00_00\ti_components\drivers\pdk_01_09_00_17\packages/ti/binary/csl_ddr_test_app/bin/tda2xx-evm/csl_ddr_test_app_ipu1_0_release.xem4.map -lD:\PROCESSOR_SDK_VISION_03_03_00_00\ti_components\drivers\pdk_01_09_00_17\packages/ti/csl/lib/tda2xx/m4/release/ti.csl.aem4 -lD:\PROCESSOR_SDK_VISION_03_03_00_00\ti_components\drivers\pdk_01_09_00_17\packages/ti/csl/example/utils/common/lib/tda2xx/m4/release/csl_utils_common.aem4 -lD:\PROCESSOR_SDK_VISION_03_03_00_00\ti_components\drivers\pdk_01_09_00_17\packages/ti/csl/example/utils/uart_console/lib/tda2xx/m4/release/csl_uart_console.aem4 -lD:\PROCESSOR_SDK_VISION_03_03_00_00/ti_components/cg_tools/windows/ti-cgt-arm_16.9.2.LTS/lib/libc.a
    error: creating output section ".text" without a SECTIONS specification
    error: creating output section ".data" without a SECTIONS specification
    error: creating output section ".cinit" without a SECTIONS specification
    error: creating output section ".TI.noinit" without a SECTIONS specification
    error: creating output section ".my_sect_ddr" without a SECTIONS specification
    error: creating output section ".intvecs" without a SECTIONS specification
    error: creating output section ".sysmem" without a SECTIONS specification
    error: creating output section ".intc_text" without a SECTIONS specification
    error: creating ".stack" section with default size of 0x800; use the -stack
    option to change the default size
    error: creating ".sysmem" section with default size of 0x800; use the -heap
    option to change the default size
    error: errors encountered during linking;
    "D:\PROCESSOR_SDK_VISION_03_03_00_00\ti_components\drivers\pdk_01_09_00_17\p
    ackages/ti/binary/csl_ddr_test_app/bin/tda2xx-evm/csl_ddr_test_app_ipu1_0_re
    lease.xem4" not built
    D:\PROCESSOR_SDK_VISION_03_03_00_00\ti_components\drivers\pdk_01_09_00_17\packages/ti/build/makerules/rules_ti_cgt_arm.mk:203: recipe for target 'D:\PROCESSOR_SDK_VISION_03_03_00_00\ti_components\drivers\pdk_01_09_00_17\packages/ti/binary/csl_ddr_test_app/bin/tda2xx-evm/csl_ddr_test_app_ipu1_0_release.xem4' failed
    gmake[1]: *** [D:\PROCESSOR_SDK_VISION_03_03_00_00\ti_components\drivers\pdk_01_09_00_17\packages/ti/binary/csl_ddr_test_app/bin/tda2xx-evm/csl_ddr_test_app_ipu1_0_release.xem4] Error 1
    gmake[1]: Leaving directory 'D:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/drivers/pdk_01_09_00_17/packages/ti/csl/example/ddr/ddr_test_app'
    D:\PROCESSOR_SDK_VISION_03_03_00_00\ti_components\drivers\pdk_01_09_00_17\packages/ti/build/makerules/common.mk:389: recipe for target 'ipu1_0' failed
    gmake: *** [ipu1_0] Error 2

    D:\PROCESSOR_SDK_VISION_03_03_00_00\ti_components\drivers\pdk_01_09_00_17\packages\ti\csl\example\ddr\ddr_test_app

    Could you please help me to solve the issue.

    Thanks & Regards,

    A.Kavya Harini

  • Hi Kavya,

    What is the gmake that you are using?

    Are you building using Git Bash?

    Regards,

    Rishabh

  • Hi Rishabh,

    1. The gmake I'm using is,

    D:\cmder>gmake -version
    GNU Make 4.1
    Built for Windows32
    Copyright (C) 1988-2014 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <gnu.org/.../gpl.html>
    This is free software: you are free to change and redistribute it.

    2. I'm using the "Cmder" for building.

    Thanks & Regards,

    A.Kavya Harini.

  • Hi,

    Can you use the XDC gmake.

    Example path: C:\ti\ccs901\xdctools_3_55_00_11_core\gmake.exe

    Regards,

    Rishabh

  • Hi,

    Also make sure that you try the build using Git Bash.

    Regards,

    Rishabh

  • Hi,

    I haven't heard back from you, I'm assuming you were able to resolve your issue.
    If not, just post a reply below (or create a new thread if the thread has locked due to time-out).

    Regards,
    Rishabh

  • Hi Rishabh,

    Sorry for giving the late reply. I resolved the previous error by modifying the path in Rules.make and by using the gmake.exe in xdc tools.But now I got another error while compiling.

    # SBL App image D:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/drivers/pdk_01_09_00_17/packages/ti/binary/bsp_examples_mcspi_spi1tospi2/bin/tda2xx-evm/bsp_examples_mcspi_spi1tospi2_ipu1_0_release.appimage and D:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/drivers/pdk_01_09_00_17/packages/ti/binary/bsp_examples_mcspi_spi1tospi2/bin/tda2xx-evm/bsp_examples_mcspi_spi1tospi2_ipu1_0_release_BE.appimage created.
    #
    226 [main] sh 9116 D:\ti\ccsv7\utils\cygwin\sh.exe: *** fatal error - fork: can't reserve memory for stack 0x31C060 - 0x320000, Win32 error 487
    593 [main] sh 6964 child_info::sync: wait failed, pid 9116, Win32 error 1812
    3938 [main] sh 6964 fork: child -1 - died waiting for longjmp before initialization, retry 10, exit code 0x1000000, errno 11
    Cannot fork: Resource temporarily unavailable
    makefile_all.mk:18: recipe for target 'all' failed
    gmake[2]: *** [all] Error 2
    makefile:137: recipe for target 'sbl_all' failed
    gmake[1]: *** [sbl_all] Error 2
    220 [main] sh 11604 D:\ti\ccsv7\utils\cygwin\sh.exe: *** fatal error - fork: can't reserve memory for stack 0x31A9B0 - 0x320000, Win32 error 487
    885 [main] sh 11588 child_info::sync: wait failed, pid 11604, Win32 error 1812
    5789 [main] sh 11588 fork: child -1 - died waiting for longjmp before initialization, retry 10, exit code 0x1000000, errno 11
    Cannot fork: Resource temporarily unavailable
    makefile_opps.mk:18: recipe for target 'all' failed
    gmake[2]: *** [all] Error 2
    makefile:137: recipe for target 'sbl_all_opps' failed
    gmake[1]: *** [sbl_all_opps] Error 2
    Nothing to be done for tda2xx-evm tda2xx ipu1_0 l3fwUt
    Nothing to be done for tda2xx rtiUt

    Could you please help me to solve the issue.

    Thanks & Regards,

    A.Kavya Harini

  • Hi Kavya,

    Can you try using Git Bash on Windows.

    Regards,

    Rishabh

  • Hi Rishabh,

    Now, I builded by using the git bash on windows.Here,I'm getting different error.

    # Compiling tda2xx:a15_0:release:csl_init: a15/src/csl_a15_init.asm
    D:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/drivers/pdk_01_09_00_17/packages/ti/build/makerules/rules_a15.mk:146: recipe for target 'D:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/drivers/pdk_01_09_00_17/packages/ti/binary/ti/csl/arch/obj/tda2xx/a15/release/csl_a15_init.oa15fg' failed
    process_begin: CreateProcess(NULL, D:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/cg_tools/windows/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc -c -x assembler-with-cpp -DMAKEFILE_BUILD -Wimplicit -Wall -Wunused -Wunknown-pragmas -ffunction-sections -fdata-sections -c -mcpu=cortex-a15 -g -mfpu=neon -mfloat-abi=hard -mabi=aapcs -mapcs-frame -D__ARMv7 -Werror -O2 -s -DNDEBUG -DBUILD_A15_0 -DSOC_TDA2XX -ID:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/cg_tools/windows/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include -I. -Ia15/src -Ia15 -ID:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/drivers/pdk_01_09_00_17/packages -ID:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/drivers/pdk_01_09_00_17/packages/ti/csl -ID:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/drivers/pdk_01_09_00_17/packages/ti/csl -I/apps/apps_nonbam/inc -I/ -I/common -o D:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/drivers/pdk_01_09_00_17/packages/ti/binary/ti/csl/arch/obj/tda2xx/a15/release/csl_a15_init.oa15fg a15/src/csl_a15_init.asm, ...) failed.
    make (e=2): The system cannot find the file specified.
    gmake[5]: *** [D:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/drivers/pdk_01_09_00_17/packages/ti/binary/ti/csl/arch/obj/tda2xx/a15/release/csl_a15_init.oa15fg] Error 2
    D:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/drivers/pdk_01_09_00_17/packages/ti/build/makerules/common.mk:275: recipe for target 'csl_init' failed
    gmake[4]: *** [csl_init] Error 2
    D:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/drivers/pdk_01_09_00_17/packages/ti/build/makerules/common.mk:389: recipe for target 'a15_0' failed
    gmake[3]: *** [a15_0] Error 2
    # Compiling tda2xx-evm:tda2xx:a15_0:release:sbl_qspi_opp_nom: sbl_tda2xx_init.asm
    D:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/drivers/pdk_01_09_00_17/packages/ti/build/makerules/rules_a15.mk:146: recipe for target 'D:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/drivers/pdk_01_09_00_17/packages/ti/binary/sbl/qspi/opp_nom/obj/tda2xx-evm/a15_0/release/sbl_tda2xx_init.oa15fg' failed
    process_begin: CreateProcess(NULL, D:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/cg_tools/windows/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc -c -x assembler-with-cpp -DMAKEFILE_BUILD -Wimplicit -Wall -Wunused -Wunknown-pragmas -ffunction-sections -fdata-sections -c -mcpu=cortex-a15 -g -mfpu=neon -mfloat-abi=hard -mabi=aapcs -mapcs-frame -D__ARMv7 -Werror -O2 -s -DNDEBUG -DBUILD_A15_0 -DBOOTMODE_QSPI -DSBL_CONFIG_DEFAULT -DSBL_OPT_LEVEL=0 -DSBL_PROD_BUILD -DTRACE_LEVEL=3 -DOPP_MODE=1 -DFORCE_OPP_MODE=0 -DSOC_TDA2XX -ID:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/cg_tools/windows/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include -I. -ID:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/drivers/pdk_01_09_00_17/packages -I/apps/apps_nonbam/inc -I/ -I/common -o D:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/drivers/pdk_01_09_00_17/packages/ti/binary/sbl/qspi/opp_nom/obj/tda2xx-evm/a15_0/release/sbl_tda2xx_init.oa15fg sbl_tda2xx_init.asm, ...) failed.
    make (e=2): The system cannot find the file specified.
    gmake[3]: *** [D:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/drivers/pdk_01_09_00_17/packages/ti/binary/sbl/qspi/opp_nom/obj/tda2xx-evm/a15_0/release/sbl_tda2xx_init.oa15fg] Error 2
    # Compiling tda2xx:a15_0:release:csl_init: a15/src/csl_a15_init.asm
    D:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/drivers/pdk_01_09_00_17/packages/ti/build/makerules/rules_a15.mk:146: recipe for target 'D:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/drivers/pdk_01_09_00_17/packages/ti/binary/ti/csl/arch/obj/tda2xx/a15/release/csl_a15_init.oa15fg' failed
    process_begin: CreateProcess(NULL, D:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/cg_tools/windows/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc -c -x assembler-with-cpp -DMAKEFILE_BUILD -Wimplicit -Wall -Wunused -Wunknown-pragmas -ffunction-sections -fdata-sections -c -mcpu=cortex-a15 -g -mfpu=neon -mfloat-abi=hard -mabi=aapcs -mapcs-frame -D__ARMv7 -Werror -O2 -s -DNDEBUG -DBUILD_A15_0 -DSOC_TDA2XX -ID:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/cg_tools/windows/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include -I. -Ia15/src -Ia15 -ID:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/drivers/pdk_01_09_00_17/packages -ID:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/drivers/pdk_01_09_00_17/packages/ti/csl -ID:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/drivers/pdk_01_09_00_17/packages/ti/csl -I/apps/apps_nonbam/inc -I/ -I/common -o D:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/drivers/pdk_01_09_00_17/packages/ti/binary/ti/csl/arch/obj/tda2xx/a15/release/csl_a15_init.oa15fg a15/src/csl_a15_init.asm, ...) failed.
    make (e=2): The system cannot find the file specified.

    Like this so many errors came and it stopped here.

    gmake[3]: *** [D:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/drivers/pdk_01_09_00_17/packages/ti/binary/sbl/nor/opp_low/obj/tda2xx-evm/a15_0/release/sbl_tda2xx_nor_init.oa15fg] Error 2
    makefile_opps.mk:18: recipe for target 'all' failed
    gmake[2]: *** [all] Error 2
    makefile:137: recipe for target 'sbl_all_opps' failed
    gmake[1]: *** [sbl_all_opps] Error 2
    Nothing to be done for tda2xx-evm tda2xx ipu1_0 l3fwUt
    Nothing to be done for tda2xx rtiUt

    Could you please help me to resolve the issue. I need csl_ddr_test_app ASAP

    Thanks&Regards,

    A.Kavya Harini

  • Hi Kavya,

    A15 compiler is not present at the correct location.

    Have you installed A15 compiler?

    Make is expecting the compiler to be present at D:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/cg_tools/windows/gcc-arm-none-eabi-4_9-2015q3.

    Can you update the path in Rules.make if A15 compiler is installed at a different location.

    Regards,

    Rishabh

  • Hi Kavya,

    Have you been able to solve the build issue?

    Regards,

    Rishabh

  • Hi Rishabh,

    After Modifying the tool chain path for A15 previous issue was solved.But still I'm unable to resolve the build issue,some other errors are coming.

    c:/users/ee209200/downloads/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld.exe: error: D:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/drivers/pdk_01_09_00_17/packages/ti/binary/sbl/qspi/opp_nom/tda2xx-evm/sbl_qspi_opp_nom_a15_0_release.xa15fg uses VFP register arguments, C:/Users/ee209200/Downloads/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/lib/libc.a(lib_a-memcpy.o) does not
    c:/users/ee209200/downloads/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/Users/ee209200/Downloads/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/lib/libc.a(lib_a-memcpy.o)
    c:/users/ee209200/downloads/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld.exe: error: D:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/drivers/pdk_01_09_00_17/packages/ti/binary/sbl/qspi/opp_nom/tda2xx-evm/sbl_qspi_opp_nom_a15_0_release.xa15fg uses VFP register arguments, C:/Users/ee209200/Downloads/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/lib/libc.a(lib_a-memset.o) does not

    Like this some errors are coming finally it stopped at here,

    c:/users/ee209200/downloads/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/Users/ee209200/Downloads/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/lib/libc.a(lib_a-memset.o)
    collect2.exe: error: ld returned 1 exit status
    D:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/drivers/pdk_01_09_00_17/packages/ti/build/makerules/rules_a15.mk:241: recipe for target 'D:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/drivers/pdk_01_09_00_17/packages/ti/binary/sbl/nor/opp_low/tda2xx-evm/sbl_nor_opp_low_a15_0_release.xa15fg' failed
    gmake[3]: *** [D:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/drivers/pdk_01_09_00_17/packages/ti/binary/sbl/nor/opp_low/tda2xx-evm/sbl_nor_opp_low_a15_0_release.xa15fg] Error 1
    makefile_opps.mk:18: recipe for target 'all' failed
    gmake[2]: *** [all] Error 2
    makefile:137: recipe for target 'sbl_all_opps' failed
    gmake[1]: *** [sbl_all_opps] Error 2
    Nothing to be done for tda2xx-evm tda2xx ipu1_0 l3fwUt
    Nothing to be done for tda2xx rtiUt

    I'm trying to resolve these errors.I tried with "gcc-arm-none-eabi-6-2017-q1-update" compiler also by modifying the Paths in Rules.Make.For this compiler also it is showing the same errors.

    Please help me.

    Thanks & Regards,

    A.Kavya Harini

  • Hi Kavya,

    We have not encountered this error. Are you using the same compiler version as mentioned in release notes?

    You also need to make sure that you are doing a clean build when you are trying different compiler versions.

    You might do a "rm -rf binary" in PDK folder to make sure build is indeed clean.

    Regards,

    Rishabh

  • Hi Rishabh,

    ---> Are you using the same compiler version as mentioned in release notes?

           Yes,I'm using the same compiler mentioned in the PDK_release notes which is this version "4_9-2015q3".

    ----> "rm -rf binary"

    I will try this and update you today EOD.

    Thanks & Regards,

    A.Kavya Harini.

  • Hi Rishabh,

     I Tried this "rm -rf binary" also.But,still same error is coming.

    c:/users/ee209200/downloads/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld.exe: error: D:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/drivers/pdk_01_09_00_17/packages/ti/binary/sbl/qspi/opp_nom/tda2xx-evm/sbl_qspi_opp_nom_a15_0_release.xa15fg uses VFP register arguments, C:/Users/ee209200/Downloads/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/lib/libc.a(lib_a-memcpy.o) does not

    How to solve this issue,I'm using the same compiler what TI mentioned in PDK_Release notes.

    Atleast,I'm unable to build the individual csl_ddr_test_app also.

    Please help me.

    Thanks & Regards,

    A.Kavya Harini

  • Hi Kavya,

    This error happens on building the different libraries with different FPU support. Are you building default SBL without any changes?

    If not can you please run a fresh install of SDK and then try.

    Regards,

    Rishabh

  • Hi Rishabh,

    I successfully builded the PDK with command "gmake -s all" on windows machine.The issue was resolved by changing the library path in the "rules_a15.mk" file.

    I didn't check with "gmake -s allcores".Now,I'm checking with this command.

    Thanks a lot for your support.

    Thanks & Regards,

    A.Kavya Harini

  • Hi Kavya,

    Glad to know that the issue is resolved.

    Kindly mark the appropriate posts as "This resolved my issue" and close the thread.

    Regards,

    Rishabh