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.

failure while following GLSDK install guide Yocto OMAP5

Hi,

Im trying to set dev environment of GLSDK ver 6.4.0.2 according to http://downloads.ti.com/dsps/dsps_public_sw/glsdk/6_04_00_02/exports/OMAP5_GLSDK_Software_Developers_Guide.html


up to the building of the Yocto, everything works fine.

when issuing ./build-core-sdk.sh omap5-evm command, im getting the following warning and then error which stops the build (refer to BLOCK 1)

later, found on the internet to set $ARCH to arm, when doing it, im getting other error (refer to BLOCK 2)

i saw at the end the 32 /64 issue but im working on 64 bit ubuntu and according to the software developer guide i dont need to change anything.

Will appreciate any advise

BLOCK 1

In which directory do you want to place the downloads for the Yocto build ?(if this directory does not exist it will be created)
Ensure that complete path is provided.
[ /home/dev/ti-glsdk_omap5-uevm_6_04_00_02/yocto-layers/downloads ]
[GLSDK]> MACHINE=omap5-evm bitbake arago-glsdk-multimedia-image
Pseudo is not present but is required, building this first before the main build
WARNING: Unable to get checksum for ti-compat-wireless-wl18xx SRC_URI entry 0001-wl12xx-additional-two-members-for-wl12xx_platform_da.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0001-Add-linux-oe-g-platform.patch: file could not be found  00:03:05
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0003-Add-external-hostbindir-option.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0004-qt_functions-temporary-remove-isEmpty-check.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0006-Allow-building-a-separate-qmake-for-the-target.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0007-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0008-qt_module-Fix-pkgconfig-replacement.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0009-qt_module-Fix-paths-in-.prl-files.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0011-configure-don-t-export-SYSTEM_VARIABLES-to-.qmake.va.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0012-configure.prf-Allow-to-add-extra-arguments-to-make.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0013-Disable-mkv8snapshot.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0014-enables-tslib-device-to-be-read-from-env-variable.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0015-qtbase-allow-build-of-examples.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0021-configure-make-pulseaudio-a-configurable-option.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0022-configure-make-alsa-a-configurable-option.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0023-configure-make-freetype-a-configurable-option.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0024-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-to-determine-pa.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0001-Always-build-uic.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0001-configure-preserve-built-qmake-and-swap-with-native-.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0001-configure-bump-path-length-from-256-to-512-character.patch: file could not be found
NOTE: Error during finalise of /home/dev/ti-glsdk_omap5-uevm_6_04_00_02/yocto-layers/sources/oe-core/meta/recipes-rt/images/core-image-rt.bb                                                 | ETA:  00:01:28
ERROR: ExpansionError during parsing /home/dev/ti-glsdk_omap5-uevm_6_04_00_02/yocto-layers/sources/oe-core/meta/recipes-rt/images/core-image-rt.bb: Failure expanding variable toolchain_create_sdk_version: ExpansionError: Failure expanding variable METADATA_REVISION, expression was ${@base_detect_revision(d)} which triggered exception OSError: [Errno 12] Cannot allocate memory
NOTE: Error during finalise of /home/dev/ti-glsdk_omap5-uevm_6_04_00_02/yocto-layers/sources/oe-core/meta/recipes-rt/images/core-image-rt-sdk.bb
ERROR: Command execution failed: Exited with 1

Summary: There were 21 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
[GLSDK]>
[GLSDK]> Completed Yocto build at Sun Nov 23 11:51:08 PST 2014
[GLSDK]>
dev@ubuntu:~/ti-glsdk_omap5-uevm_6_04_00_02/yocto-layers$

BLOCK 2

[GLSDK]> cp conf/local.conf conf/local.conf.pristine

[GLSDK]> echo ARAGO_BRAND = "glsdk" >> conf/local.conf
In which directory do you want to place the downloads for the Yocto build ?(if this directory does not exist it will be created)
Ensure that complete path is provided.
[ /home/dev/ti-glsdk_omap5-uevm_6_04_00_02/yocto-layers/downloads ]
[GLSDK]> MACHINE=omap5-evm bitbake arago-glsdk-multimedia-image
Pseudo is not present but is required, building this first before the main build
Loading cache: 100% |########################################################################################################################################################################| ETA:  00:00:00
Loaded 1195 entries from dependency cache.
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0001-Add-linux-oe-g-platform.patch: file could not be found                                                               | ETA:  00:01:16
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0003-Add-external-hostbindir-option.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0004-qt_functions-temporary-remove-isEmpty-check.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0006-Allow-building-a-separate-qmake-for-the-target.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0007-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0008-qt_module-Fix-pkgconfig-replacement.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0009-qt_module-Fix-paths-in-.prl-files.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0011-configure-don-t-export-SYSTEM_VARIABLES-to-.qmake.va.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0012-configure.prf-Allow-to-add-extra-arguments-to-make.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0013-Disable-mkv8snapshot.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0014-enables-tslib-device-to-be-read-from-env-variable.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0015-qtbase-allow-build-of-examples.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0021-configure-make-pulseaudio-a-configurable-option.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0022-configure-make-alsa-a-configurable-option.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0023-configure-make-freetype-a-configurable-option.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0024-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-to-determine-pa.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0001-Always-build-uic.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0001-configure-preserve-built-qmake-and-swap-with-native-.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0001-configure-bump-path-length-from-256-to-512-character.patch: file could not be found
Parsing recipes: 100% |######################################################################################################################################################################| Time: 00:01:49
Parsing of 1638 .bb files complete (901 cached, 737 parsed). 2023 targets, 103 skipped, 0 masked, 0 errors.
WARNING: No recipes available for:
  /home/dev/ti-glsdk_omap5-uevm_6_04_00_02/yocto-layers/sources/meta-qt5/recipes-devtools/cmake/cmake_2.8.12.1.bbappend
  /home/dev/ti-glsdk_omap5-uevm_6_04_00_02/yocto-layers/sources/meta-arago/meta-arago-extras/recipes-connectivity/inetutils/inetutils_1.8.bbappend

Build Configuration:
BB_VERSION        = "1.18.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-12.04"
TARGET_SYS        = "arm-oe-linux-gnueabi"
MACHINE           = "omap5-evm"
DISTRO            = "arago"
DISTRO_VERSION    = "2013.10"
TUNE_FEATURES     = "armv7a vfp thumb neon callconvention-hard cortexa15"
TARGET_FPU        = "vfp-neon"
meta-arago-distro
meta-arago-extras = "(nobranch):283813dffe8633af04c87faedb4c601518fa3a9c"
meta-qt5          = "(nobranch):775d77e482f1ea203c78003cccd2547075fd720f"
toolchain-layer   
meta-networking   
meta-ruby         
meta-oe           = "(nobranch):44754206632dd5b0725aeb43e99e4ff9e0245dca"
meta-ti           = "(nobranch):2a3aa0fedbcf5419af60cb97f01d15c1acdedd03"
meta-linaro-toolchain = "(nobranch):c9f78d6eff14ada3f2bc960e81883b27a10afecc"
meta              = "(nobranch):394fa61d00b97c19610bfb38f02174c4e8aeeb15"

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: do_compile (see /home/dev/ti-glsdk_omap5-uevm_6_04_00_02/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/pseudo-native/1.5.1-r3/temp/log.do_compile.53447 for further information)
ERROR: Logfile of failure stored in: /home/dev/ti-glsdk_omap5-uevm_6_04_00_02/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/pseudo-native/1.5.1-r3/temp/log.do_compile.53447
Log data follows:
| DEBUG: Executing shell function do_compile
| WARNING: Can't find stubs-32.h, but usually need it to build 32-bit libpseudo.
| If the build fails, install 32-bit developer packages.
| If you are using 32-bit binaries, the 32-bit libpseudo is NOT optional.
| make: *** No rule to make target `distclean'.  Stop.
| WARNING: Guessing architecture CFLAGS '-m32'.
| If you need specific flags, use --cflags.
| SQLite header for version 3007015 found in /home/dev/ti-glsdk_omap5-uevm_6_04_00_02/yocto-layers/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr.
| Enabling in-memory database by default.
| NOTE: make -j 1 -e MAKEFLAGS= libpseudo
| mkdir -p lib/pseudo/lib
| ./makewrappers
| Checking for old/new clone mechanics...New clone.
| common
| ports/common/wrapfuncs.in: .......
| linux
| ports/linux/wrapfuncs.in: ................................................................
| unix
| ports/unix/wrapfuncs.in: ................................................................
| uids_generic
| ports/uids_generic/wrapfuncs.in: ........................
| linux/newclone
| ports/linux/newclone/wrapfuncs.in: .
| Writing functions... Warning: lchown from linux overriding unix
| done.  Cleaning up.
| ./maketables enums/*.in
| enums/msg_type.in: type: msg_type_t (prefix 'PSEUDO_MSG_ENUM')
|    ping               shutdown           op                 ack
|    nak                fastop
|
| enums/op.in: type: op_t (prefix 'OP_ENUM')
|   extra column: int wait (default 0)
|    chdir              chmod              chown              chroot
|    close              creat              dup                fchmod
|    fchown             fstat              link               mkdir
|    mknod              open               rename             stat
|    unlink             symlink            exec               may-unlink
|    did-unlink         cancel-unlink
|
| enums/query_field.in: type: query_field_t (prefix 'PSQF_ENUM')
|    access             client             dev                fd
|    ftype              gid                id                 inode
|    mode               op                 order              path
|    perm               program            result             severity
|    stamp              tag                text               type
|    uid
|
| enums/query_type.in: type: query_type_t (prefix 'PSQT_ENUM')
|   extra column: const char * sql (default "LITTLE BOBBY TABLES")
|    exact              less               greater            bitand
|    notequal           like               notlike            sqlpat
|
| enums/res.in: type: res_t (prefix 'RESULT_ENUM')
|    succeed            fail               error
|
| enums/sev.in: type: sev_t (prefix 'SEVERITY_ENUM')
|    debug              info               warn               error
|    critical
|
| Writing datatypes... done.  Cleaning up.
| gcc -fno-strict-aliasing -isystem/home/dev/ti-glsdk_omap5-uevm_6_04_00_02/yocto-layers/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/include -O2 -pipe -pipe -std=gnu99 -Wall -W -Wextra -fPIC -D_LARGEFILE64_SOURCE -D_ATFILE_SOURCE -m32 -DPSEUDO_PREFIX='"/home/dev/ti-glsdk_omap5-uevm_6_04_00_02/yocto-layers/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr"' -DPSEUDO_SUFFIX='""' -DPSEUDO_BINDIR='"bin"' -DPSEUDO_LIBDIR='"lib/pseudo/lib"' -DPSEUDO_LOCALSTATEDIR='"var/pseudo"' -DPSEUDO_VERSION='"1.5.1"' -DUSE_MEMORY_DB -DPSEUDO_FORCE_ASYNC -O2 -g -L/home/dev/ti-glsdk_omap5-uevm_6_04_00_02/yocto-layers/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/lib -I/home/dev/ti-glsdk_omap5-uevm_6_04_00_02/yocto-layers/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/include  -D_GNU_SOURCE -c -o pseudo_wrappers.o pseudo_wrappers.c
| In file included from /usr/include/assert.h:37:0,
|                  from pseudo_wrappers.c:20:
| /usr/include/features.h:324:26: fatal error: bits/predefs.h: No such file or directory
| compilation terminated.
| make: *** [pseudo_wrappers.o] Error 1
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (see /home/dev/ti-glsdk_omap5-uevm_6_04_00_02/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/pseudo-native/1.5.1-r3/temp/log.do_compile.53447 for further information)
ERROR: Task 7 (virtual:native:/home/dev/ti-glsdk_omap5-uevm_6_04_00_02/yocto-layers/sources/oe-core/meta/recipes-devtools/pseudo/pseudo_1.5.1.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 70 tasks of which 0 didn't need to be rerun and 1 failed.
No currently running tasks (70 of 72)

Summary: 1 task failed:
  virtual:native:/home/dev/ti-glsdk_omap5-uevm_6_04_00_02/yocto-layers/sources/oe-core/meta/recipes-devtools/pseudo/pseudo_1.5.1.bb, do_compile
Summary: There were 21 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
[GLSDK]>
[GLSDK]> Completed Yocto build at Sun Nov 23 12:00:57 PST 2014
[GLSDK]>
dev@ubuntu:~/ti-glsdk_omap5-uevm_6_04_00_02/yocto-layers$ echo $ARCH
arm
dev@ubuntu:~/ti-glsdk_omap5-uevm_6_04_00_02/yocto-layers$

  • Hello Dov,

    Did you check your proxy settings?

    Before building the filesystem, ensure that the svn, http, ftp and git proxies are set correctly. Please, follow the steps described hire - https://wiki.yoctoproject.org/wiki/Working_Behind_a_Network_Proxy

    Try to execute setup.sh with - sudo GIT_PROXY_COMMAND=/home/users/<username>/bin/git-proxy.sh ./setup.sh

    Before building your yocto system export your environment settings:

    export ARCH=arm
    export CROSS_COMPILE=/home/users/ytodorov/cross-compile/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin/arm-linux-gnueabihf-
    export PATH=/home/users/ytodorov/cross-compile/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin:$PATH

    Then use following:

    sudo GIT_PROXY_COMMAND=/home/users/<username>/bin/git-proxy.sh ./build-core-sdk.sh

    - build-core-sdk.sh  -this file is located in ti-glsdk_omap5-uevm_6_04_00_02/bin

    These scripts will build the arago-glsdk-multimedia-image.

    After build is complete the generated images can be found in yocto-layers/build/arago-tmp-external-linaro-toolchain/deploy/images/

    Best regards,

    Yanko

     

  • Hello Yanko,

    AFAIK Im not using proxy:

    Moving to next step you mentioned = " build-core-sdk.sh  -this file is located in ti-glsdk_omap5-uevm_6_04_00_02/bin"


    while you are right that the script is there, internal scripts within that script are not there. under yocto-layers folder, i have the same script but also the rest of the scripts (actually, this is according the the development guide which for that point it is correct) - which and what should i use?

    b.t.w. - for the ./build-code-sdk file, dont i need to use parameter omap5-evm?

    regards,

    Dovalle

  • Hello Dovalle,

    I follow only the steps described in Software Developers Guide:

    See the steps which I apply by building Yocto file system:

    Step 1.

    x0170812@ubuntu:~/ti-glsdk_omap5-uevm_6_04_00_02$ export ARCH=arm
    x0170812@ubuntu:~/ti-glsdk_omap5-uevm_6_04_00_02$ export CROSS_COMPILE=/home/users/ytodorov/cross-compile/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin/arm-linux-gnueabihf-
    x0170812@ubuntu:~/ti-glsdk_omap5-uevm_6_04_00_02$ export PATH=/home/users/ytodorov/cross-compile/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin:$PATH


    Step 2.
    x0170812@ubuntu:~/ti-glsdk_omap5-uevm_6_04_00_02$ ./bin/setup-yocto.sh
    [GLSDK]>
    [GLSDK]> Testing for yocto-layers
    [GLSDK]> yocto-layers is present. Proceed to next step
    [GLSDK]> Copying yocto build-scripts to yocto-layers
    [GLSDK]> cd yocto-layers
    [GLSDK]>  git am ../patches/*.patch
    Applying: configs: Lock down the configs for 06.02.01.02
    Applying: configs: Config for the GLSDK 6.03.00.01
    Applying: configs: Config for the GLSDK 6.04.00.01
    Applying: configs: Config for the GLSDK 6.04.00.02
    [GLSDK]>
    [GLSDK]> Completed Yocto setup. You can now build using Yocto
    [GLSDK]>
    x0170812@ubuntu:~/ti-glsdk_omap5-uevm_6_04_00_02$ cd yocto-layers
    x0170812@ubuntu:~/ti-glsdk_omap5-uevm_6_04_00_02/yocto-layers$

    Step 3.
    x0170812@ubuntu:~/ti-glsdk_omap5-uevm_6_04_00_02/yocto-layers$ mkdir downloads
    x0170812@ubuntu:~/ti-glsdk_omap5-uevm_6_04_00_02/yocto-layers$ ls
    build-core-sdk.sh 

    build-specific-recipe.sh 

    clean-specific-recipe.sh 

    configs  downloads 

    oe-layertool-setup.sh 

    sample-files

    Step 4.

    #Q: b.t.w. - for the ./build-code-sdk file, dont i need to use parameter omap5-evm?

    x0170812@ubuntu:~/ti-glsdk_omap5-uevm_6_04_00_02/yocto-layers$ ./build-core-sdk.sh omap5-evm
    [GLSDK]>
    [GLSDK]> Current Directory is /home/x0170812/ti-glsdk_omap5-uevm_6_04_00_02/yocto-layers
    [GLSDK]> PATH is /home/users/ytodorov/cross-compile/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin:/home/bin:/home/x0170812/bin:/home/x0170812/bin/scripts:/home/x0170812/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
    [GLSDK]> Building on ubuntu running Linux ubuntu 3.13.0-39-generic #66~precise1-Ubuntu SMP Wed Oct 29 09:56:49 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
    [GLSDK]> Starting Yocto build at Tue Nov 25 17:02:16 EET 2014
    [GLSDK]>
    [GLSDK]> ./oe-layertool-setup.sh -f configs/glsdk/glsdk-06.04.00.02-config.txt
    /home/x0170812/ti-glsdk_omap5-uevm_6_04_00_02/yocto-layers


    cloning repo bitbake

    Cloning into '/home/x0170812/ti-glsdk_omap5-uevm_6_04_00_02/yocto-layers/sources/bitbake'...
    remote: Counting objects: 32283, done.
    remote: Compressing objects: 100% (12706/12706), done.
    remote: Total 32283 (delta 22983), reused 26253 (delta 18163)
    Receiving objects: 100% (32283/32283), 6.83 MiB | 215 KiB/s, done.
    Resolving deltas: 100% (22983/22983), done.
    Already on 'master'
    Already up-to-date.
    Note: checking out 'bbb4fa427739912ff3b87379bf629066f6662458'.

    You are in 'detached HEAD' state. You can look around, make experimental
    changes and commit them, and you can discard any commits you make in this
    state without impacting any branches by performing another checkout.

    If you want to create a new branch to retain commits you create, you may
    do so (now or later) by using -b with the checkout command again. Example:

      git checkout -b new_branch_name

    HEAD is now at bbb4fa4... methodpool: Retire it, remove global method scope

    :

    After build is complete the generated images can be found in yocto-layers/build/arago-tmp-external-linaro-toolchain/deploy/images/

    Best regards,

    Yanko

  • Hello Yanko,

    maybe we are not looking on the same web page - can you send me the link for the correct software guide:

    The first step you did was to set the ARCH variable. on the link i sent (which is pointed by the release page) - this is not part of the initial setup (i could find it down on the page in other procedure). can you send me a link to the page you follow?

    Maybe also we have different ubutntu? mine is  (uname -a)

    Linux ubuntu 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

    regards,

    Dovalle

  • Hi Dovalle,

    See the attached GLSDK Software Developers Guide - 1817.OMAP5_GLSDK_Software_Developers_Guide.html

    My OMAP5 GLSDK version is ti-glsdk_omap5-uevm_6_04_00_02

    Best regards,

    Yanko

  • Hi Yanko,

    well, same page.

    sorry to push but you have instructions which are not there.

    I follow the instruction many times, building and destroying VMs for the last 4 days and i feel like wasting my time.

    Is there any working procedure (can you try from scratch)? or any prepared VM which i can download?

    regards,

    Dovalle

  • Hello Dovalle,

    #Q: sorry to push but you have instructions which are not there.

    - Could you explain/point me which instructions have in mind?

    #Q: Is there any working procedure (can you try from scratch)? or any prepared VM which i can download?

    - No, there is no such procedure. You must download GLSDK packet and then follow the steps from Software Developers Guide.

    Best regards,

    Yanko

  • Hi Yanko,

    Quoting earlier message from you - 

    "

    Step 1.

    x0170812@ubuntu:~/ti-glsdk_omap5-uevm_6_04_00_02$ export ARCH=arm
    x0170812@ubuntu:~/ti-glsdk_omap5-uevm_6_04_00_02$ export CROSS_COMPILE=....."

    i can't find these instruction when looking from top of the page you attached up to 

    Building Yocto Filesystem section.

    However, i can find them under "additional procedures" (much down below) as verification for other procedures but not for first build of dev environment.

    I would expect that if i follow the instructions, step by step, i will have working environment which is not that case (b.t.w - i installed 32 and 64 ubuntus and for non the procedure works).

    while it will be nice to have the doc corrected, my concern now is to have working environment. even applying the instructions you sent didnt help so im looking for working procedure.

    Can someone verify procedure from scratch (i.e. fresh install of ubuntu 12.04? b.t.w. which 12.04 minor revision should i use? i took 4)?

    regards,

    Dovalle

     

  • Dovalle,

    Step 1 corresponds to:

    Add the Linaro cross-compile toolchain path in the PATH environment variable.

    host $ export PATH=<Path to Linaro cross-compile toolchain>/bin:$PATH

    You already saw it is needed to set your build environment:

    Additional Procedures
    Build Environment Setup

    NOTE: From this release, each component i.e kernel, u-boot or any userspace application should be cross-compiled
    Cross Compiler setup

    The cross compiler setup for the Rules.make is done as a part of the setup.sh script in the GLSDK folder. The script for cross compiler ensures that the linaro cross compiler toolchain is installed in the ${HOME} (or user specified) folder of the host machine.
    Note:Please ensure that the PATH variable is set in your machine to point to the cross compiler setup.
    To compile the code (if not using the top level Makefile to build kernel and u-boot), please ensure the environment variables ARCH and CROSS_COMPILE is set to arm and to the linaro cross compiler path respectively.

    If you have problems with settings of environment path please add following rows in the beginning of file

    build-core-sdk.sh

    export ARCH=arm              
    export CROSS_COMPILE=/home/<user>/cross-compile/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin/arm-linux-gnueabihf-
    export PATH=/home/<user>/cross-compile/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin:$PATH

    dwndefault="${GLSDK}/yocto-layers/downloads"

    echo "[GLSDK]>"

    TI recommends to follow software developers guide.

    Best regards,

    Yanko

  • Yanko,

    Following your instructions, when running the build-core-sdk.sh script from bin directory (and not from youcto-layers as the SW development guide instructs), im getting immediately the following error:

    [GLSDK]> ./oe-layertool-setup.sh -f configs/glsdk/glsdk-06.04.00.02-config.txt
    ./build-core-sdk.sh: 16: ./build-core-sdk.sh: ./oe-layertool-setup.sh: not found

    and this is correct, under ti-glsdk_omap5-uevm_6_04_00_02/bin, there is no oe-layertool-setup.sh script (see below)

    are you sure the build-core-sdk.sh should run from bin directory?

    dev@ubuntu:~/ti-glsdk_omap5-uevm_6_04_00_02/bin$ ls
    build-core-sdk.sh common.sh mk-eMMC-boot.sh repo setup-minicom.sh setup-targetfs-nfs.sh
    build-specific-recipe.sh download-component-sources.sh mksdboot.sh setup-cross-compile.sh setup-package-install.sh setup-uboot-env.sh
    clean-specific-recipe.sh fetch-sources.sh README.boot.scr setup-host-check.sh setup-repo.sh setup-yocto.sh

     regards,

    Dovalle

  • Dovalle,

    build-core-sdk.sh must be run from yocto-layers directory. I pointed this in one of my previous posts.

    See this link for information about error with  layertool http://arago-project.org/pipermail/meta-arago/2014-July/003750.html

    Best regards,

    Yanko

  • found on the net to install 

    sudo apt-get install gcc-multilib (credit to http://stackoverflow.com/questions/12591629/gcc-cannot-find-bits-predefs-h-on-i686)

    which seems to solve the problem (the build is still running)

    so for the rest of you i hope it will help.

    regards,
    Dovalle
  • Dovalle,

    I suggested you to set your environment correctly.

    regards,

    Yanko