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.

Compiler/DRA71XEVM: Unable to bitbake vlib and img-c66x recipes

Part Number: DRA71XEVM

Tool/software: TI C/C++ Compiler

Hello,

I use 06.00.00.03 version SDK on 16.04 LTS of ubuntu.

When i executed ./setup.sh the "yocto-layers" and "config" folder were created outside of ti-processor-sdk-linux-automotive_dra7xx-evm_06_00_00_03 folder.

To execute ./bin/fetch-sources.sh, "yocto-layers" and "config" were needed to inside ti-processor-sdk-linux-automotive_dra7xx-evm_06_00_00_03, so copied them to this folder.

Then executed ./build-core-sdk.sh dra7xx-evm (Ofcourse, other steps before to this as per Developers guide followed).

After executing bitbake i am struggling with below errors, pls help me to fix them

ERROR: imglib-c66x-3_1_1_0-r1 do_install: Function failed: do_install (log file is located at /home/prasad.p/ti-processor-sdk-linux-automotive-dra7xx-evm-6.00.00.03/yocto-layers/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/imglib-c66x/3_1_1_0-r1/temp/log.do_install.12177)
ERROR: Logfile of failure stored in: /home/prasad.p/ti-processor-sdk-linux-automotive-dra7xx-evm-6.00.00.03/yocto-layers/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/imglib-c66x/3_1_1_0-r1/temp/log.do_install.12177


ERROR: Task (/home/prasad.p/ti-processor-sdk-linux-automotive-dra7xx-evm-6.00.00.03/yocto-layers/sources/meta-ti/recipes-ti/imglib/imglib-c66x_3.1.1.0.bb:do_install) failed with exit code '1'
ERROR: vlib-c66x-3_2_1_0-r0 do_install: Function failed: do_install (log file is located at /home/prasad.p/ti-processor-sdk-linux-automotive-dra7xx-evm-6.00.00.03/yocto-layers/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/vlib-c66x/3_2_1_0-r0/temp/log.do_install.12178)
ERROR: Logfile of failure stored in: /home/prasad.p/ti-processor-sdk-linux-automotive-dra7xx-evm-6.00.00.03/yocto-layers/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/vlib-c66x/3_2_1_0-r0/temp/log.do_install.12178



Pls find the attachments for the logs


PS: One thing what i noticed is the folder we get this related cp connot stat: No such file or directory, is empty. This could be the reason. But i do not know why this folder is empty.https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/81/Prasad.7z

  • Hi Prasad,

    Firstly, the supported SDK version is 14.04, I request you to try on this. Please check: https://processors.wiki.ti.com/index.php/Processor_SDK_Linux_Automotive_Software_Developers_Guide

    Second, your description of the ./setup.sh seems very strange, I wasn't able to replicate the problem and I would like you to exactly double check what you have done.

    Please make sure that you have taken care of all the host tool dependencies and reconfigured the bash as described in the SDK documentation and then retry the same.

    Regards

    Karthik

  • Hello,

    As per the above reply, i am trying to setup the environment on ubuntu 14.04 to get yocto build done.

    But during ./setup.h i have got the below error:

    Successfully extracted the cross compiler to /home/user
    You seem to have 64 bit ubuntu, installing ia32-libs...
    [sudo] password for user:
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Package ia32-libs is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    However the following packages replace it:
      lib32z1 lib32ncurses5 lib32bz2-1.0

    E: Package 'ia32-libs' has no installation candidate
    Updating cross compiler used by Makefile
    --------------------------------------------------------------------------------

    ----------------------------------------------------------------------------------------------
    The repo tool will be installed in ./bin folder
    ----------------------------------------------------------------------------------------------
    --2021-01-14 15:42:19--  commondatastorage.googleapis.com/.../repo
    Resolving commondatastorage.googleapis.com (commondatastorage.googleapis.com)... 2404:6800:4007:806::2010, 142.250.71.16
    Connecting to commondatastorage.googleapis.com (commondatastorage.googleapis.com)|2404:6800:4007:806::2010|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 39791 (39K) [application/octet-stream]
    Saving to: ‘./bin/repo-temp’

    100%[================================================================================================================================>] 39,791       126KB/s   in 0.3s   

    2021-01-14 15:42:21 (126 KB/s) - ‘./bin/repo-temp’ saved [39791/39791]

    Successfully extracted the repo tool to ./bin
    Proceeding with repo init -u git://git.ti.com/glsdk/release-manifest.git
     
    repo: error: Python 2 is no longer supported; Please upgrade to Python 3.5+.
    Failed setup, aborting..
    Failed setup, aborting..

    Default python version in 14.04 is 2.7, but the script is expecting 3.5+, and there is no intimation provided in the guide to install python 3.5+ before executing the ./setup.sh.

    Now my question is,  while you setup this build, do you also get the same error? and do i really need to install python3.5+?

    Pls help me on this.

  • Hello Karthik,

    I was able to fix the above issue after installing python3.7 version.

    Now i have the below issue:

    1. As per the link yocto supports from Ubuntu 16.04 version onwards, but as per SDK guide we are trying to run yocto build on 14.04, pls confirm will it be fine?

    2. When yocto build is failed and re-run the "./build-core-sdk.sh dra7xx-evm", we always getting below error

    NOTE: Retrying server connection...
    ERROR: Unable to connect to bitbake server, or start one

    I have googled with respect to this error, they say removing bitbake.lock file would work. But its not working for me at all. I guess most of the suggestions in Google are related to Poky distribution, we are not finding any Arago related information.

    Request you to help us ASAP on this as we were blocked with this for quite sometime.

    Thanks for the help

  • Prasad,

    Firstly, I request you to create a new ticket for a new topic - we do not want to use one thread to discuss all follow on issues.

    I will reply to this one but if you need additional help, you should create a new thread.

    On #1: The SDK is not validated on 16.04 and therefore I cannot commit with certainty on what issues you could face.

    On #2: I have seen this error when the proxy settings are not correctly configured on the shell that you are building, I suggest you to export the http_proxy to the working configuration and then launch the bitbake.

    Regards

    Karthik