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.

TDA4VM: The library version compiled by yocto does not match the one compiled by rtos (Version 0806 sdk)

Part Number: TDA4VM

Hi,all

I use the out file of vision_app compiled by rtos, and copy it directly into the system compiled by yocto, but the library version does not match.

my Version Information:ti-processor-sdk-linux-j7-evm-08_06_00_11-Linux-x86-Install.bin and ti-processor-sdk-rtos-j721e-evm-08_06_00_12.tar.gz

System Version:ubuntu-18.04

I tracked down the libtivision_apps.so.8.5.0 compiled by yocto for linux_0806, but the libtivision_apps version compiled by rtos_0806 is 8.6.0
What do I need to do in yocto to get the out program compiled in rtos to run directly in linux?

The library file compiled by yocto and the library file compiled by rtos are as follows:

work@ ~/tda4/0806/linux/yocto-build/build/arago-tmp-external-arm-glibc/work/aarch64-linux/ti-tisdk-firmware/1.0-r8/image/usr/lib$ ls
libtivision_apps.so  libtivision_apps.so.8.5.0

work@ ~/tda4/0806/rtos/vision_apps/out/J7/A72/LINUX/release$ ls libtivision_apps*
libtivision_apps.so  libtivision_apps.so.8.6.0  libtivision_apps.so.map

Regards,

Youke

  • Youke,

    On my build environment using ti-processor-sdk-linux-j7-evm-08_06_00_11-Linux-x86-Install.bin, the resulting output is below:

    a0393906@swubn05:/work/karthik/J721E-LINUX-8.6/yocto-build/build/arago-tmp-external-arm-glibc/work/aarch64-linux/ti-tisdk-firmware/1.0-r8/image$ find . | grep tivis
    ./usr/lib/libtivision_apps.so
    ./usr/lib/libtivision_apps.so.8.6.0

    Can you please check which commit ID you are using for the ti-tisdk-firmware.bb? Here is mine:

    $ git log recipes-tisdk/ti-tisdk-firmware/ti-tisdk-firmware.bb
    commit e09c18e68de680ea4fc3bc686769aa929558890c
    Author: Aniket Limaye <a-limaye@ti.com>
    Date:   Mon Feb 27 09:39:39 2023 +0530
    
        tisdk-firmware: Updating to tag REL.PSDK.JACINTO.08.06.00.08
    
        Signed-off-by: Aniket Limaye <a-limaye@ti.com>
    

    We can try to discuss why there is a difference.

    Regards
    Karthik

  • Hi Karthik,

    I checked the version as you did and we are in agreement.

    yk@@ ~/tda4/0806/default_linux/yocto-build/sources/meta-psdkla$ git log recipes-tisdk/ti-tisdk-firmware/ti-tisdk-firmware.bb
    commit e09c18e68de680ea4fc3bc686769aa929558890c
    Author: Aniket Limaye <a-limaye@ti.com>
    Date:   Mon Feb 27 09:39:39 2023 +0530
    
        tisdk-firmware: Updating to tag REL.PSDK.JACINTO.08.06.00.08
    
        Signed-off-by: Aniket Limaye <a-limaye@ti.com>
    
    

    Do you have any other thoughts?

    Regards,

    Youke

  • Hi all,

    How is libtivision_apps.so.8.5.0 generated in yocto?

    I am a beginner in yocto with rtos_sdk and I did not find how this file is generated during the generation process.

    Regards,

    Youke

  • Hi Youke,

    The libtivision_apps.so.8.5.0 is generated from the ti-tisdk-firmware bitbake file that is present in the meta-psdkla.

    This recipe uses the repo tool to download the dependent components - refer to the https://git.ti.com/cgit/processor-sdk/psdk_repo_manifests/

    This further references the vision_apps repository that is present here: https://git.ti.com/cgit/processor-sdk/vision_apps/tree/?h=main

    All of these details are abstracted by the Yocto build process and will work if you use meta-psdkla.

    Let me know if you have any further questions.

    Regards
    Karthik

  • Hi Karthik,

    Can you please confirm that my file is the same as yours? I think this file caused me to generate the 8.5.0 library file.

    The file path:/yocto-build/build/arago-tmp-external-arm-glibc/work/aarch64-linux/ti-tisdk-firmware/1.0-r8/repo/vision_apps/vision_apps_build_flags.mak

    The contents of my file are as follows:

    I checked that the PSDK_VERSION of the corresponding file in rtos_sdk is 8.6.0, where did I make an error in getting the file in yocto?

    Regards,
    Youke

  • Hi all,

    I tried to rebuild ti-tisdk-firmware by executing the following command to clean it: bitbake ti-tisdk-firmware -c cleanall,

    and then reacquire the source code, and an error was reported, as follows:

    Execute the command:  bitbake ti-tisdk-firmware -c fetch

    How do I get the source code again?

    Regards,
    Youke

  • Hi all,

    Thanks for TI's support!

    I have solved all the problems mentioned in this post, and I will update the solution later.

    Regards,
    Youke