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.

failed to fetch when doing "Processor SDK Building The SDK" for AM335x starter kit

Other Parts Discussed in Thread: BEAGLEBOARD-X15, 66AK2L06

When I run "

sudo apt-get install git build-essential diffstat texinfo gawk chrpath dos2unix wget unzip g++-multilib socat libsdl1.2-dev xterm doxygen

"

It gave me as following

E: Failed to fetch security.ubuntu.com/.../libc6-amd64_2.19-0ubuntu6.6_i386.deb 404 Not Found [IP: 91.189.88.152 80]

E: Failed to fetch security.ubuntu.com/.../libc6-dev-amd64_2.19-0ubuntu6.6_i386.deb 404 Not Found [IP: 91.189.88.152 80]

E: Failed to fetch security.ubuntu.com/.../libc6-x32_2.19-0ubuntu6.6_i386.deb 404 Not Found [IP: 91.189.88.152 80]

E: Failed to fetch security.ubuntu.com/.../libc6-dev-x32_2.19-0ubuntu6.6_i386.deb 404 Not Found [IP: 91.189.88.152 80]

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

I run apt-get update and get no error.

Is correct? Do I need do more?

Thank you very much.

Thomas Tang

  • Moving this to the Linux forum.
  • Hello Thomas,

    Yes this is correct. You have to retrieve new lists of packages by running apt-get update to fix this.

    Best regards,
    Kemal

  • I got a new problem , when I try to install the package for CentOS I get as following

    ***@ubuntu:~$ sudo yum install gawk make wget tar bzip2 gzip python unzip perl patch diffutils diffstat git cpp gcc gcc-c++ glibc-devel texinfo chrpath socat SDL-devel xterm doxygen glibc-devel.i686 glibc-devel libstdc++-devel.i686 libgcc.i686 libstdc++-devel dos2unix
    There are no enabled repos.
    Run "yum repolist all" to see the repos you have.
    You can enable repos with yum-config-manager --enable <repo>
    ***@ubuntu:~$ yum repolist all
    repolist: 0

    What I need to do?

    Thank you very much.

    Thomas Tang

  • Hello Thomas,

    You do not need to install the packages for CentOS on Ubuntu.

    Best regards,
    Kemal

  • Thank you very much.

    Do I need to set up proxy? Or I can skip it and go set up Cross-compile directly?

    Thomas Tang

     

  • The proxy settings are for these users, which are behind proxy. If you are not connected to the Internet through a proxy server, you can skip this step.
  • Dear Sir:

    I already install ccs 6.1.2 in UbunTu 14.04, do I need uninstall it? and how uninstall it?

    Thank you very much.

    Thomas Tang
  • No, it's not necessary to be uninstalled. If you want to uninstall it anyway, you can done this by uninstall_ccs.

  • Do I still need do following?

    Code Composer Studio

    Code Composer Studio 6.1.1.00022 must be downloaded manually and placed into either the downloads directory, or placed on a mirror. Please see CCS v6 Download for details and download the Linux off-line installation tarball, e.g., CCS6.1.1.00022_linux.tar.gz.

    Build Steps

    $ git clone git://arago-project.org/git/projects/oe-layersetup.git tisdk
    $ cd tisdk
    $ ./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-02.00.01.07-config.txt
    $ cd build
    $ . conf/setenv
    $ export PATH=$HOME/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf/bin:$PATH
    $ MACHINE=am57xx-evm bitbake arago-core-tisdk-image
    

    Thank you very much.

    Thomas Tang

  • Hi Thomas,

    You just need to download and place the code composers off-line installation tarball (CCS6.1.1.00022_linux.tar.gz) into the tisdk/downloads directory. You do not need to install the tarball neither uninstall the previously installed one.

    Best regards,
    Kemal

  • Dear Sir:

    I copy CCS6.1.1.00022_linux.tar.gz into the tisdk/downloads directory, and get following 3 errors.

    ################################################################################
    The bblayers.conf configuration file has been created for you with some
    default values. Please verify the contents of your conf/bblayers.conf
    file for correctness.

    NOTE: Any additional entries to this file will be lost if the ./oe-layertool-setup.sh
    script is run again. To add entries permanently to this file
    please add them to the config file used and rerun the
    ./oe-layertool-setup.sh script.

    ################################################################################
    The local.conf configuration file has been created for you with some
    default values. Please verify the contents of your conf/local.conf
    file for correctness.

    By default the number of threads used by the build is set to the number
    of CPUs found on your system.

    NOTE: You will probably want to change the default MACHINE setting in the
    local.conf file to the machine you are trying to build.

    WARNING: Found existing /home/yut/tisdk/build/conf/local.conf
    Saving a backup to /home/yut/tisdk/build/conf/local.conf.bak


    ################################################################################
    A setenv file has been created for you in the conf directory. Please verify
    The contents of this file. Once you have verified the contents please source
    this file to configure your environment for building:

    . conf/setenv

    You can then start building using the bitbake command. You will likely want
    to set the MACHINE option if you have not done so in your local.conf file.

    For example:
    MACHINE=xxxxx bitbake <target>

    Common targets are:
    core-image-minimal
    core-image-sato
    meta-toolchain
    meta-toolchain-sdk
    adt-installer
    meta-ide-support

    ++++++++++++++++++++++++++++
    ***@ubuntu:~/tisdk$ cd build
    ***@ubuntu:~/tisdk/build$ . conf/setenv
    ***@ubuntu:~/tisdk/build$ export PATH=$HOME/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf/bin:$PATH
    ***@ubuntu:~/tisdk/build$ MACHINE=am57xx-evm bitbake arago-core-tisdk-image
    ERROR: Failed to obtain external Linaro toolchain version: Execution of '/home/yut/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -v' failed: [Errno 8] Exec format error
    ERROR: Failed to obtain external Linaro toolchain version: Execution of '/home/yut/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -v' failed: [Errno 8] Exec format error
    NOTE: Your conf/bblayers.conf has been automatically updated.
    Loading cache: 100% |####################################################| ETA: 00:00:00
    Loaded 109 entries from dependency cache.
    ERROR: ExpansionError during parsing /home/yut/tisdk/sources/meta-arago/meta-arago-extras/recipes-core/meta/external-linaro-sdk-toolchain.bb: Failure expanding variable ELT_VER_BFD[:=], expression was ${@elt_get_bfd_version(d)} which triggered exception OSError: [Errno 8] Exec format error

    Summary: There were 3 ERROR messages shown, returning a non-zero exit code.

    Please help me figure out what is wrong here.

    Thank you very much

    Thomas Tang

  • Could you post the output of these 3 commands:

    ***@ubuntu:~$ uname -i
    ***@ubuntu:~$ lsb_release -a
    ***@ubuntu:~$ /home/yut/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -v

  • ***@ubuntu:~/tisdk/build$ uname -i
    i686
    ***@ubuntu:~/tisdk/build$ lsb_release -a
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description: Ubuntu 14.04.4 LTS
    Release: 14.04
    Codename: trusty
    ***@ubuntu:~/tisdk/build$ /home/yut/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -v
    bash: /home/yut/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: cannot execute binary file: Exec format error
  • Your OS is 32-bit. The tool-chain requires 64-bit OS.
  • Which one you prefer, please give me one.

    Thank you very much.

    Thomas Tang
  • Please, download the Ubuntu 14.04.4 LTS 64-bit variant from here: www.ubuntu.com/.../desktop

  • I reinstall ubuntu 64 and run all steps but got two new error as following

    WARNING: Failed to fetch URL downloads.sourceforge.net/.../libpng-1.6.16.tar.xz, attempting MIRRORS if available
    WARNING: Failed to fetch URL www.apache.org/.../apr-1.5.1.tar.bz2, attempting MIRRORS if available
    WARNING: /home/yut/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/ti-cgt6x-native/1_8.1.0-r0/ti-cgt6x-8.1.0 ('S') doesn't exist, please set 'S' to a proper value
    WARNING: /home/yut/tisdk/build/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-linux-gnueabi/ti-sysbios/6_42_02_29-r0/bios_6_42_02_29 ('S') doesn't exist, please set 'S' to a proper value
    WARNING: Failed to fetch URL www.apache.org/.../subversion-1.8.11.tar.bz2, attempting MIRRORS if available
    WARNING: Failed to fetch URL install.source.dir.local/CCS6.1.1.00022_linux.tar.gz;name=ccsv6, attempting MIRRORS if available
    ERROR: Fetcher failure: Fetch command failed with exit code 4, output:
    wget: unable to resolve host address 'install.source.dir.local'

    ERROR: Function failed: Fetcher failure for URL: 'install.source.dir.local/CCS6.1.1.00022_linux.tar.gz;name=ccsv6'. Unable to fetch URL from any source.
    ERROR: Logfile of failure stored in: /home/yut/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/ti-ccsv6-native/6.1.1.00022-r0/temp/log.do_fetch.74458
    ERROR: Task 4043 (/home/yut/tisdk/sources/meta-ti/recipes-ti/devtools/ti-ccsv6-native_6.1.1.00022.bb, do_fetch) failed with exit code '1'
    NOTE: Tasks Summary: Attempted 1268 tasks of which 0 didn't need to be rerun and 1 failed.
    Waiting for 0 running tasks to finish:

    Summary: 1 task failed:
    /home/yut/tisdk/sources/meta-ti/recipes-ti/devtools/ti-ccsv6-native_6.1.1.00022.bb, do_fetch
    Summary: There were 15 WARNING messages shown.
    Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

    What need to do?

    Thank you very much.

    Thomas Tang
  • Seems you have forgotten to perform this step.

    Code Composer Studio

    Code Composer Studio 6.1.1.00022 must be downloaded manually and placed into either the downloads directory, or placed on a mirror. Please see CCS v6 Download for details and download the Linux off-line installation tarball, e.g., CCS6.1.1.00022_linux.tar.gz.

  • I downloaded CCS6.1.1.00022_linux.tar.gz and put in /home/downloads/ directory, what is "place on a mirror"?

    It still give me error as following

    MACHINE=am57xx-evm bitbake arago-core-tisdk-image
    Loading cache: 100% |###################################################################| ETA: 00:00:00
    Loaded 2635 entries from dependency cache.
    NOTE: Resolving any missing task queue dependencies

    Build Configuration:
    BB_VERSION = "1.26.0"
    BUILD_SYS = "x86_64-linux"
    NATIVELSBSTRING = "Ubuntu-14.04"
    TARGET_SYS = "arm-linux-gnueabi"
    MACHINE = "am57xx-evm"
    DISTRO = "arago"
    DISTRO_VERSION = "2015.12"
    TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard cortexa15"
    TARGET_FPU = "vfp-neon"
    meta-processor-sdk = "(detachedfrom12c6ff1):12c6ff170389762b6f7f7bf290cd26bfa316cf47"
    meta-arago-distro
    meta-arago-extras = "(detachedfromb1bf5b6):b1bf5b638567cd5be269c5968931de8deeac0c80"
    meta-qt5 = "(detachedfrom97ce05c):97ce05c0b2a81f05388d7f727741529fb9177775"
    meta-networking
    meta-ruby
    meta-python
    meta-oe = "(detachedfromdf2f700):df2f700d66bace65f5d802225232d01cf511fe81"
    meta-ti = "(detachedfrom3b27c87):3b27c871dbf67497ea9a953fe3fa0f819c6e41c9"
    meta-linaro-toolchain = "(detachedfrom08a4678):08a46787862966f2236c5a9b3eb4d4ec68263593"
    meta = "(detachedfrom9f339f5):9f339f516ab03d598fae0e536b3a420ea4d8ee1a"

    NOTE: Preparing RunQueue
    NOTE: Executing SetScene Tasks
    NOTE: Executing RunQueue Tasks
    WARNING: Failed to fetch URL install.source.dir.local/CCS6.1.1.00022_linux.tar.gz;name=ccsv6, attempting MIRRORS if available
    ERROR: Fetcher failure: Fetch command failed with exit code 4, output:
    wget: unable to resolve host address 'install.source.dir.local'

    ERROR: Function failed: Fetcher failure for URL: 'install.source.dir.local/CCS6.1.1.00022_linux.tar.gz;name=ccsv6'. Unable to fetch URL from any source.
    ERROR: Logfile of failure stored in: /home/yut/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/ti-ccsv6-native/6.1.1.00022-r0/temp/log.do_fetch.91241
    ERROR: Task 4043 (/home/yut/tisdk/sources/meta-ti/recipes-ti/devtools/ti-ccsv6-native_6.1.1.00022.bb, do_fetch) failed with exit code '1'
    Waiting for 1 running tasks to finish:
  • I use ubuntu 14.04, is it ok?

    Thank you very much

    Thomas Tang

  • Yes, Ubuntu 14.04 is OK.

    Have you done the move in this note?

  • No, it still get same error as following

    yut@yut-virtual-machine:~$ pwd
    /home/yut
    yut@yut-virtual-machine:~$ cd Downloads/
    yut@yut-virtual-machine:~/Downloads$ ls -al
    total 753904
    drwxr-xr-x 3 yut yut 4096 Mar 19 15:17 .
    drwxr-xr-x 20 yut yut 4096 Mar 23 13:41 ..
    drwxr-xr-x 6 yut yut 4096 Sep 15 2015 CCS6.1.1.00022_linux
    -rw-rw-r-- 1 yut yut 771980483 Mar 17 17:15 CCS6.1.1.00022_linux.tar.gz
    yut@yut-virtual-machine:~/Downloads$ cd ..
    yut@yut-virtual-machine:~$ cd tisdk/
    yut@yut-virtual-machine:~/tisdk$ cd build/
    yut@yut-virtual-machine:~/tisdk/build$ . conf/setenv
    yut@yut-virtual-machine:~/tisdk/build$ export PATH=$HOME/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf/bin:$PATH
    yut@yut-virtual-machine:~/tisdk/build$ MACHINE=am57xx-evm bitbake arago-core-tisdk-image
    Loading cache: 100% |###########################################| ETA: 00:00:00
    Loaded 2635 entries from dependency cache.
    WARNING: Duplicate inclusion for /home/yut/tisdk/sources/meta-ti/recipes-ti/includes/ti-paths.inc in /home/yut/tisdk/sources/meta-processor-sdk/recipes-ti/includes/tisdk-paths.inc
    WARNING: Duplicate inclusion for /home/yut/tisdk/sources/meta-ti/recipes-bsp/qmss-lld/qmss-lld.inc in /home/yut/tisdk/sources/meta-processor-sdk/recipes-bsp/qmss-lld/qmss-lld-02.01.00.12.inc
    WARNING: Duplicate inclusion for /home/yut/tisdk/sources/meta-ti/recipes-bsp/qmss-lld/qmss-lld.inc in /home/yut/tisdk/sources/meta-processor-sdk/recipes-bsp/qmss-lld/qmss-lld-02.01.00.12.inc
    WARNING: Duplicate inclusion for /home/yut/tisdk/sources/meta-ti/recipes-bsp/common-csl-ip/common-csl-ip.inc in /home/yut/tisdk/sources/meta-processor-sdk/recipes-bsp/common-csl-ip/common-csl-ip-03.03.0.01.inc
    WARNING: Duplicate inclusion for /home/yut/tisdk/sources/meta-ti/recipes-bsp/cppi-lld/cppi-lld.inc in /home/yut/tisdk/sources/meta-processor-sdk/recipes-bsp/cppi-lld/cppi-lld-02.01.00.11.inc
    WARNING: Duplicate inclusion for /home/yut/tisdk/sources/meta-ti/recipes-bsp/cppi-lld/cppi-lld.inc in /home/yut/tisdk/sources/meta-processor-sdk/recipes-bsp/cppi-lld/cppi-lld-02.01.00.11.inc
    Parsing recipes: 100% |#########################################| Time: 00:00:46
    Parsing of 2105 .bb files complete (1588 cached, 517 parsed). 2634 targets, 382 skipped, 0 masked, 0 errors.
    NOTE: Resolving any missing task queue dependencies

    Build Configuration:
    BB_VERSION = "1.26.0"
    BUILD_SYS = "x86_64-linux"
    NATIVELSBSTRING = "Ubuntu-14.04"
    TARGET_SYS = "arm-linux-gnueabi"
    MACHINE = "am57xx-evm"
    DISTRO = "arago"
    DISTRO_VERSION = "2015.12"
    TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard cortexa15"
    TARGET_FPU = "vfp-neon"
    meta-processor-sdk = "(detachedfrom12c6ff1):12c6ff170389762b6f7f7bf290cd26bfa316cf47"
    meta-arago-distro
    meta-arago-extras = "(detachedfromb1bf5b6):b1bf5b638567cd5be269c5968931de8deeac0c80"
    meta-qt5 = "(detachedfrom97ce05c):97ce05c0b2a81f05388d7f727741529fb9177775"
    meta-networking
    meta-ruby
    meta-python
    meta-oe = "(detachedfromdf2f700):df2f700d66bace65f5d802225232d01cf511fe81"
    meta-ti = "(detachedfrom3b27c87):3b27c871dbf67497ea9a953fe3fa0f819c6e41c9"
    meta-linaro-toolchain = "(detachedfrom08a4678):08a46787862966f2236c5a9b3eb4d4ec68263593"
    meta = "(detachedfrom9f339f5):9f339f516ab03d598fae0e536b3a420ea4d8ee1a"

    NOTE: Preparing RunQueue
    NOTE: Executing SetScene Tasks
    NOTE: Executing RunQueue Tasks
    WARNING: Failed to fetch URL install.source.dir.local/CCS6.1.1.00022_linux.tar.gz;name=ccsv6, attempting MIRRORS if available
    ERROR: Fetcher failure: Fetch command failed with exit code 4, output:
    wget: unable to resolve host address 'install.source.dir.local'

    ERROR: Function failed: Fetcher failure for URL: 'install.source.dir.local/CCS6.1.1.00022_linux.tar.gz;name=ccsv6'. Unable to fetch URL from any source.
    ERROR: Logfile of failure stored in: /home/yut/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/ti-ccsv6-native/6.1.1.00022-r0/temp/log.do_fetch.2691
    ERROR: Task 4043 (/home/yut/tisdk/sources/meta-ti/recipes-ti/devtools/ti-ccsv6-native_6.1.1.00022.bb, do_fetch) failed with exit code '1'
    Waiting for 1 running tasks to finish:
    0: linux-processor-sdk-4.1.13+gitAUTOINC+8dc66170d9-r7c do_compile (pid 2695)

    Please help me figure out the problem.

    Thank you very much

    Thomas Tang

  • Hello Thomas,

    Please move the CCS Linux tarball to OE downloads directory, then create the CCS6.1.1.00022_linux.tar.gz.done file.

    yut@yut-virtual-machine:~$ cp -v ~/Downloads/CCS6.1.1.00022_linux.tar.gz ~/tisdk/downloads/
    yut@yut-virtual-machine:~$ touch ~/tisdk/downloads/CCS6.1.1.00022_linux.tar.gz.done

    Best regards,
    Kemal

  • Dear Sir:

    Thank you very much for your great help.

    But I got a new error as following

    yut@yut-virtual-machine:~/tisdk/build$ MACHINE=am57xx-evm bitbake arago-core-tisdk-image
    NOTE: Your conf/bblayers.conf has been automatically updated.
    Loading cache: 100% |###########################################| ETA: 00:00:00
    Loaded 2635 entries from dependency cache.
    WARNING: Duplicate inclusion for /home/yut/tisdk/sources/meta-ti/recipes-ti/includes/ti-paths.inc in /home/yut/tisdk/sources/meta-processor-sdk/recipes-ti/includes/tisdk-paths.inc
    WARNING: Duplicate inclusion for /home/yut/tisdk/sources/meta-ti/recipes-bsp/qmss-lld/qmss-lld.inc in /home/yut/tisdk/sources/meta-processor-sdk/recipes-bsp/qmss-lld/qmss-lld-02.01.00.12.inc
    WARNING: Duplicate inclusion for /home/yut/tisdk/sources/meta-ti/recipes-bsp/qmss-lld/qmss-lld.inc in /home/yut/tisdk/sources/meta-processor-sdk/recipes-bsp/qmss-lld/qmss-lld-02.01.00.12.inc
    WARNING: Duplicate inclusion for /home/yut/tisdk/sources/meta-ti/recipes-bsp/common-csl-ip/common-csl-ip.inc in /home/yut/tisdk/sources/meta-processor-sdk/recipes-bsp/common-csl-ip/common-csl-ip-03.03.0.01.inc
    WARNING: Duplicate inclusion for /home/yut/tisdk/sources/meta-ti/recipes-bsp/cppi-lld/cppi-lld.inc in /home/yut/tisdk/sources/meta-processor-sdk/recipes-bsp/cppi-lld/cppi-lld-02.01.00.11.inc
    WARNING: Duplicate inclusion for /home/yut/tisdk/sources/meta-ti/recipes-bsp/cppi-lld/cppi-lld.inc in /home/yut/tisdk/sources/meta-processor-sdk/recipes-bsp/cppi-lld/cppi-lld-02.01.00.11.inc
    Parsing recipes: 100% |#########################################| Time: 00:00:36
    Parsing of 2105 .bb files complete (1586 cached, 519 parsed). 2634 targets, 382 skipped, 0 masked, 0 errors.
    NOTE: Resolving any missing task queue dependencies

    Build Configuration:
    BB_VERSION = "1.26.0"
    BUILD_SYS = "x86_64-linux"
    NATIVELSBSTRING = "Ubuntu-14.04"
    TARGET_SYS = "arm-linux-gnueabi"
    MACHINE = "am57xx-evm"
    DISTRO = "arago"
    DISTRO_VERSION = "2015.12"
    TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard cortexa15"
    TARGET_FPU = "vfp-neon"
    meta-processor-sdk = "(detachedfrom12c6ff1):12c6ff170389762b6f7f7bf290cd26bfa316cf47"
    meta-arago-distro
    meta-arago-extras = "(detachedfromb1bf5b6):b1bf5b638567cd5be269c5968931de8deeac0c80"
    meta-qt5 = "(detachedfrom97ce05c):97ce05c0b2a81f05388d7f727741529fb9177775"
    meta-networking
    meta-ruby
    meta-python
    meta-oe = "(detachedfromdf2f700):df2f700d66bace65f5d802225232d01cf511fe81"
    meta-ti = "(detachedfrom3b27c87):3b27c871dbf67497ea9a953fe3fa0f819c6e41c9"
    meta-linaro-toolchain = "(detachedfrom08a4678):08a46787862966f2236c5a9b3eb4d4ec68263593"
    meta = "(detachedfrom9f339f5):9f339f516ab03d598fae0e536b3a420ea4d8ee1a"

    NOTE: Preparing RunQueue
    NOTE: Executing SetScene Tasks
    NOTE: Executing RunQueue Tasks
    WARNING: /home/yut/tisdk/build/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-linux-gnueabi/ocl-gl-headers/git-r0/ocl-gl-headers-git ('S') doesn't exist, please set 'S' to a proper value
    ERROR: Function failed: do_compile (log file is located at /home/yut/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/common-csl-ip-rtos/3.3.0.1B-r4.1/temp/log.do_compile.3214)
    ERROR: Logfile of failure stored in: /home/yut/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/common-csl-ip-rtos/3.3.0.1B-r4.1/temp/log.do_compile.3214
    Log data follows:
    | DEBUG: Executing shell function do_compile
    | making clean: Thu Mar 24 20:52:36 PDT 2016 ...
    | ======== clean [./ti/csl] ========
    | cleaning complete: Thu Mar 24 20:52:37 PDT 2016.
    | making all: Thu Mar 24 20:52:37 PDT 2016 ...
    | ======== .interfaces [./ti/csl] ========
    | making package.mak (because of package.bld) ...
    | ARG[0] = ./config.bld
    | ARG[1] = am571x
    | ARG[2] = am572x
    | Building for subset of devices
    | ************* CSL Build Information *************
    | CSL Install : TAR
    | CSL SoC : null
    | CSL Version : 3,3,0,1
    | C66 Tools Directory : /home/yut/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/share/ti/cgt-c6x
    | M4 Tools Directory : /home/yut/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/share/ti/ti-cgt-arm
    | A15 Tools Directory : /home/yut/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/share/ti/gcc-arm-none-eabi
    | RTSC File Name : csl_null_3_3_0_1
    | CSL Path : .
    | Include Path : -I./src/intc -I.
    | Coverity Analysis : OFF
    | CC LE opts : --strip_coff_underscore -mo -o3 -q -k -eo.o -Dnull
    | CC BE opts : --strip_coff_underscore -mo -o3 -q -k -eo.o -DBIGENDIAN -Dnull
    | M4 LE opts : -o4 -qq -pdsw255 -DMAKEFILE_BUILD
    | A15 basic opts : -mno-unaligned-access -c -mtune=cortex-a15 -marm -DDRA7xx -gstrict-dwarf -Wall -D__ARMv7 -D_LITTLE_ENDIAN=1
    | *************************************************
    | Building directory src
    | Building directory docs
    | Building directory soc
    | Building directory test
    | generating interfaces for package ti.csl (because package/package.xdc.inc is older than package.xdc) ...
    | translating Settings
    | .interfaces files complete: Thu Mar 24 20:53:24 PDT 2016.
    | ======== .libraries [./ti/csl] ========
    | cle66 src/intc/_csl_intcCombEventDispatcher.c ...
    | cle66 src/intc/_csl_intcDispatcher.c ...
    | cle66 soc/am572x/src/csl_version.c ...
    | cle66 src/intc/_csl_intcCombEventDispatcher.c ...
    | cle66 soc/am572x/src/csl_device_xbar.c ...
    | cle66 src/intc/_csl_intcDispatcher.c ...
    | cle66 src/intc/_csl_intcResource.c ...
    | cle66 src/intc/csl_intcClose.c ...
    | cle66 src/intc/_csl_intcResource.c ...
    | clem4 soc/am572x/src/csl_version.c ...
    | cle66 src/intc/csl_intcExcep.c ...
    | cle66 src/intc/csl_intcClose.c ...
    | cle66 soc/am572x/src/csl_device_pllc.c ...
    | cle66 src/intc/csl_intcExcep.c ...
    | cle66 src/intc/csl_intcGetHwStatus.c ...
    | cle66 src/intc/csl_intcGetHwStatus.c ...
    | cle66 src/ip/chip/V0/csl_chip.c ...
    | cle66 src/intc/csl_intcHookIsr.c ...
    | cle66 src/intc/csl_intcHookIsr.c ...
    | cle66 src/intc/csl_intcHwControl.c ...
    | cle66 src/ip/edma/V0/csl_edma3Init.c ...
    | cle66 src/intc/csl_intcHwControl.c ...
    | cle66 src/intc/csl_intcInit.c ...
    | clem4 soc/am572x/src/csl_device_xbar.c ...
    | cle66 src/intc/csl_intcInit.c ...
    | cle66 src/intc/csl_intcOpen.c ...
    | cle66 src/ip/edma/V0/csl_edma3Open.c ...
    | clem4 soc/am572x/src/csl_device_pllc.c ...
    | cle66 src/intc/csl_intcPlugEventHandler.c ...
    | cle66 src/intc/csl_intcOpen.c ...
    | cle66 src/ip/edma/V0/csl_edma3Close.c ...
    | cle66 src/intc/csl_intcAsmUtils.c ...
    | asme66 src/intc/_csl_intcIntrEnDisRes.asm ...
    | asme66 src/intc/_csl_intcIsrDispatch.asm ...
    | asme66 src/intc/_csl_intcNmiDummy.asm ...
    | archiving lib/am571x//c66/obj/src/intc/_csl_intcCombEventDispatcher.oe66 lib/am571x//c66/obj/src/intc/_csl_intcDispatcher.oe66 lib/am571x//c66/obj/src/intc/_csl_intcResource.oe66 lib/am571x//c66/obj/src/intc/csl_intcClose.oe66 lib/am571x//c66/obj/src/intc/csl_intcExcep.oe66 lib/am571x//c66/obj/src/intc/csl_intcGetHwStatus.oe66 lib/am571x//c66/obj/src/intc/csl_intcHookIsr.oe66 lib/am571x//c66/obj/src/intc/csl_intcHwControl.oe66 lib/am571x//c66/obj/src/intc/csl_intcInit.oe66 lib/am571x//c66/obj/src/intc/csl_intcOpen.oe66 lib/am571x//c66/obj/src/intc/csl_intcPlugEventHandler.oe66 lib/am571x//c66/obj/src/intc/csl_intcAsmUtils.oe66 lib/am571x//c66/obj/src/intc/_csl_intcIntrEnDisRes.oe66 lib/am571x//c66/obj/src/intc/_csl_intcIsrDispatch.oe66 lib/am571x//c66/obj/src/intc/_csl_intcNmiDummy.oe66 into lib/am571x/c66/ti.csl.intc.ae66 ...
    | clem4 src/ip/edma/V0/csl_edma3Init.c ...
    | cla15fg src/ip/a15/V0/csl_a15.c ...
    | cle66 src/intc/csl_intcPlugEventHandler.c ...
    | cle66 src/ip/edma/V0/csl_edma3HwSetup.c ...
    | clem4 src/ip/edma/V0/csl_edma3Open.c ...
    | cle66 src/intc/csl_intcAsmUtils.c ...
    | asme66 src/intc/_csl_intcIntrEnDisRes.asm ...
    | asme66 src/intc/_csl_intcIsrDispatch.asm ...
    | asme66 src/intc/_csl_intcNmiDummy.asm ...
    | archiving lib/am572x//c66/obj/src/intc/_csl_intcCombEventDispatcher.oe66 lib/am572x//c66/obj/src/intc/_csl_intcDispatcher.oe66 lib/am572x//c66/obj/src/intc/_csl_intcResource.oe66 lib/am572x//c66/obj/src/intc/csl_intcClose.oe66 lib/am572x//c66/obj/src/intc/csl_intcExcep.oe66 lib/am572x//c66/obj/src/intc/csl_intcGetHwStatus.oe66 lib/am572x//c66/obj/src/intc/csl_intcHookIsr.oe66 lib/am572x//c66/obj/src/intc/csl_intcHwControl.oe66 lib/am572x//c66/obj/src/intc/csl_intcInit.oe66 lib/am572x//c66/obj/src/intc/csl_intcOpen.oe66 lib/am572x//c66/obj/src/intc/csl_intcPlugEventHandler.oe66 lib/am572x//c66/obj/src/intc/csl_intcAsmUtils.oe66 lib/am572x//c66/obj/src/intc/_csl_intcIntrEnDisRes.oe66 lib/am572x//c66/obj/src/intc/_csl_intcIsrDispatch.oe66 lib/am572x//c66/obj/src/intc/_csl_intcNmiDummy.oe66 into lib/am572x/c66/ti.csl.intc.ae66 ...
    | cla15fg soc/am572x/src/csl_a15_startup.c ...
    | cla15fg soc/am572x/src/csl_version.c ...
    | clem4 src/ip/edma/V0/csl_edma3Close.c ...
    | cla15fg soc/am572x/src/csl_device_xbar.c ...
    | cla15fg soc/am572x/src/csl_device_pllc.c ...
    | asma15fg soc/am572x/src/csl_a15_init.asm ...
    | archiving lib/am572x//armv7/obj/soc/am572x/src/csl_a15_startup.oa15fg lib/am572x//armv7/obj/soc/am572x/src/csl_a15_init.sa15fg into lib/am572x/armv7/ti.csl.init.aa15fg ...
    | cle66 soc/am572x/src/csl_version.c ...
    | cla15fg src/ip/edma/V0/csl_edma3Init.c ...
    | cle66 soc/am571x/src/csl_device_xbar.c ...
    | cla15fg src/ip/edma/V0/csl_edma3Open.c ...
    | cla15fg src/ip/edma/V0/csl_edma3Close.c ...
    | cle66 src/ip/edma/V0/csl_edma3HwControl.c ...
    | cla15fg src/ip/edma/V0/csl_edma3HwSetup.c ...
    | cla15fg src/ip/edma/V0/csl_edma3HwControl.c ...
    | cla15fg src/ip/edma/V0/csl_edma3GetHwStatus.c ...
    | clem4 src/ip/edma/V0/csl_edma3HwSetup.c ...
    | cla15fg src/ip/edma/V0/csl_edma3GetHwSetup.c ...
    | cla15fg src/ip/edma/V0/csl_edma3ChannelOpen.c ...
    | cle66 soc/am572x/src/csl_device_pllc.c ...
    | cla15fg src/ip/edma/V0/csl_edma3ChannelClose.c ...
    | cla15fg src/ip/edma/V0/csl_edma3HwChannelSetup.c ...
    | cla15fg src/ip/edma/V0/csl_edma3HwChannelControl.c ...
    | cle66 src/ip/edma/V0/csl_edma3GetHwStatus.c ...
    | cla15fg src/ip/edma/V0/csl_edma3GetHwChannelStatus.c ...
    | clem4 src/ip/edma/V0/csl_edma3HwControl.c ...
    | cla15fg src/ip/edma/V0/csl_edma3GetHwChannelSetup.c ...
    | cle66 src/ip/chip/V0/csl_chip.c ...
    | cla15fg src/ip/edma/V0/csl_edma3Param.c ...
    | asma15fg src/ip/a15/V0/csl_a15Asm.asm ...
    | archiving lib/am572x//armv7/obj/src/ip/a15/V0/csl_a15.oa15fg lib/am572x//armv7/obj/soc/am572x/src/csl_version.oa15fg lib/am572x//armv7/obj/soc/am572x/src/csl_device_xbar.oa15fg lib/am572x//armv7/obj/soc/am572x/src/csl_device_pllc.oa15fg lib/am572x//armv7/obj/src/ip/edma/V0/csl_edma3Init.oa15fg lib/am572x//armv7/obj/src/ip/edma/V0/csl_edma3Open.oa15fg lib/am572x//armv7/obj/src/ip/edma/V0/csl_edma3Close.oa15fg lib/am572x//armv7/obj/src/ip/edma/V0/csl_edma3HwSetup.oa15fg lib/am572x//armv7/obj/src/ip/edma/V0/csl_edma3HwControl.oa15fg lib/am572x//armv7/obj/src/ip/edma/V0/csl_edma3GetHwStatus.oa15fg lib/am572x//armv7/obj/src/ip/edma/V0/csl_edma3GetHwSetup.oa15fg lib/am572x//armv7/obj/src/ip/edma/V0/csl_edma3ChannelOpen.oa15fg lib/am572x//armv7/obj/src/ip/edma/V0/csl_edma3ChannelClose.oa15fg lib/am572x//armv7/obj/src/ip/edma/V0/csl_edma3HwChannelSetup.oa15fg lib/am572x//armv7/obj/src/ip/edma/V0/csl_edma3HwChannelControl.oa15fg lib/am572x//armv7/obj/src/ip/edma/V0/csl_edma3GetHwChannelStatus.oa15fg lib/am572x//armv7/obj/src/ip/edma/V0/csl_edma3GetHwChannelSetup.oa15fg lib/am572x//armv7/obj/src/ip/edma/V0/csl_edma3Param.oa15fg lib/am572x//armv7/obj/src/ip/a15/V0/csl_a15Asm.sa15fg into lib/am572x/armv7/ti.csl.aa15fg ...
    | clem4 soc/am572x/src/csl_version.c ...
    | clem4 soc/am571x/src/csl_device_xbar.c ...
    | clem4 src/ip/edma/V0/csl_edma3GetHwStatus.c ...
    | cle66 src/ip/edma/V0/csl_edma3Init.c ...
    | clem4 soc/am572x/src/csl_device_pllc.c ...
    | cle66 src/ip/edma/V0/csl_edma3GetHwSetup.c ...
    | cle66 src/ip/edma/V0/csl_edma3Open.c ...
    | clem4 src/ip/edma/V0/csl_edma3Init.c ...
    | clem4 src/ip/edma/V0/csl_edma3GetHwSetup.c ...
    | cle66 src/ip/edma/V0/csl_edma3Close.c ...
    | clem4 src/ip/edma/V0/csl_edma3Open.c ...
    | cle66 src/ip/edma/V0/csl_edma3ChannelOpen.c ...
    | clem4 src/ip/edma/V0/csl_edma3ChannelOpen.c ...
    | clem4 src/ip/edma/V0/csl_edma3Close.c ...
    | cle66 src/ip/edma/V0/csl_edma3HwSetup.c ...
    | cle66 src/ip/edma/V0/csl_edma3ChannelClose.c ...
    | clem4 src/ip/edma/V0/csl_edma3HwSetup.c ...
    | clem4 src/ip/edma/V0/csl_edma3ChannelClose.c ...
    | cle66 src/ip/edma/V0/csl_edma3HwControl.c ...
    | clem4 src/ip/edma/V0/csl_edma3HwControl.c ...
    | cle66 src/ip/edma/V0/csl_edma3HwChannelSetup.c ...
    | clem4 src/ip/edma/V0/csl_edma3HwChannelSetup.c ...
    | clem4 src/ip/edma/V0/csl_edma3GetHwStatus.c ...
    | cle66 src/ip/edma/V0/csl_edma3GetHwStatus.c ...
    | cle66 src/ip/edma/V0/csl_edma3HwChannelControl.c ...
    | clem4 src/ip/edma/V0/csl_edma3GetHwSetup.c ...
    | clem4 src/ip/edma/V0/csl_edma3HwChannelControl.c ...
    | cle66 src/ip/edma/V0/csl_edma3GetHwSetup.c ...
    | clem4 src/ip/edma/V0/csl_edma3ChannelOpen.c ...
    | cle66 src/ip/edma/V0/csl_edma3ChannelOpen.c ...
    | clem4 src/ip/edma/V0/csl_edma3ChannelClose.c ...
    | cle66 src/ip/edma/V0/csl_edma3GetHwChannelStatus.c ...
    | clem4 src/ip/edma/V0/csl_edma3GetHwChannelStatus.c ...
    | clem4 src/ip/edma/V0/csl_edma3HwChannelSetup.c ...
    | cle66 src/ip/edma/V0/csl_edma3ChannelClose.c ...
    | cle66 src/ip/edma/V0/csl_edma3GetHwChannelSetup.c ...
    | clem4 src/ip/edma/V0/csl_edma3GetHwChannelSetup.c ...
    | cle66 src/ip/edma/V0/csl_edma3HwChannelSetup.c ...
    | clem4 src/ip/edma/V0/csl_edma3HwChannelControl.c ...
    | cle66 src/ip/edma/V0/csl_edma3HwChannelControl.c ...
    | clem4 src/ip/edma/V0/csl_edma3GetHwChannelStatus.c ...
    | clem4 src/ip/edma/V0/csl_edma3GetHwChannelSetup.c ...
    | cle66 src/ip/edma/V0/csl_edma3GetHwChannelStatus.c ...
    | clem4 src/ip/edma/V0/csl_edma3Param.c ...
    | cle66 src/ip/edma/V0/csl_edma3Param.c ...
    | cle66 src/ip/edma/V0/csl_edma3GetHwChannelSetup.c ...
    | clem4 src/ip/edma/V0/csl_edma3Param.c ...
    | clem4 src/ip/dcan/V0/priv/dcan.c ...
    | cle66 src/ip/edma/V0/csl_edma3Param.c ...
    | clem4 src/ip/dcan/V0/priv/dcan.c ...
    | cle66 src/ip/dcan/V0/priv/dcan.c ...
    | archiving lib/am571x//m4/obj/soc/am572x/src/csl_version.oem4 lib/am571x//m4/obj/soc/am571x/src/csl_device_xbar.oem4 lib/am571x//m4/obj/soc/am572x/src/csl_device_pllc.oem4 lib/am571x//m4/obj/src/ip/edma/V0/csl_edma3Init.oem4 lib/am571x//m4/obj/src/ip/edma/V0/csl_edma3Open.oem4 lib/am571x//m4/obj/src/ip/edma/V0/csl_edma3Close.oem4 lib/am571x//m4/obj/src/ip/edma/V0/csl_edma3HwSetup.oem4 lib/am571x//m4/obj/src/ip/edma/V0/csl_edma3HwControl.oem4 lib/am571x//m4/obj/src/ip/edma/V0/csl_edma3GetHwStatus.oem4 lib/am571x//m4/obj/src/ip/edma/V0/csl_edma3GetHwSetup.oem4 lib/am571x//m4/obj/src/ip/edma/V0/csl_edma3ChannelOpen.oem4 lib/am571x//m4/obj/src/ip/edma/V0/csl_edma3ChannelClose.oem4 lib/am571x//m4/obj/src/ip/edma/V0/csl_edma3HwChannelSetup.oem4 lib/am571x//m4/obj/src/ip/edma/V0/csl_edma3HwChannelControl.oem4 lib/am571x//m4/obj/src/ip/edma/V0/csl_edma3GetHwChannelStatus.oem4 lib/am571x//m4/obj/src/ip/edma/V0/csl_edma3GetHwChannelSetup.oem4 lib/am571x//m4/obj/src/ip/edma/V0/csl_edma3Param.oem4 lib/am571x//m4/obj/src/ip/dcan/V0/priv/dcan.oem4 into lib/am571x/m4/ti.csl.aem4 ...
    | cle66 src/ip/dcan/V0/priv/dcan.c ...
    | archiving lib/am572x//m4/obj/soc/am572x/src/csl_version.oem4 lib/am572x//m4/obj/soc/am572x/src/csl_device_xbar.oem4 lib/am572x//m4/obj/soc/am572x/src/csl_device_pllc.oem4 lib/am572x//m4/obj/src/ip/edma/V0/csl_edma3Init.oem4 lib/am572x//m4/obj/src/ip/edma/V0/csl_edma3Open.oem4 lib/am572x//m4/obj/src/ip/edma/V0/csl_edma3Close.oem4 lib/am572x//m4/obj/src/ip/edma/V0/csl_edma3HwSetup.oem4 lib/am572x//m4/obj/src/ip/edma/V0/csl_edma3HwControl.oem4 lib/am572x//m4/obj/src/ip/edma/V0/csl_edma3GetHwStatus.oem4 lib/am572x//m4/obj/src/ip/edma/V0/csl_edma3GetHwSetup.oem4 lib/am572x//m4/obj/src/ip/edma/V0/csl_edma3ChannelOpen.oem4 lib/am572x//m4/obj/src/ip/edma/V0/csl_edma3ChannelClose.oem4 lib/am572x//m4/obj/src/ip/edma/V0/csl_edma3HwChannelSetup.oem4 lib/am572x//m4/obj/src/ip/edma/V0/csl_edma3HwChannelControl.oem4 lib/am572x//m4/obj/src/ip/edma/V0/csl_edma3GetHwChannelStatus.oem4 lib/am572x//m4/obj/src/ip/edma/V0/csl_edma3GetHwChannelSetup.oem4 lib/am572x//m4/obj/src/ip/edma/V0/csl_edma3Param.oem4 lib/am572x//m4/obj/src/ip/dcan/V0/priv/dcan.oem4 into lib/am572x/m4/ti.csl.aem4 ...
    | asme66 src/ip/tsc/V0/csl_tsc.asm ...
    | archiving lib/am572x//c66/obj/soc/am572x/src/csl_version.oe66 lib/am572x//c66/obj/soc/am572x/src/csl_device_xbar.oe66 lib/am572x//c66/obj/soc/am572x/src/csl_device_pllc.oe66 lib/am572x//c66/obj/src/ip/chip/V0/csl_chip.oe66 lib/am572x//c66/obj/src/ip/edma/V0/csl_edma3Init.oe66 lib/am572x//c66/obj/src/ip/edma/V0/csl_edma3Open.oe66 lib/am572x//c66/obj/src/ip/edma/V0/csl_edma3Close.oe66 lib/am572x//c66/obj/src/ip/edma/V0/csl_edma3HwSetup.oe66 lib/am572x//c66/obj/src/ip/edma/V0/csl_edma3HwControl.oe66 lib/am572x//c66/obj/src/ip/edma/V0/csl_edma3GetHwStatus.oe66 lib/am572x//c66/obj/src/ip/edma/V0/csl_edma3GetHwSetup.oe66 lib/am572x//c66/obj/src/ip/edma/V0/csl_edma3ChannelOpen.oe66 lib/am572x//c66/obj/src/ip/edma/V0/csl_edma3ChannelClose.oe66 lib/am572x//c66/obj/src/ip/edma/V0/csl_edma3HwChannelSetup.oe66 lib/am572x//c66/obj/src/ip/edma/V0/csl_edma3HwChannelControl.oe66 lib/am572x//c66/obj/src/ip/edma/V0/csl_edma3GetHwChannelStatus.oe66 lib/am572x//c66/obj/src/ip/edma/V0/csl_edma3GetHwChannelSetup.oe66 lib/am572x//c66/obj/src/ip/edma/V0/csl_edma3Param.oe66 lib/am572x//c66/obj/src/ip/dcan/V0/priv/dcan.oe66 lib/am572x//c66/obj/src/ip/tsc/V0/csl_tsc.oe66 into lib/am572x/c66/ti.csl.ae66 ...
    | asme66 src/ip/tsc/V0/csl_tsc.asm ...
    | archiving lib/am571x//c66/obj/soc/am572x/src/csl_version.oe66 lib/am571x//c66/obj/soc/am571x/src/csl_device_xbar.oe66 lib/am571x//c66/obj/soc/am572x/src/csl_device_pllc.oe66 lib/am571x//c66/obj/src/ip/chip/V0/csl_chip.oe66 lib/am571x//c66/obj/src/ip/edma/V0/csl_edma3Init.oe66 lib/am571x//c66/obj/src/ip/edma/V0/csl_edma3Open.oe66 lib/am571x//c66/obj/src/ip/edma/V0/csl_edma3Close.oe66 lib/am571x//c66/obj/src/ip/edma/V0/csl_edma3HwSetup.oe66 lib/am571x//c66/obj/src/ip/edma/V0/csl_edma3HwControl.oe66 lib/am571x//c66/obj/src/ip/edma/V0/csl_edma3GetHwStatus.oe66 lib/am571x//c66/obj/src/ip/edma/V0/csl_edma3GetHwSetup.oe66 lib/am571x//c66/obj/src/ip/edma/V0/csl_edma3ChannelOpen.oe66 lib/am571x//c66/obj/src/ip/edma/V0/csl_edma3ChannelClose.oe66 lib/am571x//c66/obj/src/ip/edma/V0/csl_edma3HwChannelSetup.oe66 lib/am571x//c66/obj/src/ip/edma/V0/csl_edma3HwChannelControl.oe66 lib/am571x//c66/obj/src/ip/edma/V0/csl_edma3GetHwChannelStatus.oe66 lib/am571x//c66/obj/src/ip/edma/V0/csl_edma3GetHwChannelSetup.oe66 lib/am571x//c66/obj/src/ip/edma/V0/csl_edma3Param.oe66 lib/am571x//c66/obj/src/ip/dcan/V0/priv/dcan.oe66 lib/am571x//c66/obj/src/ip/tsc/V0/csl_tsc.oe66 into lib/am571x/c66/ti.csl.ae66 ...
    | cla15fg src/ip/a15/V0/csl_a15.c ...
    | cla15fg soc/am571x/src/csl_a15_startup.c ...
    | cla15fg soc/am572x/src/csl_version.c ...
    | asma15fg soc/am571x/src/csl_a15_init.asm ...
    | archiving lib/am571x//armv7/obj/soc/am571x/src/csl_a15_startup.oa15fg lib/am571x//armv7/obj/soc/am571x/src/csl_a15_init.sa15fg into lib/am571x/armv7/ti.csl.init.aa15fg ...
    | cla15fg soc/am571x/src/csl_device_xbar.c ...
    | cla15fg soc/am572x/src/csl_device_pllc.c ...
    | cla15fg src/ip/edma/V0/csl_edma3Init.c ...
    | cla15fg src/ip/edma/V0/csl_edma3Open.c ...
    | cla15fg src/ip/edma/V0/csl_edma3Close.c ...
    | cla15fg src/ip/edma/V0/csl_edma3HwSetup.c ...
    | cla15fg src/ip/edma/V0/csl_edma3HwControl.c ...
    | cla15fg src/ip/edma/V0/csl_edma3GetHwStatus.c ...
    | cla15fg src/ip/edma/V0/csl_edma3GetHwSetup.c ...
    | cla15fg src/ip/edma/V0/csl_edma3ChannelOpen.c ...
    | cla15fg src/ip/edma/V0/csl_edma3ChannelClose.c ...
    | cla15fg src/ip/edma/V0/csl_edma3HwChannelSetup.c ...
    | cla15fg src/ip/edma/V0/csl_edma3HwChannelControl.c ...
    | cla15fg src/ip/edma/V0/csl_edma3GetHwChannelStatus.c ...
    | cla15fg src/ip/edma/V0/csl_edma3GetHwChannelSetup.c ...
    | cla15fg src/ip/edma/V0/csl_edma3Param.c ...
    | asma15fg src/ip/a15/V0/csl_a15Asm.asm ...
    | archiving lib/am571x//armv7/obj/src/ip/a15/V0/csl_a15.oa15fg lib/am571x//armv7/obj/soc/am572x/src/csl_version.oa15fg lib/am571x//armv7/obj/soc/am571x/src/csl_device_xbar.oa15fg lib/am571x//armv7/obj/soc/am572x/src/csl_device_pllc.oa15fg lib/am571x//armv7/obj/src/ip/edma/V0/csl_edma3Init.oa15fg lib/am571x//armv7/obj/src/ip/edma/V0/csl_edma3Open.oa15fg lib/am571x//armv7/obj/src/ip/edma/V0/csl_edma3Close.oa15fg lib/am571x//armv7/obj/src/ip/edma/V0/csl_edma3HwSetup.oa15fg lib/am571x//armv7/obj/src/ip/edma/V0/csl_edma3HwControl.oa15fg lib/am571x//armv7/obj/src/ip/edma/V0/csl_edma3GetHwStatus.oa15fg lib/am571x//armv7/obj/src/ip/edma/V0/csl_edma3GetHwSetup.oa15fg lib/am571x//armv7/obj/src/ip/edma/V0/csl_edma3ChannelOpen.oa15fg lib/am571x//armv7/obj/src/ip/edma/V0/csl_edma3ChannelClose.oa15fg lib/am571x//armv7/obj/src/ip/edma/V0/csl_edma3HwChannelSetup.oa15fg lib/am571x//armv7/obj/src/ip/edma/V0/csl_edma3HwChannelControl.oa15fg lib/am571x//armv7/obj/src/ip/edma/V0/csl_edma3GetHwChannelStatus.oa15fg lib/am571x//armv7/obj/src/ip/edma/V0/csl_edma3GetHwChannelSetup.oa15fg lib/am571x//armv7/obj/src/ip/edma/V0/csl_edma3Param.oa15fg lib/am571x//armv7/obj/src/ip/a15/V0/csl_a15Asm.sa15fg into lib/am571x/armv7/ti.csl.aa15fg ...
    | /bin/sh: line 1: 11521 Killed perl /home/yut/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/share/ti/ti-cg-xml-tree/ofd/sectti.pl ./lib/am572x/m4/ti.csl.aem4.xml > ./lib/am572x/m4/ti.csl.aem4_size.txt
    | make[1]: *** [lib/am572x/m4/ti.csl.aem4_size.txt] Error 137
    | make[1]: *** Deleting file `lib/am572x/m4/ti.csl.aem4_size.txt'
    | make[1]: *** Waiting for unfinished jobs....
    | gmake: *** [ti/csl,.libraries] Error 2
    | WARNING: /home/yut/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/common-csl-ip-rtos/3.3.0.1B-r4.1/temp/run.do_compile.3214:1 exit 2 from
    | /home/yut/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/am57xx-evm/usr/share/ti/ti-xdctools-tree/xdc all --jobs=4 XDCARGS="am571x am572x" ROOTDIR="/home/yut/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/common-csl-ip-rtos/3.3.0.1B-r4.1/build" -PR .
    | ERROR: Function failed: do_compile (log file is located at /home/yut/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/common-csl-ip-rtos/3.3.0.1B-r4.1/temp/log.do_compile.3214)
    ERROR: Task 5195 (/home/yut/tisdk/sources/meta-processor-sdk/recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb, do_compile) failed with exit code '1'
    NOTE: Tasks Summary: Attempted 1768 tasks of which 1673 didn't need to be rerun and 1 failed.
    Waiting for 0 running tasks to finish:

    Summary: 1 task failed:
    /home/yut/tisdk/sources/meta-processor-sdk/recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb, do_compile
    Summary: There were 7 WARNING messages shown.
    Summary: There was 1 ERROR message shown, returning a non-zero exit code.

    Please help me figure out what is wrong there.

    Thamas Tang

  • | /bin/sh: line 1: 11521 Killed perl /home/yut/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/share/ti/ti-cg-xml-tree/ofd/sectti.pl ./lib/am572x/m4/ti.csl.aem4.xml > ./lib/am572x/m4/ti.csl.aem4_size.txt
    | make[1]: *** [lib/am572x/m4/ti.csl.aem4_size.txt] Error 137

    Seems the Linux OOM killer has killed this process. Try to either increase the virtual memory or decrease the tasks in build/conf/local.conf

  • Dear Sir:

    first error occurred after "NOTE: Executing RunQueue Tasks"

    WARNING: /home/yut/tisdk/build/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-linux-gnueabi/ocl-gl-headers/git-r0/ocl-gl-headers-git ('S') doesn't exist, please set 'S' to a proper value

    ERROR: Function failed: do_compile (log file is located at /home/yut/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/common-csl-ip-rtos/3.3.0.1B-r4.1/temp/log.do_compile.3214)

    ERROR: Logfile of failure stored in: /home/yut/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/common-csl-ip-rtos/3.3.0.1B-r4.1/temp/log.do_compile.3214

    What is wrong here?

    How big RAM I should use? Now I Memory as 2GB, Hard Disk as 60GB.

    Thank you very much indeed.

    Thomas Tang
  • Hi,

    4GB RAM memory and 60GB Hard Disk should meet the needed requirements.

    Best regards,
    Kemal
  • Dear Sir:

    I use vmware station set up ubuntu 14.04, set as 4GB RAM and 120 GB disk

    Now get a new error as following

    yut@yut-virtual-machine:~/tisdk/build$ MACHINE=am57xx-evm bitbake arago-core-tisdk-image
    NOTE: Your conf/bblayers.conf has been automatically updated.
    Loading cache: 100% |############################################################################| ETA: 00:00:00
    Loaded 564 entries from dependency cache.
    WARNING: Duplicate inclusion for /home/yut/tisdk/sources/meta-ti/recipes-ti/includes/ti-paths.inc in /home/yut/tisdk/sources/meta-processor-sdk/recipes-ti/includes/tisdk-paths.inc
    WARNING: Duplicate inclusion for /home/yut/tisdk/sources/meta-ti/recipes-bsp/cppi-lld/cppi-lld.inc in /home/yut/tisdk/sources/meta-processor-sdk/recipes-bsp/cppi-lld/cppi-lld-02.01.00.11.inc
    WARNING: Duplicate inclusion for /home/yut/tisdk/sources/meta-ti/recipes-bsp/cppi-lld/cppi-lld.inc in /home/yut/tisdk/sources/meta-processor-sdk/recipes-bsp/cppi-lld/cppi-lld-02.01.00.11.inc
    WARNING: Duplicate inclusion for /home/yut/tisdk/sources/meta-ti/recipes-bsp/qmss-lld/qmss-lld.inc in /home/yut/tisdk/sources/meta-processor-sdk/recipes-bsp/qmss-lld/qmss-lld-02.01.00.12.inc
    WARNING: Duplicate inclusion for /home/yut/tisdk/sources/meta-ti/recipes-bsp/qmss-lld/qmss-lld.inc in /home/yut/tisdk/sources/meta-processor-sdk/recipes-bsp/qmss-lld/qmss-lld-02.01.00.12.inc
    WARNING: Duplicate inclusion for /home/yut/tisdk/sources/meta-ti/recipes-bsp/common-csl-ip/common-csl-ip.inc in /home/yut/tisdk/sources/meta-processor-sdk/recipes-bsp/common-csl-ip/common-csl-ip-03.03.0.01.inc
    ERROR: ExpansionError during parsing /home/yut/tisdk/sources/meta-ti/recipes-kernel/linux/linux-ti-staging_3.14.bb: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: The SRCREV_FORMAT variable must be set when multiple SCMs are used.

    Summary: There were 6 WARNING messages shown.
    Summary: There was 1 ERROR message shown, returning a non-zero exit code.
    yut@yut-virtual-machine:~/tisdk/build$ ^C
    yut@yut-virtual-machine:~/tisdk/build$

    Please help me to figure out the problem. 

    Thank you very much.

    Thomas Tang

  • Yes, this is expected. Just run the MACHINE=am57xx-evm bitbake arago-core-tisdk-image command again.

  • Dear Sir:

    I got new error, it seems the program used out 117G disk. Please help me to figure out the problem.

    The error is

    ERROR: Build of do_install failed
    ERROR: Traceback (most recent call last):
    File "/home/yut/tisdk/sources/bitbake/lib/bb/build.py", line 497, in exec_task
    return _exec_task(fn, task, d, quieterr)
    File "/home/yut/tisdk/sources/bitbake/lib/bb/build.py", line 434, in _exec_task
    event.fire(TaskStarted(task, logfn, flags, localdata), localdata)
    File "/home/yut/tisdk/sources/bitbake/lib/bb/event.py", line 163, in fire
    fire_class_handlers(event, d)
    File "/home/yut/tisdk/sources/bitbake/lib/bb/event.py", line 102, in fire_class_handlers
    execute_handler(name, handler, event, d)
    File "/home/yut/tisdk/sources/bitbake/lib/bb/event.py", line 76, in execute_handler
    ret = handler(event)
    File "run_buildstats(e)", line 81, in run_buildstats
    IOError: [Errno 28] No space left on device

    Waiting for 0 running tasks to finish:
    76580Can't open local state path (/home/yut/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin/../../var/pseudo) for server. (No such file or directory)

    Summary: 1 task failed:
    /home/yut/tisdk/sources/meta-openembedded/meta-oe/recipes-support/mysql/mariadb-native_5.5.41.bb, do_install
    Summary: There were 37 WARNING messages shown.
    NOTE: Tasks Summary: Attempted 3035 tasks of which 0 didn't need to be rerun and 2 failed.
    yut@yut-virtual-machine:~/tisdk/build$

    Thank you very much

    Thomas Tang

  • Yes, the IOError: [Errno 28] No space left on device, indicates that.
  • how many disk GB it need? now I set as 120gb. 

    Also I only work am335x starter kits, would you mind give me more guide?

    Thank you very much.

    Thomas Tang

  • Could you run this command and attach the generated archive.

    du -h > fspace.usage && tar cvfj hdd_usage.tar.bz2 fspace.usage
  • Dear sir:

    I built it , it gave me as following

    NOTE: Tasks Summary: Attempted 5606 tasks of which 320 didn't need to be rerun and all succeeded.

    Summary: There were 8346 WARNING messages shown.

    I wonder what is next I need to do?

    I only use AM335x Starter Kit, I get 3 "processor-sdk-02.00.0*.**-config.txt" files, which one I should use?

    Also how to build target?

    Thank you very much.

    Thomas Tang

     

  • Well done. Now you can flash your board with the generated images in out (build/arago-tmp-external-linaro-toolchain/work/) directory by the create-sdcard.sh script.

    thomas tang said:

    I only use AM335x Starter Kit, I get 3 "processor-sdk-02.00.0*.**-config.txt" files, which one I should use?


    These configuration files are chosen in this step to select the desired processor SDK which you want to build.

    Build Steps

    $ git clone git://arago-project.org/git/projects/oe-layersetup.git tisdk
    $ cd tisdk
    $ ./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-02.00.02.11-config.txt
    $ cd build
    $ . conf/setenv
    $ export PATH=$HOME/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf/bin:$PATH
    $ MACHINE=am57xx-evm bitbake arago-core-tisdk-image

    thomas tang said:

    Also how to build target?


    These are the targets:

    Platforms

    The following platforms are supported in Processor SDK. These are the <machine> in the command:

    MACHINE=<machine> bitbake <target>

    MACHINE Supported EVMs
    am335x-evm AM335x EVM, AM335x Starter Kit, Beaglebone Black
    am437x-evm AM437x GP EVM, AM437x Starter Kit
    am57xx-evm AM572x GP EVM, Beagleboard-x15
    k2hk-evm 66AK2Hx EVM , K2K EVM
    k2e-evm K2Ex EVM
    k2l-evm 66AK2L06 EVM
    k2g-evm EVMK2G

  • Dear Sir:

    I already finished following step:

    $ git clone git://arago-project.org/git/projects/oe-layersetup.git tisdk
    $ cd tisdk
    $ ./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-02.00.02.11-config.txt
    $ cd build
    $ . conf/setenv
    $ export PATH=$HOME/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf/bin:$PATH
    $ MACHINE=am57xx-evm bitbake arago-core-tisdk-image

    Since I want get image of AM335x Starter Kit, I wander if I need run following step?

    $ cd build
    $ . conf/setenv
    $ export PATH=$HOME/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf/bin:$PATH
    $ MACHINE=am335x-evm bitbake arago-core-tisdk-image

    then to flash my board with the generated images in out (build/arago-tmp-external-linaro-toolchain/work/) directory by the create-sdcard.sh script.

    Please let me know how to run create-sdcard.sh, include how to connect board? what time I need power on board?

    Thank you very much.

    Thomas Tang

  • thomas tang said:

    Since I want get image of AM335x Starter Kit, I wander if I need run following step?


    Yes, for AM335X Starter kit the am335x-evm machine should be chosen.

    thomas tang said:

    then to flash my board with the generated images in out (build/arago-tmp-external-linaro-toolchain/work/) directory by the create-sdcard.sh script.


    Please create you SD card trough this guide processors.wiki.ti.com/.../Processor_SDK_Linux_create_SD_card_script

    thomas tang said:

    Please let me know how to run create-sdcard.sh, include how to connect board? what time I need power on board?


    It doesn't matter, just put the SD card and power it on.

  • Dear Sir:

    If I need use on board emulator XDS100v2, do I need set minicom's serial port as /dev/ttyUSB0?

    Also what time I need use StarterWare? What is difference between AM335x's Startware and AM335xSDK?

    Thank you very much

    Thomas Tang
  • thomas tang said:

    If I need use on board emulator XDS100v2, do I need set minicom's serial port as /dev/ttyUSB0?

    You should check as which /dev/ttyUSBX it gets probed.
    thomas tang said:

    Also what time I need use StarterWare? What is difference between AM335x's Startware and AM335xSDK?

    StarterWare is for bare-metal programming, AM335xSDK uses Linux OS.
  • Hi Kemal ,

    I am also facing the same problem and my outputs are :

    root@ubuntu:/home/arago/tisdk/build# uname -i
    i686
    root@ubuntu:/home/arago/tisdk/build# lsb_release -a
    No LSB modules are available.
    Distributor ID:    Ubuntu
    Description:    Ubuntu 16.04.1 LTS
    Release:    16.04
    Codename:    xenial
    root@ubuntu:/home/arago/tisdk/build# /root/gcc-linaro-5.3.1-2016.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -vbash: /root/gcc-linaro-5.3.1-2016.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: cannot execute binary file: Exec format error

    Do i also need to get 64 bit Linux version ?

    Can you suggest a link to it.

    Thanks

  • Hi Kemal ,
    Following are my outputs :

    root@ubuntu:/home/arago/tisdk/build# uname -i
    i686
    root@ubuntu:/home/arago/tisdk/build# lsb_release -a
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description: Ubuntu 16.04.1 LTS
    Release: 16.04
    Codename: xenial

    root@ubuntu:/home/arago/tisdk/build# /root/gcc-linaro-5.3.1-2016.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -vbash: /root/gcc-linaro-5.3.1-2016.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: cannot execute binary file: Exec format error

    DO i also need 64 bit OS version ?
    Please suggest.

    Thanks
    Abhi
  • Yes, it won't work since the Linaro toolchain has dropped the support for 32-bit Operating Systems. You can download a 64-bit Ubuntu from the official Ubuntu download page.

  • hi Kemal ,

    Thanks for the reply.
    I created a 64 bit Ubuntu [ubuntu-16.04.1-desktop-amd64.iso] on VM ware and ran the following after all other steps given here [http://arago-project.org/wiki/index.php/Setting_Up_Build_Environment] :

    root@ubuntu:/home/arago/tisdk/build# export PATH=$HOME/gcc-linaro-5.3.1-2016.05-x86_64_arm-linux-gnueabihf/bin:$PATH
    root@ubuntu:/home/arago/tisdk/build#MACHINE=am335x-evm bitbake core-image-minimal

    I am now getting error :
    NOTE: Started PRServer with DBfile: /home/arago/tisdk/build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 46721, PID: 5533
    ERROR: OE-core's config sanity checker detected a potential misconfiguration.
    Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
    Following is the list of potential problems / advisories:

    Do not use Bitbake as root.

    Please suggest what to do next !! Also please update this wiki page , it looks old.

    Thanks in advance .
  • You may have tried to build many platforms over one working directory. Please remove the directories of this paths TMPDIR and SSTATE_DIR indicated in /home/arago/tisdk/build/conf/sanity_info and retry.

  • hi ,

    i went to the directory but there is no folder named sanity_info .

    root@ubuntu:/home/arago/tisdk/build/conf# ls
    bblayers.conf  local.conf  local.conf.bak  setenv

    Is me being "root" causing the issue ?

    Thanks

    Abhi

  • Yes, it is quite possible. Please, start from the scratch with normal user privileges.
  • Hi Kemal ,

    I did again and got the following error :
    arago@ubuntu:~/tisdk/build$ MACHINE=am335x-evm bitbake core-image-minimal
    NOTE: Started PRServer with DBfile: /home/arago/tisdk/build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 34199, PID: 5683
    ERROR: Execution of event handler 'check_sanity_eventhandler' failed
    Traceback (most recent call last):
    File "/home/arago/tisdk/sources/bitbake/lib/bb/build.py", line 264, in exec_func_python(func='oecore_update_bblayers', d=<bb.data_smart.DataSmart object at 0x7fd7f40a9510>, runfile='/home/arago/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/defaultpkgname/1.0-r0/temp/run.oecore_update_bblayers.5681', cwd='/home/arago/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/defaultpkgname/1.0-r0/defaultpkgname-1.0', pythonexception=True):
    comp = utils.better_compile(code, func, "exec_python_func() autogenerated")
    > utils.better_exec(comp, {"d": d}, code, "exec_python_func() autogenerated", pythonexception=pythonexception)
    except (bb.parse.SkipRecipe, bb.build.FuncFailed):
    File "/home/arago/tisdk/sources/bitbake/lib/bb/utils.py", line 387, in better_exec(code=<code object <module> at 0x7fd7f41560b0, file "exec_python_func() autogenerated", line 2>, context={'d': <bb.data_smart.DataSmart object at 0x7fd7f40a9510>}, text='\noecore_update_bblayers(d)\n', realfile='exec_python_func() autogenerated', pythonexception=True):
    try:
    > exec(code, get_context(), context)
    except (bb.BBHandledException, bb.parse.SkipRecipe, bb.build.FuncFailed, bb.data_smart.ExpansionError):
    File "exec_python_func() autogenerated", line 2, in <module>
    File "/home/arago/tisdk/sources/oe-core/meta/classes/sanity.bbclass", line 134, in oecore_update_bblayers(d=<bb.data_smart.DataSmart object at 0x7fd7f40a9510>):
    current_lconf = 6
    > sanity_conf_update(bblayers_fn, lines, 'LCONF_VERSION', current_lconf)
    bb.note("Your conf/bblayers.conf has been automatically updated.")
    File "/home/arago/tisdk/sources/oe-core/meta/classes/sanity.bbclass", line 25, in sanity_conf_update(fn='/home/arago/tisdk/build/conf/bblayers.conf', lines=['# This template file was created by taking the oe-core/meta/conf/bblayers.conf\n', '# file and removing the BBLAYERS section at the end.\n', '\n', '# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf\n', '# changes incompatibly\n', 'LCONF_VERSION = "6"\n', '\n', 'BBPATH = "${TOPDIR}"\n', 'BBFILES ?= ""\n', '\n', '# Layers configured by oe-core-setup script\n', 'BBLAYERS += " \\\n', '\t/home/arago/tisdk/sources/meta-arago/meta-arago-distro \\\n', '\t/home/arago/tisdk/sources/meta-arago/meta-arago-extras \\\n', '\t/home/arago/tisdk/sources/meta-qt5 \\\n', '\t/home/arago/tisdk/sources/meta-openembedded/meta-networking \\\n', '\t/home/arago/tisdk/sources/meta-openembedded/meta-ruby \\\n', '\t/home/arago/tisdk/sources/meta-openembedded/meta-python \\\n', '\t/home/arago/tisdk/sources/meta-openembedded/meta-oe \\\n', '\t/home/arago/tisdk/sources/meta-ti \\\n', '\t/home/arago/tisdk/sources/meta-linaro/meta-linaro-toolchain \\\n', '\t/home/arago/tisdk/sources/meta-linaro/meta-optee \\\n', '\t/home/arago/tisdk/sources/oe-core/meta \\\n', '"\n'], version_var_name='LCONF_VERSION', new_version=6):
    lines[index] = '%s = "%d"\n' % (version_var_name, new_version)
    > with open(fn, "w") as f:
    f.write(''.join(lines))
    IOError: [Errno 13] Permission denied: '/home/arago/tisdk/build/conf/bblayers.conf'

    ERROR: Command execution failed: Traceback (most recent call last):
    File "/home/arago/tisdk/sources/bitbake/lib/bb/command.py", line 101, in runAsyncCommand
    self.cooker.updateCache()
    File "/home/arago/tisdk/sources/bitbake/lib/bb/cooker.py", line 1538, in updateCache
    bb.event.fire(bb.event.SanityCheck(False), self.data)
    File "/home/arago/tisdk/sources/bitbake/lib/bb/event.py", line 178, in fire
    fire_class_handlers(event, d)
    File "/home/arago/tisdk/sources/bitbake/lib/bb/event.py", line 110, in fire_class_handlers
    execute_handler(name, handler, event, d)
    File "/home/arago/tisdk/sources/bitbake/lib/bb/event.py", line 82, in execute_handler
    ret = handler(event)
    File "/home/arago/tisdk/sources/oe-core/meta/classes/sanity.bbclass", line 1005, in check_sanity_eventhandler
    reparse = check_sanity(sanity_data)
    File "/home/arago/tisdk/sources/oe-core/meta/classes/sanity.bbclass", line 964, in check_sanity
    check_sanity_everybuild(status, sanity_data)
    File "/home/arago/tisdk/sources/oe-core/meta/classes/sanity.bbclass", line 787, in check_sanity_everybuild
    sanity_check_conffiles(status, d)
    File "/home/arago/tisdk/sources/oe-core/meta/classes/sanity.bbclass", line 568, in sanity_check_conffiles
    bb.build.exec_func(func, d, pythonexception=True)
    File "/home/arago/tisdk/sources/bitbake/lib/bb/build.py", line 232, in exec_func
    exec_func_python(func, d, runfile, cwd=adir, pythonexception=pythonexception)
    File "/home/arago/tisdk/sources/bitbake/lib/bb/build.py", line 264, in exec_func_python
    utils.better_exec(comp, {"d": d}, code, "exec_python_func() autogenerated", pythonexception=pythonexception)
    File "/home/arago/tisdk/sources/bitbake/lib/bb/utils.py", line 387, in better_exec
    exec(code, get_context(), context)
    File "exec_python_func() autogenerated", line 2, in <module>
    File "/home/arago/tisdk/sources/oe-core/meta/classes/sanity.bbclass", line 134, in oecore_update_bblayers
    sanity_conf_update(bblayers_fn, lines, 'LCONF_VERSION', current_lconf)
    File "/home/arago/tisdk/sources/oe-core/meta/classes/sanity.bbclass", line 25, in sanity_conf_update
    with open(fn, "w") as f:
    IOError: [Errno 13] Permission denied: '/home/arago/tisdk/build/conf/bblayers.conf'

    Is this tutorial correct which i am following [Just to be sure] : www.arago-project.org/.../Setting_Up_Build_Environment

    Thanks a lot...
  • Also if i try " sudo " i get :

    arago@ubuntu:~/tisdk/build$ sudo MACHINE=am335x-evm bitbake core-image-minimal
    sudo: bitbake: command not found
    Can i run some way using "sudo" because maybe some permissions are messing it.

    Thanks
  • You got this error.

    IOError: [Errno 13] Permission denied: '/home/arago/tisdk/build/conf/bblayers.conf'

    Which indicated that you have previously ran sudo command, and the current user don't have permissions to operate with it.

    When you type sudo MACHINE=am335x-evm bitbake core-image-minimal, the bash uses the root environment settings where the . conf/setenv is not sourced, that is why the bitbake command is not found.

    To exit from this situation recursively remove the tisdk directory with sudo in front of rm -fr command since it won't permit you again, and start from the scratch with normal user privileges.

    arago@ubuntu:~$ sudo rm -fr /home/arago/tisdk

    PS: Do not recourse to sudo command on every error you met.

  • Thanks Kemal ,
    You were right , i did all again and those errors were removed , but now i get these errors :

    arago@ubuntu:~/tisdk/build$ MACHINE=am335x-evm bitbake core-image-minimal
    Pseudo is not present but is required, building this first before the main build
    ERROR: Execution of event handler 'external_linaro_toolchain_version_handler' failed
    Traceback (most recent call last):
    File "external_linaro_toolchain_version_handler(e)", line 8, in external_linaro_toolchain_version_handler(e=<bb.event.ConfigParsed object at 0x7fa3b3b43b50>)
    File "external-linaro-toolchain-versions.inc", line 4, in elt_get_main_version(d=<bb.data_smart.DataSmart object at 0x7fa3b3c28750>)
    IndexError: list index out of range

    NOTE: Started PRServer with DBfile: /home/arago/tisdk/build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 41010, PID: 4836
    ERROR: ParseError at /home/arago/tisdk/sources/meta-qt5/classes/qmake5_base.bbclass:50: Could not inherit file classes/remove-libtool.bbclass | ETA: 00:04:52
    ERROR: Command execution failed: Exited with 1

    Summary: There were 3 ERROR messages shown, returning a non-zero exit code.


    Thanks,
    Abhishek