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/AM5718: Processor SDK Building The SDK

Part Number: AM5718


Tool/software: Linux

Dear All,

I have run the following commands for building the minimal image using the instructions from the guide. I am getting the following errors. Please share any patches or give suggestions.

toradex@C528:~$ cd tisdk
toradex@C528:~/tisdk$ ./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-04.00.00.04-config.txt

------------------------------

-------------------------------

For example:
    MACHINE=xxxxx bitbake <target>

Common targets are:
    core-image-minimal
    core-image-sato
    meta-toolchain
    meta-toolchain-sdk
    adt-installer
    meta-ide-support
toradex@C528:~/tisdk$

toradex@C528:~/tisdk$ cd build/
toradex@C528:~/tisdk/build$ .  conf/setenv
toradex@C528:~/tisdk/build$ export PATH=$HOME/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin:$PATH
toradex@C528:~/tisdk/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-16.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:09
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: u-boot-ti-staging-2017.01+gitAUTOINC+9fd60700db-r4 do_fetch: Failed to fetch URL git://git.ti.com/ti-u-boot/ti-u-boot.git;protocol=git;branch=ti-u-boot-2017.01, attempting MIRRORS if available
ERROR: u-boot-ti-staging-2017.01+gitAUTOINC+9fd60700db-r4 do_fetch: Fetcher failure: Fetch command export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-243R95y6lM"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/toradex/tisdk/sources/oe-core/scripts:/home/toradex/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin/arm-linux-gnueabi:/home/toradex/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/am57xx-evm/usr/bin/crossscripts:/home/toradex/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/sbin:/home/toradex/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin:/home/toradex/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/sbin:/home/toradex/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/bin:/home/toradex/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin:/home/toradex/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin:/home/toradex/tisdk/sources/oe-core/scripts:/home/toradex/tisdk/sources/meta-browser/scripts:/home/toradex/tisdk/sources/bitbake/bin:/home/toradex/bin:/home/toradex/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"; export HOME="/home/toradex"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror git://git.ti.com/ti-u-boot/ti-u-boot.git /home/toradex/tisdk/downloads/git2/git.ti.com.ti-u-boot.ti-u-boot.git --progress failed with exit code 128, output:
Cloning into bare repository '/home/toradex/tisdk/downloads/git2/git.ti.com.ti-u-boot.ti-u-boot.git'...
fatal: read error: Connection reset by peer

ERROR: u-boot-ti-staging-2017.01+gitAUTOINC+9fd60700db-r4 do_fetch: Fetcher failure for URL: 'git://git.ti.com/ti-u-boot/ti-u-boot.git;protocol=git;branch=ti-u-boot-2017.01'. Unable to fetch URL from any source.
ERROR: u-boot-ti-staging-2017.01+gitAUTOINC+9fd60700db-r4 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/toradex/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/u-boot-ti-staging/2017.01+gitAUTOINC+9fd60700db-r4/temp/log.do_fetch.4005
ERROR: Task (/home/toradex/tisdk/sources/meta-ti/recipes-bsp/u-boot/u-boot-ti-staging_2017.01.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3682 tasks of which 3681 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/toradex/tisdk/sources/meta-ti/recipes-bsp/u-boot/u-boot-ti-staging_2017.01.bb:do_fetch
Summary: There was 1 WARNING message shown.
Summary: There were 3 ERROR messages shown, returning a non-zero exit code.


Thanks & Regards,

N.V.Subbaiah