[yocto] [meta-raspberrypi] errors when I "bitbake" an image for my rpi2 B+ board

张健 jackzhang1992 at t.shu.edu.cn
Tue Feb 2 18:41:44 PST 2016


[meta-raspberrypi]
Hi,every one. 
I'm trying to use meta-raspberrypi layer to build an image for my raspberrypi2 B+ board. 


After I download poky,I git clone meta-raspberrypi layer as follows: "git clone git://git.yoctoproject.org/meta-raspberrypi"

Then I totally follow the README in the meta-raspberrypi directory as follows:
"
.........
How to use it:


1. source poky/oe-init-build-env rpi-build
2. Add needed layer to bblayers.conf:
    - meta-raspberrypi
3  Set MACHINE to "raspberrypi"/"raspberrypi2" in local.conf  (I set machine to be "raspberrypi2" here)
4. bitbake rpi-hwup-image
5. dd to a SD card the generated sdimg file (use xzcat if rpi-sdimg.xz is used)
6. Boot your RPI.

"


but it comes out with several errors after "bitbake", I don't know why, warnings and errors are as follows:
"
WARNING: Failed to fetch URL ftp://invisible-island.net/ncurses/current/ncurses-5.9-20150329.tgz, attempting MIRRORS if available
WARNING: Failed to fetch URL http://kernel.org/pub/linux/kernel/v4.x/linux-4.1.tar.xz, attempting MIRRORS if available
ERROR: Fetcher failure: Fetch command failed with exit code 4, output:
wget: unable to resolve host address 'kernel.org'


ERROR: Function failed: Fetcher failure for URL: 'http://kernel.org/pub/linux/kernel/v4.x/linux-4.1.tar.xz'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/jackzhang1992/poky/build/tmp/work/cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi/linux-libc-headers/4.1-r0/temp/log.do_fetch.8031
ERROR: Task 961 (/home/jackzhang1992/poky/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_4.1.bb, do_fetch) failed with exit code '1'
WARNING: Failed to fetch URL http://ymorin.is-a-geek.org/download/kconfig-frontends/kconfig-frontends-3.12.0.0.tar.xz, attempting MIRRORS if available
ERROR: Fetcher failure: Fetch command failed with exit code 4, output:
wget: unable to resolve host address 'ymorin.is-a-geek.org'


ERROR: Function failed: Fetcher failure for URL: 'http://ymorin.is-a-geek.org/download/kconfig-frontends/kconfig-frontends-3.12.0.0.tar.xz'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/jackzhang1992/poky/build/tmp/work/i686-linux/kconfig-frontends-native/3.12.0.0-r0/temp/log.do_fetch.8067
ERROR: Task 728 (virtual:native:/home/jackzhang1992/poky/meta/recipes-devtools/kconfig-frontends/kconfig-frontends_3.12.0.0.bb, do_fetch) failed with exit code '1'
WARNING: Failed to fetch URL http://dotat.at/prog/unifdef/unifdef-2.10.tar.xz, attempting MIRRORS if available
NOTE: Tasks Summary: Attempted 152 tasks of which 0 didn't need to be rerun and 2 failed.

"


According to the errors, It seams there are many fetcher failures,but when I copy the link such as"http://kernel.org/pub/linux/kernel/v4.x/linux-4.1.tar.xz"  to my firefox explorer, It could find the files. It is very weird.




If you have any idea about it, pls contact with me.
Thanks




Jack
Shanghai
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160203/162c69f0/attachment.html>


More information about the yocto mailing list