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.

Linux/AM5708: Bitbake build issues

Part Number: AM5708

Tool/software: Linux

Gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf.tar.tx comes from the following link:
releases.linaro.org/.../gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf.tar.xz

I encountered the following problems in the compilation process. How can I solve them?

[root@MSO:build]# 
[root@MSO:build]# 
[root@MSO:build]# . conf/setenv 
[root@MSO:build]# MACHINE=am57xx-evm bitbake opencl
Loading cache: 100% |#########################################################################################################################################################################| Time: 0:00:01
Loaded 3236 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.32.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-14.04"
TARGET_SYS = "arm-linux-gnueabi"
MACHINE = "am57xx-evm"
DISTRO = "arago"
DISTRO_VERSION = "2017.05"
TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard"
TARGET_FPU = "hard"
meta-processor-sdk = "HEAD:3d2f620a6a98b1b6abb1103d7dc986921436ed19"
meta-arago-distro 
meta-arago-extras = "HEAD:b727bf8fce8e9cb5a6b5d5b48c45f0088e67eb53"
meta-browser = "HEAD:880a7bd1d3b9a1b2003f5b0620350f03158bbd43"
meta-qt5 = "HEAD:3601fd2c5306ac6d5d0d536e0be8cbb90da9b4c1"
meta-networking 
meta-ruby 
meta-python 
meta-oe 
meta-gnome = "HEAD:fe5c83312de11e80b85680ef237f8acb04b4b26e"
meta-ti = "HEAD:41d6fdc0fe5ea6054616cfccda13baac3ff33791"
meta-linaro-toolchain 
meta-optee = "HEAD:d84874bad834657dd04ea69c35a74dd9dbd535b8"
meta = "HEAD:ddf907ca95a19f54785079b4396935273b3747f6"

Initialising tasks: 100% |####################################################################################################################################################################| Time: 0:00:01
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: external-linaro-toolchain-2016.11-r0.arago35.tisdk0 do_install: Function failed: do_install (log file is located at /root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/external-linaro-toolchain/2016.11-r0.arago35.tisdk0/temp/log.do_install.29918)
ERROR: Logfile of failure stored in: /root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/external-linaro-toolchain/2016.11-r0.arago35.tisdk0/temp/log.do_install.29918
Log data follows:
| DEBUG: Executing shell function do_install
| cp: cannot stat ‘/root/factory/linux-devkit/sysroots/x86_64-arago-linux/usr/arm-linux-gnueabihf/libc/usr/share/*’: No such file or directory
| WARNING: /root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/external-linaro-toolchain/2016.11-r0.arago35.tisdk0/temp/run.do_install.29918:1 exit 1 from 'cp -a /root/factory/linux-devkit/sysroots/x86_64-arago-linux/usr/arm-linux-gnueabihf/libc/usr/share/* /root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/external-linaro-toolchain/2016.11-r0.arago35.tisdk0/image/usr/share'
| ERROR: Function failed: do_install (log file is located at /root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/external-linaro-toolchain/2016.11-r0.arago35.tisdk0/temp/log.do_install.29918)
ERROR: Task (/root/psdk/tisdk/sources/meta-linaro/meta-linaro-toolchain/recipes-devtools/external-linaro-toolchain/external-linaro-toolchain.bb:do_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 162 tasks of which 161 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/root/psdk/tisdk/sources/meta-linaro/meta-linaro-toolchain/recipes-devtools/external-linaro-toolchain/external-linaro-toolchain.bb:do_install
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
[root@MSO:build]# \
> ^C
[root@MSO:build]# 
[root@MSO:build]# 
[root@MSO:build]# 
[root@MSO:build]#
[root@MSO:build]# 
[root@MSO:build]# echo $PATH
/root/psdk/tisdk/sources/meta-browser/scripts:/root/psdk/tisdk/sources/oe-core/scripts:/root/psdk/tisdk/sources/bitbake/bin:/root/psdk/tisdk/sources/meta-browser/scripts:/root/psdk/tisdk/sources/oe-core/scripts:/root/psdk/tisdk/sources/bitbake/bin:/root/psdk/tisdk/sources/meta-browser/scripts:/root/psdk/tisdk/sources/oe-core/scripts:/root/psdk/tisdk/sources/bitbake/bin:/root/psdk/cross_compile/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/root/factory/linux-devkit/sysroots/x86_64-arago-linux/usr/bin
[root@MSO:build]# 
[root@MSO:build]# 
[root@MSO:build]# 
[root@MSO:build]# echo ~/.
./                    .bashrc               .dbus/                .lesshst              .pki/                 .subversion/          .viminfo              .xsession-errors.old  
../                   .cache/               .dmrc                 .local/               .profile              .swt/                 .wgetrc               
.aptitude/            .compiz/              .gconf/               .minirc.dfl           .python-history       .ti/                  .Xauthority           
.bash_history         .config/              .ICEauthority         .oracle_jre_usage/    .ssh/                 .vim/                 .xsession-errors      
[root@MSO:build]# echo ~/.bashrc 
/root/.bashrc
[root@MSO:build]# cat ~/.bashrc 
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples

# If not running interactively, don't do anything
[ -z "$PS1" ] && return

# don't put duplicate lines in the history. See bash(1) for more options
# ... or force ignoredups and ignorespace
HISTCONTROL=ignoredups:ignorespace

# append to the history file, don't overwrite it
shopt -s histappend

# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=1000
HISTFILESIZE=2000

# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize

# make less more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"

# set variable identifying the chroot you work in (used in the prompt below)
if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then
    debian_chroot=$(cat /etc/debian_chroot)
fi

# set a fancy prompt (non-color, unless we know we "want" color)
case "$TERM" in
    xterm-color) color_prompt=yes;;
esac

# uncomment for a colored prompt, if the terminal has the capability; turned
# off by default to not distract the user: the focus in a terminal window
# should be on the output of commands, not on the prompt
#force_color_prompt=yes

if [ -n "$force_color_prompt" ]; then
    if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
    # We have color support; assume it's compliant with Ecma-48
    # (ISO/IEC-6429). (Lack of such support is extremely rare, and such
    # a case would tend to support setf rather than setaf.)
    color_prompt=yes
    else
    color_prompt=
    fi
fi

if [ "$color_prompt" = yes ]; then
    PS1='[${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\W\[\033[00m\]]\$ '
else
    PS1='[${debian_chroot:+($debian_chroot)}\u@\h:\W]\$ '
fi
unset color_prompt force_color_prompt

# If this is an xterm set the title to user@host:dir
case "$TERM" in
xterm*|rxvt*)
    PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
    ;;
*)
    ;;
esac

# enable color support of ls and also add handy aliases
if [ -x /usr/bin/dircolors ]; then
    test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
    alias ls='ls --color=auto'
    #alias dir='dir --color=auto'
    #alias vdir='vdir --color=auto'

    alias grep='grep --color=auto'
    alias fgrep='fgrep --color=auto'
    alias egrep='egrep --color=auto'
fi

# some more ls aliases
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'

# Alias definitions.
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.

if [ -f ~/.bash_aliases ]; then
    . ~/.bash_aliases
fi

# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
#if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
#    . /etc/bash_completion
#fi
#export PATH=$PATH:/home/mso/ti-processor-sdk-linux-rt-am57xx-evm-03.03.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/bin
#export PATH=$PATH:/home/mso/ti-processor-sdk-linux-rt-am57xx-evm-04.00.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/bin
#export PATH=$PATH:/home/mso/ti-processor-sdk-linux-rt-am57xx-evm-03.03.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/bin
export PATH=/root/psdk/cross_compile/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf:$PATH
export PATH=$PATH:/root/factory/linux-devkit/sysroots/x86_64-arago-linux/usr/bin
#export PATH=$PATH:/root/f***_dsp/linux-devkit/sysroots/x86_64-arago-linux/usr/bin
export TOOLCHAIN_PATH_ARMV7=/root/psdk/cross_compile/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabihf
export TOOLCHAIN_PATH_ARMV8=/root/psdk/cross_compile/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu


#export http_proxy='<a href="127.0.0.1:8123/.../a>
#export https_proxy='<a href="127.0.0.1:8123/.../a>
#export ftp_proxy='<a href="127.0.0.1:8123/.../a>
#export ALL_PROXY='socks://127.0.0.1:8123/'
#export all_proxy='socks://127.0.0.1:8123/'
#export no_proxy='example.com'
#export GIT_PROXY_COMMAND="oe-git-proxy"
#export NO_PROXY=$no_proxy

[root@MSO:build]# 

I made some errors while executing the "MACHINE=am57xx-evm bitbake arago-base-tisdk-image" command.

By analyzing the log, I found that the link of some files failed and the corresponding file could not be searched on the previous path of the link.The link "downloads.yoctoproject.org/.../git2_git.ti.com.ti-linux-kernel.ti-linux-kernel.git.tar.gz", for example, git2_git.ti.com.ti-linux-kernel.ti-linux-kernel.git.tar.gz this file no.How can I solve this problem?Or can you compile a DSP binary file of 512M? I will directly copy the DSP binary file you compiled.

6840.run.base_do_fetch.4445.txt
def base_do_fetch(d):

    src_uri = (d.getVar('SRC_URI', True) or "").split()
    if len(src_uri) == 0:
        return

    try:
        fetcher = bb.fetch2.Fetch(src_uri, d)
        fetcher.download()
    except bb.fetch2.BBFetchException as e:
        bb.fatal(str(e))

base_do_fetch(d)

  • According to this section (1.2.3.3. Using the snapshot of the source packages in Processor SDK release), I have downloaded the software package and found the following problems:

    [root@zengjia_vivado:build#] . conf/setenv 
    [root@zengjia_vivado:build#] export TOOLCHAIN_PATH_ARMV7=$HOME/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabihf
    [root@zengjia_vivado:build#] export TOOLCHAIN_PATH_ARMV8=$HOME/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu
    [root@zengjia_vivado:build#] MACHINE=am57xx-evm bitbake arago-base-tisdk-image
    Loading cache: 100% |#########################################################################################################################################################################| Time: 0:00:01
    Loaded 3236 entries from dependency cache.
    NOTE: Resolving any missing task queue dependencies
    
    Build Configuration:
    BB_VERSION        = "1.32.0"
    BUILD_SYS         = "x86_64-linux"
    NATIVELSBSTRING   = "Ubuntu-14.04"
    TARGET_SYS        = "arm-linux-gnueabi"
    MACHINE           = "am57xx-evm"
    DISTRO            = "arago"
    DISTRO_VERSION    = "2017.05"
    TUNE_FEATURES     = "arm armv7a vfp thumb neon       callconvention-hard"
    TARGET_FPU        = "hard"
    meta-processor-sdk = "HEAD:3d2f620a6a98b1b6abb1103d7dc986921436ed19"
    meta-arago-distro 
    meta-arago-extras = "HEAD:b727bf8fce8e9cb5a6b5d5b48c45f0088e67eb53"
    meta-browser      = "HEAD:880a7bd1d3b9a1b2003f5b0620350f03158bbd43"
    meta-qt5          = "HEAD:3601fd2c5306ac6d5d0d536e0be8cbb90da9b4c1"
    meta-networking   
    meta-ruby         
    meta-python       
    meta-oe           
    meta-gnome        = "HEAD:fe5c83312de11e80b85680ef237f8acb04b4b26e"
    meta-ti           = "HEAD:41d6fdc0fe5ea6054616cfccda13baac3ff33791"
    meta-linaro-toolchain 
    meta-optee        = "HEAD:d84874bad834657dd04ea69c35a74dd9dbd535b8"
    meta              = "HEAD:ddf907ca95a19f54785079b4396935273b3747f6"
    
    Initialising tasks: 100% |####################################################################################################################################################################| Time: 0:00:04
    NOTE: Executing SetScene Tasks
    NOTE: Executing RunQueue Tasks
    WARNING: libxml2-native-2.9.4-r0 do_fetch: Failed to fetch URL xmlsoft.org/.../libxml2-2.9.4.tar.gz;name=libtar, attempting MIRRORS if available
    WARNING: libffi-native-3.2.1-r0 do_fetch: Failed to fetch URL sourceware.org/.../libffi-3.2.1.tar.gz, attempting MIRRORS if available
    WARNING: shadow-native-4.2.1-r0 do_fetch: Failed to fetch URL pkg-shadow.alioth.debian.org/.../shadow-4.2.1.tar.xz, attempting MIRRORS if available
    WARNING: libpng-native-1.6.24-r0 do_fetch: Failed to fetch URL distfiles.gentoo.org/.../libpng-1.6.24.tar.xz, attempting MIRRORS if available
    WARNING: linux-ti-staging-4.9.28+gitAUTOINC+eed43d1050-r7c.arago5.tisdk3 do_fetch: Failed to fetch URL git://git.ti.com/processor-sdk/processor-sdk-linux.git;protocol=git;branch=processor-sdk-linux-04.00.00, attempting MIRRORS if available
    ERROR: linux-ti-staging-4.9.28+gitAUTOINC+eed43d1050-r7c.arago5.tisdk3 do_fetch: Fetcher failure: Fetch command export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-5mLzoGSbMO"; export SSH_AUTH_SOCK="/run/user/0/keyring-Kn0RlV/ssh"; export GIT_PROXY_COMMAND="oe-git-proxy"; export all_proxy="socks5://127.0.0.1:20000/"; export ALL_PROXY="socks5://127.0.0.1:20000/"; export no_proxy="example.com"; export NO_PROXY="example.com"; export ftp_proxy="http://127.0.0.1:20000/"; export https_proxy="https://127.0.0.1:20000/"; export http_proxy="http://127.0.0.1:20000/"; export PATH="/root/psdk/tisdk/sources/oe-core/scripts:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin/arm-linux-gnueabi:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/am57xx-evm/usr/bin/crossscripts:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/sbin:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/sbin:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/bin:/root/psdk/rt_sdk/ti-processor-sdk-linux-rt-am57xx-evm-04.00.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/bin:/root/psdk/tisdk/sources/meta-browser/scripts:/root/psdk/tisdk/sources/oe-core/scripts:/root/psdk/tisdk/sources/bitbake/bin:/root/psdk/tisdk/sources/meta-browser/scripts:/root/psdk/tisdk/sources/oe-core/scripts:/root/psdk/tisdk/sources/bitbake/bin:/root/psdk/tisdk/sources/meta-browser/scripts:/root/psdk/tisdk/sources/oe-core/scripts:/root/psdk/tisdk/sources/bitbake/bin:/root/psdk/tisdk/sources/meta-browser/scripts:/root/psdk/tisdk/sources/oe-core/scripts:/root/psdk/tisdk/sources/bitbake/bin:/root/psdk/tisdk/sources/meta-browser/scripts:/root/psdk/tisdk/sources/oe-core/scripts:/root/psdk/tisdk/sources/bitbake/bin:/root/psdk/rt_sdk/ti-processor-sdk-linux-rt-am57xx-evm-04.00.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"; export HOME="/root"; tar -xzf /root/psdk/tisdk/downloads/git2_git.ti.com.processor-sdk.processor-sdk-linux.git.tar.gz failed with exit code 2, output:
    
    gzip: stdin: unexpected end of file
    tar: Child returned status 1
    tar: Error is not recoverable: exiting now
    
    ERROR: linux-ti-staging-4.9.28+gitAUTOINC+eed43d1050-r7c.arago5.tisdk3 do_fetch: Fetcher failure for URL: 'git://git.ti.com/processor-sdk/processor-sdk-linux.git;protocol=git;branch=processor-sdk-linux-04.00.00'. Unable to fetch URL from any source.
    ERROR: linux-ti-staging-4.9.28+gitAUTOINC+eed43d1050-r7c.arago5.tisdk3 do_fetch: Function failed: base_do_fetch
    ERROR: Logfile of failure stored in: /root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/linux-ti-staging/4.9.28+gitAUTOINC+eed43d1050-r7c.arago5.tisdk3/temp/log.do_fetch.92643
    ERROR: Task (/root/psdk/tisdk/sources/meta-ti/recipes-kernel/linux/linux-ti-staging_4.9.bb:do_fetch) failed with exit code '1'
    ERROR: external-linaro-toolchain-2016.11-r0.arago35.tisdk0 do_install: Function failed: do_install (log file is located at /root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/external-linaro-toolchain/2016.11-r0.arago35.tisdk0/temp/log.do_install.7042)
    ERROR: Logfile of failure stored in: /root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/external-linaro-toolchain/2016.11-r0.arago35.tisdk0/temp/log.do_install.7042
    Log data follows:
    | DEBUG: Executing shell function do_install
    | cp: cannot stat ‘/root/psdk/rt_sdk/ti-processor-sdk-linux-rt-am57xx-evm-04.00.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/arm-linux-gnueabihf/libc/usr/share/*’: No such file or directory
    | WARNING: /root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/external-linaro-toolchain/2016.11-r0.arago35.tisdk0/temp/run.do_install.7042:1 exit 1 from 'cp -a /root/psdk/rt_sdk/ti-processor-sdk-linux-rt-am57xx-evm-04.00.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/arm-linux-gnueabihf/libc/usr/share/* /root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/external-linaro-toolchain/2016.11-r0.arago35.tisdk0/image/usr/share'
    | ERROR: Function failed: do_install (log file is located at /root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/external-linaro-toolchain/2016.11-r0.arago35.tisdk0/temp/log.do_install.7042)
    ERROR: Task (/root/psdk/tisdk/sources/meta-linaro/meta-linaro-toolchain/recipes-devtools/external-linaro-toolchain/external-linaro-toolchain.bb:do_install) failed with exit code '1'
    NOTE: Tasks Summary: Attempted 486 tasks of which 180 didn't need to be rerun and 2 failed.
    
    Summary: 2 tasks failed:
      /root/psdk/tisdk/sources/meta-ti/recipes-kernel/linux/linux-ti-staging_4.9.bb:do_fetch
      /root/psdk/tisdk/sources/meta-linaro/meta-linaro-toolchain/recipes-devtools/external-linaro-toolchain/external-linaro-toolchain.bb:do_install
    Summary: There were 5 WARNING messages shown.
    Summary: There were 4 ERROR messages shown, returning a non-zero exit code.
    [root@zengjia_vivado:build#] 
    

  • [root@zengjia_vivado:build#] . conf/setenv 
    [root@zengjia_vivado:build#] export TOOLCHAIN_PATH_ARMV7=$HOME/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabihf
    [root@zengjia_vivado:build#] export TOOLCHAIN_PATH_ARMV8=$HOME/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu
    [root@zengjia_vivado:build#] MACHINE=am57xx-evm bitbake arago-base-tisdk-image
    Loading cache: 100% |#########################################################################################################################################################################| Time: 0:00:01
    Loaded 3236 entries from dependency cache.
    NOTE: Resolving any missing task queue dependencies
    
    Build Configuration:
    BB_VERSION        = "1.32.0"
    BUILD_SYS         = "x86_64-linux"
    NATIVELSBSTRING   = "Ubuntu-14.04"
    TARGET_SYS        = "arm-linux-gnueabi"
    MACHINE           = "am57xx-evm"
    DISTRO            = "arago"
    DISTRO_VERSION    = "2017.05"
    TUNE_FEATURES     = "arm armv7a vfp thumb neon       callconvention-hard"
    TARGET_FPU        = "hard"
    meta-processor-sdk = "HEAD:3d2f620a6a98b1b6abb1103d7dc986921436ed19"
    meta-arago-distro 
    meta-arago-extras = "HEAD:b727bf8fce8e9cb5a6b5d5b48c45f0088e67eb53"
    meta-browser      = "HEAD:880a7bd1d3b9a1b2003f5b0620350f03158bbd43"
    meta-qt5          = "HEAD:3601fd2c5306ac6d5d0d536e0be8cbb90da9b4c1"
    meta-networking   
    meta-ruby         
    meta-python       
    meta-oe           
    meta-gnome        = "HEAD:fe5c83312de11e80b85680ef237f8acb04b4b26e"
    meta-ti           = "HEAD:41d6fdc0fe5ea6054616cfccda13baac3ff33791"
    meta-linaro-toolchain 
    meta-optee        = "HEAD:d84874bad834657dd04ea69c35a74dd9dbd535b8"
    meta              = "HEAD:ddf907ca95a19f54785079b4396935273b3747f6"
    
    Initialising tasks: 100% |####################################################################################################################################################################| Time: 0:00:04
    NOTE: Executing SetScene Tasks
    NOTE: Executing RunQueue Tasks
    WARNING: linux-ti-staging-4.9.28+gitAUTOINC+eed43d1050-r7c.arago5.tisdk3 do_fetch: Failed to fetch URL git://git.ti.com/processor-sdk/processor-sdk-linux.git;protocol=git;branch=processor-sdk-linux-04.00.00, attempting MIRRORS if available
    ERROR: linux-ti-staging-4.9.28+gitAUTOINC+eed43d1050-r7c.arago5.tisdk3 do_fetch: Fetcher failure: Fetch command export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-5mLzoGSbMO"; export SSH_AUTH_SOCK="/run/user/0/keyring-Kn0RlV/ssh"; export GIT_PROXY_COMMAND="oe-git-proxy"; export all_proxy="socks5://127.0.0.1:20000/"; export ALL_PROXY="socks5://127.0.0.1:20000/"; export no_proxy="example.com"; export NO_PROXY="example.com"; export ftp_proxy="http://127.0.0.1:20000/"; export https_proxy="https://127.0.0.1:20000/"; export http_proxy="http://127.0.0.1:20000/"; export PATH="/root/psdk/tisdk/sources/oe-core/scripts:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin/arm-linux-gnueabi:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/am57xx-evm/usr/bin/crossscripts:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/sbin:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/sbin:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/bin:/root/psdk/rt_sdk/ti-processor-sdk-linux-rt-am57xx-evm-04.00.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/bin:/root/psdk/tisdk/sources/meta-browser/scripts:/root/psdk/tisdk/sources/oe-core/scripts:/root/psdk/tisdk/sources/bitbake/bin:/root/psdk/tisdk/sources/meta-browser/scripts:/root/psdk/tisdk/sources/oe-core/scripts:/root/psdk/tisdk/sources/bitbake/bin:/root/psdk/tisdk/sources/meta-browser/scripts:/root/psdk/tisdk/sources/oe-core/scripts:/root/psdk/tisdk/sources/bitbake/bin:/root/psdk/tisdk/sources/meta-browser/scripts:/root/psdk/tisdk/sources/oe-core/scripts:/root/psdk/tisdk/sources/bitbake/bin:/root/psdk/tisdk/sources/meta-browser/scripts:/root/psdk/tisdk/sources/oe-core/scripts:/root/psdk/tisdk/sources/bitbake/bin:/root/psdk/tisdk/sources/meta-browser/scripts:/root/psdk/tisdk/sources/oe-core/scripts:/root/psdk/tisdk/sources/bitbake/bin:/root/psdk/tisdk/sources/meta-browser/scripts:/root/psdk/tisdk/sources/oe-core/scripts:/root/psdk/tisdk/sources/bitbake/bin:/root/psdk/rt_sdk/ti-processor-sdk-linux-rt-am57xx-evm-04.00.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"; export HOME="/root"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror git://git.ti.com/processor-sdk/processor-sdk-linux.git /root/psdk/tisdk/downloads/git2/git.ti.com.processor-sdk.processor-sdk-linux.git --progress failed with exit code 128, output:
    Cloning into bare repository '/root/psdk/tisdk/downloads/git2/git.ti.com.processor-sdk.processor-sdk-linux.git'...
    fatal: The remote end hung up unexpectedly
    
    ERROR: linux-ti-staging-4.9.28+gitAUTOINC+eed43d1050-r7c.arago5.tisdk3 do_fetch: Fetcher failure for URL: 'git://git.ti.com/processor-sdk/processor-sdk-linux.git;protocol=git;branch=processor-sdk-linux-04.00.00'. Unable to fetch URL from any source.
    ERROR: linux-ti-staging-4.9.28+gitAUTOINC+eed43d1050-r7c.arago5.tisdk3 do_fetch: Function failed: base_do_fetch
    ERROR: Logfile of failure stored in: /root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/linux-ti-staging/4.9.28+gitAUTOINC+eed43d1050-r7c.arago5.tisdk3/temp/log.do_fetch.3950
    ERROR: Task (/root/psdk/tisdk/sources/meta-ti/recipes-kernel/linux/linux-ti-staging_4.9.bb:do_fetch) failed with exit code '1'
    ERROR: external-linaro-toolchain-2016.11-r0.arago35.tisdk0 do_install: Function failed: do_install (log file is located at /root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/external-linaro-toolchain/2016.11-r0.arago35.tisdk0/temp/log.do_install.4198)
    ERROR: Logfile of failure stored in: /root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/external-linaro-toolchain/2016.11-r0.arago35.tisdk0/temp/log.do_install.4198
    Log data follows:
    | DEBUG: Executing shell function do_install
    | cp: cannot stat ‘/root/psdk/rt_sdk/ti-processor-sdk-linux-rt-am57xx-evm-04.00.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/arm-linux-gnueabihf/libc/usr/share/*’: No such file or directory
    | WARNING: /root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/external-linaro-toolchain/2016.11-r0.arago35.tisdk0/temp/run.do_install.4198:1 exit 1 from 'cp -a /root/psdk/rt_sdk/ti-processor-sdk-linux-rt-am57xx-evm-04.00.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/arm-linux-gnueabihf/libc/usr/share/* /root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/external-linaro-toolchain/2016.11-r0.arago35.tisdk0/image/usr/share'
    | ERROR: Function failed: do_install (log file is located at /root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/external-linaro-toolchain/2016.11-r0.arago35.tisdk0/temp/log.do_install.4198)
    ERROR: Task (/root/psdk/tisdk/sources/meta-linaro/meta-linaro-toolchain/recipes-devtools/external-linaro-toolchain/external-linaro-toolchain.bb:do_install) failed with exit code '1'
    NOTE: Tasks Summary: Attempted 517 tasks of which 503 didn't need to be rerun and 2 failed.
    
    Summary: 2 tasks failed:
      /root/psdk/tisdk/sources/meta-ti/recipes-kernel/linux/linux-ti-staging_4.9.bb:do_fetch
      /root/psdk/tisdk/sources/meta-linaro/meta-linaro-toolchain/recipes-devtools/external-linaro-toolchain/external-linaro-toolchain.bb:do_install
    Summary: There was 1 WARNING message shown.
    Summary: There were 4 ERROR messages shown, returning a non-zero exit code.
    [root@zengjia_vivado:build#] 

    [root@zengjia_vivado:~#]
    [root@zengjia_vivado:~#] git clone git://git.ti.com/processor-sdk/processor-sdk-linux.git
    Cloning into 'processor-sdk-linux'...
    fatal: The remote end hung up unexpectedly
    [root@zengjia_vivado:~#]

  • [root@zengjia_vivado:build#] MACHINE=am57xx-evm bitbake arago-base-tisdk-image
    Loading cache: 100% |#########################################################################################################################################################################| Time: 0:00:01
    Loaded 3236 entries from dependency cache.
    NOTE: Resolving any missing task queue dependencies
    
    Build Configuration:
    BB_VERSION        = "1.32.0"
    BUILD_SYS         = "x86_64-linux"
    NATIVELSBSTRING   = "Ubuntu-14.04"
    TARGET_SYS        = "arm-linux-gnueabi"
    MACHINE           = "am57xx-evm"
    DISTRO            = "arago"
    DISTRO_VERSION    = "2017.05"
    TUNE_FEATURES     = "arm armv7a vfp thumb neon       callconvention-hard"
    TARGET_FPU        = "hard"
    meta-processor-sdk = "HEAD:3d2f620a6a98b1b6abb1103d7dc986921436ed19"
    meta-arago-distro 
    meta-arago-extras = "HEAD:b727bf8fce8e9cb5a6b5d5b48c45f0088e67eb53"
    meta-browser      = "HEAD:880a7bd1d3b9a1b2003f5b0620350f03158bbd43"
    meta-qt5          = "HEAD:3601fd2c5306ac6d5d0d536e0be8cbb90da9b4c1"
    meta-networking   
    meta-ruby         
    meta-python       
    meta-oe           
    meta-gnome        = "HEAD:fe5c83312de11e80b85680ef237f8acb04b4b26e"
    meta-ti           = "HEAD:41d6fdc0fe5ea6054616cfccda13baac3ff33791"
    meta-linaro-toolchain 
    meta-optee        = "HEAD:d84874bad834657dd04ea69c35a74dd9dbd535b8"
    meta              = "HEAD:ddf907ca95a19f54785079b4396935273b3747f6"
    
    Initialising tasks: 100% |####################################################################################################################################################################| Time: 0:00:04
    NOTE: Executing SetScene Tasks
    NOTE: Executing RunQueue Tasks
    ERROR: external-linaro-toolchain-2016.11-r0.arago35.tisdk0 do_install: Function failed: do_install (log file is located at /root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/external-linaro-toolchain/2016.11-r0.arago35.tisdk0/temp/log.do_install.102929)
    ERROR: Logfile of failure stored in: /root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/external-linaro-toolchain/2016.11-r0.arago35.tisdk0/temp/log.do_install.102929
    Log data follows:
    | DEBUG: Executing shell function do_install
    | cp: cannot stat ‘/root/psdk/rt_sdk/ti-processor-sdk-linux-rt-am57xx-evm-04.00.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/arm-linux-gnueabihf/libc/usr/share/*’: No such file or directory
    | WARNING: /root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/external-linaro-toolchain/2016.11-r0.arago35.tisdk0/temp/run.do_install.102929:1 exit 1 from 'cp -a /root/psdk/rt_sdk/ti-processor-sdk-linux-rt-am57xx-evm-04.00.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/arm-linux-gnueabihf/libc/usr/share/* /root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/external-linaro-toolchain/2016.11-r0.arago35.tisdk0/image/usr/share'
    | ERROR: Function failed: do_install (log file is located at /root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/external-linaro-toolchain/2016.11-r0.arago35.tisdk0/temp/log.do_install.102929)
    ERROR: Task (/root/psdk/tisdk/sources/meta-linaro/meta-linaro-toolchain/recipes-devtools/external-linaro-toolchain/external-linaro-toolchain.bb:do_install) failed with exit code '1'
    Waiting for 1 running tasks to finish:

  • Hello user3873190,

    user3873190 said:
    cp: cannot stat ‘/root/factory/linux-devkit/sysroots/x86_64-arago-linux/usr/arm-linux-gnueabihf/libc/usr/share/*’: No such file or directory

    This error indicates that you have not changed the default terminal shell to bash and you are using dash. To change this, run this command.

    $ sudo dpkg-reconfigure dash
    (Select "No" when prompted)

    To pre-fetch the kernel source, please refer to this post.

    Best regards,
    Kemal

  • I‘m shell is bash.

    log info:

    [root@zengjia_vivado:build#] 
    [root@zengjia_vivado:build#] 
    [root@zengjia_vivado:build#] 
    [root@zengjia_vivado:build#] ls /bin/sh -l
    lrwxrwxrwx 1 root root 4 Aug 20  2018 /bin/sh -> bash
    [root@zengjia_vivado:build#] 
    [root@zengjia_vivado:build#] ls -l /root/psdk/rt_sdk/ti-processor-sdk-linux-rt-am57xx-evm-04.00.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/arm-linux-gnueabihf/libc/usr/share/
    ls: cannot access /root/psdk/rt_sdk/ti-processor-sdk-linux-rt-am57xx-evm-04.00.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/arm-linux-gnueabihf/libc/usr/share/: No such file or directory
    [root@zengjia_vivado:build#] 
    [root@zengjia_vivado:build#] 
    [root@zengjia_vivado:build#] 
    [root@zengjia_vivado:build#] ls -l /root/psdk/rt_sdk/ti-processor-sdk-linux-rt-am57xx-evm-04.00.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/arm-linux-gnueabihf/libc/usr/
    total 8
    lrwxrwxrwx 1 root root 128 Jul 19 15:39 include -> /root/psdk/rt_sdk/ti-processor-sdk-linux-rt-am57xx-evm-04.00.00.04/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi/usr/include
    lrwxrwxrwx 1 root root 124 Jul 19 15:39 lib -> /root/psdk/rt_sdk/ti-processor-sdk-linux-rt-am57xx-evm-04.00.00.04/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi/usr/lib
    [root@zengjia_vivado:build#] 
    

  • Now the compilation project still has problems, the log is as follows:

    #] 
    [root@zengjia_vivado:build#] 
    [root@zengjia_vivado:build#] MACHINE=am57xx-evm bitbake arago-base-tisdk-image
    Loading cache: 100% |#########################################################################################################################################################################| Time: 0:00:01
    Loaded 3236 entries from dependency cache.
    NOTE: Resolving any missing task queue dependencies
    
    Build Configuration:
    BB_VERSION        = "1.32.0"
    BUILD_SYS         = "x86_64-linux"
    NATIVELSBSTRING   = "Ubuntu-14.04"
    TARGET_SYS        = "arm-linux-gnueabi"
    MACHINE           = "am57xx-evm"
    DISTRO            = "arago"
    DISTRO_VERSION    = "2017.05"
    TUNE_FEATURES     = "arm armv7a vfp thumb neon       callconvention-hard"
    TARGET_FPU        = "hard"
    meta-processor-sdk = "HEAD:3d2f620a6a98b1b6abb1103d7dc986921436ed19"
    meta-arago-distro 
    meta-arago-extras = "HEAD:b727bf8fce8e9cb5a6b5d5b48c45f0088e67eb53"
    meta-browser      = "HEAD:880a7bd1d3b9a1b2003f5b0620350f03158bbd43"
    meta-qt5          = "HEAD:3601fd2c5306ac6d5d0d536e0be8cbb90da9b4c1"
    meta-networking   
    meta-ruby         
    meta-python       
    meta-oe           
    meta-gnome        = "HEAD:fe5c83312de11e80b85680ef237f8acb04b4b26e"
    meta-ti           = "HEAD:41d6fdc0fe5ea6054616cfccda13baac3ff33791"
    meta-linaro-toolchain 
    meta-optee        = "HEAD:d84874bad834657dd04ea69c35a74dd9dbd535b8"
    meta              = "HEAD:ddf907ca95a19f54785079b4396935273b3747f6"
    
    Initialising tasks: 100% |####################################################################################################################################################################| Time: 0:00:06
    NOTE: Executing SetScene Tasks
    NOTE: Executing RunQueue Tasks
    ERROR: systemd-1_230+gitAUTOINC+3a74d4fc90-r0.arago3 do_unpack: Fetcher failure: Fetch command export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-adAEbKDvZU"; export SSH_AUTH_SOCK="/run/user/0/keyring-SqlrT9/ssh"; export GIT_PROXY_COMMAND="oe-git-proxy"; export all_proxy="socks5://127.0.0.1:20000/"; export ALL_PROXY="socks5://127.0.0.1:20000/"; export no_proxy="example.com"; export NO_PROXY="example.com"; export ftp_proxy="http://127.0.0.1:20000/"; export https_proxy="https://127.0.0.1:20000/"; export http_proxy="http://127.0.0.1:20000/"; export PATH="/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin/perl-native:/root/psdk/tisdk/sources/oe-core/scripts:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin/arm-linux-gnueabi:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/am57xx-evm/usr/bin/crossscripts:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/sbin:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/sbin:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/bin:/root/psdk/rt_sdk/ti-processor-sdk-linux-rt-am57xx-evm-04.00.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/bin:/root/psdk/tisdk/sources/meta-browser/scripts:/root/psdk/tisdk/sources/oe-core/scripts:/root/psdk/tisdk/sources/bitbake/bin:/root/psdk/tisdk/sources/meta-browser/scripts:/root/psdk/tisdk/sources/oe-core/scripts:/root/psdk/tisdk/sources/bitbake/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/root/psdk/rt_sdk/ti-processor-sdk-linux-rt-am57xx-evm-04.00.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/bin"; export HOME="/root"; git -c core.fsyncobjectfiles=0 branch --set-upstream master origin/master failed with exit code 128, output:
    fatal: the '--set-upstream' option is no longer supported. Please use '--track' or '--set-upstream-to' instead.
    
    ERROR: systemd-1_230+gitAUTOINC+3a74d4fc90-r0.arago3 do_unpack: Function failed: base_do_unpack
    ERROR: Logfile of failure stored in: /root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/systemd/1_230+gitAUTOINC+3a74d4fc90-r0.arago3/temp/log.do_unpack.53411
    ERROR: Task (/root/psdk/tisdk/sources/oe-core/meta/recipes-core/systemd/systemd_230.bb:do_unpack) failed with exit code '1'
    ERROR: external-linaro-toolchain-2016.11-r0.arago35.tisdk0 do_install: Function failed: do_install (log file is located at /root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/external-linaro-toolchain/2016.11-r0.arago35.tisdk0/temp/log.do_install.53552)
    ERROR: Logfile of failure stored in: /root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/external-linaro-toolchain/2016.11-r0.arago35.tisdk0/temp/log.do_install.53552
    Log data follows:
    | DEBUG: Executing shell function do_install
    | cp: cannot stat ‘/root/psdk/rt_sdk/ti-processor-sdk-linux-rt-am57xx-evm-04.00.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/arm-linux-gnueabihf/libc/usr/share/*’: No such file or directory
    | WARNING: /root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/external-linaro-toolchain/2016.11-r0.arago35.tisdk0/temp/run.do_install.53552:1 exit 1 from 'cp -a /root/psdk/rt_sdk/ti-processor-sdk-linux-rt-am57xx-evm-04.00.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/arm-linux-gnueabihf/libc/usr/share/* /root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/external-linaro-toolchain/2016.11-r0.arago35.tisdk0/image/usr/share'
    | ERROR: Function failed: do_install (log file is located at /root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/external-linaro-toolchain/2016.11-r0.arago35.tisdk0/temp/log.do_install.53552)
    ERROR: Task (/root/psdk/tisdk/sources/meta-linaro/meta-linaro-toolchain/recipes-devtools/external-linaro-toolchain/external-linaro-toolchain.bb:do_install) failed with exit code '1'
    NOTE: Tasks Summary: Attempted 669 tasks of which 661 didn't need to be rerun and 2 failed.
    
    Summary: 2 tasks failed:
      /root/psdk/tisdk/sources/oe-core/meta/recipes-core/systemd/systemd_230.bb:do_unpack
      /root/psdk/tisdk/sources/meta-linaro/meta-linaro-toolchain/recipes-devtools/external-linaro-toolchain/external-linaro-toolchain.bb:do_install
    Summary: There were 3 ERROR messages shown, returning a non-zero exit code.
    [root@zengjia_vivado:build#] 

  • [root@zengjia_vivado:build#] cat /root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/external-linaro-toolchain/2016.11-r0.arago35.tisdk0/temp/log.do_install.53552
    DEBUG: Executing shell function do_install
    cp: cannot stat ‘/root/psdk/rt_sdk/ti-processor-sdk-linux-rt-am57xx-evm-04.00.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/arm-linux-gnueabihf/libc/usr/share/*’: No such file or directory
    WARNING: /root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/external-linaro-toolchain/2016.11-r0.arago35.tisdk0/temp/run.do_install.53552:1 exit 1 from 'cp -a /root/psdk/rt_sdk/ti-processor-sdk-linux-rt-am57xx-evm-04.00.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/arm-linux-gnueabihf/libc/usr/share/* /root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/external-linaro-toolchain/2016.11-r0.arago35.tisdk0/image/usr/share'
    ERROR: Function failed: do_install (log file is located at /root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/external-linaro-toolchain/2016.11-r0.arago35.tisdk0/temp/log.do_install.53552)
    [root@zengjia_vivado:build#] 
    [root@zengjia_vivado:build#] 
    [root@zengjia_vivado:build#] cat /root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/systemd/1_230+gitAUTOINC+3a74d4fc90-r0.arago3/temp/log.do_unpack.53411
    DEBUG: Executing python function do_unpack
    DEBUG: Executing python function base_do_unpack
    DEBUG: Running export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-adAEbKDvZU"; export SSH_AUTH_SOCK="/run/user/0/keyring-SqlrT9/ssh"; export GIT_PROXY_COMMAND="oe-git-proxy"; export all_proxy="socks5://127.0.0.1:20000/"; export ALL_PROXY="socks5://127.0.0.1:20000/"; export no_proxy="example.com"; export NO_PROXY="example.com"; export ftp_proxy="http://127.0.0.1:20000/"; export https_proxy="https://127.0.0.1:20000/"; export http_proxy="http://127.0.0.1:20000/"; export PATH="/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin/perl-native:/root/psdk/tisdk/sources/oe-core/scripts:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin/arm-linux-gnueabi:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/am57xx-evm/usr/bin/crossscripts:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/sbin:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/sbin:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/bin:/root/psdk/rt_sdk/ti-processor-sdk-linux-rt-am57xx-evm-04.00.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/bin:/root/psdk/tisdk/sources/meta-browser/scripts:/root/psdk/tisdk/sources/oe-core/scripts:/root/psdk/tisdk/sources/bitbake/bin:/root/psdk/tisdk/sources/meta-browser/scripts:/root/psdk/tisdk/sources/oe-core/scripts:/root/psdk/tisdk/sources/bitbake/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/root/psdk/rt_sdk/ti-processor-sdk-linux-rt-am57xx-evm-04.00.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/bin"; export HOME="/root"; git -c core.fsyncobjectfiles=0 clone -s -n /root/psdk/tisdk/downloads/git2/github.com.systemd.systemd.git/ /root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/systemd/1_230+gitAUTOINC+3a74d4fc90-r0.arago3/git/
    DEBUG: Running export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-adAEbKDvZU"; export SSH_AUTH_SOCK="/run/user/0/keyring-SqlrT9/ssh"; export GIT_PROXY_COMMAND="oe-git-proxy"; export all_proxy="socks5://127.0.0.1:20000/"; export ALL_PROXY="socks5://127.0.0.1:20000/"; export no_proxy="example.com"; export NO_PROXY="example.com"; export ftp_proxy="http://127.0.0.1:20000/"; export https_proxy="https://127.0.0.1:20000/"; export http_proxy="http://127.0.0.1:20000/"; export PATH="/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin/perl-native:/root/psdk/tisdk/sources/oe-core/scripts:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin/arm-linux-gnueabi:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/am57xx-evm/usr/bin/crossscripts:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/sbin:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/sbin:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/bin:/root/psdk/rt_sdk/ti-processor-sdk-linux-rt-am57xx-evm-04.00.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/bin:/root/psdk/tisdk/sources/meta-browser/scripts:/root/psdk/tisdk/sources/oe-core/scripts:/root/psdk/tisdk/sources/bitbake/bin:/root/psdk/tisdk/sources/meta-browser/scripts:/root/psdk/tisdk/sources/oe-core/scripts:/root/psdk/tisdk/sources/bitbake/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/root/psdk/rt_sdk/ti-processor-sdk-linux-rt-am57xx-evm-04.00.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/bin"; export HOME="/root"; git -c core.fsyncobjectfiles=0 remote set-url origin git://github.com/systemd/systemd.git
    DEBUG: Running export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-adAEbKDvZU"; export SSH_AUTH_SOCK="/run/user/0/keyring-SqlrT9/ssh"; export GIT_PROXY_COMMAND="oe-git-proxy"; export all_proxy="socks5://127.0.0.1:20000/"; export ALL_PROXY="socks5://127.0.0.1:20000/"; export no_proxy="example.com"; export NO_PROXY="example.com"; export ftp_proxy="http://127.0.0.1:20000/"; export https_proxy="https://127.0.0.1:20000/"; export http_proxy="http://127.0.0.1:20000/"; export PATH="/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin/perl-native:/root/psdk/tisdk/sources/oe-core/scripts:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin/arm-linux-gnueabi:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/am57xx-evm/usr/bin/crossscripts:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/sbin:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/sbin:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/bin:/root/psdk/rt_sdk/ti-processor-sdk-linux-rt-am57xx-evm-04.00.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/bin:/root/psdk/tisdk/sources/meta-browser/scripts:/root/psdk/tisdk/sources/oe-core/scripts:/root/psdk/tisdk/sources/bitbake/bin:/root/psdk/tisdk/sources/meta-browser/scripts:/root/psdk/tisdk/sources/oe-core/scripts:/root/psdk/tisdk/sources/bitbake/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/root/psdk/rt_sdk/ti-processor-sdk-linux-rt-am57xx-evm-04.00.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/bin"; export HOME="/root"; git -c core.fsyncobjectfiles=0 checkout -B master 3a74d4fc90cb322a4784a3515bef7118c8f8c5ba
    DEBUG: Running export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-adAEbKDvZU"; export SSH_AUTH_SOCK="/run/user/0/keyring-SqlrT9/ssh"; export GIT_PROXY_COMMAND="oe-git-proxy"; export all_proxy="socks5://127.0.0.1:20000/"; export ALL_PROXY="socks5://127.0.0.1:20000/"; export no_proxy="example.com"; export NO_PROXY="example.com"; export ftp_proxy="http://127.0.0.1:20000/"; export https_proxy="https://127.0.0.1:20000/"; export http_proxy="http://127.0.0.1:20000/"; export PATH="/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin/perl-native:/root/psdk/tisdk/sources/oe-core/scripts:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin/arm-linux-gnueabi:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/am57xx-evm/usr/bin/crossscripts:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/sbin:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/sbin:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/bin:/root/psdk/rt_sdk/ti-processor-sdk-linux-rt-am57xx-evm-04.00.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/bin:/root/psdk/tisdk/sources/meta-browser/scripts:/root/psdk/tisdk/sources/oe-core/scripts:/root/psdk/tisdk/sources/bitbake/bin:/root/psdk/tisdk/sources/meta-browser/scripts:/root/psdk/tisdk/sources/oe-core/scripts:/root/psdk/tisdk/sources/bitbake/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/root/psdk/rt_sdk/ti-processor-sdk-linux-rt-am57xx-evm-04.00.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/bin"; export HOME="/root"; git -c core.fsyncobjectfiles=0 branch --set-upstream master origin/master
    ERROR: Fetcher failure: Fetch command export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-adAEbKDvZU"; export SSH_AUTH_SOCK="/run/user/0/keyring-SqlrT9/ssh"; export GIT_PROXY_COMMAND="oe-git-proxy"; export all_proxy="socks5://127.0.0.1:20000/"; export ALL_PROXY="socks5://127.0.0.1:20000/"; export no_proxy="example.com"; export NO_PROXY="example.com"; export ftp_proxy="http://127.0.0.1:20000/"; export https_proxy="https://127.0.0.1:20000/"; export http_proxy="http://127.0.0.1:20000/"; export PATH="/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin/perl-native:/root/psdk/tisdk/sources/oe-core/scripts:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin/arm-linux-gnueabi:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/am57xx-evm/usr/bin/crossscripts:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/sbin:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/sbin:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/bin:/root/psdk/rt_sdk/ti-processor-sdk-linux-rt-am57xx-evm-04.00.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/bin:/root/psdk/tisdk/sources/meta-browser/scripts:/root/psdk/tisdk/sources/oe-core/scripts:/root/psdk/tisdk/sources/bitbake/bin:/root/psdk/tisdk/sources/meta-browser/scripts:/root/psdk/tisdk/sources/oe-core/scripts:/root/psdk/tisdk/sources/bitbake/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/root/psdk/rt_sdk/ti-processor-sdk-linux-rt-am57xx-evm-04.00.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/bin"; export HOME="/root"; git -c core.fsyncobjectfiles=0 branch --set-upstream master origin/master failed with exit code 128, output:
    fatal: the '--set-upstream' option is no longer supported. Please use '--track' or '--set-upstream-to' instead.
    
    DEBUG: Python function base_do_unpack finished
    DEBUG: Python function do_unpack finished
    ERROR: Function failed: base_do_unpack
    [root@zengjia_vivado:build#] 
    

  • Hello:

    I modified the corresponding file according to the following link:

    http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=morty&id=6da3e0a0abf1251db243548639979f8d74e99766

    He still makes mistakes:

    [root@zengjia_vivado:build#] 
    [root@zengjia_vivado:build#] MACHINE=am57xx-evm bitbake arago-base-tisdk-image
    Loading cache: 100% |#########################################################################################################################################################################| Time: 0:00:01
    Loaded 3236 entries from dependency cache.
    NOTE: Resolving any missing task queue dependencies
    
    Build Configuration:
    BB_VERSION        = "1.32.0"
    BUILD_SYS         = "x86_64-linux"
    NATIVELSBSTRING   = "Ubuntu-14.04"
    TARGET_SYS        = "arm-linux-gnueabi"
    MACHINE           = "am57xx-evm"
    DISTRO            = "arago"
    DISTRO_VERSION    = "2017.05"
    TUNE_FEATURES     = "arm armv7a vfp thumb neon       callconvention-hard"
    TARGET_FPU        = "hard"
    meta-processor-sdk = "HEAD:3d2f620a6a98b1b6abb1103d7dc986921436ed19"
    meta-arago-distro 
    meta-arago-extras = "HEAD:b727bf8fce8e9cb5a6b5d5b48c45f0088e67eb53"
    meta-browser      = "HEAD:880a7bd1d3b9a1b2003f5b0620350f03158bbd43"
    meta-qt5          = "HEAD:3601fd2c5306ac6d5d0d536e0be8cbb90da9b4c1"
    meta-networking   
    meta-ruby         
    meta-python       
    meta-oe           
    meta-gnome        = "HEAD:fe5c83312de11e80b85680ef237f8acb04b4b26e"
    meta-ti           = "HEAD:41d6fdc0fe5ea6054616cfccda13baac3ff33791"
    meta-linaro-toolchain 
    meta-optee        = "HEAD:d84874bad834657dd04ea69c35a74dd9dbd535b8"
    meta              = "HEAD:ddf907ca95a19f54785079b4396935273b3747f6"
    
    Initialising tasks: 100% |####################################################################################################################################################################| Time: 0:00:06
    NOTE: Executing SetScene Tasks
    NOTE: Executing RunQueue Tasks
    ERROR: systemd-1_230+gitAUTOINC+3a74d4fc90-r0.arago3 do_unpack: Fetcher failure: Fetch command export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-adAEbKDvZU"; export SSH_AUTH_SOCK="/run/user/0/keyring-SqlrT9/ssh"; export GIT_PROXY_COMMAND="oe-git-proxy"; export all_proxy="socks5://127.0.0.1:20000/"; export ALL_PROXY="socks5://127.0.0.1:20000/"; export no_proxy="example.com"; export NO_PROXY="example.com"; export ftp_proxy="http://127.0.0.1:20000/"; export https_proxy="https://127.0.0.1:20000/"; export http_proxy="http://127.0.0.1:20000/"; export PATH="/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin/perl-native:/root/psdk/tisdk/sources/oe-core/scripts:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin/arm-linux-gnueabi:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/am57xx-evm/usr/bin/crossscripts:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/sbin:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/sbin:/root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/bin:/root/psdk/rt_sdk/ti-processor-sdk-linux-rt-am57xx-evm-04.00.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/bin:/root/psdk/tisdk/sources/meta-browser/scripts:/root/psdk/tisdk/sources/oe-core/scripts:/root/psdk/tisdk/sources/bitbake/bin:/root/psdk/tisdk/sources/meta-browser/scripts:/root/psdk/tisdk/sources/oe-core/scripts:/root/psdk/tisdk/sources/bitbake/bin:/root/psdk/tisdk/sources/meta-browser/scripts:/root/psdk/tisdk/sources/oe-core/scripts:/root/psdk/tisdk/sources/bitbake/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/root/psdk/rt_sdk/ti-processor-sdk-linux-rt-am57xx-evm-04.00.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/bin"; export HOME="/root"; git -c core.fsyncobjectfiles=0 branch --set-upstream-to master origin/master failed with exit code 128, output:
    fatal: branch 'origin/master' does not exist
    
    ERROR: systemd-1_230+gitAUTOINC+3a74d4fc90-r0.arago3 do_unpack: Function failed: base_do_unpack
    ERROR: Logfile of failure stored in: /root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/systemd/1_230+gitAUTOINC+3a74d4fc90-r0.arago3/temp/log.do_unpack.59522
    ERROR: Task (/root/psdk/tisdk/sources/oe-core/meta/recipes-core/systemd/systemd_230.bb:do_unpack) failed with exit code '1'
    ERROR: external-linaro-toolchain-2016.11-r0.arago35.tisdk0 do_install: Function failed: do_install (log file is located at /root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/external-linaro-toolchain/2016.11-r0.arago35.tisdk0/temp/log.do_install.59769)
    ERROR: Logfile of failure stored in: /root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/external-linaro-toolchain/2016.11-r0.arago35.tisdk0/temp/log.do_install.59769
    Log data follows:
    | DEBUG: Executing shell function do_install
    | cp: cannot stat ‘/root/psdk/rt_sdk/ti-processor-sdk-linux-rt-am57xx-evm-04.00.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/arm-linux-gnueabihf/libc/usr/share/*’: No such file or directory
    | WARNING: /root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/external-linaro-toolchain/2016.11-r0.arago35.tisdk0/temp/run.do_install.59769:1 exit 1 from 'cp -a /root/psdk/rt_sdk/ti-processor-sdk-linux-rt-am57xx-evm-04.00.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/arm-linux-gnueabihf/libc/usr/share/* /root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/external-linaro-toolchain/2016.11-r0.arago35.tisdk0/image/usr/share'
    | ERROR: Function failed: do_install (log file is located at /root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/external-linaro-toolchain/2016.11-r0.arago35.tisdk0/temp/log.do_install.59769)
    ERROR: Task (/root/psdk/tisdk/sources/meta-linaro/meta-linaro-toolchain/recipes-devtools/external-linaro-toolchain/external-linaro-toolchain.bb:do_install) failed with exit code '1'
    NOTE: Tasks Summary: Attempted 710 tasks of which 695 didn't need to be rerun and 2 failed.
    
    Summary: 2 tasks failed:
      /root/psdk/tisdk/sources/oe-core/meta/recipes-core/systemd/systemd_230.bb:do_unpack
      /root/psdk/tisdk/sources/meta-linaro/meta-linaro-toolchain/recipes-devtools/external-linaro-toolchain/external-linaro-toolchain.bb:do_install
    Summary: There were 3 ERROR messages shown, returning a non-zero exit code.
    [root@zengjia_vivado:build#] 
    

  • fatal: the '--set-upstream' option is no longer supported.


    Please, apply this patch to fix this issue.

    cd <tisdk>/sources/bitbake/
    git apply 0001-bitbake-Change-set-upstream-to-set-upstream-to.patch

    For the rest of the issues, please start to build from the beginning and use only one tool-chain path. Comment out the rest of these.

    export PATH=$PATH:/root/factory/linux-devkit/sysroots/x86_64-arago-linux/usr/bin
    #export PATH=$PATH:/root/f***_dsp/linux-devkit/sysroots/x86_64-arago-linux/usr/bin
    export TOOLCHAIN_PATH_ARMV7=/root/psdk/cross_compile/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabihf
    export TOOLCHAIN_PATH_ARMV8=/root/psdk/cross_compile/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu
  • hello:

    Are the following two environment variables not required during compilation?

    The export PATH = $PATH: / root/factory/Linux - devkit/sysroots/x86_64 - arago - Linux/usr/bin

    # export PATH = $PATH: / root/f***_dsp/Linux - devkit/sysroots/x86_64 - arago - Linux/usr/bin

  • Hello:

        Now,I have only one cross-compilation chain environment variable :export PATH=/root/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabihf/bin:$PATH

        At present, the preliminary work has been completed, and the configuration and compilation have begun.

        Thank you very much for your support!!!!!

  • Yes. You need to export only one tool-chain path for AM57xx processor-sdk-04.00.00.04-config.txt file.

    $ export PATH=$HOME/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin:$PATH