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.

RTOS/TDA2EXEVM: can port visionSDK to J6Entry EVM platform

Part Number: TDA2EXEVM

Tool/software: TI-RTOS

hi all,

now i am using J6Entry EVM board, can port visionSDK to this platform? 

linux side through drm draw frame to GFX pipeline,  other layer draw frame to VID1, VID2 or VID3 pipeline through visionSDK at M4 side, can it work?

which the SOC version of J6Entry?  tda2xx ? tda2ex ?

which version of visionSDK is suitable?

is there any wiki document can reference?

best regards!

  • Hi,

    you can use the latest (3.06) version of the VisionSDK:
    software-dl.ti.com/.../index_FDS.html

    Please refer VisionSDK_UserGuide_TDA2Ex.pdf for running VisionSDK on your device.
    If you use Linux version, please check for instructions for "TDA2EX" in the Linux User Guide (for example you should use fdtfile=dra72-evm-infoadas.dtb in uenv.txt)

    Regards,
    Yordan
  • hi Yordan

    Thanks for your reply,  i just want to draw image to pipeline VID1, 2, 3 on M4 side, so when i compile visionSDK, i should choose RTOS version or HLOS version? i should set  MAKECONFIG=tda2ex_evm_bios_all  or tda2ex_evm_linux_all ?

    best regards! 

  • Hi Fanok,

    It actually depends on exact use case.

    From what you have described you should use RTOS i.e. tda2ex_evm_bios_all.

    Regards,

    Rishabh

  • hi Rishabh,

    i compile tda2ex_evm_bios_all,  and i just enable A15 and IPU2,  if i disable A15 link error occured and build fail.

    so compile output have two firmware:

    "vision_sdk_a15_0_release.xa15fg" and "vision_sdk_ipu2_release.xem4"

    i want to know if i just want to run visionSDK ipu2 firmware, why need enable A15?

    what the function of "vision_sdk_a15_0_release.xa15fg"  firmware?  and how to run it?

    best regards!

  • Hi,

    Are you using A15 in your use case?

    If not then A15 can also be removed.

    However you will always need IPU.

    Can you share the use case file.

    Regards,

    Rishabh

  • hi Rishabh,

    my usecase is very easy:

    UseCase: chains_nullSrcDisplay
    NullSource -> Dup ->Display Dup -> Null

    if i setting as following (just enable IPU2):

    PROC_IPU1_0_INCLUDE=no
    PROC_IPU1_1_INCLUDE=no
    PROC_IPU2_INCLUDE=yes
    PROC_A15_0_INCLUDE=no
    PROC_DSP1_INCLUDE=no

    IPU_PRIMARY_CORE=ipu2
    IPU_SECONDARY_CORE=ipu1_0

    then compile error:

    # Compiling tda2ex-evm:ipu2:release:vision_sdk: /home/vision_sdk/apps/src/common/app_init/app_init_ipu_primary.c
    # Compiling generated MAIN_APP_ipu2_pem4.oem4
    # Linking into /home/vision_sdk/binaries/apps/tda2ex_evm_bios_all/vision_sdk/bin/tda2ex-evm/vision_sdk_ipu2_release.xem4...


     undefined                                  first referenced                                                                                                           
      symbol                                        in file                                                                                                                
     ---------                                  ----------------                                                                                                           
     ti_sdo_ipc_interfaces_INotifyDriver_delete /home/vision_sdk/binaries/apps/tda2ex_evm_bios_all/obj/vision_sdk/tda2ex-evm/ipu2/release/vision_sdk_configuro/package/cfg/MAIN_APP_ipu2_pem4.src/ipc/ipc.aem4<Ipc.obj>
    error: unresolved symbols remain
    error: errors encountered during linking;
    if i enable A15 then build success!
    why? i  think app_init_ipu_primary.c may be call A15 api?
    if i set IPU1_0 as the primary core, it will build success. why?

    PROC_IPU1_0_INCLUDE=yes
    PROC_IPU1_1_INCLUDE=no
    PROC_IPU2_INCLUDE=no
    PROC_A15_0_INCLUDE=no
    PROC_DSP1_INCLUDE=no

    IPU_PRIMARY_CORE=ipu1_0
    IPU_SECONDARY_CORE=ipu2

    best regards!
  • Hi,

    I think you built both linux and BIOS which is creating this error.

    Did you try a clean build after making cfg changes?

    Regards,

    Rishabh

  • hi Rishabh,

    yes, i have do make clean and delete the whole binaries dir, but the same error occured!

    best regards!

  • Hi Fanok,

    Can you run "make showconfig" and share the results.

    A15 is needed for Linux build and not for BIOS.

    Regards,

    Rishabh

  • hi Rishabh,

    the fllowing is the result of "make -s showconfig":

    #
    # Build Config is [ tda2ex_evm_bios_all ]
    # Build Config file is @ /home/vision_sdk/configs/tda2ex_evm_bios_all/cfg.mk
    # Build Config .h file is @ /home/vision_sdk/links_fw/include/config/sample_app/tda2ex_evm_bios_all/system_cfg.h
    # Build CPUs is @ ipu2
    #
    # CPUs included in application,
    # PROC_IPU1_0_INCLUDE=no
    # PROC_IPU1_1_INCLUDE=no
    # PROC_IPU2_INCLUDE=yes
    # PROC_DSP1_INCLUDE=no
    # PROC_DSP2_INCLUDE=no
    # PROC_EVE1_INCLUDE=no
    # PROC_EVE2_INCLUDE=no
    # PROC_EVE3_INCLUDE=no
    # PROC_EVE4_INCLUDE=no
    # PROC_A15_0_INCLUDE=no
    #
    # Platform config,
    # VSDK_BOARD_TYPE=TDA2EX_EVM [options: TDA2XX_EVM TDA2EX_EVM TDA3XX_EVM TDA3XX_RVP TDA2XX_RVP]
    # PLATFORM=tda2ex-evm
    # DUAL_A15_SMP_BIOS=no
    # IPU1_SMP_BIOS=no
    # DDR_MEM=DDR_MEM_512M [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=ipu2 [options: ipu1_0 ipu2]
    # IPU_SECONDARY_CORE=ipu1_0 [options: ipu1_0 ipu2]
    # A15_TARGET_OS=Bios [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=yes
    # ISS_INCLUDE=no
    # ISS_ENABLE_DEBUG_TAPS=no
    # WDR_LDC_INCLUDE=no
    # DSS_INCLUDE=yes
    #
    # Open Compute config,
    # OPENCL_INCLUDE=no
    # TARGET_ROOTDIR=/home/vision_sdk/apps/src/rtos/opencl
    # 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
    #
    # Surround View config,
    # SRV_FAST_BOOT_INCLUDE=no
    #
    # Other Module config,
    # AVB_INCLUDE=no
    # DCAN_INCLUDE=no
    # RADAR_ONLY=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=ti_sdk_dra7x_release_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_framecopy
    #
    # Use-cases included in build,
    # UC_nullSrc_display
    #
    #
    # CPUs that are NOT required but included in config [ tda2ex_evm_bios_all ],
    #
    #
    # CPUs that are required but not included in config [ tda2ex_evm_bios_all ],
    #
    # ERROR: IPU1_0 MUST be included in application
    # ERROR: DSP1 MUST be included in application
    #
    # Edit /home/vision_sdk/build/configs/tda2ex_evm_bios_all/cfg.mk to include or excl                                   ude CPUs in an application
    #

  • Hi Fanok,

    Do you see the error if you set PROC_IPU1_0_INCLUDE to yes?

    Regards,

    Rishabh

  • hi Rishabh,

    if i just set PROC_IPU1_0_INCLUDE to yes , it build success, no error why IPU2 build fail, so confused!

    best regards!

  • Hi Fanok,

    We have not validated IPU only build for IPU2, it is validated only for IPU1_0.

    I would suggest you to use IPU1_0 as primary IPU core and set PROC_IPU1_0_INCLUDE to yes and set IPU2 include to no.

    Regards,

    Rishabh

  • hi Rishabh,

    Thanks for your reply!

    best regards!

  • Hi,

    Glad that the issue is resolved.

    Please mark the posts that answer your query as "This resolved my issue" and close this thread.

    Regards,

    Rishabh