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.

Can I use the pre-built rootfs for other Hardware which are using TI processor?

Other Parts Discussed in Thread: AM3354

I am using the Phytec's PhyBoard-Wega which has the TI's AM3354 processor.

By default they have given the barebox as bootloader.

when I tried the Netboot the rootfs is not getting mounted.

Kindly help regarding this isuue.

  • Hello,

    This forum supports TI SDK.

    What is the software release that you are using here?

    BR
    Margarita

  • I want to build the rootfs for Custom board which is based on TI processor . I tried building TI SDK but its failed thats why I tried pre-built Rootfs but its not working for me.


    Kindly help regarding this issue.

  • Hello,

    Did you follow this wiki for rebuild?
    processors.wiki.ti.com/.../Processor_SDK_Building_The_SDK

    What error you are seeing when PSDK failed?

    BR
    Margarita
  • Yes, I followed the same wiki page.

    I am getting below error

  • Hello,

    Please check this thread:
    e2e.ti.com/.../539785

    It could helps for the error that you are seeing.

    BR
    Margarita
  • Hello Margarita,

    I made the the changes as mentioned in the previous thread and that error is resolved but I am getting another error as follow:

    Kindly guide me regarding the same.

  • Hello,

    Could you attach log.do_install.29658?

    BR
    Margarita
  • Hello,

    The contents of the file log.do_install.29658 are as below:

    DEBUG: Executing shell function do_install
    cp: cannot stat '/home/shree/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/lib/{libstdc++.*,libgcc_s.*,libsupc++.*}': No such file or directory
    WARNING: exit code 1 from a shell command.
    ERROR: Function failed: do_install (log file is located at /home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-nativesdk-arago-linux/external-linaro-sdk-toolchain/1.0-r5/temp/log.do_install.29658)

    Thanks & Regards,

    Shrikant

  • Hello,

    Could you check for libstdc++. ,libgcc_s. ,libsupc++. exist in '/home/shree/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/lib/{libstdc++.*,libgcc_s.*,libsupc++.*}'

    Did you execute this step from the guide:
    $ wget releases.linaro.org/.../gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf.tar.xz
    $ tar -Jxvf gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf.tar.xz -C $HOME

    Let me know.

    BR
    Margarita
  •  Hello,

    I did the below steps:
    $ wget releases.linaro.org/.../gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf.tar.xz
    $ tar -Jxvf gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf.tar.xz -C $HOME

    I checked for above mentioned libraries and the results are as below:
    1. for libstdc++.* below libs are present:
    libstdc++.a , libstdc++.la, libstdc++.so, libstdc++fs.a, libstdc++.so.6, libstdc++fs.la, libstdc++.so.6.0.21, libstdc++.so.6.0.21-gdb.py

    2. for libgcc_s.* below libs are present:
    libgcc_s.so , libgcc_s.so.1

    3.for libsupc++.* below libs are present:
    libsupc++.a , libsupc++.la

  • Hello,

    Could you chmod the gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf folder but with -R option?

    BR
    Margarita
  •  I did the sudo chmod -R 777 gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/

    but still I am getting the same error

  • Hello,

    I am waiting for your reply
  • Hello,

    I am sorry for the delay.

    Recently I build it for AM57x and I have not observed such error.

    Could you try to execute this lines:

    $ cd build

    $ . conf/setenv

    $ export PATH=$HOME/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin:$PATH

    $ MACHINE=<target-board> bitbake arago-core-tisdk-image


    I would recommend you to try to restart your PC before these steps.

    One more point you could try to check the temp file where do_install log is for run.do_install.... shell scrip for paths are they correct etc.

    BR
    Margarita

  • Hello,

    Thanks for your reply.

    I did the same steps (after restart)but still I am getting the same error.

    The content of run.do_install is as below:

    #!/bin/sh

    # Emit a useful diagnostic if something fails:
    bb_exit_handler() {
        ret=$?
        case $ret in
        0)  ;;
        *)  case $BASH_VERSION in
            "") echo "WARNING: exit code $ret from a shell command.";;
            *)  echo "WARNING: ${BASH_SOURCE[0]}:${BASH_LINENO[0]} exit $ret from '$BASH_COMMAND'";;
            esac
            exit $ret
        esac
    }
    trap 'bb_exit_handler' 0
    set -e
    export prefix="/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr"
    export STRIP="x86_64-arago-linux-strip"
    export localstatedir="/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/var"
    export BUILD_CC="gcc "
    export USER="shree"
    export libexecdir="/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/libexec"
    export datadir="/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/share"
    export PKG_CONFIG_SYSROOT_DIR="/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-nativesdk-arago-linux"
    export BUILD_CXX="g++ "
    export LD="x86_64-arago-linux-ld --sysroot=/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-nativesdk-arago-linux "
    export bindir="/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/bin"
    export TARGET_CXXFLAGS=" -isystem/home/shree/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-nativesdk-arago-linux/external-linaro-sdk-toolchain/1.0-r5=/usr/src/debug/external-linaro-sdk-toolchain/1.0-r5 -fdebug-prefix-map=/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux= -fdebug-prefix-map=/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-nativesdk-arago-linux= "
    export BUILD_LDFLAGS="-L/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/lib -L/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/lib -Wl,-rpath-link,/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/lib -Wl,-rpath,/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/lib -Wl,-O1"
    unset TARGET_ARCH
    export STRINGS="x86_64-arago-linux-strings"
    export CCACHE_DIR="/home/shree/.ccache"
    export BUILD_LD="ld "
    export oldincludedir="/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/include"
    export PSEUDO_PREFIX="/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr"
    export BUILD_CCLD="gcc "
    export BUILD_CFLAGS="-isystem/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/include -O2 -pipe"
    export PSEUDO_LOCALSTATEDIR="/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-nativesdk-arago-linux/external-linaro-sdk-toolchain/1.0-r5/pseudo/"
    export PKG_CONFIG_SYSTEM_LIBRARY_PATH="/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/lib:/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/lib"
    unset SHELL
    export docdir="/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/share/doc"
    export infodir="/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/share/info"
    export CC="x86_64-arago-linux-gcc  --sysroot=/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-nativesdk-arago-linux"
    export TERM="xterm"
    export TARGET_CFLAGS=" -isystem/home/shree/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-nativesdk-arago-linux/external-linaro-sdk-toolchain/1.0-r5=/usr/src/debug/external-linaro-sdk-toolchain/1.0-r5 -fdebug-prefix-map=/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux= -fdebug-prefix-map=/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-nativesdk-arago-linux= "
    export RANLIB="x86_64-arago-linux-ranlib"
    export CPPFLAGS="-isystem/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-nativesdk-arago-linux/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/include"
    export PKG_CONFIG_SYSTEM_INCLUDE_PATH="/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/include"
    export BUILD_CPP="gcc  -E"
    export PSEUDO_PASSWD="/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm:/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux"
    export base_sbindir="/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/bin"
    export CXX="x86_64-arago-linux-g++  --sysroot=/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-nativesdk-arago-linux"
    export FC="x86_64-arago-linux-gfortran  --sysroot=/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-nativesdk-arago-linux"
    export HOME="/home/shree"
    export BUILD_RANLIB="ranlib"
    export BUILD_FC="gfortran "
    export BUILD_NM="nm"
    export AS="x86_64-arago-linux-as "
    export AR="x86_64-arago-linux-ar"
    export BUILD_CPPFLAGS="-isystem/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/include"
    export CPP="x86_64-arago-linux-gcc -E --sysroot=/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-nativesdk-arago-linux "
    export mandir="/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/share/man"
    export sharedstatedir="/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/com"
    export BUILD_CXXFLAGS="-isystem/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/include -O2 -pipe"
    export OBJCOPY="x86_64-arago-linux-objcopy"
    export base_libdir="/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/lib"
    export CCACHE_DISABLE="1"
    export servicedir="/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/srv"
    export PKG_CONFIG_PATH="/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-nativesdk-arago-linux\${layout_libdir}/pkgconfig:/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-nativesdk-arago-linux/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/share/pkgconfig"
    export systemd_unitdir="/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/lib/systemd"
    export BUILD_AR="ar"
    export LC_ALL="C"
    export TARGET_CPPFLAGS=" -isystem/home/shree/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include "
    export PKG_CONFIG_DIR="/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-nativesdk-arago-linux\${layout_libdir}/pkgconfig"
    export LDFLAGS="-L/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-nativesdk-arago-linux/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/lib -Wl,-rpath-link,/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-nativesdk-arago-linux/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/lib -Wl,-rpath,/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/lib -Wl,-O1 -L/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-nativesdk-arago-linux/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/lib -Wl,-rpath-link,/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-nativesdk-arago-linux/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/lib -Wl,-rpath,/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/lib -Wl,-O1            -Wl,-rpath-link,/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-nativesdk-arago-linux/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/lib/..            -Wl,-rpath,/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/lib/.. "
    export BUILD_AS="as "
    export CXXFLAGS="-isystem/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-nativesdk-arago-linux/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/include -O2 -pipe"
    export nonarch_libdir="/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/lib"
    export sysconfdir="/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/etc"
    export CCLD="x86_64-arago-linux-gcc  --sysroot=/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-nativesdk-arago-linux"
    export MAKE="make"
    export LOGNAME="shree"
    export PATH="/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin/chrpath-native:/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/sources/oe-core/scripts:/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin/x86_64-arago-linux:/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin/arm-linux-gnueabi:/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-nativesdk-arago-linux/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/bin/crossscripts:/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/sbin:/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin:/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/sbin:/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/bin:/home/shree/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin:/home/shree/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin:/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/sources/oe-core/scripts:/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/sources/bitbake/bin:/home/shree/bin:/opt/bin/:/home/shree/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/local/java/jre1.8.0_101/bin:/usr/local/java/jdk1.8.0_101/bin:/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64//bin"
    export base_bindir="/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/bin"
    export includedir="/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/include"
    export PKG_CONFIG_LIBDIR="/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-nativesdk-arago-linux\${layout_libdir}/pkgconfig"
    unset MACHINE
    export sbindir="/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/bin"
    export CFLAGS="-isystem/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-nativesdk-arago-linux/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/include -O2 -pipe"
    export OBJDUMP="x86_64-arago-linux-objdump"
    unset DISTRO
    export systemd_system_unitdir="/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/lib/systemd/system"
    export exec_prefix="/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr"
    export TARGET_LDFLAGS=" -L/home/shree/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/lib -Wl,-rpath-link,/home/shree/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/lib -Wl,-O1 -Wl,--hash-style=gnu"
    export PKG_CONFIG_DISABLE_UNINSTALLED="yes"
    export libdir="/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/lib"
    export nonarch_base_libdir="/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/lib"
    export PSEUDO_DISABLED="0"
    export PSEUDO_NOSYMLINKEXP="1"
    export systemd_user_unitdir="/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/lib/systemd/user"
    export NM="x86_64-arago-linux-nm"
    export base_prefix="/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux"
    export BUILD_STRIP="strip"

    do_install() {
        install -d /home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-nativesdk-arago-linux/external-linaro-sdk-toolchain/1.0-r5/image/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/arm-linux-gnueabihf/bin
        install -d /home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-nativesdk-arago-linux/external-linaro-sdk-toolchain/1.0-r5/image/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/arm-linux-gnueabihf/lib
        install -d /home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-nativesdk-arago-linux/external-linaro-sdk-toolchain/1.0-r5/image/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/bin
        install -d /home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-nativesdk-arago-linux/external-linaro-sdk-toolchain/1.0-r5/image/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/lib
        install -d /home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-nativesdk-arago-linux/external-linaro-sdk-toolchain/1.0-r5/image/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/arm-linux-gnueabihf/lib/ldscripts
        install -d /home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-nativesdk-arago-linux/external-linaro-sdk-toolchain/1.0-r5/image/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/libexec
        
        
        
        install -d /home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-nativesdk-arago-linux/external-linaro-sdk-toolchain/1.0-r5/image/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/lib/gcc/arm-linux-gnueabihf/5.3.1/include

    #    cp -a /home/shree/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/bin/{c++,g++,gcc*} /home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-nativesdk-arago-linux/external-linaro-sdk-toolchain/1.0-r5/image/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/arm-linux-gnueabihf/bin
        cp -a /home/shree/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/lib/{libstdc++.*,libgcc_s.*,libsupc++.*} /home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-nativesdk-arago-linux/external-linaro-sdk-toolchain/1.0-r5/image/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/arm-linux-gnueabihf/lib
        cp -a /home/shree/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/lib/gcc/arm-linux-gnueabihf/5.3.1/* /home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-nativesdk-arago-linux/external-linaro-sdk-toolchain/1.0-r5/image/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/lib/gcc/arm-linux-gnueabihf/5.3.1
        cp -a /home/shree/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-{gcov,gcc*,g++,cpp} /home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-nativesdk-arago-linux/external-linaro-sdk-toolchain/1.0-r5/image/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/bin
        cp -a /home/shree/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/libexec/* /home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-nativesdk-arago-linux/external-linaro-sdk-toolchain/1.0-r5/image/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/libexec

        
        
        
        

        cp -a /home/shree/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/bin/{ld*,objcopy,strip,nm,ranlib,as,ar,objdump} /home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-nativesdk-arago-linux/external-linaro-sdk-toolchain/1.0-r5/image/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/arm-linux-gnueabihf/bin
        cp -a /home/shree/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/lib/ldscripts/* /home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-nativesdk-arago-linux/external-linaro-sdk-toolchain/1.0-r5/image/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/arm-linux-gnueabihf/lib/ldscripts
        cp -a /home/shree/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-{ld*,addr2line,objcopy,readelf,strip,nm,ranlib,gprof,as,c++filt,ar,strings,objdump,size} /home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-nativesdk-arago-linux/external-linaro-sdk-toolchain/1.0-r5/image/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/bin
    }

    cd '/home/shree/ti-processor-sdk-linux-am335x-evm-03.01.00.06/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-nativesdk-arago-linux/external-linaro-sdk-toolchain/1.0-r5/external-linaro-sdk-toolchain-1.0'
    do_install

    # cleanup
    ret=$?
    trap '' 0
    exit $ret

  • Hello,


    I am wondering when you follow the instruction for building SDK did you execute these steps also:

    For Ubuntu 14.04 and 16.04, please run the following:

    $ sudo apt-get install git build-essential python diffstat texinfo gawk chrpath dos2unix wget unzip socat doxygen libc6:i386 libncurses5:i386 libstdc++6:i386 libz1:i386

    The following steps will configure Ubuntu to use bash instead of the default dash.

    $ sudo dpkg-reconfigure dash

    (Select "no" when prompted)

    The Ubuntu host  that you are using is it 64 bit?


    BR
    Margarita

  • Hello Margarita,

    Thanks a lot for your support.
    Finally the images are built with your help.

    Yes I am using 64 bit ubuntu.
    But still some issue is there I am unable to see any GUI on screen , after login it only shows Please wait.. message on screen.

    Thanks & Regards,
    Shrikant
  • Hello,

    Could you share what was the problem?

    shree shree said:
    But still some issue is there I am unable to see any GUI on screen , after login it only shows Please wait.. message on screen.

    I will check for the possible reasons and get back to you.

    BR
    Margarita

  • Hello,

    The rootfs image is built successfully.
    I tried booting the board with the same rootfs which I built and the board boots up.
    After login as a root , It should start the matrix-gui but in my case after login it shows "Please wait..." text on the display continuously and matrix GUI application doesn't start.

    Also for info I am using 3.12.30 kernel separately for building zImage and .dtb

    Kindly provide me some suggestion.

    Thanks & Regards,
    Shrikant
  • Hello,

    Could you try:
    /etc/init.d/matrix-gui-2.0 stop
    /etc/init.d/weston stop
    /etc/init.d/weston start
    /etc/init.d/matrix-gui-2.0 start

    Let me know the result.

    BR
    Margarita
  • Hello,

    Below are the results of above mentioned commands:

    root@am335x-evm:/etc/init.d# ./matrix-gui-2.0 stop
    Stopping Matrix GUI applicationstart-stop-daemon: warning: killing process 3013: No such process
    .
    root@am335x-evm:/etc/init.d# ./weston stop
    Stopping Weston
    root@am335x-evm:/etc/init.d# ./weston start
    root@am335x-evm:/etc/init.d# ./matrix-gui-2.0 start
    /etc/init.d
    Removing stale PID file /var/run/matrix-gui-2.0.pid.
    Starting Matrix GUI application.

    But on display nothing is changed.

    BR
    Shrikant
  • Hello,

    Could you check your booting log for error?
    Check this thread also:
    e2e.ti.com/.../1550950

    Hope this helps.

    BR
    Margarita
  • 1727.bootlogs.txt

    Hello,

    Yes , there are some errors.

    Kindly find the attached document for bootlogs.

    Thanks & Regards,

    Shrikant

  • Hello,

    I would recommend you to open a new topic for this new issue.

    BR
    Margarita
  • Hello,

    I am sorry for the delay.
    If you are rebuilding kernel, I would recommend you to rebuild all modules also.

    BR
    Margarita

  • Hi Mastermind,

    I am getting the same issue as below [1], Could you please help. I am using processors.wiki.ti.com/.../Processor_SDK_Building_The_SDK steps



    [1]
    ERROR: external-linaro-sdk-toolchain-1.0-r5 do_install: Function failed: do_install (log file is located at /home/user/Anil/AM335x/sdk_build/philips/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-nativesdk-arago-linux/external-linaro-sdk-toolchain/1.0-r5/temp/log.do_install.5283)
    ERROR: Logfile of failure stored in: /home/user/Anil/AM335x/sdk_build/philips/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-nativesdk-arago-linux/external-linaro-sdk-toolchain/1.0-r5/temp/log.do_install.5283
    Log data follows:
    | DEBUG: Executing shell function do_install
    | cp: cannot stat '/home/user/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/lib/{libstdc++.*,libgcc_s.*,libsupc++.*}': No such file or directory
    | WARNING: exit code 1 from a shell command.
    | ERROR: Function failed: do_install (log file is located at /home/user/Anil/AM335x/sdk_build/philips/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-nativesdk-arago-linux/external-linaro-sdk-toolchain/1.0-r5/temp/log.do_install.5283)
    ERROR: Task 575 (/home/user/Anil/AM335x/sdk_build/philips/tisdk/sources/meta-arago/meta-arago-extras/recipes-core/meta/external-linaro-sdk-toolchain.bb, do_install) failed with exit code '1'
    NOTE: Tasks Summary: Attempted 3696 tasks of which 3692 didn't need to be rerun and 1 failed.
    Waiting for 0 running tasks to finish:

    Summary: 1 task failed:
    /home/user/Anil/AM335x/sdk_build/philips/tisdk/sources/meta-arago/meta-arago-extras/recipes-core/meta/external-linaro-sdk-toolchain.bb, do_install
    Summary: There was 1 WARNING message shown.
    Summary: There was 1 ERROR message shown, returning a non-zero exit code.

    Anil