<div dir="ltr"><div><div><div>Hi Jack,<br></div>How about wget or curl of those urls, are you able to reach it? Also, see if explorer redirects this to https or other protocol?<br><br></div>Regards,<br></div>Sivasubramanian<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 3, 2016 at 8:11 AM, å¼ å¥ <span dir="ltr"><<a href="mailto:jackzhang1992@t.shu.edu.cn" target="_blank">jackzhang1992@t.shu.edu.cn</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>[meta-raspberrypi]</div><div>Hi,every one. </div><div>I'm trying to use meta-raspberrypi layer to build an image for my raspberrypi2 B+ board. </div><div><div><br></div><div>After I download poky,I git clone meta-raspberrypi layer as follows: <span style="line-height:1.5">"git clone git://<a href="http://git.yoctoproject.org/meta-raspberrypi" target="_blank">git.yoctoproject.org/meta-raspberrypi</a>"</span></div></div><div>Then I totally follow the README in the meta-raspberrypi directory as follows:</div><div>"</div><div><div>.........</div><div>How to use it:</div><div><br></div><div>1. source poky/oe-init-build-env rpi-build</div><div>2. Add needed layer to bblayers.conf:</div><div>  - meta-raspberrypi</div><div>3  Set MACHINE to "raspberrypi"/"raspberrypi2" in local.conf  (I set machine to be "raspberrypi2" here)</div><div>4. bitbake rpi-hwup-image</div><div>5. dd to a SD card the generated sdimg file (use xzcat if rpi-sdimg.xz is used)</div><div>6. Boot your RPI.</div></div><div><span style="line-height:1.5">"</span></div><div><span style="line-height:1.5"><br></span></div><div>but it comes out with several errors after "bitbake", I don't know why, <span style="line-height:1.5">warnings and errors are as follows:</span></div><div><div>"</div><div>WARNING: Failed to fetch URL <a href="ftp://invisible-island.net/ncurses/current/ncurses-5.9-20150329.tgz" target="_blank">ftp://invisible-island.net/ncurses/current/ncurses-5.9-20150329.tgz</a>, attempting MIRRORS if available</div><div>WARNING: Failed to fetch URL <a href="http://kernel.org/pub/linux/kernel/v4.x/linux-4.1.tar.xz" target="_blank">http://kernel.org/pub/linux/kernel/v4.x/linux-4.1.tar.xz</a>, attempting MIRRORS if available</div><div>ERROR: Fetcher failure: Fetch command failed with exit code 4, output:</div><div>wget: unable to resolve host address '<a href="http://kernel.org" target="_blank">kernel.org</a>'</div><div><br></div><div>ERROR: Function failed: Fetcher failure for URL: '<a href="http://kernel.org/pub/linux/kernel/v4.x/linux-4.1.tar.xz" target="_blank">http://kernel.org/pub/linux/kernel/v4.x/linux-4.1.tar.xz</a>'. Unable to fetch URL from any source.</div><div>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</div><div>ERROR: Task 961 (/home/jackzhang1992/poky/meta/recipes-kernel/linux-libc-headers/<a href="http://linux-libc-headers_4.1.bb" target="_blank">linux-libc-headers_4.1.bb</a>, do_fetch) failed with exit code '1'</div><div>WARNING: Failed to fetch URL <a href="http://ymorin.is-a-geek.org/download/kconfig-frontends/kconfig-frontends-3.12.0.0.tar.xz" target="_blank">http://ymorin.is-a-geek.org/download/kconfig-frontends/kconfig-frontends-3.12.0.0.tar.xz</a>, attempting MIRRORS if available</div><div>ERROR: Fetcher failure: Fetch command failed with exit code 4, output:</div><div>wget: unable to resolve host address '<a href="http://ymorin.is-a-geek.org" target="_blank">ymorin.is-a-geek.org</a>'</div><div><br></div><div>ERROR: Function failed: Fetcher failure for URL: '<a href="http://ymorin.is-a-geek.org/download/kconfig-frontends/kconfig-frontends-3.12.0.0.tar.xz" target="_blank">http://ymorin.is-a-geek.org/download/kconfig-frontends/kconfig-frontends-3.12.0.0.tar.xz</a>'. Unable to fetch URL from any source.</div><div>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</div><div>ERROR: Task 728 (virtual:native:/home/jackzhang1992/poky/meta/recipes-devtools/kconfig-frontends/<a href="http://kconfig-frontends_3.12.0.0.bb" target="_blank">kconfig-frontends_3.12.0.0.bb</a>, do_fetch) failed with exit code '1'</div><div>WARNING: Failed to fetch URL <a href="http://dotat.at/prog/unifdef/unifdef-2.10.tar.xz" target="_blank">http://dotat.at/prog/unifdef/unifdef-2.10.tar.xz</a>, attempting MIRRORS if available</div><div>NOTE: Tasks Summary: Attempted 152 tasks of which 0 didn't need to be rerun and 2 failed.</div></div><div>"</div><div><br></div><div>According to the errors, It seams there are many fetcher failures,but when I copy the link such as"<span style="line-height:1.5"><a href="http://kernel.org/pub/linux/kernel/v4.x/linux-4.1.tar.xz" target="_blank">http://kernel.org/pub/linux/kernel/v4.x/linux-4.1.tar.xz</a></span><span style="line-height:1.5">"  to my firefox explorer, It could find the files. It is very weird.</span></div><div><span style="line-height:1.5"><br></span></div><div><span style="line-height:1.5"><br></span></div><div><span style="line-height:1.5">If you have any idea about it, pls contact with me.</span></div><div><span style="line-height:1.5">Thanks</span></div><div><span style="line-height:1.5"><br></span></div><div><span style="line-height:1.5"><br></span></div><div><span style="line-height:1.5">Jack</span></div><div><span style="line-height:1.5">Shanghai</span></div><div><span style="line-height:1.5"><br></span></div><div><u></u><u></u></div><br>--<br>
_______________________________________________<br>
yocto mailing list<br>
<a href="mailto:yocto@yoctoproject.org">yocto@yoctoproject.org</a><br>
<a href="https://lists.yoctoproject.org/listinfo/yocto" rel="noreferrer" target="_blank">https://lists.yoctoproject.org/listinfo/yocto</a><br>
<br></blockquote></div><br></div>