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/TDA2EVM5777: vision sdk linux build issue

Part Number: TDA2EVM5777
Other Parts Discussed in Thread: SYSCONFIG, SYSBIOS

Tool/software: Linux

hi,

I get the following error when i try to build the linux sdk.

i have done make linux_all and make linux_install. Both worked fine.

i get the following error when i try to build the sdk with make -s -j depend

aaa@aaa-VirtualBox:~/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/build$ make -s -j depend
mkdir: cannot create directory ‘/home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/links_fw/include/config’: File exists
mkdir: cannot create directory ‘/home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/links_fw/include/config/apps’: File exists
mkdir: cannot create directory ‘/home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/links_fw/include/config/apps/tda2xx_evm_linux_all’: File exists
# makeconfig: Config is [ tda2xx_evm_linux_all ]
# makeconfig: Output file is @ /home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/links_fw/include/config/apps/tda2xx_evm_linux_all/system_cfg.h
# makeconfig: Input file is @ /home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/build/configs/tda2xx_evm_linux_all/cfg.mk
# makeconfig: Generating header ...
# makeconfig: Generating alg plugin config ...
# makeconfig: Generating usecase config ...
# makeconfig: Generating footer ...
# makeconfig: Done !!!
#
# CPUs that are NOT required but included in config [ tda2xx_evm_linux_all ],
#
#
# CPUs that are required but not included in config [ tda2xx_evm_linux_all ],
#
#
# Edit /home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/build/configs/tda2xx_evm_linux_all/cfg.mk to include or exclude CPUs in an application
#
Nothing to be done for tda2xx ipu1_0 csl_init
Nothing to be done for tda2xx csl_intc
Nothing to be done for tda2xx pm_rtos
Nothing to be done for tda2xx ipu1_0 sbl_utils
/home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/binaries/apps/tda2xx_evm_linux_all/ti/drv/pm/src/pmhal/obj/tda2xx/m4/release/.deps/hw_pmhal_vmdata.P:16: *** missing separator. Stop.
makefile:137: recipe for target 'pm_hal' failed
make[3]: *** [pm_hal] Error 2
make[3]: *** Waiting for unfinished jobs....
/home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/binaries/apps/tda2xx_evm_linux_all/ti/drv/pm/src/pmhal/optimized/obj/tda2xx/m4/release/.deps/pmhal_vm.P:16: *** missing separator. Stop.
makefile:137: recipe for target 'pm_hal_optimized' failed
make[3]: *** [pm_hal_optimized] Error 2
/home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/binaries/apps/tda2xx_evm_linux_all/ti/drv/pm/src/pmlib/obj/tda2xx/m4/release/.deps/pmlib_sysconfig.P:31: *** missing separator. Stop.
makefile:137: recipe for target 'pm_lib' failed
make[3]: *** [pm_lib] Error 2
/home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/binaries/apps/tda2xx_evm_linux_all/ti/drv/pm/src/pmlib/optimized/obj/tda2xx/m4/release/.deps/pmlib_sysconfig.P:30: *** missing separator. Stop.
makefile:137: recipe for target 'pm_lib_optimized' failed
make[3]: *** [pm_lib_optimized] Error 2
/home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/binaries/apps/tda2xx_evm_linux_all/ti/diag/obj/tda2xx/m4/release/.deps/diagLib_utils.P:48: *** missing separator. Stop.
makefile:137: recipe for target 'diag' failed
make[3]: *** [diag] Error 2
# Compiling tda2xx:ipu1_0:release:csl_uart_console: ./src/uartConfig.c
/home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/binaries/apps/tda2xx_evm_linux_all/ti/boot/sbl_auto/sbl_lib/obj/tda2xx-evm/m4/release/.deps/sbl_lib_weak.P:102: *** missing separator. Stop.
makefile:137: recipe for target 'sbl_lib' failed
make[3]: *** [sbl_lib] Error 2
# Compiling tda2xx:ipu1_0:release:csl_utils_i2c: ./src/i2c.c
# Compiling tda2xx:ipu1_0:release:csl_utils_common: ./src/app_utils.c
# Compiling tda2xx:ipu1_0:release:csl: ./soc/common/csl_device_xbar.c
# Compiling tda2xx:ipu1_0:release:csl: ./soc/common/csl_device_common.c
# Compiling tda2xx:ipu1_0:release:csl: ./arch/m4/src/interrupt.c
# Compiling tda2xx:ipu1_0:release:csl: ./arch/m4/src/ipu_wugen.c
# Compiling tda2xx:ipu1_0:release:csl: ./arch/m4/src/ammu.c
# Compiling tda2xx:ipu1_0:release:csl: ./arch/m4/src/unicache.c
# Compiling tda2xx:ipu1_0:release:csl: src/ip/dcan/V0/priv/dcan.c
# Compiling tda2xx:ipu1_0:release:csl: src/ip/edma/V1/priv/edma.c
# Compiling tda2xx:ipu1_0:release:csl: src/ip/elm/V0/priv/elm.c
# Compiling tda2xx:ipu1_0:release:csl: src/ip/emif/V0/priv/emif.c
# Compiling tda2xx:ipu1_0:release:csl: src/ip/epwm/V0/priv/csl_epwm.c
# Compiling tda2xx:ipu1_0:release:csl: src/ip/gpio/V1/priv/gpio_v2.c
# Compiling tda2xx:ipu1_0:release:csl: src/ip/gpmc/V1/priv/gpmc.c
# Compiling tda2xx:ipu1_0:release:csl: src/ip/i2c/V2/priv/i2c.c
# Compiling tda2xx:ipu1_0:release:csl: src/ip/l3fw/V0/priv/l3fw.c
# Compiling tda2xx:ipu1_0:release:csl: src/ip/l4fw/V0/priv/l4fw.c
# Compiling tda2xx:ipu1_0:release:csl: src/ip/mailbox/V0/priv/mailbox.c
# Compiling tda2xx:ipu1_0:release:csl: src/ip/mcspi/V0/priv/mcspi.c
# Compiling tda2xx:ipu1_0:release:csl: src/ip/ocmc/V0/priv/ocmc_ecc_l1.c
# Compiling tda2xx:ipu1_0:release:csl: src/ip/mmc/V0/priv/mmcsd.c
# Compiling tda2xx:ipu1_0:release:csl: src/ip/ocmc/V0/priv/ocmc_ecc_l2.c
# Compiling tda2xx:ipu1_0:release:csl: src/ip/mcasp/V0/priv/mcasp.c
# Compiling tda2xx:ipu1_0:release:csl: src/ip/mmu/dsp/V0/priv/mmu.c
# Compiling tda2xx:ipu1_0:release:csl: src/ip/qspi/V1/priv/qspi.c
# Compiling tda2xx:ipu1_0:release:csl: src/ip/spinlock/V0/priv/spinlock.c
# Compiling tda2xx:ipu1_0:release:csl: src/ip/timer/V1/priv/timer.c
# Compiling tda2xx:ipu1_0:release:csl: src/ip/uart/V1/priv/uart.c
# Compiling tda2xx:ipu1_0:release:csl: src/ip/wd_timer/V0/priv/wd_timer.c
# Compiling tda2xx:ipu1_0:release:csl: src/ip/pcie/V1/priv/pcie.c
#
# Archiving tda2xx:ipu1_0:release:csl_uart_console into /home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/drivers/pdk_01_10_00_08/packages/ti/csl/example/utils/uart_console/lib/tda2xx/m4/release/csl_uart_console.aem4 ...
#
#
# Archiving tda2xx:ipu1_0:release:csl_utils_common into /home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/drivers/pdk_01_10_00_08/packages/ti/csl/example/utils/common/lib/tda2xx/m4/release/csl_utils_common.aem4 ...
#
#
# Archiving tda2xx:ipu1_0:release:csl_utils_i2c into /home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/drivers/pdk_01_10_00_08/packages/ti/csl/example/utils/i2c/lib/tda2xx/m4/release/csl_utils_i2c.aem4 ...
#
#
# Archiving tda2xx:ipu1_0:release:csl into /home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/drivers/pdk_01_10_00_08/packages/ti/csl/lib/tda2xx/m4/release/ti.csl.aem4 ...
#
build_pdk.mk:64: recipe for target 'pdk' failed
make[2]: *** [pdk] Error 2
Makefile:338: recipe for target 'pdk' failed
make[1]: *** [pdk] Error 2
Makefile:270: recipe for target 'depend' failed
make: *** [depend] Error 2
aaa@aaa-VirtualBox:~/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/build$

  • Hi Archit,

    Can you try only "make -s depend". If that also doesn't work try a clean build.

    Regards,
    Rishabh
  • Hi Rishabh,

    Tried both make -depend and also make clean. Both failed. Logs below. Pls. advise. Thnx

    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    aaa@aaa-VirtualBox:~/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/build$ make -s depend
    mkdir: cannot create directory ‘/home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/links_fw/include/config’: File exists
    mkdir: cannot create directory ‘/home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/links_fw/include/config/apps’: File exists
    mkdir: cannot create directory ‘/home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/links_fw/include/config/apps/tda2xx_evm_linux_all’: File exists
    # makeconfig: Config is [ tda2xx_evm_linux_all ]
    # makeconfig: Output file is @ /home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/links_fw/include/config/apps/tda2xx_evm_linux_all/system_cfg.h
    # makeconfig: Input file is @ /home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/build/configs/tda2xx_evm_linux_all/cfg.mk
    # makeconfig: Generating header ...
    # makeconfig: Generating alg plugin config ...
    # makeconfig: Generating usecase config ...
    # makeconfig: Generating footer ...
    # makeconfig: Done !!!
    #
    # CPUs that are NOT required but included in config [ tda2xx_evm_linux_all ],
    #
    #
    # CPUs that are required but not included in config [ tda2xx_evm_linux_all ],
    #
    #
    # Edit /home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/build/configs/tda2xx_evm_linux_all/cfg.mk to include or exclude CPUs in an application
    #
    Nothing to be done for tda2xx ipu1_0 csl_init
    Nothing to be done for tda2xx csl_intc
    /home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/binaries/apps/tda2xx_evm_linux_all/ti/drv/pm/src/pmhal/obj/tda2xx/m4/release/.deps/hw_pmhal_vmdata.P:16: *** missing separator. Stop.
    makefile:137: recipe for target 'pm_hal' failed
    make[3]: *** [pm_hal] Error 2
    build_pdk.mk:64: recipe for target 'pdk' failed
    make[2]: *** [pdk] Error 2
    Makefile:338: recipe for target 'pdk' failed
    make[1]: *** [pdk] Error 2
    Makefile:270: recipe for target 'depend' failed
    make: *** [depend] Error 2


    ---------------------------------------------------------------------------------------------------------------------------------------------
    aaa@aaa-VirtualBox:~/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/build$ make clean
    make -C /home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/build/rtos/makerules -fbuild_pdk.mk pdk_clean
    make[1]: Entering directory '/home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/build/rtos/makerules'
    make -C /home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/drivers/pdk_01_10_00_08/packages/ti/build/ pdk_libs_clean MAKERULEDIR=/home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/drivers/pdk_01_10_00_08/packages/ti/build/makerules PDK_INSTALL_PATH=/home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/drivers/pdk_01_10_00_08/packages TOOLCHAIN_PATH_GCC=/home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/os_tools/linux/linaro/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf TOOLCHAIN_PATH_A15=/home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/os_tools/linux/linaro/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf TOOLCHAIN_PATH_M4=/home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/cg_tools/linux/ti-cgt-arm_16.9.2.LTS C6X_GEN_INSTALL_PATH=/home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/cg_tools/linux/C6000_7.4.2 TOOLCHAIN_PATH_EVE=/home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/cg_tools/linux/arp32_1.0.7 BIOS_INSTALL_PATH=/home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/os_tools/bios_6_46_04_53 XDC_INSTALL_PATH=/home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/os_tools/linux/xdctools_3_32_01_22_core EDMA3LLD_BIOS6_INSTALLDIR=/home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/drivers/edma3_lld_02_12_00_20 RADARLINK_INSTALL_PATH=/home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/radar/mmwave_dfp_01_01_00_00 MSHIELD_DK_DIR=/home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/mshield-dk_std_4_5_3 utils_PATH=/bin INCLUDE_DUMMY_OSAL=no PACKAGE_VIP=yes INCLUDE_SYSBIOS=yes VPS_RADAR_INCLUDE=yes PACKAGE_VPE=yes PACKAGE_CAL=no PACKAGE_ISS=no PACKAGE_DSS=yes VPS_DISABLE_I2C0=yes VPS_DISABLE_I2C2=yes VPS_DISABLE_I2C3=yes VPS_DISABLE_I2C4=yes BOARD=tda2xx-evm CORE=ipu1_0 BUILD_PROFILE=release
    make[2]: Entering directory '/home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/drivers/pdk_01_10_00_08/packages/ti/build'
    make -C /home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/drivers/pdk_01_10_00_08/packages/ti/csl/arch -fmakefile_init.mk clean
    make[3]: Entering directory '/home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/drivers/pdk_01_10_00_08/packages/ti/csl/arch'
    /bin/rm -rf /home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/binaries/apps/tda2xx_evm_linux_all/ti/csl/arch/obj/tda2xx/m4/release/* /home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/binaries/apps/tda2xx_evm_linux_all/ti/csl/arch/obj/tda2xx/m4/release/.deps/* /home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/drivers/pdk_01_10_00_08/packages/ti/csl/lib/tda2xx/m4/release/ti.csl.init.aem4 /home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/drivers/pdk_01_10_00_08/packages/ti/csl/lib/tda2xx/m4/release/ti.csl.init.aem4_size.txt
    make[3]: Leaving directory '/home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/drivers/pdk_01_10_00_08/packages/ti/csl/arch'
    make -C /home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/drivers/pdk_01_10_00_08/packages/ti/csl -fmakefile.mk clean
    make[3]: Entering directory '/home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/drivers/pdk_01_10_00_08/packages/ti/csl'
    /bin/rm -rf /home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/binaries/apps/tda2xx_evm_linux_all/ti/csl/obj/tda2xx/m4/release/* /home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/binaries/apps/tda2xx_evm_linux_all/ti/csl/obj/tda2xx/m4/release/.deps/* /home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/drivers/pdk_01_10_00_08/packages/ti/csl/lib/tda2xx/m4/release/ti.csl.aem4 /home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/drivers/pdk_01_10_00_08/packages/ti/csl/lib/tda2xx/m4/release/ti.csl.aem4_size.txt
    make[3]: Leaving directory '/home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/drivers/pdk_01_10_00_08/packages/ti/csl'
    make -C /home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/drivers/pdk_01_10_00_08/packages/ti/csl/example/utils/common clean
    make[3]: Entering directory '/home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/drivers/pdk_01_10_00_08/packages/ti/csl/example/utils/common'
    /bin/rm -rf /home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/binaries/apps/tda2xx_evm_linux_all/ti/csl/example/utils/common/obj/tda2xx/m4/release/* /home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/binaries/apps/tda2xx_evm_linux_all/ti/csl/example/utils/common/obj/tda2xx/m4/release/.deps/* /home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/drivers/pdk_01_10_00_08/packages/ti/csl/example/utils/common/lib/tda2xx/m4/release/csl_utils_common.aem4 /home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/drivers/pdk_01_10_00_08/packages/ti/csl/example/utils/common/lib/tda2xx/m4/release/csl_utils_common.aem4_size.txt
    make[3]: Leaving directory '/home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/drivers/pdk_01_10_00_08/packages/ti/csl/example/utils/common'
    make -C /home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/drivers/pdk_01_10_00_08/packages/ti/csl/example/utils/uart_console clean
    make[3]: Entering directory '/home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/drivers/pdk_01_10_00_08/packages/ti/csl/example/utils/uart_console'
    /bin/rm -rf /home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/binaries/apps/tda2xx_evm_linux_all/ti/csl/example/utils/uart_console/obj/tda2xx/m4/release/* /home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/binaries/apps/tda2xx_evm_linux_all/ti/csl/example/utils/uart_console/obj/tda2xx/m4/release/.deps/* /home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/drivers/pdk_01_10_00_08/packages/ti/csl/example/utils/uart_console/lib/tda2xx/m4/release/csl_uart_console.aem4 /home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/drivers/pdk_01_10_00_08/packages/ti/csl/example/utils/uart_console/lib/tda2xx/m4/release/csl_uart_console.aem4_size.txt
    make[3]: Leaving directory '/home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/drivers/pdk_01_10_00_08/packages/ti/csl/example/utils/uart_console'
    make -C /home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/drivers/pdk_01_10_00_08/packages/ti/csl/example/utils/i2c clean
    make[3]: Entering directory '/home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/drivers/pdk_01_10_00_08/packages/ti/csl/example/utils/i2c'
    /bin/rm -rf /home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/binaries/apps/tda2xx_evm_linux_all/ti/csl/example/utils/i2c/obj/tda2xx/m4/release/* /home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/binaries/apps/tda2xx_evm_linux_all/ti/csl/example/utils/i2c/obj/tda2xx/m4/release/.deps/* /home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/drivers/pdk_01_10_00_08/packages/ti/csl/example/utils/i2c/lib/tda2xx/m4/release/csl_utils_i2c.aem4 /home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/drivers/pdk_01_10_00_08/packages/ti/csl/example/utils/i2c/lib/tda2xx/m4/release/csl_utils_i2c.aem4_size.txt
    make[3]: Leaving directory '/home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/drivers/pdk_01_10_00_08/packages/ti/csl/example/utils/i2c'
    make -C /home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/drivers/pdk_01_10_00_08/packages/ti/drv/pm/src/pmhal -f/home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/drivers/pdk_01_10_00_08/packages/ti/drv/pm/src/pmhal/makefile.mk clean
    make[3]: Entering directory '/home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/drivers/pdk_01_10_00_08/packages/ti/drv/pm/src/pmhal'
    /home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/binaries/apps/tda2xx_evm_linux_all/ti/drv/pm/src/pmhal/obj/tda2xx/m4/release/.deps/hw_pmhal_vmdata.P:16: *** missing separator. Stop.
    make[3]: Leaving directory '/home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/drivers/pdk_01_10_00_08/packages/ti/drv/pm/src/pmhal'
    makefile:169: recipe for target 'pm_hal_clean' failed
    make[2]: *** [pm_hal_clean] Error 2
    make[2]: Leaving directory '/home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/drivers/pdk_01_10_00_08/packages/ti/build'
    build_pdk.mk:90: recipe for target 'pdk_clean' failed
    make[1]: *** [pdk_clean] Error 2
    make[1]: Leaving directory '/home/aaa/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/build/rtos/makerules'
    Makefile:341: recipe for target 'pdk_clean' failed
    make: *** [pdk_clean] Error 2
    aaa@aaa-VirtualBox:~/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/build$
  • Hi Archit,

    I am not facing any issues while building.
    Have you made any changes in Vision SDK code?

    Regards,
    Rishabh
  • Hi Rishabh,

    I had used the script setup_linux.sh.
    Not sure from which directory it was executed. But the kernel components were downloaded in the vision_sdk folder. Had to manually copy them to the ti_components folder ( folders kernel, sgx, uboot).
    Subsequent to that the make_linux_all command went well.
    Will this affect the build?
  • Hi Archit,

    I don't think it should affect the build.
    Can you reinstall Vision SDK and run the script from proper location.
    In case there is an issue with script let me know.

    regards,
    Rishabh
  • Hi,
    Still trying to build.
    I am working on ubuntu 18.04, on virtual box.

    Reinstalled the SDK and ran the scripts again.
    This time exactly as per the user guide.
    Installed both the compilers ( linaro and the a15compiler).
    This time no problem with building the linux. No need to copy components. the script worked well.
    The following packages could not be installed (not found) - ia32_libs, uname, lib32bz2-1.0, mkimage.
    Also, did not update the framework components.
    make linux success. (although hung once)
    make linux_install success.

    But make -s -j depend hung up ( actually started to build without the separator problem), and then from second time gave same problem.
    ( as mentioned in log above,... missing separator....).

    Trying it out by again downloading the setup.bin for SDK.
    But does it build on ubuntu 18.04?
    Kindly let me know.

    Thanks and Regards,
    AAA
  • Hi Archit,

    Vision SDK Linux will build on ubuntu14 or unbuntu16.
    Have you tried building on any of these two versions?

    Regards,
    Rishabh
  • Hi Rishabh,

    I tried using the Ubuntu 16.04.05 LTS. ( desktop amd 64 iso image on virtual box)

    A few packages are not found in the installation ( ia32_libs, uname, libbz2-1.0 ). mkimage was also not found, but that problem got resolved when i installed u-boot-tools package/

    make linux and make linux_install want fine.

    But system got stuck in make -s -j depend ( eventually kernel panic on host machine. )

    I tried thrice. Also, re-installed SDK once and tried, but same result.

    Build gets stuck. ( while building IPU1_0 code)

    Any idea about this? 

    i can try on ubuntu 14, but that is too old version.( for other purposes).

    Also, about ubuntu 18, i get the missing separator issue. 

    this might be the space to tab problem. Any idea/suggestions to quickly try and fix this?

    Kindly let me know.

    Thanks and Regards,

    AAA 

  • Hi Archit,

    Please correct me if I am wrong

    1. Installed VSDK 3.4 release on Ubuntu 16.04 machine

    2. Following User Guide - cloned kernel/u-boot/sgx using setup_linux.sh script

    3. Downloaded file system release with VSDK3.4 release & un-tarred in targetfs folder

    4. Modify MAKECONFIG to tda2xx_evm_linux_all in Rules.mk file

    5. Then run below commands one by one

            make linux, make linux_install, make -s -j depend, make -s -j

    6.  As per log, when you run make -s -j depend -> build got stuck while building IPU1_0 code

    Could you please follow below steps and check if problem still exist ?

    1. From vision_sdk/build folder, run these commands

            make linux_clean

            make clean

            rm -rf ../binaries

            rm -rf ../links_fw/include/config

            make linux

            make linux_install

            make -s -j depend 

            make -s -j

    Regards

    Surya

  •   Hi Surya,

    I have done exactly the same steps. ( install both compilers - linaro and also the eabi..)

    to try again, i did the following as mentioned in your reply

    i did the make linux_clean -> (all ok.)

    did the make clean - > (it gave the following error ( snap shot below).)

    I found the the .p files are getting broken/corrupt.

    the missing separator is because of that.

    the last line in the .p file is actually incomplete.

    Attaching the .p file which gave the above error.

    Also tried make pdk. separately.

    it also gave the same error. (missing separator). the .p file last line was corrupt or incomplete.

    On ubuntu 18 i was getting similar error.

    Can you please advise.

    Thanks and Regards,

    Archit

  • Hi Archit,

    There is no attachment for me to review.

    Regards,
    Rishabh
  • Hi Rishabh,

    I pasted the snap shots of the error ( error highlighted), and the app_utils.P ( with the problem line highlighted) in the previous response.
    I faced a problem when tried to upload the .P file, so pasted the snap shots.
    Will upload the file (may be by zip) if you need to view the file, in some time.

    Mean time checking out if the .P file gets corrupt on installation itself, or if it is getting corrupt later on.

    Thanks and Regards,

    Archit
  • Hi Archit,

    Have you tried building by doing "make -s depend"? Did the build ever work for you?

    Regards,
    Rishabh
  • Hi Rishabh,

    Using "make -s depend" solved my issue.
    I could build the vision sdk on Ubuntu 16.04 LTS .
    Thanks for the help.

    Will also try on Ubuntu 18, and update you.

    Thanks and Regards,
    Archit
  • Hi Archit,

    Thanks for the update.
    Kindly mark the post that answers your query as "This resolved my issue" and close the thread.

    Regards,
    Rishabh
  • Thanks Rishabh.

    I could build the vision SDK on Ubuntu 18.04 as well.

    It seems It was the same issue of using the make without the -j.

    Thanks and Regards,

    Archit

  • Hi Archit,

    Great. Thanks for the confirmation.

    Regards,
    Rishabh