Hi:
I am trying to prepare a cross compilation environment for porting some packages to aarch64. My final objective is:
(i) To be able to build a given package (such as klibc) on x86_64 Ubuntu machine and (ii) To be able to build the same package without any changes natively on ARMv8 Foundation model (iii) To be able to run the package on ARMv8 foundation model.
In this context, I am contemplating the following steps: (a) Cross compile "Linux genericarmv8 3.10.1.0-1-linaro-vexpress64", which is used on the foundation model, on x86_64 machine.
to avoid any in-compatibilty.
(b) Cross compile the package (e.g. klibc)
At this point, I am trying to do (a), i.e. cross compile "Linux genericarmv8 3.10.1.0-1-linaro-vexpress64". I followed the steps @ http://releases.linaro.org/13.07/openembedded/aarch64/ under the section: "Building from Source"
I run into the following error: ------------------------------------------ anilss@anilss:~/linaro/openembedded$ bash jenkins-setup/init-and-build.sh
GCC version: 4.8 Target architecture: armv8
object e76efdd7b342577c40aa271fa5ded9d66a783a9b type commit tag v1.12.4 tagger Conley Owens cco3@android.com 1380645867 -0700
repo 1.12.4
gpg: Signature made Tuesday 01 October 2013 10:14:27 PM IST using RSA key ID 692B382C gpg: Can't check signature: public key not found error: could not verify the tag 'v1.12.4'
fatal: repo init failed; run without --quiet to see why error: command 'sync' requires repo to be installed first. Use "repo init" to install it here.
real 0m0.034s user 0m0.032s sys 0m0.000s jenkins-setup/init-and-build.sh: line 50: cd: poky: No such file or directory jenkins-setup/init-and-build.sh: line 53: oe-init-build-env: No such file or directory jenkins-setup/functions.sh: line 70: conf/bblayers.conf: No such file or directory /home/anilss/linaro/openembedded/../openembedded-core/meta: No such file or directory jenkins-setup/functions.sh: line 84: conf/bblayers.conf: No such file or directory jenkins-setup/functions.sh: line 92: conf/site.conf: No such file or directory jenkins-setup/functions.sh: line 147: conf/site.conf: No such file or directory sed: can't read conf/local.conf: No such file or directory
plenty of space, no cleanup jenkins-setup/init-and-build.sh: line 62: bitbake: command not found anilss@anilss:~/linaro/openembedded$ ---------------------------------------------------------------------------------------------------------------------------------
Is there anything I am missing that is not mentioned in those steps..?
Greatly appreciate any help.
Thanks and Regards, Anil
On 9 October 2013 14:12, Anil Singhar anil.singhar@linaro.org wrote:
Hi:
I am trying to prepare a cross compilation environment for porting some packages to aarch64. My final objective is:
(i) To be able to build a given package (such as klibc) on x86_64 Ubuntu machine and (ii) To be able to build the same package without any changes natively on ARMv8 Foundation model (iii) To be able to run the package on ARMv8 foundation model.
In this context, I am contemplating the following steps: (a) Cross compile "Linux genericarmv8 3.10.1.0-1-linaro-vexpress64", which is used on the foundation model, on x86_64 machine.
to avoid any in-compatibilty.
(b) Cross compile the package (e.g. klibc)
At this point, I am trying to do (a), i.e. cross compile "Linux genericarmv8 3.10.1.0-1-linaro-vexpress64". I followed the steps @ http://releases.linaro.org/13.07/openembedded/aarch64/ under the section: "Building from Source"
I run into the following error:
anilss@anilss:~/linaro/openembedded$ bash jenkins-setup/init-and-build.sh
GCC version: 4.8 Target architecture: armv8
object e76efdd7b342577c40aa271fa5ded9d66a783a9b type commit tag v1.12.4 tagger Conley Owens cco3@android.com 1380645867 -0700
repo 1.12.4
gpg: Signature made Tuesday 01 October 2013 10:14:27 PM IST using RSA key ID 692B382C gpg: Can't check signature: public key not found error: could not verify the tag 'v1.12.4'
fatal: repo init failed; run without --quiet to see why error: command 'sync' requires repo to be installed first. Use "repo init" to install it here.
real 0m0.034s user 0m0.032s sys 0m0.000s jenkins-setup/init-and-build.sh: line 50: cd: poky: No such file or directory jenkins-setup/init-and-build.sh: line 53: oe-init-build-env: No such file or directory jenkins-setup/functions.sh: line 70: conf/bblayers.conf: No such file or directory /home/anilss/linaro/openembedded/../openembedded-core/meta: No such file or directory jenkins-setup/functions.sh: line 84: conf/bblayers.conf: No such file or directory jenkins-setup/functions.sh: line 92: conf/site.conf: No such file or directory jenkins-setup/functions.sh: line 147: conf/site.conf: No such file or directory sed: can't read conf/local.conf: No such file or directory
plenty of space, no cleanup jenkins-setup/init-and-build.sh: line 62: bitbake: command not found anilss@anilss:~/linaro/openembedded$
Is there anything I am missing that is not mentioned in those steps..?
could you try: $ cd jenkins-setup $ bash init-and-build.sh
Greatly appreciate any help.
Thanks and Regards, Anil
Hi Fathi,
Thanks for your response. I tried what you asked. Here is the output: ---------------------------------------------------------------------------------------------------- anilss@anilss:~/linaro/openembedded$ cd jenkins-setup/ anilss@anilss:~/linaro/openembedded/jenkins-setup$ bash init-and-build.sh
GCC version: 4.8 Target architecture: armv8
object e76efdd7b342577c40aa271fa5ded9d66a783a9b type commit tag v1.12.4 tagger Conley Owens cco3@android.com 1380645867 -0700
repo 1.12.4
gpg: Signature made Tuesday 01 October 2013 10:14:27 PM IST using RSA key ID 692B382C gpg: Can't check signature: public key not found error: could not verify the tag 'v1.12.4'
fatal: repo init failed; run without --quiet to see why error: command 'sync' requires repo to be installed first. Use "repo init" to install it here.
real 0m0.028s user 0m0.016s sys 0m0.008s init-and-build.sh: line 50: cd: poky: No such file or directory init-and-build.sh: line 53: oe-init-build-env: No such file or directory ./functions.sh: line 70: conf/bblayers.conf: No such file or directory /home/anilss/linaro/openembedded/jenkins-setup/../openembedded-core/meta: No such file or directory ./functions.sh: line 84: conf/bblayers.conf: No such file or directory ./functions.sh: line 92: conf/site.conf: No such file or directory ./functions.sh: line 147: conf/site.conf: No such file or directory sed: can't read conf/local.conf: No such file or directory
plenty of space, no cleanup init-and-build.sh: line 62: bitbake: command not found anilss@anilss:~/linaro/openembedded/jenkins-setup$
Thanks and Regards, Anil
On 9 October 2013 17:09, Fathi Boudra fathi.boudra@linaro.org wrote:
On 9 October 2013 14:12, Anil Singhar anil.singhar@linaro.org wrote:
Hi:
I am trying to prepare a cross compilation environment for porting some packages to aarch64. My final objective is:
(i) To be able to build a given package (such as klibc) on x86_64 Ubuntu machine and (ii) To be able to build the same package without any changes natively on ARMv8 Foundation model (iii) To be able to run the package on ARMv8 foundation model.
In this context, I am contemplating the following steps: (a) Cross compile "Linux genericarmv8 3.10.1.0-1-linaro-vexpress64",
which
is used on the foundation model, on x86_64 machine.
to avoid any in-compatibilty.
(b) Cross compile the package (e.g. klibc)
At this point, I am trying to do (a), i.e. cross compile "Linux
genericarmv8
3.10.1.0-1-linaro-vexpress64". I followed the steps @ http://releases.linaro.org/13.07/openembedded/aarch64/ under the section: "Building from Source"
I run into the following error:
anilss@anilss:~/linaro/openembedded$ bash
jenkins-setup/init-and-build.sh
GCC version: 4.8 Target architecture: armv8
object e76efdd7b342577c40aa271fa5ded9d66a783a9b type commit tag v1.12.4 tagger Conley Owens cco3@android.com 1380645867 -0700
repo 1.12.4
gpg: Signature made Tuesday 01 October 2013 10:14:27 PM IST using RSA
key ID
692B382C gpg: Can't check signature: public key not found error: could not verify the tag 'v1.12.4'
fatal: repo init failed; run without --quiet to see why error: command 'sync' requires repo to be installed first. Use "repo init" to install it here.
real 0m0.034s user 0m0.032s sys 0m0.000s jenkins-setup/init-and-build.sh: line 50: cd: poky: No such file or directory jenkins-setup/init-and-build.sh: line 53: oe-init-build-env: No such
file or
directory jenkins-setup/functions.sh: line 70: conf/bblayers.conf: No such file or directory /home/anilss/linaro/openembedded/../openembedded-core/meta: No such file
or
directory jenkins-setup/functions.sh: line 84: conf/bblayers.conf: No such file or directory jenkins-setup/functions.sh: line 92: conf/site.conf: No such file or directory jenkins-setup/functions.sh: line 147: conf/site.conf: No such file or directory sed: can't read conf/local.conf: No such file or directory
plenty of space, no cleanup jenkins-setup/init-and-build.sh: line 62: bitbake: command not found anilss@anilss:~/linaro/openembedded$
Is there anything I am missing that is not mentioned in those steps..?
could you try: $ cd jenkins-setup $ bash init-and-build.sh
Greatly appreciate any help.
Thanks and Regards, Anil
Op 9 okt. 2013, om 13:43 heeft Anil Singhar anil.singhar@linaro.org het volgende geschreven:
Hi Fathi,
Thanks for your response. I tried what you asked. Here is the output:
anilss@anilss:~/linaro/openembedded$ cd jenkins-setup/ anilss@anilss:~/linaro/openembedded/jenkins-setup$ bash init-and-build.sh
GCC version: 4.8 Target architecture: armv8
object e76efdd7b342577c40aa271fa5ded9d66a783a9b type commit tag v1.12.4 tagger Conley Owens cco3@android.com 1380645867 -0700
repo 1.12.4
gpg: Signature made Tuesday 01 October 2013 10:14:27 PM IST using RSA key ID 692B382C gpg: Can't check signature: public key not found error: could not verify the tag 'v1.12.4'
'repo' is broken upstream, have a look at http://stackoverflow.com/questions/19126603/android-source-repo-gpg-public-k...
reagards,
Koen Kooi Builds and Baselines | Release Manager Linaro.org | Open source software for ARM SoCs
If you have run pre-build-root-install-dependencies.sh before it should install repo from stable branch: wget -q --no-check-certificate "http://android.git.linaro.org/gitweb?p=tools/repo.git%3Ba=blob_plain%3Bf=rep..." -O $HOME/bin/repo chmod a+x $HOME/bin/repo