[yocto] failed to copy the final ***rootfs.rpi-sdimg image file

Julien Gueytat contact at jgueytat.fr
Fri Oct 14 05:53:38 PDT 2016


Great! Thanks!

Sent from my WIKO RAINBOW LITE 4GLe 14 oct. 2016 14:41, Andrei Gherzan <andrei at gherzan.ro> a écrit :
>
> On Sat, Oct 01, 2016 at 01:58:49PM +0000, 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. 
> > 
> > 
> > Weird. 
> > 
> > 
> > Karim 
> > 
> > 
>
> > -- 
> > _______________________________________________ 
> > yocto mailing list 
> > yocto at yoctoproject.org 
> > https://lists.yoctoproject.org/listinfo/yocto 
>
> This should be fixed now by using krogoth meta-rpi branch with the poky 
> krogoth branch. Otherwise just use both masters and it should work as 
> well. 
>
> -- 
> Andrei Gherzan
>
> -- 
> _______________________________________________ 
> yocto mailing list 
> yocto at yoctoproject.org 
> https://lists.yoctoproject.org/listinfo/yocto 


More information about the yocto mailing list