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/DRA72XEVM: Unable to run TI provided use cases in Vision SDK 3_0_7 on our custom board

Part Number: DRA72XEVM

Tool/software: Linux

Hi TI Forum,

We are trying to run TI provided use cases on our custom board. We are using Vision SDK 3.0.7. We are getting below error:[Attaching to DSP2 is never succeeded]

[HOST]  [IPU1-0]    SYSTEM: Attaching to [DSP2]

We noticed in the Forum that DSP2 has to be disabled in Source_VSDK_3_07/vision_sdk/apps/configs/tda2xx_evm_linux_all/cfg.mk file and accordingly disabled it.

PROC_IPU1_0_INCLUDE=yes
PROC_IPU1_1_INCLUDE=no
PROC_IPU2_INCLUDE=yes
PROC_A15_0_INCLUDE=yes
PROC_DSP1_INCLUDE=yes
PROC_DSP2_INCLUDE=no
PROC_EVE1_INCLUDE=yes
PROC_EVE2_INCLUDE=yes
PROC_EVE3_INCLUDE=yes
PROC_EVE4_INCLUDE=yes


VSDK_BOARD_TYPE=TDA2XX_EVM

IPU_PRIMARY_CORE=ipu2
IPU_SECONDARY_CORE=ipu1_0

But still getting the same error, could you please help us.

[HOST]  [IPU1-0]    SYSTEM: Attaching to [DSP2]

Thanks & Regards,

SK

  • Hi,

    What is the SOC being used in your Custom board?

    Can toy share the output of make showconfig.

    After disabling dsp2 are you doing a clean build?

    Regards,

    Anuj

  • Hi Anuj,

    SOC used in our custom board is TDA2SX. We did clean build

    rm -rf binaries

    make clean

    make linux_all

    make -s -j depend

    make -s -j

    Below is the showconfig details:

    Source_VSDK_3_07/vision_sdk/apps/configs'
    #
    # Build Config is [ tda2xx_evm_linux_all ]
    # Build Config file is @ /home/rajesh/ITSudhi/its/Source_VSDK_3_07/vision_sdk/configs/tda2xx_evm_linux_all/cfg.mk
    # Build Config .h file is @ /home/rajesh/ITSudhi/its/Source_VSDK_3_07/vision_sdk/links_fw/include/config/apps/tda2xx_evm_linux_all/system_cfg.h
    # Build CPUs is @ ipu1_0 ipu2 a15_0 dsp1
    #
    # CPUs included in application,
    # PROC_IPU1_0_INCLUDE=yes
    # PROC_IPU1_1_INCLUDE=no
    # PROC_IPU2_INCLUDE=yes
    # PROC_DSP1_INCLUDE=yes
    # PROC_DSP2_INCLUDE=no
    # PROC_EVE1_INCLUDE=no
    # PROC_EVE2_INCLUDE=no
    # PROC_EVE3_INCLUDE=no
    # PROC_EVE4_INCLUDE=no
    # PROC_A15_0_INCLUDE=yes
    #
    # Platform config,
    # VSDK_BOARD_TYPE=TDA2XX_EVM [options: TDA2XX_EVM TDA2EX_EVM TDA3XX_EVM TDA3XX_RVP TDA2XX_RVP]
    # PLATFORM=tda2xx-evm
    # DUAL_A15_SMP_BIOS=no
    # IPU1_SMP_BIOS=no
    # DDR_MEM=DDR_MEM_1024M [options: DDR_MEM_128M DDR_MEM_512M DDR_MEM_1024M]
    # EMIFMODE=SINGLE_EMIF_512MB [options: SINGLE_EMIF_512MB SINGLE_EMIF_1GB ref build_pdk.mk]
    # NDK_PROC_TO_USE=none [options: a15_0 ipu1_0 ipu1_1 ipu2 none]
    # NSP_TFDTP_INCLUDE=no [options: yes no]
    # TDA2EX_ETHSRV_BOARD=no [options: yes no]
    # FATFS_PROC_TO_USE=none [options: ipu1_0 none]
    # RADAR_BOARD=none [options: TDA3XX_AR12_ALPS TDA3XX_AR12_VIB_DAB_BOOSTER TDA3XX_RADAR_RVP none]
    #
    # Build config,
    # BUILD_OS=Linux [options: Windows_NT Linux]
    # BUILD_DEPENDENCY_ALWAYS=no
    # BUILD_ALGORITHMS=no
    # BUILD_INFOADAS=no
    # PROFILE=release [options: debug release]
    # KW_BUILD=no
    # CPLUSPLUS_BUILD=no
    # IPU_PRIMARY_CORE=ipu1_0 [options: ipu1_0 ipu2]
    # IPU_SECONDARY_CORE=ipu2 [options: ipu1_0 ipu2]
    # A15_TARGET_OS=Linux [options: Bios Linux Qnx]
    # BSP_STW_PACKAGE_SELECT=all [options: all vps-iss-dss-only vps-vip-vpe]
    #
    # Safety Module config,
    # RTI_INCLUDE=no
    # ECC_FFI_INCLUDE=no
    # DCC_ESM_INCLUDE=no
    #
    # Video Module config,
    # IVAHD_INCLUDE=yes
    # VPE_INCLUDE=yes
    # CAL_INCLUDE=no
    # ISS_INCLUDE=no
    # ISS_ENABLE_DEBUG_TAPS=no
    # WDR_LDC_INCLUDE=no
    # DSS_INCLUDE=yes
    #
    # Open Compute config,
    # OPENCL_INCLUDE=no
    # TARGET_ROOTDIR=/home/rajesh/ITSudhi/its/Source_VSDK_3_07/vision_sdk/../ti_components/os_tools/linux/targetfs
    # ENABLE_OPENCV=no
    # ENABLE_OPENCV_TESTS=no
    # OPENVX_INCLUDE=no
    #
    # Log config,
    # ENABLE_UART_LOG=yes
    # ENABLE_NETWORK_LOG=no
    # ENABLE_CCS_LOG=no
    # CIO_REDIRECT=yes
    #
    # IPC config,
    # WORKQ_INCLUDE=no
    # IPC_LIB_INCLUDE=no
    #
    # AUTOSAR_APP=no
    #
    # Surround View config,
    # SRV_FAST_BOOT_INCLUDE=no
    #
    # Other Module config,
    # AVB_INCLUDE=no
    # DCAN_INCLUDE=no
    # RADAR_ONLY=no
    # RADAR_STUDIO=no
    # CPU_IDLE_ENABLED=yes
    # FAST_BOOT_INCLUDE=no
    # DATA_VIS_INCLUDE=no
    # HS_DEVICE=no
    # ULTRASONIC_INCLUDE=no
    # PGA450=
    # PGA460=
    # ENABLE_ALL_DEPTH=
    #
    # Linux config,
    # DEFAULT_UBOOT_CONFIG=dra7xx_evm_vision_config
    # DEFAULT_KERNEL_CONFIG=fs_its_defconfig
    # DEFAULT_DTB=dra7-evm-infoadas.dtb
    # CMEM_INCLUDE=no
    # IPUMM_INCLUDE=no
    # IPU1_EVELOADER_INCLUDE=no
    # ROBUST_RVC_INCLUDE=no
    # BUILD_ADAM_CAR=no
    #
    # Alg plugins included in build,
    # ALG_sparseopticalflow
    #
    # Use-cases included in build,
    # UC_lvds_vip_multi_cam_3d_perception UC_lvds_vip_multi_cam_view_sgx_display UC_lvds_vip_multi_cam_vpe_enc_null UC_null_src_decode_display UC_disp_dist_src_display UC_vip_single_cam_sgx_display
    #
    make -s -fbuild_makeconfig.mk check_cpu_include
    make[2]: Entering directory `/home/rajesh/ITSudhi/its/Source_VSDK_3_07/vision_sdk/apps/configs'
    #
    # CPUs that are NOT required but included in config [ tda2xx_evm_linux_all ],
    #
    # WARNING: IPU2 can be excluded from application
    #
    # CPUs that are required but not included in config [ tda2xx_evm_linux_all ],
    #
    # ERROR: DSP2 MUST be included in application
    # ERROR: EVE1 MUST be included in application
    # ERROR: EVE2 MUST be included in application
    # ERROR: EVE3 MUST be included in application
    # ERROR: EVE4 MUST be included in application

    Thanks & Regards,

    SK

  • Hi,

    Are you modifying anything else also.

    You should not get this error.

    And if you are build linux then why ipu1_0 is enabled.

    Only IPU2 will be enabled.

    Can you just enable IPU2 and A15 and try.

    Share the logs also.

    Regards,

    Anuj

  • Hi Anuj,

    By disabling DSP2 in cfg.mk and as suggested by you keeping IPU2 enabled the error is not seen. We could run the use case successfully..

    Regards,

    Sudhi