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/DRA746: Linux/TDA2EVM5777: Compiling Kernel with packages, and applying changes to .config file

Part Number: DRA746


Tool/software: Linux

Hello,

I originally posted my question about updating the kernel and .config file under this link using the PROCESSOR_SDK_VISION_03_01_00_00, but was redirected to try compiling and using the ti-processor-sdk-linux-automotive-dra7xx-evm-03_01_00_03.

I am running the TDA2EVM5777.

I just want to be able to compile a working linux operating system and be able to make easy modifications to the device tree and .config file. 


Where I left off in the other forum is that I was able to use the prebuilt kernel and rootfs on my TDA2EVM5777, but when attempting to compile it myself following the documentation, I am running into these compile errors:


[PSDKLA]>
[PSDKLA]> Current Directory is /opt/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers
[PSDKLA]> PATH is /home/user01/LinaroCrossCompilerToolchain/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin:/home/user01/LinaroCrossCompilerToolchain/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin:/opt/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/bin:/home/user01/ti/ti-processor-sdk-linux-rt-am57xx-evm-03.03.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/bin:/opt/PHYTEC_BSPs/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin:/opt/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
[PSDKLA]> Building on user01 running Linux user01 4.4.0-83-generic #106~14.04.1-Ubuntu SMP Mon Jun 26 18:10:19 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
[PSDKLA]> Starting Yocto build at Thu Jan 4 12:39:07 PST 2018
[PSDKLA]>
[PSDKLA]> cd build
[PSDKLA]> . conf/setenv
[PSDKLA]> cp conf/local.conf conf/local.conf.pristine
[PSDKLA]> MACHINE=dra7xx-evm bitbake tisdk-rootfs-image
NOTE: Started PRServer with DBfile: /opt/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 34245, PID: 22148
Loading cache: 100% |########################################################################################################################################################################| ETA: 00:00:00
Loaded 2849 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.30.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-14.04"
TARGET_SYS = "arm-linux-gnueabi"
MACHINE = "dra7xx-evm"
DISTRO = "arago"
DISTRO_VERSION = "2016.12"
TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard"
TARGET_FPU = "hard"
meta-glsdk = "HEAD:66cfd8ef55344508d6e7b306259f34c05b828194"
meta-arago-distro
meta-arago-extras = "HEAD:4c01410ffde8853224567fb6078d7d9f190b942f"
meta-qt5 = "HEAD:f8584d7a7c90afc71484a40279aa3df651d0e04f"
meta-networking 
meta-ruby 
meta-python 
meta-oe = "HEAD:55c8a76da5dc099a7bc3838495c672140cedb78e"
meta-ti = "HEAD:5f3a1169d307fec41626f850f5c700437dedbe93"
meta-linaro-toolchain
meta-optee = "HEAD:2f51d38048599d9878f149d6d15539fb97603f8f"
meta = "HEAD:bfa04fa71c47e8fe9528208848cfcec2e232777d"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: gstreamer1.0-plugins-hevc-git-r5 do_configure: Function failed: do_configure (log file is located at /opt/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/gstreamer1.0-plugins-hevc/git-r5/temp/log.do_configure.22317)
ERROR: gstreamer1.0-plugins-vpe-git-r2.16 do_configure: Function failed: do_configure (log file is located at /opt/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/dra7xx_evm-linux-gnueabi/gstreamer1.0-plugins-vpe/git-r2.16/temp/log.do_configure.22314)
ERROR: Logfile of failure stored in: /opt/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/dra7xx_evm-linux-gnueabi/gstreamer1.0-plugins-vpe/git-r2.16/temp/log.do_configure.22314
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function autotools_preconfigure
| DEBUG: Shell function autotools_preconfigure finished
| DEBUG: Executing python function autotools_copy_aclocals
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Python function autotools_copy_aclocals finished
| DEBUG: Executing shell function do_configure
| + Setting up common submodule
| Failed to run command 'submodule': Numerical result out of range
| Failed to run command 'submodule': Numerical result out of range
| There is something wrong with your source tree.
| You are missing common/gst-autogen.sh
| WARNING: /opt/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/dra7xx_evm-linux-gnueabi/gstreamer1.0-plugins-vpe/git-r2.16/temp/run.do_configure.22314:1 exit 1 from './autogen.sh --host=arm-linux --with-libtool-sysroot=/opt/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/sysroots/dra7xx-evm --prefix=/usr'
| ERROR: Function failed: do_configure (log file is located at /opt/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/dra7xx_evm-linux-gnueabi/gstreamer1.0-plugins-vpe/git-r2.16/temp/log.do_configure.22314)
ERROR: Logfile of failure stored in: /opt/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/gstreamer1.0-plugins-hevc/git-r5/temp/log.do_configure.22317
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function autotools_preconfigure
| DEBUG: Shell function autotools_preconfigure finished
| DEBUG: Executing python function autotools_copy_aclocals
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Python function autotools_copy_aclocals finished
| DEBUG: Executing shell function do_configure
| + Setting up common submodule
| Failed to run command 'submodule': Numerical result out of range
| Failed to run command 'submodule': Numerical result out of range
| There is something wrong with your source tree.
| You are missing common/gst-autogen.sh
| WARNING: /opt/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/gstreamer1.0-plugins-hevc/git-r5/temp/run.do_configure.22317:1 exit 1 from './autogen.sh --host=arm-linux --with-libtool-sysroot=/opt/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/sysroots/dra7xx-evm --prefix=/usr'
| ERROR: Function failed: do_configure (log file is located at /opt/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/gstreamer1.0-plugins-hevc/git-r5/temp/log.do_configure.22317)
ERROR: Task 6113 (/opt/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/sources/meta-arago/meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-vpe_git.bb, do_configure) failed with exit code '1'
ERROR: Task 6071 (/opt/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/sources/meta-arago/meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-hevc_git.bb, do_configure) failed with exit code '1'
ERROR: gstreamer1.0-plugins-ducati-git-r2.25_psdkla do_configure: Function failed: do_configure (log file is located at /opt/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/dra7xx_evm-linux-gnueabi/gstreamer1.0-plugins-ducati/git-r2.25_psdkla/temp/log.do_configure.22315)
ERROR: Logfile of failure stored in: /opt/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/dra7xx_evm-linux-gnueabi/gstreamer1.0-plugins-ducati/git-r2.25_psdkla/temp/log.do_configure.22315
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function autotools_preconfigure
| DEBUG: Shell function autotools_preconfigure finished
| DEBUG: Executing python function autotools_copy_aclocals
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Python function autotools_copy_aclocals finished
| DEBUG: Executing shell function do_configure
| Failed to run command 'submodule': Numerical result out of range
| + passing argument --host=arm-linux to configure
| + passing argument --with-libtool-sysroot=/opt/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/sysroots/dra7xx-evm to configure
| + passing argument --prefix=/usr to configure
| + options passed to configure: --host=arm-linux --with-libtool-sysroot=/opt/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/sysroots/dra7xx-evm --prefix=/usr
| + check for build tools
| ./autogen.sh: line 40: version_check: command not found
| ./autogen.sh: line 42: version_check: command not found
| ./autogen.sh: line 44: version_check: command not found
| ./autogen.sh: line 46: version_check: command not found
| ./autogen.sh: line 48: version_check: command not found
| ./autogen.sh: line 51: die_check: command not found
| ./autogen.sh: line 53: aclocal_check: command not found
| ./autogen.sh: line 54: autoheader_check: command not found
| ./autogen.sh: line 56: die_check: command not found
| + running --force ...
| common/gst-autogen.sh: line 108: --force: command not found
|
| --force failed
| WARNING: /opt/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/dra7xx_evm-linux-gnueabi/gstreamer1.0-plugins-ducati/git-r2.25_psdkla/temp/run.do_configure.22315:1 exit 1 from './autogen.sh --host=arm-linux --with-libtool-sysroot=/opt/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/sysroots/dra7xx-evm --prefix=/usr'
| ERROR: Function failed: do_configure (log file is located at /opt/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/dra7xx_evm-linux-gnueabi/gstreamer1.0-plugins-ducati/git-r2.25_psdkla/temp/log.do_configure.22315)
ERROR: Task 6099 (/opt/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/sources/meta-arago/meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-ducati_git.bb, do_configure) failed with exit code '1'
ERROR: gstreamer1.0-plugins-dsp66-git-r1 do_configure: Function failed: do_configure (log file is located at /opt/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/gstreamer1.0-plugins-dsp66/git-r1/temp/log.do_configure.22316)
ERROR: Logfile of failure stored in: /opt/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/gstreamer1.0-plugins-dsp66/git-r1/temp/log.do_configure.22316
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function autotools_preconfigure
| DEBUG: Shell function autotools_preconfigure finished
| DEBUG: Executing python function autotools_copy_aclocals
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Python function autotools_copy_aclocals finished
| DEBUG: Executing shell function do_configure
| + Setting up common submodule
| Failed to run command 'submodule': Numerical result out of range
| Failed to run command 'submodule': Numerical result out of range
| There is something wrong with your source tree.
| You are missing common/gst-autogen.sh
| WARNING: /opt/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/gstreamer1.0-plugins-dsp66/git-r1/temp/run.do_configure.22316:1 exit 1 from './autogen.sh --host=arm-linux --with-libtool-sysroot=/opt/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/sysroots/dra7xx-evm --prefix=/usr'
| ERROR: Function failed: do_configure (log file is located at /opt/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/gstreamer1.0-plugins-dsp66/git-r1/temp/log.do_configure.22316)
ERROR: Task 6085 (/opt/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/sources/meta-arago/meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-dsp66_git.bb, do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4214 tasks of which 4210 didn't need to be rerun and 4 failed.
NOTE: Writing buildhistory
Waiting for 0 running tasks to finish:

Summary: 4 tasks failed:
/opt/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/sources/meta-arago/meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-vpe_git.bb, do_configure
/opt/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/sources/meta-arago/meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-hevc_git.bb, do_configure
/opt/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/sources/meta-arago/meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-ducati_git.bb, do_configure
/opt/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/sources/meta-arago/meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-dsp66_git.bb, do_configure
Summary: There were 4 ERROR messages shown, returning a non-zero exit code.
[PSDKLA]>
[PSDKLA]> Completed Yocto build at Thu Jan 4 12:39:55 PST 2018
[PSDKLA]>



Is there any way for me to either fix these errors or get a working linux compiling setup with the ability to modify the device tree and rootfs?

  • Hi,

    I have forwarded your question to Yocto expert.

    Regards,
    Yordan
  • Hello Yordan,

    Thank you for your help.

    I am just checking in to see if there are any updates.

    Thanks,
    iFer
  • Hi,

    It seems like the git submodule init command failed during the configure stage.

    | Failed to run command 'submodule': Numerical result out of range
    | Failed to run command 'submodule': Numerical result out of range
    | There is something wrong with your source tree.
    | You are missing common/gst-autogen.sh

    Can you please attach the file - /opt/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/gstreamer1.0-plugins-dsp66/git-r1/temp/log.do_configure.22316 ?

    We can look into this further.

    Regards

    Karthik
  • Hello Karthik,

    Here is the file requested. I had to append a .txt file extension to be able to upload the file.

    Thank you!,
    -iFer


    Karthik Ramanan said:
    Hi,

    It seems like the git submodule init command failed during the configure stage.

    | Failed to run command 'submodule': Numerical result out of range
    | Failed to run command 'submodule': Numerical result out of range
    | There is something wrong with your source tree.
    | You are missing common/gst-autogen.sh

    Can you please attach the file - /opt/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/gstreamer1.0-plugins-dsp66/git-r1/temp/log.do_configure.22316 ?

    We can look into this further.

    Regards

    Karthik

    DEBUG: Executing python function sysroot_cleansstate
    DEBUG: Python function sysroot_cleansstate finished
    DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
    DEBUG: Executing shell function autotools_preconfigure
    DEBUG: Shell function autotools_preconfigure finished
    DEBUG: Executing python function autotools_copy_aclocals
    DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
    DEBUG: Python function autotools_copy_aclocals finished
    DEBUG: Executing shell function do_configure
    + Setting up common submodule
    Failed to run command 'submodule': Numerical result out of range
    Failed to run command 'submodule': Numerical result out of range
    There is something wrong with your source tree.
    You are missing common/gst-autogen.sh
    WARNING: /opt/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/gstreamer1.0-plugins-dsp66/git-r1/temp/run.do_configure.22316:1 exit 1 from './autogen.sh --host=arm-linux --with-libtool-sysroot=/opt/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/sysroots/dra7xx-evm --prefix=/usr'
    ERROR: Function failed: do_configure (log file is located at /opt/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/gstreamer1.0-plugins-dsp66/git-r1/temp/log.do_configure.22316)
    

  • Hello,

    How are things going? I thought I would touch base and check on the progress. Is there any more information that you need from me to help debug?

    Thank you,
    iFer
  • Hi iFer,

    I'm not really sure why this problem occured on your side, I can share the information from my build environment and then we can try some experiments on your side to root cause this further.

    .../gstreamer1.0-plugins-dsp66/git-r1/git$ git remote -v
    origin git://git.ti.com/processor-sdk/gst-plugin-dsp66.git (fetch)
    origin git://git.ti.com/processor-sdk/gst-plugin-dsp66.git (push)

    .../gstreamer1.0-plugins-dsp66/git-r1/git$ git submodule status
    ad30ca9534600465bd5ee3c42f02a37f3554f8db common (RELEASE-0_10_22-389-gad30ca9)

    .../gstreamer1.0-plugins-dsp66/git-r1/git$ cd common/

    .../gstreamer1.0-plugins-dsp66/git-r1/git/common$ git remote -v
    origin git://anongit.freedesktop.org/gstreamer/common (fetch)
    origin git://anongit.freedesktop.org/gstreamer/common (push)

    Would it be possible for you to go into "build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/gstreamer1.0-plugins-dsp66/git-r1/git" and then manually do "git submodule init" and then do "git submodule update"?

    If you are able to manually run this successfully then we can think of other ways of enabling this.

    Please share your console information of these trials.

    Regards
    Karthik
  • Hello Karthik, I have tried those commands and this is what I get. It seems like the submodule is still failing.

    Should I try to redownload the processor-sdk and retry compiling?

    bash-4.3$ git remote -v
    origin git://git.ti.com/processor-sdk/gst-plugin-dsp66.git (fetch)
    origin git://git.ti.com/processor-sdk/gst-plugin-dsp66.git (push)
    bash-4.3$ git submodule status
    Failed to run command 'submodule': Numerical result out of range
    bash-4.3$ cd common/
    bash-4.3$ git remote -v
    origin git://git.ti.com/processor-sdk/gst-plugin-dsp66.git (fetch)
    origin git://git.ti.com/processor-sdk/gst-plugin-dsp66.git (push)
    bash-4.3$ cd ../
    bash-4.3$ git submodule init
    Failed to run command 'submodule': Numerical result out of range
    bash-4.3$ git submodule update
    Failed to run command 'submodule': Numerical result out of range
    bash-4.3$
  • Hello Karthik,


    I re-downloaded the processor SDK(software-dl.ti.com/.../index_FDS.html) and attempted to recompile.


    During the compile, I ran into this compile where the compiler tried to download from a broken link (gforge.ti.com):


    user01@user01001:~/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers$ ./build-core-sdk.sh dra7xx-evm
    [PSDKLA]>
    [PSDKLA]> Current Directory is /home/user01/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers
    [PSDKLA]> PATH is /home/user01/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin/:/home/user01/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/bin:/opt/PHYTEC_BSPs/yocto_ti/sources/oe-core/scripts:/opt/PHYTEC_BSPs/yocto_ti/sources/oe-core/bitbake/bin:/opt/PHYTEC_BSPs/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin:/opt/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
    [PSDKLA]> Building on user01001 running Linux user01001 4.4.0-67-generic #88~14.04.1-Ubuntu SMP Thu Mar 9 15:30:23 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
    [PSDKLA]> Starting Yocto build at Mon Feb 12 10:08:42 PST 2018
    [PSDKLA]>
    [PSDKLA]> cd build
    [PSDKLA]> . conf/setenv
    [PSDKLA]> cp conf/local.conf conf/local.conf.pristine
    [PSDKLA]> MACHINE=dra7xx-evm bitbake tisdk-rootfs-image
    NOTE: Started PRServer with DBfile: /home/user01/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 43066, PID: 6382
    Loading cache: 100% |########################################################################################################################################################################| ETA: 00:00:00
    Loaded 2849 entries from dependency cache.
    NOTE: Resolving any missing task queue dependencies

    Build Configuration:
    BB_VERSION = "1.30.0"
    BUILD_SYS = "x86_64-linux"
    NATIVELSBSTRING = "Ubuntu-14.04"
    TARGET_SYS = "arm-linux-gnueabi"
    MACHINE = "dra7xx-evm"
    DISTRO = "arago"
    DISTRO_VERSION = "2016.12"
    TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard"
    TARGET_FPU = "hard"
    meta-glsdk = "HEAD:66cfd8ef55344508d6e7b306259f34c05b828194"
    meta-arago-distro
    meta-arago-extras = "HEAD:4c01410ffde8853224567fb6078d7d9f190b942f"
    meta-qt5 = "HEAD:f8584d7a7c90afc71484a40279aa3df651d0e04f"
    meta-networking
    meta-ruby
    meta-python
    meta-oe = "HEAD:55c8a76da5dc099a7bc3838495c672140cedb78e"
    meta-ti = "HEAD:5f3a1169d307fec41626f850f5c700437dedbe93"
    meta-linaro-toolchain
    meta-optee = "HEAD:2f51d38048599d9878f149d6d15539fb97603f8f"
    meta = "HEAD:bfa04fa71c47e8fe9528208848cfcec2e232777d"

    NOTE: Preparing RunQueue
    NOTE: Executing SetScene Tasks
    NOTE: Executing RunQueue Tasks
    WARNING: libmpc-1.0.3-r0 do_fetch: Failed to fetch URL www.multiprecision.org/.../mpc-1.0.3.tar.gz, attempting MIRRORS if available
    WARNING: hevc-arm-decoder-01.00.00.01-r3 do_fetch: Failed to fetch URL gforge.ti.com/.../REL.HEVC.D.ARM.OBJ.01.00.00.01.tar.gz, attempting MIRRORS if available
    ERROR: hevc-arm-decoder-01.00.00.01-r3 do_fetch: Fetcher failure: Fetch command failed with exit code 4, no output
    ERROR: hevc-arm-decoder-01.00.00.01-r3 do_fetch: Function failed: Fetcher failure for URL: 'gforge.ti.com/.../REL.HEVC.D.ARM.OBJ.01.00.00.01.tar.gz'. Unable to fetch URL from any source.
    ERROR: Logfile of failure stored in: /home/user01/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/hevc-arm-decoder/01.00.00.01-r3/temp/log.do_fetch.6445
    ERROR: Task 3008 (/home/user01/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/sources/meta-arago/meta-arago-extras/recipes-multimedia/hevc-arm-decoder/hevc-arm-decoder_01.00.00.01.bb, do_fetch) failed with exit code '1'
    NOTE: Tasks Summary: Attempted 2580 tasks of which 2567 didn't need to be rerun and 1 failed.
    NOTE: Writing buildhistory
    Waiting for 0 running tasks to finish:

    Summary: 1 task failed:
    /home/user01/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/sources/meta-arago/meta-arago-extras/recipes-multimedia/hevc-arm-decoder/hevc-arm-decoder_01.00.00.01.bb, do_fetch
    Summary: There were 2 WARNING messages shown.
    Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
    [PSDKLA]>
    [PSDKLA]> Completed Yocto build at Mon Feb 12 10:12:01 PST 2018
    [PSDKLA]>


    Do you know of a way to get past this error to reach a successful compile?

    Thank you,
    iFer
  • Hi iFer,

    Regarding the second compilation effort, the gforge.ti.com is no longer accessible, we need to use alternate mirrors to fetch this.
    However, since you already had an earlier build, can you please copy that file from the earlier download location?

    Please do the following:

    #Copy the file from earlier build location and place it in the new builds downloads directory.
    * cp /opt/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/downloads/REL.HEVC* /home/user01/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/downloads.

    #Rebuild
    * MACHINE=dra7xx-evm bitbake tisdk-rootfs-image

    Please let me know if that helps.

    Regards
    Karthik
  • Hello Karthik,

    I was able to get a working compile system working by doing as you said.

    Thank you very much!