Spaces:
Sleeping
Sleeping
Ticket Name: Linux/TDA2: Vision SDK 3.04 framework and examples build fail | |
Query Text: | |
Part Number: TDA2 Tool/software: Linux Hi, I am trying to build frameworks and apps using vision sdk 3.04 version but its failing with below error: # Linking into /u/VISION_SDK_BUILD_03_04/vision_sdk/binaries/apps/tda2xx_evm_linux_all/vision_sdk/bin/tda2xx-evm/vision_sdk_ipu2_release.xem4... # # # /u/VISION_SDK_BUILD_03_04/vision_sdk/binaries/apps/tda2xx_evm_linux_all/vision_sdk/bin/tda2xx-evm/vision_sdk_ipu2_release.xem4 created. # ‘/u/VISION_SDK_BUILD_03_04/vision_sdk/binaries/apps/tda2xx_evm_linux_all/obj/vision_sdk/tda2xx-evm/ipu2/release/vision_sdk_configuro/osa_mem_map.h’ -> ‘/u/VISION_SDK_BUILD_03_04/vision_sdk/links_fw/src/hlos/osa/include/osa_mem_map.h’ dispDistSrcLink_tsk.c:81:45: fatal error: vdrm_controller/v_controller_if.h: No such file or directory compilation terminated. make[6]: *** [depend] Error 1 make[5]: *** [links_a15_dispDistSrc] Error 2 I have followed instruction provided with VisionSDK_linux_UserGuide.pdf and to branchout referred https://e2e.ti.com/support/arm/automotive_processors/f/1021/t/708731 Please help me regarding same. there had been some dts related errors too with Linux build which I solved by copying those files from earlier version but this perticular header file is still missing and I am not able to find it in what ever source is downloaded with me. BR, Alap~ | |
Responses: | |
Hi Alap, Could you please confirm you downloaded the file system released with VSDK 3.4 release & using same to build tda2xx config ? Regards Surya | |
Hi Surya, I have downloaded tisdk-rootfs-image-dra7xx-evm_vsdk_3_4.tar.xz from software-dl.ti.com/.../index_FDS.html Is it the same you are asking about? Also while building linux I faced issues with missing dts files which I copied from 3.02. Those are dra7-evm-infoadas.dts/dra7-evm-infoadas.dtb and dra7-evm-infoadas-lcd-lg.dtsi. by copying those files my linux build was through. But after that I am facing this issue in framework and examples build (make -s -j) BR, Alap | |
Hi Alap, There is no need to copy dts file from old release (It is part of kernel, when you clone you will get it) Could you please share the commit IDs for kernel,u-boot & sgx ? Regards Surya | |
Hi Surya, kernel oneline: 742f844 media: i2c: ov490: Force sensor phy reset by toggling MIPI-TX u-boot oneline: ac1d50f spl: dra7xx: early boot: Match timer configuration with dra7xx-infoadas DT sgx oneline: fd47e44 Revert "km: build: remove dependency on user-mode builds" BR, Alap | |
Hi Alap, Looks like very old kernel & u-boot Follow the below steps 1. Remove omap folder under ti_components\os_tools\linux\kernel 2. Follow user guide to clone & checkout 3.4 rel tag 3. Remove u-boot folder under ti_components\os_tools\linux\u-boot 4. Follow user guide to clone & checkout 3.4 rel tag 5. Then try to do a clean build Regards Surya | |
Hi Surya, Can you share me command to checkout the latest rel tag since, what ever commit list I have shared is after referring user guide to clone and post I have checked out using "git rebase origin/infoadas-on-psdkla3.04". BR, Alap~ | |
Hi Alap, You can refer section 2.4.2.1.1 & 2.4.2.1.2 of VisionSDK_Linux_Userguide of 3.4 release However attaching the commands below Clone kernel $> cd $INSTALL_DIR/ti_components/os_tools/linux/kernel $> git clone git://git.ti.com/glsdk/infoadas-kernel.git omap $> cd omap/ $> git checkout -b kernel_dev tags/REL_VISION_SDK_03_04_00_00 Clone u-boot $> cd $INSTALL_DIR/ti_components/os_tools/linux/u-boot $> git clone git://git.ti.com/glsdk/infoadas-u-boot.git u-boot $> cd u-boot/ $> git checkout -b uboot_dev tags/REL_VISION_SDK_03_04_00_00 Regards Surya | |
Hi Surya, There is no tag by name REL_VISION_SDK_03_04_00_00. I am getting error fatal: Cannot update paths and switch to branch 'uboot_dev' at the same time. Did you intend to checkout 'tags/REL_VISION_SDK_03_04_00_00' which can not be resolved as commit? Instead in omap directory I have below REL tags REL_VISION_SDK_03_01_00_00 REL_VISION_SDK_03_01_00_00_RC3 REL_VISION_SDK_03_02_00_00 REL_VISION_SDK_03_03_00_00 and in u-boot I have REL_VISION_SDK_03_01_00_00 REL_VISION_SDK_03_01_00_00_RC3 REL_VISION_SDK_03_02_00_00 BR, Alap~ | |
Hi Alap, This is strange, I am able to see the release tag "REL_VISION_SDK_03_04_00_00" Could you please confirm did you remove the folders & clone again & then checkout ? or did you just fetch & rebase without cloning ? FYI, I tried both ways 1. clone & checkout: ----------------------------- I followed all the above steps mentioned earlier to clone & checkout & I am able to checkout release tag "REL_VISION_SDK_03_04_00_00" without any error 2. fetch & rebase without cloning --------------------------------------------- Fetch & Rebase using below command, I am able to checkout to latest git fetch (able to see the release tag) git rebase origin/infoadas-on-psdkla3.04 Regards Surya | |
Hi Alap, Is there any progress on this issue ? Are you able to clone from vision sdk release tag for 3.4 release (REL_VISION_SDK_03_04_00_00) or not ? regards Surya | |