
My main goal is to run the TIDL demo which I believe running this executable would be the first step. How can I debug from here in order to run the TIDL demo?
Thank you,
-iFer
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.
My main goal is to run the TIDL demo which I believe running this executable would be the first step. How can I debug from here in order to run the TIDL demo?
Thank you,
-iFer
Hi,
Can you send the log attachment? also share the output of "make -s showconfig"
Thanks
Gaviraju
# # Build Config is [ tda2xx_evm_linux_all ] # Build Config file is @ /home/user01/PROCESSOR_SDK_VISION_03_08_00_00/vision_sdk/configs/tda2xx_evm_linux_all/cfg.mk # Build Config .h file is @ /home/user01/PROCESSOR_SDK_VISION_03_08_00_00/vision_sdk/links_fw/include/config/apps/tda2xx_evm_linux_all/system_cfg.h # Build CPUs is @ ipu1_0 a15_0 dsp1 dsp2 eve1 eve2 eve3 eve4 # # CPUs included in application, # PROC_IPU1_0_INCLUDE=yes # PROC_IPU1_1_INCLUDE=no # PROC_IPU2_INCLUDE=no # PROC_DSP1_INCLUDE=yes # PROC_DSP2_INCLUDE=yes # PROC_EVE1_INCLUDE=yes # PROC_EVE2_INCLUDE=yes # PROC_EVE3_INCLUDE=yes # PROC_EVE4_INCLUDE=yes # 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/user01/PROCESSOR_SDK_VISION_03_08_00_00/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=ti_sdk_dra7x_release_defconfig # DEFAULT_DTB=dra7-evm-infoadas.dtb dra7-evm-infoadas-lcd-lg.dtb # CMEM_INCLUDE=yes # IPUMM_INCLUDE=no # IPU1_EVELOADER_INCLUDE=yes # ROBUST_RVC_INCLUDE=no # BUILD_ADAM_CAR=no # # Alg plugins included in build, # ALG_autocalibration ALG_dmaSwMs ALG_framecopy ALG_sparseopticalflow ALG_structurefrommotion ALG_surroundview # # Use-cases included in build, # UC_srv_calibration UC_lvds_vip_multi_cam_3d_perception UC_lvds_vip_multi_cam_3d_srv UC_lvds_vip_multi_cam_2mp_3d_srv UC_lvds_vip_multi_cam_3d_adaptive_srv 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_ov490_vip_multi_cam_3d_srv UC_vip_single_cam_connectorLinksA15_sgx_display UC_vip_single_cam_enc_dec_sgx_display UC_vip_single_cam_framecopy_sgx_display UC_vip_single_cam_framecopyEve_sgx_display UC_vip_single_cam_sgx_display # # # 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/user01/PROCESSOR_SDK_VISION_03_08_00_00/vision_sdk/apps/configs/tda2xx_evm_linux_all/cfg.mk to include or exclude CPUs in an application #
Hi,
Do below changes & clean build the code by deleting binary directory.
file: vision_sdk/configs/tda2xx_evm_linux_all/cfg.mk
# PROC_IPU1_0_INCLUDE=no
# PROC_IPU2_INCLUDE=yes
# IPU_PRIMARY_CORE=ipu2 [options: ipu1_0 ipu2]
# IPU_SECONDARY_CORE=ipu1_0 [options: ipu1_0 ipu2]
Thanks
Gaviraju
Hi,
Have you done clean build after changing the above config file?
Thanks
Gaviraju
Hi,
The below steps I followed & I'm able to run one of the HLOS use-cases.
1) Download the vision SDK http://software-dl.ti.com/processor-sdk-vision/esd/TDAx/vision-sdk/latest/index_FDS.html
2) Do the below changes in the vision_sdk/build/Rules.make
MAKECONFIG?=tda2xx_evm_linux_all
3) Follow the instruction provided in the user-guide for GIT configuration set-up (chapter 2.4.1 One time PC set up)
4) cd vision_sdk/build/
5) Run the below script from the build directory, this will clone kernel, u-boot, etc.
./hlos/scripts/linux/setup_linux.sh
6)Follow the instruction provided in the user-guide for target file system set-up(chapter 2.4.2.1.4 Download and untar file system)
7)Follow the instruction provided in the user-guide for A15 compiler set-up (chapter 2.2.1 A15 Compiler, Linker)
8) make linux
9) make linux_install
10) make -s -j depend
11) make -s -j
12) Copy the target file system & boot image, MLO, etc to the SD card & insert the SD into the target SD card slot.
13) Run the below command in the UART console.
cd /opt/vision_sdk/
source ./vision_sdk_load.sh
./apps.out
14) You can choose the use-case you want to run from the menu.
I'm recommending to do the above steps & make sure one of the existing use-cases is working then you port TIDL use-case from RTOS to Linux.(For porting use-case no need any changes in the vision_sdk/configs/tda2xx_evm_linux_all/cfg.mk file )
Thanks
Gaviraju