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.

Compiler/TDA3XEVM: DSS example doesnt compiles

Part Number: TDA3XEVM

Tool/software: TI C/C++ Compiler

Gmake cannot compile DSS example from PDK:


C:\PROCESSOR_SDK_VISION_03_01_00_00\ti_components\drivers\pdk_01_08_00_16\packages>cd C:\PROCESSOR_SDK_VISION_03_01_00_00\ti_components\drivers\pdk_01_08_00_16\packages\ti\drv\vps\examples\dss\displayDss

C:\PROCESSOR_SDK_VISION_03_01_00_00\ti_components\drivers\pdk_01_08_00_16\packages\ti\drv\vps\examples\dss\displayDss>gmake
c:/ti/ccsv7/utils/cygwin/mkdir -p C:\PROCESSOR_SDK_VISION_03_01_00_00\ti_components\drivers\pdk_01_08_00_16\packages/ti/binary/vps_examples_displayDss/obj/tda2xx-evm/ipu1_0/release
c:/ti/ccsv7/utils/cygwin/mkdir -p C:\PROCESSOR_SDK_VISION_03_01_00_00\ti_components\drivers\pdk_01_08_00_16\packages/ti/binary/vps_examples_displayDss/bin/tda2xx-evm
c:/ti/ccsv7/utils/cygwin/mkdir -p C:\PROCESSOR_SDK_VISION_03_01_00_00\ti_components\drivers\pdk_01_08_00_16\packages/ti/binary/vps_examples_displayDss/obj/tda2xx-evm/ipu1_0/release/.deps
c:/ti/ccsv7/utils/cygwin/mkdir -p C:\PROCESSOR_SDK_VISION_03_01_00_00\ti_components\drivers\pdk_01_08_00_16\packages/ti/binary/vps_examples_displayDss/obj/tda2xx-evm/ipu1_0/release
c:/ti/ccsv7/utils/cygwin/mkdir -p C:\PROCESSOR_SDK_VISION_03_01_00_00\ti_components\drivers\pdk_01_08_00_16\packages/ti/binary/vps_examples_displayDss/obj/tda2xx-evm/ipu1_0/release/.deps
c:/ti/ccsv7/utils/cygwin/mkdir -p C:\PROCESSOR_SDK_VISION_03_01_00_00\ti_components\drivers\pdk_01_08_00_16\packages/ti/binary/vps_examples_displayDss/obj/tda2xx-evm/ipu1_0/release/vps_examples_displayDss_configuro
gmake csl fvid2 vps_osal_tirtos vps_common vpslib vpsdrv vps_platforms vps_devices vps_boards pm_hal pm_lib vps_examples_utility i2c_lld bsp_i2c bsp_uart stw_fatlib stw_platform
gmake[1]: Entering directory `C:/PROCESSOR_SDK_VISION_03_01_00_00/ti_components/drivers/pdk_01_08_00_16/packages/ti/drv/vps/examples/dss/displayDss'
gmake -C C:\PROCESSOR_SDK_VISION_03_01_00_00\ti_components\drivers\pdk_01_08_00_16\packages/ti/csl -fmakefile.mk
gmake[2]: Entering directory `C:/PROCESSOR_SDK_VISION_03_01_00_00/ti_components/drivers/pdk_01_08_00_16/packages/ti/csl'
c:/ti/ccsv7/utils/cygwin/mkdir -p C:\PROCESSOR_SDK_VISION_03_01_00_00\ti_components\drivers\pdk_01_08_00_16\packages/ti/binary/ti/csl/obj/tda2xx/m4/release
c:/ti/ccsv7/utils/cygwin/mkdir -p C:\PROCESSOR_SDK_VISION_03_01_00_00\ti_components\drivers\pdk_01_08_00_16\packages/ti/binary/ti/csl/obj/tda2xx/m4/release/.deps
# Compiling tda2xx:ipu1_0:release:csl: ./soc/common/csl_device_xbar.c
c:/ti/ti-cgt-arm_16.9.1.LTS/bin/armcl -ppd=C:\PROCESSOR_SDK_VISION_03_01_00_00\ti_components\drivers\pdk_01_08_00_16\packages/ti/binary/ti/csl/obj/tda2xx/m4/release/.deps/csl_device_xbar.P -g -ms -DMAKEFILE_BUILD -c -qq -pdsw225 --endian=little -mv7M4 --float_support=vfplib --abi=eabi -eo.oem4 -ea.sem4 --symdebug:dwarf --embed_inline_assembly --emit_warnings_as_errors -ms -oe -O3 -op0 -os --optimize_with_debug --inline_recursion_limit=20 -DBUILD_IPU1_0 -DBUILD_IPU1 -DSOC_TDA2XX -Ic:/ti/ti-cgt-arm_16.9.1.LTS/include -I. -I./soc -I./arch/m4 -Isrc/ip/dcan/V0 -I. -Isrc/ip/dcan/V0/V0_0 -I. -Isrc/ip/edma/V1 -I. -Isrc/ip/elm/V0 -Isrc/ip/emif/V0 -Isrc/ip/emif/V0/V0_0 -Isrc/ip/epwm/V0 -I. -Isrc/ip/gpio/V1 -I. -Isrc/ip/gpmc/V1 -I. -Isrc/ip/i2c/V2 -Isrc/ip/l3fw/V0 -Isrc/ip/l4fw/V0 -I. -Isrc/ip/mailbox/V0 -Isrc/ip/mailbox/V0/V0_0 -I. -Isrc/ip/mcasp/V0 -I. -Isrc/ip/mcspi/V0 -I. -Isrc/ip/mmc/V0 -I. -Isrc/ip/mmu/dsp/V0 -Isrc/ip/ocmc/V0 -I. -Isrc/ip/pcie/V1 -I. -Isrc/ip/qspi/V1 -I. -Isrc/ip/spinlock/V0 -I. -Isrc/ip/timer/V1 -I. -Isrc/ip/uart/V1 -I. -Isrc/ip/wd_timer/V0 -IC:\PROCESSOR_SDK_VISION_03_01_00_00\ti_components\drivers\pdk_01_08_00_16\packages -IC:\PROCESSOR_SDK_VISION_03_01_00_00\ti_components\drivers\pdk_01_08_00_16\packages/ti/csl -IC:\PROCESSOR_SDK_VISION_03_01_00_00\ti_components\drivers\pdk_01_08_00_16\packages/ti/csl -fr=C:\PROCESSOR_SDK_VISION_03_01_00_00\ti_components\drivers\pdk_01_08_00_16\packages/ti/binary/ti/csl/obj/tda2xx/m4/release -fs=C:\PROCESSOR_SDK_VISION_03_01_00_00\ti_components\drivers\pdk_01_08_00_16\packages/ti/binary/ti/csl/obj/tda2xx/m4/release -fc ./soc/common/csl_device_xbar.c
process_begin: CreateProcess(NULL, c:/ti/ti-cgt-arm_16.9.1.LTS/bin/armcl -ppd=C:\PROCESSOR_SDK_VISION_03_01_00_00\ti_components\drivers\pdk_01_08_00_16\packages/ti/binary/ti/csl/obj/tda2xx/m4/release/.deps/csl_device_xbar.P -g -ms -DMAKEFILE_BUILD -c -qq -pdsw225 --endian=little -mv7M4 --float_support=vfplib --abi=eabi -eo.oem4 -ea.sem4 --symdebug:dwarf --embed_inline_assembly --emit_warnings_as_errors -ms -oe -O3 -op0 -os --optimize_with_debug --inline_recursion_limit=20 -DBUILD_IPU1_0 -DBUILD_IPU1 -DSOC_TDA2XX -Ic:/ti/ti-cgt-arm_16.9.1.LTS/include -I. -I./soc -I./arch/m4 -Isrc/ip/dcan/V0 -I. -Isrc/ip/dcan/V0/V0_0 -I. -Isrc/ip/edma/V1 -I. -Isrc/ip/elm/V0 -Isrc/ip/emif/V0 -Isrc/ip/emif/V0/V0_0 -Isrc/ip/epwm/V0 -I. -Isrc/ip/gpio/V1 -I. -Isrc/ip/gpmc/V1 -I. -Isrc/ip/i2c/V2 -Isrc/ip/l3fw/V0 -Isrc/ip/l4fw/V0 -I. -Isrc/ip/mailbox/V0 -Isrc/ip/mailbox/V0/V0_0 -I. -Isrc/ip/mcasp/V0 -I. -Isrc/ip/mcspi/V0 -I. -Isrc/ip/mmc/V0 -I. -Isrc/ip/mmu/dsp/V0 -Isrc/ip/ocmc/V0 -I. -Isrc/ip/pcie/V1 -I. -Isrc/ip/qspi/V1 -I. -Isrc/ip/spinlock/V0 -I. -Isrc/ip/timer/V1 -I. -Isrc/ip/uart/V1 -I. -Isrc/ip/wd_timer/V0 -IC:\PROCESSOR_SDK_VISION_03_01_00_00\ti_components\drivers\pdk_01_08_00_16\packages -IC:\PROCESSOR_SDK_VISION_03_01_00_00\ti_components\drivers\pdk_01_08_00_16\packages/ti/csl -IC:\PROCESSOR_SDK_VISION_03_01_00_00\ti_components\drivers\pdk_01_08_00_16\packages/ti/csl -fr=C:\PROCESSOR_SDK_VISION_03_01_00_00\ti_components\drivers\pdk_01_08_00_16\packages/ti/binary/ti/csl/obj/tda2xx/m4/release -fs=C:\PROCESSOR_SDK_VISION_03_01_00_00\ti_components\drivers\pdk_01_08_00_16\packages/ti/binary/ti/csl/obj/tda2xx/m4/release -fc ./soc/common/csl_device_xbar.c, ...) failed.
make (e=2): ═х єфрхЄё  эрщЄш єърчрээ√щ Їрщы.
gmake[2]: *** [C:\PROCESSOR_SDK_VISION_03_01_00_00\ti_components\drivers\pdk_01_08_00_16\packages/ti/binary/ti/csl/obj/tda2xx/m4/release/csl_device_xbar.oem4] Error 2
gmake[2]: Leaving directory `C:/PROCESSOR_SDK_VISION_03_01_00_00/ti_components/drivers/pdk_01_08_00_16/packages/ti/csl'
gmake[1]: *** [csl] Error 2
gmake[1]: Leaving directory `C:/PROCESSOR_SDK_VISION_03_01_00_00/ti_components/drivers/pdk_01_08_00_16/packages/ti/drv/vps/examples/dss/displayDss'
gmake: *** [ipu1_0] Error 2

C:\PROCESSOR_SDK_VISION_03_01_00_00\ti_components\drivers\pdk_01_08_00_16\packages\ti\drv\vps\examples\dss\displayDss>

some messages have broken font glyphs  :((

  • Hi Alexander,

    You should build the PDK examples from C:\PROCESSOR_SDK_VISION_03_01_00_00\ti_components\drivers\pdk_01_08_00_16\packages\ti\build folder and then it will work. You need to specify the build target. E.g. gmake -s <app_name>

    Regards,
    Rishabh
  • Still dowsn't work:

    C:\PROCESSOR_SDK_VISION_03_01_00_00\ti_components\drivers\pdk_01_08_00_16\packages\ti\build>gmake -s examples
    # Compiling tda2xx:ipu1_0:release:csl: ./soc/common/csl_device_xbar.c
    process_begin: CreateProcess(NULL, c:/ti/ti-cgt-arm_16.9.1.LTS/bin/armcl -ppd=C:\PROCESSOR_SDK_VISION_03_01_00_00\ti_components\drivers\pdk_01_08_00_16\packages/ti/binary/ti/csl/obj/tda2xx/m4/release/.deps/csl_device_xbar.P -g -ms -DMAKEFILE_BUILD -c -qq -pdsw225 --endian=little -mv7M4 --float_support=vfplib --abi=eabi -eo.oem4 -ea.sem4 --symdebug:dwarf --embed_inline_assembly --emit_warnings_as_errors -ms -oe -O3 -op0 -os --optimize_with_debug --inline_recursion_limit=20 -DBUILD_IPU1_0 -DBUILD_IPU1 -DSOC_TDA2XX -Ic:/ti/ti-cgt-arm_16.9.1.LTS/include -I. -I./soc -I./arch/m4 -Isrc/ip/dcan/V0 -I. -Isrc/ip/dcan/V0/V0_0 -I. -Isrc/ip/edma/V1 -I. -Isrc/ip/elm/V0 -Isrc/ip/emif/V0 -Isrc/ip/emif/V0/V0_0 -Isrc/ip/epwm/V0 -I. -Isrc/ip/gpio/V1 -I. -Isrc/ip/gpmc/V1 -I. -Isrc/ip/i2c/V2 -Isrc/ip/l3fw/V0 -Isrc/ip/l4fw/V0 -I. -Isrc/ip/mailbox/V0 -Isrc/ip/mailbox/V0/V0_0 -I. -Isrc/ip/mcasp/V0 -I. -Isrc/ip/mcspi/V0 -I. -Isrc/ip/mmc/V0 -I. -Isrc/ip/mmu/dsp/V0 -Isrc/ip/ocmc/V0 -I. -Isrc/ip/pcie/V1 -I. -Isrc/ip/qspi/V1 -I. -Isrc/ip/spinlock/V0 -I. -Isrc/ip/timer/V1 -I. -Isrc/ip/uart/V1 -I. -Isrc/ip/wd_timer/V0 -IC:\PROCESSOR_SDK_VISION_03_01_00_00\ti_components\drivers\pdk_01_08_00_16\packages -IC:\PROCESSOR_SDK_VISION_03_01_00_00\ti_components\drivers\pdk_01_08_00_16\packages/ti/csl -IC:\PROCESSOR_SDK_VISION_03_01_00_00\ti_components\drivers\pdk_01_08_00_16\packages/ti/csl -fr=C:\PROCESSOR_SDK_VISION_03_01_00_00\ti_components\drivers\pdk_01_08_00_16\packages/ti/binary/ti/csl/obj/tda2xx/m4/release -fs=C:\PROCESSOR_SDK_VISION_03_01_00_00\ti_components\drivers\pdk_01_08_00_16\packages/ti/binary/ti/csl/obj/tda2xx/m4/release -fc ./soc/common/csl_device_xbar.c, ...) failed.
    make (e=2): ═х єфрхЄё  эрщЄш єърчрээ√щ Їрщы.
    gmake[3]: *** [C:\PROCESSOR_SDK_VISION_03_01_00_00\ti_components\drivers\pdk_01_08_00_16\packages/ti/binary/ti/csl/obj/tda2xx/m4/release/csl_device_xbar.oem4] Error 2
    gmake[2]: *** [csl] Error 2
    gmake[1]: *** [ipu1_0] Error 2
    gmake: *** [csl_edma_test_app] Error 2

    C:\PROCESSOR_SDK_VISION_03_01_00_00\ti_components\drivers\pdk_01_08_00_16\packages\ti\build>

  • Hi Alexander,

    In Rules.make paths to various compiler and PDK packages path is specified.

    Can you please check if those values are correct.

    From the log it looks like PDK_INSTALL_PATH is not set correctly.

    Regards,

    Rishabh

  • Hi Alexander,

    Please refer to wiki link processors.wiki.ti.com/.../PDK_FAQ for more details on how to build PDK examples from Vision SDK.

    Regards,
    Rishabh