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