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.

Sitara Linux Training: Getting Started with Openembedded Fail



Dear all,

I follow this document, http://processors.wiki.ti.com/index.php/Sitara_Linux_Training:_Getting_Started_with_Openembedded

use this command:  ./oe-layertool-setup.sh -f ./configs/amsdk/amsdk-06.00.00.00-config.txt

and then get the following message...

Does anyone know how  to solve this issue? Thanks.

sitara@ubuntu:~$ cd tisdk/
sitara@ubuntu:~/tisdk$ ls
build  configs  downloads  oe-layertool-setup.sh  sample-files  sources
sitara@ubuntu:~/tisdk$ ./oe-layertool-setup.sh -f ./configs/amsdk/amsdk-06.00.00.00-config.txt
/home/sitara/tisdk


cloning repo bitbake

Fetching origin
Previous HEAD position was cc7fdbd... Update version to 1.17.0
Switched to branch 'master'
Your branch is up-to-date with 'origin/master'.
Already up-to-date.
Note: checking out '1.17.0'.

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 cc7fdbd... Update version to 1.17.0


cloning repo meta-arago

Fetching origin
fatal: Cannot update paths and switch to branch 'amsdk-06.00.00.00-integration' at the same time.
Did you intend to checkout 'origin/amsdk-06.00.00.00-integration' which can not be resolved as commit?
merge: origin/amsdk-06.00.00.00-integration - not something we can merge
error: pathspec 'amsdk-06.00.00.00-release' did not match any file(s) known to git.


cloning repo meta-openembedded

Fetching origin
Switched to branch 'danny'
Your branch is up-to-date with 'origin/danny'.
Already up-to-date.
Note: checking out 'f00028caf257e386c0f3ae46bd4b3ba53dd0729d'.

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 f00028c... cifs-utils: Add runtime recommendation to CIFS kernel module


cloning repo meta-ti

Fetching origin
fatal: Cannot update paths and switch to branch 'amsdk-06.00.00.00-integration' at the same time.
Did you intend to checkout 'origin/amsdk-06.00.00.00-integration' which can not be resolved as commit?
merge: origin/amsdk-06.00.00.00-integration - not something we can merge
error: pathspec 'amsdk-06.00.00.00-release' did not match any file(s) known to git.


cloning repo meta-linaro

Fetching origin
Previous HEAD position was d0558fa... netbase: remove bbappend
Switched to branch 'danny'
Your branch is up-to-date with 'origin/danny'.
Already up-to-date.
Note: checking out 'd0558fa4304592622423582f8b464e1c22cfe6f1'.

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 d0558fa... netbase: remove bbappend


cloning repo oe-core

Fetching origin
Previous HEAD position was 0785489... grub-efi-native: fix build on modern distributions without gets()
Switched to branch 'danny'
Your branch is up-to-date with 'origin/danny'.
Already up-to-date.
Note: checking out '0785489d558c34cacf5cb349949a15e27084efbf'.

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 0785489... grub-efi-native: fix build on modern distributions without gets()


################################################################################
The bblayers.conf configuration file has been created for you with some
default values.  Please verify the contents of your conf/bblayers.conf
file for correctness.

NOTE: Any additional entries to this file will be lost if the ./oe-layertool-setup.sh
      script is run again.  To add entries permanently to this file
      please add them to the config file used and rerun the
      ./oe-layertool-setup.sh script.



################################################################################
The local.conf configuration file has been created for you with some
default values.  Please verify the contents of your conf/local.conf
file for correctness.

By default the number of threads used by the build is set to the number
of CPUs found on your system.

NOTE: You will probably want to change the default MACHINE setting in the
      local.conf file to the machine you are trying to build.

WARNING: Found existing /home/sitara/tisdk/build/conf/local.conf
Saving a backup to /home/sitara/tisdk/build/conf/local.conf.bak


################################################################################
A setenv file has been created for you in the conf directory.  Please verify
The contents of this file.  Once you have verified the contents please source
this file to configure your environment for building:

    . conf/setenv

You can then start building using the bitbake command.  You will likely want
to set the MACHINE option if you have not done so in your local.conf file.

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







  • I will ask the software team to look at this.
  • Hi, Biser

    I re-download the amsdk-06.00.00.00-config.txt from github and retry.

    The error message is change, do you know how to solve this issue?

    ===================================================================

    sitara@ubuntu:~/tisdk$ ./oe-layertool-setup.sh -f ./configs/amsdk/amsdk-06.00.00.00-config.txt

    /home/sitara/tisdk

    cloning repo bitbake

    Fetching origin

    Previous HEAD position was cc7fdbd... Update version to 1.17.0

    Switched to branch 'master'

    Your branch is up-to-date with 'origin/master'.

    Already up-to-date.

    Note: checking out '1.17.0'.

    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 cc7fdbd... Update version to 1.17.0

    cloning repo meta-arago

    Fetching origin

    remote: Counting objects: 14, done.

    remote: Compressing objects: 100% (8/8), done.

    remote: Total 8 (delta 5), reused 0 (delta 0)

    Unpacking objects: 100% (8/8), done.

    From git://arago-project.org/git/meta-arago

      340d822..c3d0989  krogoth    -> origin/krogoth

      7baf7ce..70f0713  master     -> origin/master

    fatal: Cannot update paths and switch to branch 'amsdk-06.00.00.00-integration' at the same time.

    Did you intend to checkout 'origin/amsdk-06.00.00.00-integration' which can not be resolved as commit?

    merge: origin/amsdk-06.00.00.00-integration - not something we can merge

    cloning repo meta-openembedded

    Fetching origin

    From git://git.openembedded.org/meta-openembedded

      2092396..ff38c70  krogoth    -> origin/krogoth

    Switched to branch 'danny'

    Your branch is up-to-date with 'origin/danny'.

    Already up-to-date.

    cloning repo meta-ti

    Fetching origin

    fatal: Cannot update paths and switch to branch 'amsdk-06.00.00.00-integration' at the same time.

    Did you intend to checkout 'origin/amsdk-06.00.00.00-integration' which can not be resolved as commit?

    merge: origin/amsdk-06.00.00.00-integration - not something we can merge

    cloning repo meta-linaro

    Fetching origin

    remote: Counting objects: 8, done.

    remote: Compressing objects: 100% (7/7), done.

    remote: Total 8 (delta 4), reused 0 (delta 0)

    Unpacking objects: 100% (8/8), done.

    From git://git.linaro.org/openembedded/meta-linaro

      ba77c8a..d0daf89  master     -> origin/master

    Previous HEAD position was d0558fa... netbase: remove bbappend

    Switched to branch 'danny'

    Your branch is up-to-date with 'origin/danny'.

    Already up-to-date.

    cloning repo oe-core

    Fetching origin

    remote: Counting objects: 12, done.

    remote: Compressing objects: 100% (12/12), done.

    remote: Total 12 (delta 11), reused 0 (delta 0)

    Unpacking objects: 100% (12/12), done.

    From git://git.openembedded.org/openembedded-core

      059d459..8979a45  jethro     -> origin/jethro

    Previous HEAD position was 0785489... grub-efi-native: fix build on modern distributions without gets()

    Switched to branch 'danny'

    Your branch is up-to-date with 'origin/danny'.

    Already up-to-date.

    ################################################################################

    The bblayers.conf configuration file has been created for you with some

    default values.  Please verify the contents of your conf/bblayers.conf

    file for correctness.

    NOTE: Any additional entries to this file will be lost if the ./oe-layertool-setup.sh

         script is run again.  To add entries permanently to this file

         please add them to the config file used and rerun the

         ./oe-layertool-setup.sh script.

    ################################################################################

    The local.conf configuration file has been created for you with some

    default values.  Please verify the contents of your conf/local.conf

    file for correctness.

    By default the number of threads used by the build is set to the number

    of CPUs found on your system.

    NOTE: You will probably want to change the default MACHINE setting in the

         local.conf file to the machine you are trying to build.

    WARNING: Found existing /home/sitara/tisdk/build/conf/local.conf

    Saving a backup to /home/sitara/tisdk/build/conf/local.conf.bak

    ################################################################################

    A setenv file has been created for you in the conf directory.  Please verify

    The contents of this file.  Once you have verified the contents please source

    this file to configure your environment for building:

       . conf/setenv

    You can then start building using the bitbake command.  You will likely want

    to set the MACHINE option if you have not done so in your local.conf file.

    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

  • Hello Kuolun,

    I don't get these errors while cloning these repos. Could you start from scratch and retry.

    Best regards,
    Kemal

  • Hi, Kemal

    Thanks your reply.

    Start from scratch, so I should follow this page again, is that correct?

    http://arago-project.org/wiki/index.php/Setting_Up_Build_Environment

  • Him Kermal


    Thanks your reply, it fix it. :-)

    But I get another error.

    Could you help me to fix this issue? Thanks.

    Common targets are:
        core-image-minimal
        core-image-sato
        meta-toolchain
        meta-toolchain-sdk
        adt-installer
        meta-ide-support
    sitara@ubuntu:~/tisdk$ cd sources
    sitara@ubuntu:~/tisdk/sources$ ls
    bitbake  meta-arago  meta-linaro  meta-openembedded  meta-ti  oe-core
    sitara@ubuntu:~/tisdk/sources$ git clone git://gitorious.org/sitara-bootcamp/meta-custom.git -b amsdk-06.00.00.00
    Cloning into 'meta-custom'...
    fatal: unable to connect to gitorious.org:
    gitorious.org[0: 64.13.172.37]: errno=Connection refused
    gitorious.org[1: 2a02:c0:1014::1]: errno=Network is unreachable

  • Seems you are behind a proxy or firewall. You need to setup your git proxy configurations trough these steps processors.wiki.ti.com/.../Git
  • Hi, Kemal

    In Create a new file called "git-proxy.sh" step, how to get the actual proxy name and proxy port information? Thanks

  • Your company's network administrator may provide you this information. Alternatively you can download these OE training materials by your WEB browser through this link: gitorious.org/.../meta-custom

  • Hi Kermal

    Where is the WEB download link? I couldn't find it :-(
  • Click on shortlog next to the head amsdk-06.00.00.00, then download the snapshot that you need.

  • Thanks Kemal :-)