* Re: [meta-raspberrypi] failed to copy the final ***rootfs.rpi-sdimg image file
@ 2016-10-02 15:26 Nicolas ADELL
0 siblings, 0 replies; 6+ messages in thread
From: Nicolas ADELL @ 2016-10-02 15:26 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 398 bytes --]
Hi Karim and Gary,
I have had the same problem this afternoon by trying to build the rpi-base-image for my raspberrypi board, with poky Krogoth.
The oe-core repo (openembedded-core branch krogoth) has been fetched, but I still get the error while building the image.
However, I didn't find the commit 6d969bacc718e21a5246d4da9bf9639dcae29b02.
Could you give any other informations ?
[-- Attachment #2: Type: text/html, Size: 1022 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [meta-raspberrypi] failed to copy the final ***rootfs.rpi-sdimg image file
[not found] ` <HE1PR01MB1883EF967F44283E1A6D3A8A92C20@HE1PR01MB1883.eurprd01.prod.exchangelabs.com>
@ 2016-10-03 6:25 ` Gary Thomas
0 siblings, 0 replies; 6+ messages in thread
From: Gary Thomas @ 2016-10-03 6:25 UTC (permalink / raw)
To: Karim ATIKI; +Cc: yocto
On 2016-10-03 08:07, Karim ATIKI wrote:
> Hi Gary
>
>
>>The key is that you must use the latest OE-core (or Poky/Yocto) layer.
>
>
> Sorry, but isn't it what I did by cloning the very latest branches ?
> Or do you also mean that I need to clone also the very latest poky as well ?
Yes, you also need the latest [master branch] version of Poky for this to work.
n.b. it's polite to CC the mailing list so that everyone benefits from the answers.
> ------------------------------------------------------------------------------------------------------------------------
> *De :* yocto-bounces@yoctoproject.org <yocto-bounces@yoctoproject.org> de la part de Gary Thomas <gary@mlbassoc.com>
> *Envoyé :* lundi 3 octobre 2016 06:58
> *À :* yocto@yoctoproject.org
> *Objet :* Re: [yocto] [meta-raspberrypi] failed to copy the final ***rootfs.rpi-sdimg image file
>
> On 2016-10-02 17:58, Karim ATIKI wrote:
>> Hi Gary,
>>
>>
>>>That said, you also need a recent checkout of OE-core as the meta-raspberrypi
>>>and OE-core layers need to be in sync. These particular variables were changed
>>>starting with OE core rev 6d969bacc718e21a5246d4da9bf9639dcae29b02
>>>
>>>Just use the latest master of both meta-raspberrypi and OE-core
>>>and you should be fine.
>>
>>
>> I've cloned meta-raspberrypi and meta-openembedded with the latest branches.
>>
>> It still fails at the same step ☹ (see below).
>
> The key is that you must use the latest OE-core (or Poky/Yocto) layer.
>
>>>>
>>>>
>>>> I'm building a custom core-image-x11 for my raspberrypi3 board, with poky krogoth.
>>>>
>>>> In the very last steps:
>>>>
>>>>
>>>> ERROR: core-image-x11-1.0-r0 do_image_rpi_sdimg: Function failed: do_image_rpi_sdimg (log file is located at
>>>> /home/kai/yocto/build-rpi3/tmp/work/raspberrypi3-poky-linux-gnueabi/core-image-x11/1.0-r0/temp/log.do_image_rpi_sdimg.16110)
>>>>
>>>>
>>>> ERROR: Logfile of failure stored in:
>>>>
>>>> /home/kai/yocto/build-rpi3/tmp/work/raspberrypi3-poky-linux-gnueabi/core-image-x11/1.0-r0/temp/log.do_image_rpi_sdimg.16110
>>>>
>>>>
>>>> Log data follows:
>>>> | DEBUG: Executing python function set_image_size
>>>> | DEBUG: Python function set_image_size finished
>>>> | DEBUG: Executing shell function do_image_rpi_sdimg
>>>> | Creating filesystem with Boot partition 40960 KiB and RootFS 430080 KiB
>>>>
>>>> | dd: failed to open '/core-image-x11-raspberrypi3-20161001194728.rootfs.rpi-sdimg': Permission denied
>>>>
>>>> | WARNING: exit code 1 from a shell command.
>>>> | ERROR: Function failed: do_image_rpi_sdimg (log file is located at
>>>> /home/kai/yocto/build-rpi3/tmp/work/raspberrypi3-poky-linux-gnueabi/core-image-x11/1.0-r0/temp/log.do_image_rpi_sdimg.16110)
>>>>
>>>> ERROR: Task 16 (/home/kai/yocto/poky-krogoth/meta/recipes-graphics/images/core-image-x11.bb, do_image_rpi_sdimg) failed
>>>> with exit code '1'
>>>> NOTE: Tasks Summary: Attempted 4771 tasks of which 4770 didn't need to be rerun and 1 failed.
>>>> No currently running tasks (4367 of 4773)
>>>>
>>>>
>>>> It looks like it tries to create the image in the path:
>>>> /core-image-x11-raspberrypi3-20161001194728.rootfs.rpi-sdimg': Permission denied
>>>>
>>>>
>>>> I looked into the bbclass, and at first glance I'd say that the respective path
>>>> is "${IMGDEPLOYDIR}/${IMAGE_NAME}.rootfs.rpi-sdimg"
>>>>
>>>>
>>>> So ${IMGDEPLOYDIR} seems to be empty.
>>>>
>>>>
>>>> I haven't found any reference to IMGDEPLOYDIR elsewhere.
>>>>
>>>
>>> Make sure you have the latest [master] revisions. This should have been fixed by:
>>>
>>> commit 4817e2c087097c02755d6309304878e42cf61d3c
>>> Author: Andreas Müller <schnitzeltony@googlemail.com>
>>> Date: Tue Sep 13 02:19:06 2016 +0200
>>>
>>> sdcard_image-rpi.bbclass: avoid corrupted images with latest oe-core
>>>
>>
>> That said, you also need a recent checkout of OE-core as the meta-raspberrypi
>> and OE-core layers need to be in sync. These particular variables were changed
>> starting with OE core rev 6d969bacc718e21a5246d4da9bf9639dcae29b02
>>
>> Just use the latest master of both meta-raspberrypi and OE-core
>> and you should be fine.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [meta-raspberrypi] failed to copy the final ***rootfs.rpi-sdimg image file
2016-10-02 15:58 ` Karim ATIKI
@ 2016-10-03 4:58 ` Gary Thomas
[not found] ` <HE1PR01MB1883EF967F44283E1A6D3A8A92C20@HE1PR01MB1883.eurprd01.prod.exchangelabs.com>
0 siblings, 1 reply; 6+ messages in thread
From: Gary Thomas @ 2016-10-03 4:58 UTC (permalink / raw)
To: yocto
On 2016-10-02 17:58, Karim ATIKI wrote:
> Hi Gary,
>
>
>>That said, you also need a recent checkout of OE-core as the meta-raspberrypi
>>and OE-core layers need to be in sync. These particular variables were changed
>>starting with OE core rev 6d969bacc718e21a5246d4da9bf9639dcae29b02
>>
>>Just use the latest master of both meta-raspberrypi and OE-core
>>and you should be fine.
>
>
> I've cloned meta-raspberrypi and meta-openembedded with the latest branches.
>
> It still fails at the same step ☹ (see below).
The key is that you must use the latest OE-core (or Poky/Yocto) layer.
>>>
>>>
>>> I'm building a custom core-image-x11 for my raspberrypi3 board, with poky krogoth.
>>>
>>> In the very last steps:
>>>
>>>
>>> ERROR: core-image-x11-1.0-r0 do_image_rpi_sdimg: Function failed: do_image_rpi_sdimg (log file is located at
>>> /home/kai/yocto/build-rpi3/tmp/work/raspberrypi3-poky-linux-gnueabi/core-image-x11/1.0-r0/temp/log.do_image_rpi_sdimg.16110)
>>>
>>>
>>> ERROR: Logfile of failure stored in:
>>>
>>> /home/kai/yocto/build-rpi3/tmp/work/raspberrypi3-poky-linux-gnueabi/core-image-x11/1.0-r0/temp/log.do_image_rpi_sdimg.16110
>>>
>>>
>>> Log data follows:
>>> | DEBUG: Executing python function set_image_size
>>> | DEBUG: Python function set_image_size finished
>>> | DEBUG: Executing shell function do_image_rpi_sdimg
>>> | Creating filesystem with Boot partition 40960 KiB and RootFS 430080 KiB
>>>
>>> | dd: failed to open '/core-image-x11-raspberrypi3-20161001194728.rootfs.rpi-sdimg': Permission denied
>>>
>>> | WARNING: exit code 1 from a shell command.
>>> | ERROR: Function failed: do_image_rpi_sdimg (log file is located at
>>> /home/kai/yocto/build-rpi3/tmp/work/raspberrypi3-poky-linux-gnueabi/core-image-x11/1.0-r0/temp/log.do_image_rpi_sdimg.16110)
>>>
>>> ERROR: Task 16 (/home/kai/yocto/poky-krogoth/meta/recipes-graphics/images/core-image-x11.bb, do_image_rpi_sdimg) failed
>>> with exit code '1'
>>> NOTE: Tasks Summary: Attempted 4771 tasks of which 4770 didn't need to be rerun and 1 failed.
>>> No currently running tasks (4367 of 4773)
>>>
>>>
>>> It looks like it tries to create the image in the path:
>>> /core-image-x11-raspberrypi3-20161001194728.rootfs.rpi-sdimg': Permission denied
>>>
>>>
>>> I looked into the bbclass, and at first glance I'd say that the respective path
>>> is "${IMGDEPLOYDIR}/${IMAGE_NAME}.rootfs.rpi-sdimg"
>>>
>>>
>>> So ${IMGDEPLOYDIR} seems to be empty.
>>>
>>>
>>> I haven't found any reference to IMGDEPLOYDIR elsewhere.
>>>
>>
>> Make sure you have the latest [master] revisions. This should have been fixed by:
>>
>> commit 4817e2c087097c02755d6309304878e42cf61d3c
>> Author: Andreas Müller <schnitzeltony@googlemail.com>
>> Date: Tue Sep 13 02:19:06 2016 +0200
>>
>> sdcard_image-rpi.bbclass: avoid corrupted images with latest oe-core
>>
>
> That said, you also need a recent checkout of OE-core as the meta-raspberrypi
> and OE-core layers need to be in sync. These particular variables were changed
> starting with OE core rev 6d969bacc718e21a5246d4da9bf9639dcae29b02
>
> Just use the latest master of both meta-raspberrypi and OE-core
> and you should be fine.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [meta-raspberrypi] failed to copy the final ***rootfs.rpi-sdimg image file
2016-10-02 7:29 ` Gary Thomas
@ 2016-10-02 15:58 ` Karim ATIKI
2016-10-03 4:58 ` Gary Thomas
0 siblings, 1 reply; 6+ messages in thread
From: Karim ATIKI @ 2016-10-02 15:58 UTC (permalink / raw)
To: Gary Thomas, yocto
[-- Attachment #1.1: Type: text/plain, Size: 3708 bytes --]
Hi Gary,
>That said, you also need a recent checkout of OE-core as the meta-raspberrypi
>and OE-core layers need to be in sync. These particular variables were changed
>starting with OE core rev 6d969bacc718e21a5246d4da9bf9639dcae29b02
>
>Just use the latest master of both meta-raspberrypi and OE-core
>and you should be fine.
I've cloned meta-raspberrypi and meta-openembedded with the latest branches.
It still fails at the same step [☹] (see below).
Karim
>>
>>
>> I'm building a custom core-image-x11 for my raspberrypi3 board, with poky krogoth.
>>
>> In the very last steps:
>>
>>
>> ERROR: core-image-x11-1.0-r0 do_image_rpi_sdimg: Function failed: do_image_rpi_sdimg (log file is located at
>> /home/kai/yocto/build-rpi3/tmp/work/raspberrypi3-poky-linux-gnueabi/core-image-x11/1.0-r0/temp/log.do_image_rpi_sdimg.16110)
>>
>>
>> ERROR: Logfile of failure stored in:
>>
>> /home/kai/yocto/build-rpi3/tmp/work/raspberrypi3-poky-linux-gnueabi/core-image-x11/1.0-r0/temp/log.do_image_rpi_sdimg.16110
>>
>>
>> Log data follows:
>> | DEBUG: Executing python function set_image_size
>> | DEBUG: Python function set_image_size finished
>> | DEBUG: Executing shell function do_image_rpi_sdimg
>> | Creating filesystem with Boot partition 40960 KiB and RootFS 430080 KiB
>>
>> | dd: failed to open '/core-image-x11-raspberrypi3-20161001194728.rootfs.rpi-sdimg': Permission denied
>>
>> | WARNING: exit code 1 from a shell command.
>> | ERROR: Function failed: do_image_rpi_sdimg (log file is located at
>> /home/kai/yocto/build-rpi3/tmp/work/raspberrypi3-poky-linux-gnueabi/core-image-x11/1.0-r0/temp/log.do_image_rpi_sdimg.16110)
>>
>> ERROR: Task 16 (/home/kai/yocto/poky-krogoth/meta/recipes-graphics/images/core-image-x11.bb, do_image_rpi_sdimg) failed
>> with exit code '1'
>> NOTE: Tasks Summary: Attempted 4771 tasks of which 4770 didn't need to be rerun and 1 failed.
>> No currently running tasks (4367 of 4773)
>>
>>
>> It looks like it tries to create the image in the path:
>> /core-image-x11-raspberrypi3-20161001194728.rootfs.rpi-sdimg': Permission denied
>>
>>
>> I looked into the bbclass, and at first glance I'd say that the respective path
>> is "${IMGDEPLOYDIR}/${IMAGE_NAME}.rootfs.rpi-sdimg"
>>
>>
>> So ${IMGDEPLOYDIR} seems to be empty.
>>
>>
>> I haven't found any reference to IMGDEPLOYDIR elsewhere.
>>
>
> Make sure you have the latest [master] revisions. This should have been fixed by:
>
> commit 4817e2c087097c02755d6309304878e42cf61d3c
> Author: Andreas Müller <schnitzeltony@googlemail.com>
> Date: Tue Sep 13 02:19:06 2016 +0200
>
> sdcard_image-rpi.bbclass: avoid corrupted images with latest oe-core
>
That said, you also need a recent checkout of OE-core as the meta-raspberrypi
and OE-core layers need to be in sync. These particular variables were changed
starting with OE core rev 6d969bacc718e21a5246d4da9bf9639dcae29b02
Just use the latest master of both meta-raspberrypi and OE-core
and you should be fine.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto
yocto -- Discussion of all things Yocto Project<https://lists.yoctoproject.org/listinfo/yocto>
lists.yoctoproject.org
Discussion of all things about the Yocto Project. Read our Community Guidelines or learn more about how to participate in other community discussions.
[-- Attachment #1.2: Type: text/html, Size: 11215 bytes --]
[-- Attachment #2: OutlookEmoji-☹.png --]
[-- Type: image/png, Size: 506 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [meta-raspberrypi] failed to copy the final ***rootfs.rpi-sdimg image file
2016-10-02 4:52 ` [meta-raspberrypi] " Gary Thomas
@ 2016-10-02 7:29 ` Gary Thomas
2016-10-02 15:58 ` Karim ATIKI
0 siblings, 1 reply; 6+ messages in thread
From: Gary Thomas @ 2016-10-02 7:29 UTC (permalink / raw)
To: yocto
On 2016-10-02 06:52, Gary Thomas wrote:
> On 2016-10-01 15:58, Karim ATIKI wrote:
>> hi,
>>
>>
>> I'm building a custom core-image-x11 for my raspberrypi3 board, with poky krogoth.
>>
>> In the very last steps:
>>
>>
>> ERROR: core-image-x11-1.0-r0 do_image_rpi_sdimg: Function failed: do_image_rpi_sdimg (log file is located at
>> /home/kai/yocto/build-rpi3/tmp/work/raspberrypi3-poky-linux-gnueabi/core-image-x11/1.0-r0/temp/log.do_image_rpi_sdimg.16110)
>>
>>
>> ERROR: Logfile of failure stored in:
>>
>> /home/kai/yocto/build-rpi3/tmp/work/raspberrypi3-poky-linux-gnueabi/core-image-x11/1.0-r0/temp/log.do_image_rpi_sdimg.16110
>>
>>
>> Log data follows:
>> | DEBUG: Executing python function set_image_size
>> | DEBUG: Python function set_image_size finished
>> | DEBUG: Executing shell function do_image_rpi_sdimg
>> | Creating filesystem with Boot partition 40960 KiB and RootFS 430080 KiB
>>
>> | dd: failed to open '/core-image-x11-raspberrypi3-20161001194728.rootfs.rpi-sdimg': Permission denied
>>
>> | WARNING: exit code 1 from a shell command.
>> | ERROR: Function failed: do_image_rpi_sdimg (log file is located at
>> /home/kai/yocto/build-rpi3/tmp/work/raspberrypi3-poky-linux-gnueabi/core-image-x11/1.0-r0/temp/log.do_image_rpi_sdimg.16110)
>>
>> ERROR: Task 16 (/home/kai/yocto/poky-krogoth/meta/recipes-graphics/images/core-image-x11.bb, do_image_rpi_sdimg) failed
>> with exit code '1'
>> NOTE: Tasks Summary: Attempted 4771 tasks of which 4770 didn't need to be rerun and 1 failed.
>> No currently running tasks (4367 of 4773)
>>
>>
>> It looks like it tries to create the image in the path:
>> /core-image-x11-raspberrypi3-20161001194728.rootfs.rpi-sdimg': Permission denied
>>
>>
>> I looked into the bbclass, and at first glance I'd say that the respective path
>> is "${IMGDEPLOYDIR}/${IMAGE_NAME}.rootfs.rpi-sdimg"
>>
>>
>> So ${IMGDEPLOYDIR} seems to be empty.
>>
>>
>> I haven't found any reference to IMGDEPLOYDIR elsewhere.
>>
>
> Make sure you have the latest [master] revisions. This should have been fixed by:
>
> commit 4817e2c087097c02755d6309304878e42cf61d3c
> Author: Andreas Müller <schnitzeltony@googlemail.com>
> Date: Tue Sep 13 02:19:06 2016 +0200
>
> sdcard_image-rpi.bbclass: avoid corrupted images with latest oe-core
>
That said, you also need a recent checkout of OE-core as the meta-raspberrypi
and OE-core layers need to be in sync. These particular variables were changed
starting with OE core rev 6d969bacc718e21a5246d4da9bf9639dcae29b02
Just use the latest master of both meta-raspberrypi and OE-core
and you should be fine.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [meta-raspberrypi] failed to copy the final ***rootfs.rpi-sdimg image file
2016-10-01 13:58 Karim ATIKI
@ 2016-10-02 4:52 ` Gary Thomas
2016-10-02 7:29 ` Gary Thomas
0 siblings, 1 reply; 6+ messages in thread
From: Gary Thomas @ 2016-10-02 4:52 UTC (permalink / raw)
To: yocto
On 2016-10-01 15:58, Karim ATIKI wrote:
> hi,
>
>
> I'm building a custom core-image-x11 for my raspberrypi3 board, with poky krogoth.
>
> In the very last steps:
>
>
> ERROR: core-image-x11-1.0-r0 do_image_rpi_sdimg: Function failed: do_image_rpi_sdimg (log file is located at
> /home/kai/yocto/build-rpi3/tmp/work/raspberrypi3-poky-linux-gnueabi/core-image-x11/1.0-r0/temp/log.do_image_rpi_sdimg.16110)
>
> ERROR: Logfile of failure stored in:
> /home/kai/yocto/build-rpi3/tmp/work/raspberrypi3-poky-linux-gnueabi/core-image-x11/1.0-r0/temp/log.do_image_rpi_sdimg.16110
>
> Log data follows:
> | DEBUG: Executing python function set_image_size
> | DEBUG: Python function set_image_size finished
> | DEBUG: Executing shell function do_image_rpi_sdimg
> | Creating filesystem with Boot partition 40960 KiB and RootFS 430080 KiB
>
> | dd: failed to open '/core-image-x11-raspberrypi3-20161001194728.rootfs.rpi-sdimg': Permission denied
>
> | WARNING: exit code 1 from a shell command.
> | ERROR: Function failed: do_image_rpi_sdimg (log file is located at
> /home/kai/yocto/build-rpi3/tmp/work/raspberrypi3-poky-linux-gnueabi/core-image-x11/1.0-r0/temp/log.do_image_rpi_sdimg.16110)
> ERROR: Task 16 (/home/kai/yocto/poky-krogoth/meta/recipes-graphics/images/core-image-x11.bb, do_image_rpi_sdimg) failed
> with exit code '1'
> NOTE: Tasks Summary: Attempted 4771 tasks of which 4770 didn't need to be rerun and 1 failed.
> No currently running tasks (4367 of 4773)
>
>
> It looks like it tries to create the image in the path:
> /core-image-x11-raspberrypi3-20161001194728.rootfs.rpi-sdimg': Permission denied
>
>
> I looked into the bbclass, and at first glance I'd say that the respective path
> is "${IMGDEPLOYDIR}/${IMAGE_NAME}.rootfs.rpi-sdimg"
>
>
> So ${IMGDEPLOYDIR} seems to be empty.
>
>
> I haven't found any reference to IMGDEPLOYDIR elsewhere.
>
Make sure you have the latest [master] revisions. This should have been fixed by:
commit 4817e2c087097c02755d6309304878e42cf61d3c
Author: Andreas Müller <schnitzeltony@googlemail.com>
Date: Tue Sep 13 02:19:06 2016 +0200
sdcard_image-rpi.bbclass: avoid corrupted images with latest oe-core
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2016-10-03 6:25 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-02 15:26 [meta-raspberrypi] failed to copy the final ***rootfs.rpi-sdimg image file Nicolas ADELL
-- strict thread matches above, loose matches on Subject: below --
2016-10-01 13:58 Karim ATIKI
2016-10-02 4:52 ` [meta-raspberrypi] " Gary Thomas
2016-10-02 7:29 ` Gary Thomas
2016-10-02 15:58 ` Karim ATIKI
2016-10-03 4:58 ` Gary Thomas
[not found] ` <HE1PR01MB1883EF967F44283E1A6D3A8A92C20@HE1PR01MB1883.eurprd01.prod.exchangelabs.com>
2016-10-03 6:25 ` Gary Thomas
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.