Dear All,
I am trying to build the SDK for my ls1021atwr board and seeing the below issues with links not being available and forcing the build to fail.
Commands i used:
a) bitbake fsl-image-full
and
b) bitbake fsl-image-minimal
Build errors are below:
////////////////////////////////////////////////////////////////////////////////////////////////////////////
WARNING: Failed to fetch URL git://sw-stash.freescale.net/scm/dnnpi/ls1-linux.git;branch=LS1-SDK-Rev2.0;protocol=http, attempting MIRRORS if available
ERROR: Fetcher failure: Fetch command failed with exit code 128, output:
Cloning into bare repository '/home/nagi/SDK/Freescale-Linux-SDK-for-LS1021A-Rev2-v0.4-20150803-yocto/sources/git2/sw-stash.freescale.net.scm.dnnpi.ls1-linux.git'...
fatal: unable to access 'http://sw-stash.freescale.net/scm/dnnpi/ls1-linux.git/': Could not resolve host: sw-stash.freescale.net; No address associated with hostname
ERROR: Function failed: Fetcher failure for URL: 'git://sw-stash.freescale.net/scm/dnnpi/ls1-linux.git;branch=LS1-SDK-Rev2.0;protocol=http'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/nagi/SDK/Freescale-Linux-SDK-for-LS1021A-Rev2-v0.4-20150803-yocto/build_ls1021atwr_release/tmp/work/ls1021atwr-fsl-linux-gnueabi/linux-ls1/3.12-r0/temp/log.do_fetch.4511
ERROR: Task 3 (/home/nagi/SDK/Freescale-Linux-SDK-for-LS1021A-Rev2-v0.4-20150803-yocto/meta-fsl-arm/recipes-kernel/linux/linux-ls1_3.12.bb, do_fetch) failed with exit code '1'
///////////////////////////////////////////////////////////////////////////////////////////////////////////
Does anyone has any idea on the above issue pls?
Regards,
Nagi
已解决! 转到解答。
Usually we use Ubuntu 14 64bit for SDK using.
Use the following command sequence for SDK installing:
if it is 64-bit operating system, run the following command also:
sudo apt-get install ia32-libs lib32ncurses5
Message from ubuntu: /bin/sh -> dash
b) command: sudo dpkg-reconfigure dash
Answer after password – No
Message from ubuntu:
Removing 'diversion of /bin/sh to /bin/sh.distrib by dash'
Adding 'diversion of /bin/sh to /bin/sh.distrib by bash'
Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash'
Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash'
c) command for checking: ls -l /bin/sh
Message from ubuntu: /bin/sh -> bash
Issue the following command:
$ ./poky/scripts/host-prepare.sh./scripts/host-prepare.sh
Have a great day,
Pavel
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Usually we use Ubuntu 14 64bit for SDK using.
Use the following command sequence for SDK installing:
if it is 64-bit operating system, run the following command also:
sudo apt-get install ia32-libs lib32ncurses5
Message from ubuntu: /bin/sh -> dash
b) command: sudo dpkg-reconfigure dash
Answer after password – No
Message from ubuntu:
Removing 'diversion of /bin/sh to /bin/sh.distrib by dash'
Adding 'diversion of /bin/sh to /bin/sh.distrib by bash'
Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash'
Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash'
c) command for checking: ls -l /bin/sh
Message from ubuntu: /bin/sh -> bash
Issue the following command:
$ ./poky/scripts/host-prepare.sh./scripts/host-prepare.sh
Have a great day,
Pavel
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------