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?