All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-raspberrypi] errors when I "bitbake" an image for my rpi2 B+ board
@ 2016-02-03  2:41 张健
  2016-02-03  5:49 ` SIVA SUBRAMANIAN.P
  0 siblings, 1 reply; 6+ messages in thread
From: 张健 @ 2016-02-03  2:41 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 2986 bytes --]

[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

[-- Attachment #2: Type: text/html, Size: 4175 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [meta-raspberrypi] errors when I "bitbake" an image for my rpi2 B+ board
  2016-02-03  2:41 [meta-raspberrypi] errors when I "bitbake" an image for my rpi2 B+ board 张健
@ 2016-02-03  5:49 ` SIVA SUBRAMANIAN.P
  2016-02-03  6:33   ` [meta-raspberrypi] errors when I "bitbake" an image formy " 张健
  0 siblings, 1 reply; 6+ messages in thread
From: SIVA SUBRAMANIAN.P @ 2016-02-03  5:49 UTC (permalink / raw)
  To: 张健; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 3553 bytes --]

Hi Jack,
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?

Regards,
Sivasubramanian

On Wed, Feb 3, 2016 at 8:11 AM, 张健 <jackzhang1992@t.shu.edu.cn> wrote:

> [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
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>

[-- Attachment #2: Type: text/html, Size: 6107 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [meta-raspberrypi] errors when I "bitbake" an image formy rpi2 B+ board
  2016-02-03  5:49 ` SIVA SUBRAMANIAN.P
@ 2016-02-03  6:33   ` 张健
  2016-02-03  8:28     ` Karim ATIKI
  0 siblings, 1 reply; 6+ messages in thread
From: 张健 @ 2016-02-03  6:33 UTC (permalink / raw)
  To: SIVA SUBRAMANIAN.P; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 4439 bytes --]

Hi, Sivasubramanian:
Yes, I am able to reach it by using my firefox browser to reach it, It works. And that's the most werid thing.
I'v asked this question on the '#yocto' IRC channel after I sent the first mail.
  Someone in the channel told me to use the command: " bitbake kconfig-frontends-native -c fetch" to fetch  . then use "bitbake rpi-hwup-image". My computer is building now, and I'm waiting to see the results.
  Another possible reason is maybe the speed of the internet.  I used "wifi" and the linux is run under the VMware; Now I  connect the cable  to my computer(not wireless anymore), still linux in the VMware, though. And try "bitbake", and wait for the result.


Thanks,


Jack
Shanghai
 
------------------ Original ------------------
From:  "SIVA SUBRAMANIAN.P"<psiva87@gmail.com>;
Date:  Wed, Feb 3, 2016 02:19 PM
To:  "JackZhang"<jackzhang1992@t.shu.edu.cn>; 
Cc:  "yocto"<yocto@yoctoproject.org>; 
Subject:  Re: [yocto] [meta-raspberrypi] errors when I "bitbake" an image formy rpi2 B+ board

 
Hi Jack,

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?


Regards,

Sivasubramanian


On Wed, Feb 3, 2016 at 8:11 AM, 张健 <jackzhang1992@t.shu.edu.cn> wrote:
[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




--
 _______________________________________________
 yocto mailing list
 yocto@yoctoproject.org
 https://lists.yoctoproject.org/listinfo/yocto

[-- Attachment #2: Type: text/html, Size: 7780 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [meta-raspberrypi] errors when I "bitbake" an image formy rpi2 B+ board
  2016-02-03  6:33   ` [meta-raspberrypi] errors when I "bitbake" an image formy " 张健
@ 2016-02-03  8:28     ` Karim ATIKI
  2016-02-04  4:25       ` [meta-raspberrypi] errors when I "bitbake" an image formyrpi2 " 张健
  0 siblings, 1 reply; 6+ messages in thread
From: Karim ATIKI @ 2016-02-03  8:28 UTC (permalink / raw)
  To: 张健; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 5075 bytes --]


Hi Jack,

I recently had a similar issue, until I realize that "curl" was not installed on my Debian Jessie...

K.

________________________________
De : yocto-bounces@yoctoproject.org <yocto-bounces@yoctoproject.org> de la part de 张健 <jackzhang1992@t.shu.edu.cn>
Envoyé : mercredi 3 février 2016 07:33
À : SIVA SUBRAMANIAN.P
Cc : yocto
Objet : Re: [yocto] [meta-raspberrypi] errors when I "bitbake" an image formy rpi2 B+ board

Hi, Sivasubramanian:
Yes, I am able to reach it by using my firefox browser to reach it, It works. And that's the most werid thing.
I'v asked this question on the '#yocto' IRC channel after I sent the first mail.
  Someone in the channel told me to use the command: " bitbake kconfig-frontends-native -c fetch" to fetch  . then use "bitbake rpi-hwup-image". My computer is building now, and I'm waiting to see the results.
  Another possible reason is maybe the speed of the internet.  I used "wifi" and the linux is run under the VMware; Now I  connect the cable  to my computer(not wireless anymore), still linux in the VMware, though. And try "bitbake", and wait for the result.

Thanks,

Jack
Shanghai

------------------ Original ------------------
From:  "SIVA SUBRAMANIAN.P"<psiva87@gmail.com>;
Date:  Wed, Feb 3, 2016 02:19 PM
To:  "JackZhang"<jackzhang1992@t.shu.edu.cn>;
Cc:  "yocto"<yocto@yoctoproject.org>;
Subject:  Re: [yocto] [meta-raspberrypi] errors when I "bitbake" an image formy rpi2 B+ board

Hi Jack,
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?

Regards,
Sivasubramanian

On Wed, Feb 3, 2016 at 8:11 AM, 张健 <jackzhang1992@t.shu.edu.cn<mailto:jackzhang1992@t.shu.edu.cn>> wrote:
[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<http://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<http://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<http://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<http://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<http://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


--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org<mailto:yocto@yoctoproject.org>
https://lists.yoctoproject.org/listinfo/yocto



[-- Attachment #2: Type: text/html, Size: 9367 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [meta-raspberrypi] errors when I "bitbake" an image formyrpi2 B+ board
  2016-02-03  8:28     ` Karim ATIKI
@ 2016-02-04  4:25       ` 张健
  2016-02-04  8:37         ` Karim ATIKI
  0 siblings, 1 reply; 6+ messages in thread
From: 张健 @ 2016-02-04  4:25 UTC (permalink / raw)
  To: Karim ATIKI; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 5579 bytes --]

Hi, Karim,
I have tried "sudo apt-get install curl", then do the "bitbake". But there are stiill many errors.
detailed build logs are as follows:
"http://www.cnblogs.com/tianya-lemon/p/5179160.html"


Thank you so much for your ideas.


Jack
Shanghai
------------------ Original ------------------
From:  "Karim ATIKI"<karim_atiki@hotmail.com>;
Date:  Wed, Feb 3, 2016 04:28 PM
To:  "JackZhang"<jackzhang1992@t.shu.edu.cn>; 
Cc:  "yocto"<yocto@yoctoproject.org>; 
Subject:  RE: [yocto] [meta-raspberrypi] errors when I "bitbake" an image	formyrpi2 B+ board

 
  

 
 Hi Jack, 
 I recently had a similar issue, until I realize that "curl" was not installed on my Debian Jessie...
 
 
 K.
 
  
 De : yocto-bounces@yoctoproject.org <yocto-bounces@yoctoproject.org> de la part de 张健 <jackzhang1992@t.shu.edu.cn>
 Envoyé : mercredi 3 février 2016 07:33
 À : SIVA SUBRAMANIAN.P
 Cc : yocto
 Objet : Re: [yocto] [meta-raspberrypi] errors when I "bitbake" an image formy rpi2 B+ board  
 
  Hi, Sivasubramanian:
 Yes, I am able to reach it by using my firefox browser to reach it, It works. And that's the most werid thing.
 I'v asked this question on the '#yocto' IRC channel after I sent the first mail.
   Someone in the channel told me to use the command: " bitbake kconfig-frontends-native -c fetch" to fetch  . then use "bitbake rpi-hwup-image". My  computer is building now, and I'm waiting to see the results.
    Another possible reason is maybe the speed of the internet.  I used "wifi" and the linux is run under the VMware; Now I  connect the cable  to my computer(not wireless anymore), still linux in the VMware, though. And try "bitbake", and wait for the result.
 
 
 Thanks,
 
 
 Jack
 Shanghai
  
  ------------------ Original ------------------
  From:  "SIVA SUBRAMANIAN.P"<psiva87@gmail.com>;
 Date:  Wed, Feb 3, 2016 02:19 PM
 To:  "JackZhang"<jackzhang1992@t.shu.edu.cn>; 
 Cc:  "yocto"<yocto@yoctoproject.org>; 
 Subject:  Re: [yocto] [meta-raspberrypi] errors when I "bitbake" an image formy rpi2 B+ board
 
  
    Hi Jack,
 
 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?
 
 
 Regards,
 
 Sivasubramanian
 
 
 On Wed, Feb 3, 2016 at 8:11 AM, 张健 <jackzhang1992@t.shu.edu.cn> wrote:
  [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
 
 
 
 
 --
 _______________________________________________
 yocto mailing list
 yocto@yoctoproject.org
 https://lists.yoctoproject.org/listinfo/yocto

[-- Attachment #2: Type: text/html, Size: 10153 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [meta-raspberrypi] errors when I "bitbake" an image formyrpi2 B+ board
  2016-02-04  4:25       ` [meta-raspberrypi] errors when I "bitbake" an image formyrpi2 " 张健
@ 2016-02-04  8:37         ` Karim ATIKI
  0 siblings, 0 replies; 6+ messages in thread
From: Karim ATIKI @ 2016-02-04  8:37 UTC (permalink / raw)
  To: 张健; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 6091 bytes --]

Hi Jack,


Could you provide the content of a log file ?


/home/jackzhang1992/poky/build/tmp/work/raspberrypi2-poky-linux-gnueabi/bcm2835-bootfiles/20151021-r3/temp/log.do_fetch.9874

Karim

________________________________
De : 张健 <jackzhang1992@t.shu.edu.cn>
Envoyé : jeudi 4 février 2016 05:25
À : Karim ATIKI
Cc : yocto
Objet : Re:RE: [yocto] [meta-raspberrypi] errors when I "bitbake" an image formyrpi2 B+ board

Hi, Karim,
I have tried "sudo apt-get install curl", then do the "bitbake". But there are stiill many errors.
detailed build logs are as follows:
"http://www.cnblogs.com/tianya-lemon/p/5179160.html"

Thank you so much for your ideas.

Jack
Shanghai
------------------ Original ------------------
From:  "Karim ATIKI"<karim_atiki@hotmail.com>;
Date:  Wed, Feb 3, 2016 04:28 PM
To:  "JackZhang"<jackzhang1992@t.shu.edu.cn>;
Cc:  "yocto"<yocto@yoctoproject.org>;
Subject:  RE: [yocto] [meta-raspberrypi] errors when I "bitbake" an image formyrpi2 B+ board



Hi Jack,

I recently had a similar issue, until I realize that "curl" was not installed on my Debian Jessie...

K.

________________________________
De : yocto-bounces@yoctoproject.org <yocto-bounces@yoctoproject.org> de la part de 张健 <jackzhang1992@t.shu.edu.cn>
Envoyé : mercredi 3 février 2016 07:33
À : SIVA SUBRAMANIAN.P
Cc : yocto
Objet : Re: [yocto] [meta-raspberrypi] errors when I "bitbake" an image formy rpi2 B+ board

Hi, Sivasubramanian:
Yes, I am able to reach it by using my firefox browser to reach it, It works. And that's the most werid thing.
I'v asked this question on the '#yocto' IRC channel after I sent the first mail.
  Someone in the channel told me to use the command: " bitbake kconfig-frontends-native -c fetch" to fetch  . then use "bitbake rpi-hwup-image". My computer is building now, and I'm waiting to see the results.
  Another possible reason is maybe the speed of the internet.  I used "wifi" and the linux is run under the VMware; Now I  connect the cable  to my computer(not wireless anymore), still linux in the VMware, though. And try "bitbake", and wait for the result.

Thanks,

Jack
Shanghai

------------------ Original ------------------
From:  "SIVA SUBRAMANIAN.P"<psiva87@gmail.com>;
Date:  Wed, Feb 3, 2016 02:19 PM
To:  "JackZhang"<jackzhang1992@t.shu.edu.cn>;
Cc:  "yocto"<yocto@yoctoproject.org>;
Subject:  Re: [yocto] [meta-raspberrypi] errors when I "bitbake" an image formy rpi2 B+ board

Hi Jack,
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?

Regards,
Sivasubramanian

On Wed, Feb 3, 2016 at 8:11 AM, 张健 <jackzhang1992@t.shu.edu.cn<mailto:jackzhang1992@t.shu.edu.cn>> wrote:
[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<http://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<http://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<http://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<http://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<http://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


--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org<mailto:yocto@yoctoproject.org>
https://lists.yoctoproject.org/listinfo/yocto



[-- Attachment #2: Type: text/html, Size: 11673 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-02-04  8:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-03  2:41 [meta-raspberrypi] errors when I "bitbake" an image for my rpi2 B+ board 张健
2016-02-03  5:49 ` SIVA SUBRAMANIAN.P
2016-02-03  6:33   ` [meta-raspberrypi] errors when I "bitbake" an image formy " 张健
2016-02-03  8:28     ` Karim ATIKI
2016-02-04  4:25       ` [meta-raspberrypi] errors when I "bitbake" an image formyrpi2 " 张健
2016-02-04  8:37         ` Karim ATIKI

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.