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.

PROCESSOR-SDK-TDAX: Issues while building SDK

Part Number: PROCESSOR-SDK-TDAX


Hello,

while building sdk for TDA4 encountering some errors and errors are mentioned below

ERROR: external-arm-toolchain-2019.03-r0 do_install: Function failed: do_install (log file is located at /home/che7-l20149/TDA4/SDK/yocto-build/build/arago-tmp-external-arm-toolchain/work/aarch64-linux/external-arm-toolchain/2019.03-r0/temp/log.do_install.13534)
ERROR: Logfile of failure stored in: /home/che7-l20149/TDA4/SDK/yocto-build/build/arago-tmp-external-arm-toolchain/work/aarch64-linux/external-arm-toolchain/2019.03-r0/temp/log.do_install.13534

log.do_install.13534 contain

DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['/home/che7-l20149/TDA4/SDK/yocto-build/sources/oe-core/meta/recipes-devtools/quilt/quilt-native_0.65.bb:do_populate_sysroot', 'virtual:native:/home/che7-l20149/TDA4/SDK/yocto-build/sources/oe-core/meta/recipes-extended/xz/xz_5.2.4.bb:do_populate_sysroot', 'virtual:native:/home/che7-l20149/TDA4/SDK/yocto-build/sources/oe-core/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb:do_populate_sysroot', 'virtual:native:/home/che7-l20149/TDA4/SDK/yocto-build/sources/oe-core/meta/recipes-devtools/bison/bison_3.0.4.bb:do_populate_sysroot', 'virtual:native:/home/che7-l20149/TDA4/SDK/yocto-build/sources/oe-core/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot']
NOTE: Installed into sysroot: []
NOTE: Skipping as already exists in sysroot: ['quilt-native', 'xz-native', 'pkgconfig-native', 'bison-native', 'pseudo-native', 'automake-native', 'gnu-config-native', 'flex-native', 'libtool-native', 'autoconf-native', 'gettext-minimal-native', 'texinfo-dummy-native', 'm4-native']
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing shell function do_install
cp: cannot stat '../../../Toolchains/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/aarch64-linux-gnu/lib64/*': No such file or directory
WARNING: exit code 1 from a shell command.
ERROR: Function failed: do_install (log file is located at /home/che7-l20149/TDA4/SDK/yocto-build/build/arago-tmp-external-arm-toolchain/work/aarch64-linux/external-arm-toolchain/2019.03-r0/temp/log.do_install.13534)

can anyone say what could be the reason?

thanks,

Akshatha

  • HI Akshatha,

    Need some additional inputs to help you further:

    1. What is the version of the Ubuntu that you are building this on?
    2. Have you taken care of installing all the pre-requisites mentioned in the SDK documentation?
    3. Also, if you think that you missed some steps, please run through those steps and then re-run the build, if there is a failure, please share the build command and also attach the full log (as an attachment), in this case it was log.do_install.13534

    Regards

    Karthik

  • Hi Akshatha,

    Please let us know if you have been able to make progress and do provide us the requested information to get to the next steps.

    Regards

    Karthik

  • Hi Karthik

    sorry for the delay

    SDK is built successfully with some warnings, I have attached them below.

    Along with that I have few questions,

    1. How to download PSDKRA package in Linux?

    while going through Processor_SDK_Linux_Getting_Started_Guide.html document(section 1.5), I found "Processor SDK RTOS Automotive (PSDKRA) is a companion SDK to PSDKLA on the Jacinto 7 family of devices. In order to use some SoC features from the core running Linux, one needs to download and install the PSDKRA package.refer to the PSDKRA top level user guide, ${PSDKRA_PATH}/index.html, for more details"

    but when I Referred ${PSDKRA_PATH}/index.html did not get how to download PSDKRA package.

    can u please share steps or refer me to a proper document.

    2. what are some simple  sample examples that I can try up

    3. we need to try out some deep learning examples as well, so please share reference of documents.

    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    warnings after SDK is built:

    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    WARNING: Layer meta-psdkla should set LAYERSERIES_COMPAT_meta-psdkla in its conf/layer.conf file to list the core layer names it is compatible with.
    WARNING: Layer browser-layer should set LAYERSERIES_COMPAT_browser-layer in its conf/layer.conf file to list the core layer names it is compatible with.
    NOTE: Started PRServer with DBfile: /home/che7-w10173/SDK/yocto-build/build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 36151, PID: 4494
    WARNING: Layer meta-psdkla should set LAYERSERIES_COMPAT_meta-psdkla in its conf/layer.conf file to list the core layer names it is compatible with.
    WARNING: Layer browser-layer should set LAYERSERIES_COMPAT_browser-layer in its conf/layer.conf file to list the core layer names it is compatible with.
    Loading cache: 100% |########################################################################################################################################################################| Time: 0:00:00
    Loaded 4102 entries from dependency cache.
    NOTE: Resolving any missing task queue dependencies

    Build Configuration:
    BB_VERSION = "1.40.0"
    BUILD_SYS = "x86_64-linux"
    NATIVELSBSTRING = "ubuntu-16.04"
    TARGET_SYS = "aarch64-linux"
    MACHINE = "j7-evm"
    DISTRO = "arago"
    DISTRO_VERSION = "2019.09"
    TUNE_FEATURES = "aarch64"
    TARGET_FPU = ""
    meta-arago-distro
    meta-arago-extras = "HEAD:58a4ee58736465d242fed59becacb7649fd9d265"
    meta-psdkla = "HEAD:605e5cd1d4cd79ecabad4e16b743d503d16cc289"
    meta-browser = "HEAD:26d50665e2f7223c5f4ad7481a8d2431e7cb55fb"
    meta-qt5 = "HEAD:1520d5b2b2beec5e1c3209d3178219e93ef08bca"
    meta-virtualization = "HEAD:7685c7d415e0002c448007960837ae8898cd57a5"
    meta-networking
    meta-python
    meta-oe
    meta-gnome
    meta-filesystems = "HEAD:2d088d252624b19df384aecc434d23afb636178f"
    meta-ti = "HEAD:727411f95ef1f66034beac08702f21b30a1b84c9"
    meta-linaro-toolchain
    meta-optee = "HEAD:615ea7561b844a3867cee4299d83d605c10b02ab"
    meta = "HEAD:f5be8c8309a932cde507ba24d042880a922df0b6"

    Initialising tasks: 100% |###################################################################################################################################################################| Time: 0:00:03
    Sstate summary: Wanted 1483 Found 0 Missed 1483 Current 1116 (0% match, 42% complete)
    NOTE: Executing SetScene Tasks
    NOTE: Executing RunQueue Tasks
    WARNING: weston-init-1.0-r0.arago9 do_package: QA Issue: weston-init: Files/directories were installed but not shipped in any package:
    /lib
    /lib/systemd
    Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
    weston-init: 2 installed and not shipped files. [installed-vs-shipped]
    WARNING: ti-cgt-pru-native-2.3.2-r0 do_populate_lic: ti-cgt-pru-native: No generic license file exists for: Hewlett-Packard in any provider
    WARNING: ti-img-rogue-umlibs-1.10.5371573-r5_psdkla do_package_qa: QA Issue: ti-img-rogue-umlibs: /work/j7_evm-linux/ti-img-rogue-umlibs/1.10.5371573-r5_psdkla/packages-split/ti-img-rogue-umlibs/usr/bin/rgx_kicksync_test contains probably-redundant RPATH /usr//lib
    ti-img-rogue-umlibs: /work/j7_evm-linux/ti-img-rogue-umlibs/1.10.5371573-r5_psdkla/packages-split/ti-img-rogue-umlibs/usr/bin/weglinfo contains probably-redundant RPATH /usr//lib
    ti-img-rogue-umlibs: /work/j7_evm-linux/ti-img-rogue-umlibs/1.10.5371573-r5_psdkla/packages-split/ti-img-rogue-umlibs/usr/bin/rgx_triangle_test contains probably-redundant RPATH /usr//lib
    ti-img-rogue-umlibs: /work/j7_evm-linux/ti-img-rogue-umlibs/1.10.5371573-r5_psdkla/packages-split/ti-img-rogue-umlibs/usr/bin/pvrsrvctl contains probably-redundant RPATH /usr//lib
    ti-img-rogue-umlibs: /work/j7_evm-linux/ti-img-rogue-umlibs/1.10.5371573-r5_psdkla/packages-split/ti-img-rogue-umlibs/usr/bin/wgles3test1 contains probably-redundant RPATH /usr//lib
    ti-img-rogue-umlibs: /work/j7_evm-linux/ti-img-rogue-umlibs/1.10.5371573-r5_psdkla/packages-split/ti-img-rogue-umlibs/usr/bin/rgx_blit_test contains probably-redundant RPATH /usr//lib
    ti-img-rogue-umlibs: /work/j7_evm-linux/ti-img-rogue-umlibs/1.10.5371573-r5_psdkla/packages-split/ti-img-rogue-umlibs/usr/bin/wgles2test1 contains probably-redundant RPATH /usr//lib
    ti-img-rogue-umlibs: /work/j7_evm-linux/ti-img-rogue-umlibs/1.10.5371573-r5_psdkla/packages-split/ti-img-rogue-umlibs/usr/bin/wgles1test1 contains probably-redundant RPATH /usr//lib
    ti-img-rogue-umlibs: /work/j7_evm-linux/ti-img-rogue-umlibs/1.10.5371573-r5_psdkla/packages-split/ti-img-rogue-umlibs/usr/bin/rgx_tiling_test contains probably-redundant RPATH /usr//lib
    ti-img-rogue-umlibs: /work/j7_evm-linux/ti-img-rogue-umlibs/1.10.5371573-r5_psdkla/packages-split/ti-img-rogue-umlibs/usr/bin/pvrdebug contains probably-redundant RPATH /usr//lib
    ti-img-rogue-umlibs: /work/j7_evm-linux/ti-img-rogue-umlibs/1.10.5371573-r5_psdkla/packages-split/ti-img-rogue-umlibs/usr/bin/rgx_compute_test contains probably-redundant RPATH /usr//lib
    ti-img-rogue-umlibs: /work/j7_evm-linux/ti-img-rogue-umlibs/1.10.5371573-r5_psdkla/packages-split/ti-img-rogue-umlibs/usr/bin/rgx_twiddling_test contains probably-redundant RPATH /usr//lib
    ti-img-rogue-umlibs: /work/j7_evm-linux/ti-img-rogue-umlibs/1.10.5371573-r5_psdkla/packages-split/ti-img-rogue-umlibs/usr/lib/libtqvalidate.so.1.10.5371573 contains probably-redundant RPATH /usr//lib
    ti-img-rogue-umlibs: /work/j7_evm-linux/ti-img-rogue-umlibs/1.10.5371573-r5_psdkla/packages-split/ti-img-rogue-umlibs/usr/lib/libGLESv1_CM.so.1.1.0 contains probably-redundant RPATH /usr//lib
    ti-img-rogue-umlibs: /work/j7_evm-linux/ti-img-rogue-umlibs/1.10.5371573-r5_psdkla/packages-split/ti-img-rogue-umlibs/usr/lib/libGLESv1_CM_PVR_MESA.so.1.10.5371573 contains probably-redundant RPATH /usr//lib
    ti-img-rogue-umlibs: /work/j7_evm-linux/ti-img-rogue-umlibs/1.10.5371573-r5_psdkla/packages-split/ti-img-rogue-umlibs/usr/lib/libsrv_um.so.1.10.5371573 contains probably-redundant RPATH /usr//lib
    ti-img-rogue-umlibs: /work/j7_evm-linux/ti-img-rogue-umlibs/1.10.5371573-r5_psdkla/packages-split/ti-img-rogue-umlibs/usr/lib/libsutu_display.so.1.10.5371573 contains probably-redundant RPATH /usr//lib
    ti-img-rogue-umlibs: /work/j7_evm-linux/ti-img-rogue-umlibs/1.10.5371573-r5_psdkla/packages-split/ti-img-rogue-umlibs/usr/lib/libPVRScopeServices.so.1.10.5371573 contains probably-redundant RPATH /usr//lib
    ti-img-rogue-umlibs: /work/j7_evm-linux/ti-img-rogue-umlibs/1.10.5371573-r5_psdkla/packages-split/ti-img-rogue-umlibs/usr/lib/libgbm.so.1.0.0 contains probably-redundant RPATH /usr//lib
    ti-img-rogue-umlibs: /work/j7_evm-linux/ti-img-rogue-umlibs/1.10.5371573-r5_psdkla/packages-split/ti-img-rogue-umlibs/usr/lib/libEGL.so.1.0.0 contains probably-redundant RPATH /usr//lib
    ti-img-rogue-umlibs: /work/j7_evm-linux/ti-img-rogue-umlibs/1.10.5371573-r5_psdkla/packages-split/ti-img-rogue-umlibs/usr/lib/libusc.so.1.10.5371573 contains probably-redundant RPATH /usr//lib
    ti-img-rogue-umlibs: /work/j7_evm-linux/ti-img-rogue-umlibs/1.10.5371573-r5_psdkla/packages-split/ti-img-rogue-umlibs/usr/lib/libpvr_dri_support.so.1.10.5371573 contains probably-redundant RPATH /usr//lib
    ti-img-rogue-umlibs: /work/j7_evm-linux/ti-img-rogue-umlibs/1.10.5371573-r5_psdkla/packages-split/ti-img-rogue-umlibs/usr/lib/libGLESv2.so.2.0.0 contains probably-redundant RPATH /usr//lib
    ti-img-rogue-umlibs: /work/j7_evm-linux/ti-img-rogue-umlibs/1.10.5371573-r5_psdkla/packages-split/ti-img-rogue-umlibs/usr/lib/libglapi.so.0.0.0 contains probably-redundant RPATH /usr//lib
    ti-img-rogue-umlibs: /work/j7_evm-linux/ti-img-rogue-umlibs/1.10.5371573-r5_psdkla/packages-split/ti-img-rogue-umlibs/usr/lib/libGLESv2_PVR_MESA.so.1.10.5371573 contains probably-redundant RPATH /usr//lib
    ti-img-rogue-umlibs: /work/j7_evm-linux/ti-img-rogue-umlibs/1.10.5371573-r5_psdkla/packages-split/ti-img-rogue-umlibs/usr/lib/libglslcompiler.so.1.10.5371573 contains probably-redundant RPATH /usr//lib [useless-rpaths]
    WARNING: ti-img-rogue-umlibs-1.10.5371573-r5_psdkla do_package_qa: QA Issue: ti-img-rogue-umlibs-plugins: /work/j7_evm-linux/ti-img-rogue-umlibs/1.10.5371573-r5_psdkla/packages-split/ti-img-rogue-umlibs-plugins/usr/lib/dri/pvr_dri.so contains probably-redundant RPATH /usr//lib [useless-rpaths]
    WARNING: gcc-arm-8.3-r2019.03 do_package: QA Issue: gcc: Files/directories were installed but not shipped in any package:
    /usr/bin/aarch64-linux-aarch64-linux-gnu-g++
    /usr/bin/aarch64-linux-aarch64-linux-gnu-gcc
    /usr/bin/aarch64-linux-aarch64-linux-gnu-gcc-ranlib
    /usr/bin/aarch64-linux-aarch64-linux-gnu-gcc-ar
    /usr/bin/aarch64-linux-aarch64-linux-gnu-gcc-nm
    Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
    gcc: 5 installed and not shipped files. [installed-vs-shipped]
    NOTE: Tasks Summary: Attempted 7281 tasks of which 5143 didn't need to be rerun and all succeeded.
    NOTE: Writing buildhistory

    Summary: There were 9 WARNING messages shown

     

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

     


    thanks and regards,

    Akshatha

  • Hi Akshatha,

    Thanks for confirming that you have been able to build the SDK.

    Regarding your next 3 questions, I would request you to create a separate ticket for these questions and follow up.

    But a quick answer to #1 will be that the PSDKRA is also available for download in the same location as the PSDKLA. You would need to request access to this SDK through your TI contact person.

    Regards
    Karthik