On Tue, 29 Nov 2016 17:22:15 +0000 Thomas Thorne <thomas.tho...@net2edge.com> wrote:
> I did not think my directory was that out of date but I can see a change to > the meta-raspberrypi/classes/sdcard_image-rpi.bbclass file from the 13th > September 2016. > https://github.com/agherzan/meta-raspberrypi/commit/4817e2c087097c02755d6309304878e42cf61d3c > or https://lists.yoctoproject.org/pipermail/yocto/2016-September/031961.html > > This changes a variable name from DEPLOY_DIR_IMAGE to IMGDEPLOYDIR. Nothing > I have currently sets that variable. > > If I change my local.conf to set the new variable to "/tmp" the error changes > to: > > $ bitbake rpi-hwup-image > WARNING: Host distribution "Ubuntu-16.04" has not been validated with this > version of the build system; you may possibly experience unexpected failures. > It is recommended that you use a tested distribution. > Loading cache: 100% > |########################################################################| > ETA: 00:00:00 > Loaded 2476 entries from dependency cache. > NOTE: Resolving any missing task queue dependencies > > Build Configuration: > BB_VERSION = "1.30.0" > BUILD_SYS = "x86_64-linux" > NATIVELSBSTRING = "universal" > TARGET_SYS = "arm-poky-linux-gnueabi" > MACHINE = "raspberrypi3" > DISTRO = "poky" > DISTRO_VERSION = "2.1.2" > TUNE_FEATURES = "arm armv7ve vfp thumb neon vfpv4 callconvention-hard > cortexa7" > TARGET_FPU = "hard" > meta > meta-poky > meta-yocto-bsp = "krogoth:ae9b341ecfcc60e970f29cfe04306411ad26c0cf" > meta-oe > meta-multimedia > meta-networking > meta-python = "krogoth:851a064b53dca3b14dd33eaaaca9573b1a36bf0e" > meta-qt5 = "HEAD:2b1871f0d139dc3caaa779a32a1931409c245a36" > meta-raspberrypi = > "heads/origin/krogoth:44d41bf3e94c4c8fe5ad5a3650572c8d17ef36c9" > > NOTE: Preparing RunQueue > NOTE: Executing SetScene Tasks > NOTE: Executing RunQueue Tasks > ERROR: rpi-hwup-image-1.0-r0 do_image_rpi_sdimg: Function failed: > do_image_rpi_sdimg (log file is located at > /home/thomasthorne/work/yocto-rpi/build-pi3/tmp/work/raspberrypi3-poky-linux-gnueabi/rpi-hwup-image/1.0-r0/temp/log.do_image_rpi_sdimg.28755) > ERROR: Logfile of failure stored in: > /home/thomasthorne/work/yocto-rpi/build-pi3/tmp/work/raspberrypi3-poky-linux-gnueabi/rpi-hwup-image/1.0-r0/temp/log.do_image_rpi_sdimg.28755 > 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 77824 KiB > | 0+0 records in > | 0+0 records out > | 0 bytes copied, 9.734e-06 s, 0.0 kB/s > | Model: (file) > | Disk /tmp/rpi-hwup-image-raspberrypi3-20161129171221.rootfs.rpi-sdimg: 126MB > | Sector size (logical/physical): 512B/512B > | Partition Table: msdos > | Disk Flags: > | > | Number Start End Size Type File system Flags > | 1 4194kB 46.1MB 41.9MB primary boot, lba > | 2 46.1MB 126MB 79.7MB primary > | > | mkfs.fat: warning - lowercase labels might not work properly with DOS or > Windows > | mkfs.fat 3.0.28 (2015-05-16) > | > /home/thomasthorne/work/yocto-rpi/build-pi3/tmp/deploy/images/raspberrypi3/Image-hifiberry-amp.dtbo: > No such file or directory > | WARNING: > /home/thomasthorne/work/yocto-rpi/build-pi3/tmp/work/raspberrypi3-poky-linux-gnueabi/rpi-hwup-image/1.0-r0/temp/run.do_image_rpi_sdimg.28755:1 > exit 1 from 'mcopy -i > /home/thomasthorne/work/yocto-rpi/build-pi3/tmp/work/raspberrypi3-poky-linux-gnueabi/rpi-hwup-image/1.0-r0/boot.img > -s > /home/thomasthorne/work/yocto-rpi/build-pi3/tmp/deploy/images/raspberrypi3/Image-${DTB_BASE_NAME}.${DTB_EXT} > ::overlays/${DTB_BASE_NAME}.${DTB_EXT}' > | ERROR: Function failed: do_image_rpi_sdimg (log file is located at > /home/thomasthorne/work/yocto-rpi/build-pi3/tmp/work/raspberrypi3-poky-linux-gnueabi/rpi-hwup-image/1.0-r0/temp/log.do_image_rpi_sdimg.28755) > ERROR: Task 16 > (/home/thomasthorne/work/yocto-rpi/meta-raspberrypi/recipes-core/images/rpi-hwup-image.bb, > do_image_rpi_sdimg) failed with exit code '1' > NOTE: Tasks Summary: Attempted 2117 tasks of which 2116 didn't need to be > rerun and 1 failed. > No currently running tasks (1925 of 2119) > > Summary: 1 task failed: > > /home/thomasthorne/work/yocto-rpi/meta-raspberrypi/recipes-core/images/rpi-hwup-image.bb, > do_image_rpi_sdimg > Summary: There was 1 WARNING message shown. > Summary: There was 1 ERROR message shown, returning a non-zero exit code. > thomasthorne@thorne-ul-dt:~/work/yocto-rpi/build-pi3$ view > /home/thomasthorne/work/yocto-rpi/build-pi3/tmp/work/raspberrypi3-poky-linux-gnueabi/rpi-hwup-image/1.0-r0/temp/log.do_image_rpi_sdimg.28755 > > > To stop the error I have to change my image types from: > > IMAGE_FSTYPES = "tar.xz ext3 rpi-sdimg" > > To: > > IMAGE_FSTYPES = "tar.xz ext3" > > Is this a bug I should raise on the > https://github.com/agherzan/meta-raspberrypi/ project or am I missing some > step? > I take it there might be a handful of variables I need to set before it is > safe to use the rpi-sdimg in my configuration now? > > Thomas A. F. Thorne<mailto:thomas.tho...@net2edge.com> Software Engineer > Net2Edge<http://www.net2edge.com/> > > From: Thomas Thorne > Sent: 29 November 2016 13:56 > To: Yocto Project Discussion <yocto@yoctoproject.org> > Subject: [meta-raspberrypi] Seeing "dd: failed to open > '/core-image-minimal-raspberrypi3-20161129134515.rootfs.rpi-sdimg': > Permission denied" Errors After Update > > I updated my Krogoth work area today with `git pull` and I now seeing error > messages about being unable to open a root filesystem image for a > raspberrypi3. I have tried in my build area that tries to make an SD card > image and the default one which does whatever the basic setup is. > > Output from bitbake core-image-minimal attempt. I think this target was > working before I did the pull. rpi-basic-image, rpi-test-image > rpi-hwup-image were also working yesterday but > > $ bitbake core-image-minimal > WARNING: Host distribution "Ubuntu-16.04" has not been validated with this > version of the build system; you may possibly experience unexpected failures. > It is recommended that you use a tested distribution. > Parsing recipes: 100% > |######################################################################| > Time: 00:00:33 > Parsing of 1922 .bb files complete (0 cached, 1922 parsed). 2475 targets, 146 > skipped, 0 masked, 0 errors. > NOTE: Resolving any missing task queue dependencies > > Build Configuration: > BB_VERSION = "1.30.0" > BUILD_SYS = "x86_64-linux" > NATIVELSBSTRING = "universal" > TARGET_SYS = "arm-poky-linux-gnueabi" > MACHINE = "raspberrypi3" > DISTRO = "poky" > DISTRO_VERSION = "2.1.2" > TUNE_FEATURES = "arm armv7ve vfp thumb neon vfpv4 callconvention-hard > cortexa7" > TARGET_FPU = "hard" > meta > meta-poky > meta-yocto-bsp = "krogoth:ae9b341ecfcc60e970f29cfe04306411ad26c0cf" > meta-oe > meta-multimedia > meta-networking > meta-python = "krogoth:851a064b53dca3b14dd33eaaaca9573b1a36bf0e" > meta-qt5 = "HEAD:2b1871f0d139dc3caaa779a32a1931409c245a36" > meta-raspberrypi = > "heads/origin/krogoth:44d41bf3e94c4c8fe5ad5a3650572c8d17ef36c9" > You seem to be mixing krogoth branches with master of meta-raspberrypi (44d41bf is the latest commit on master). I wouldn't expect that to work at all as master can change in backwards incompatible ways. It looks like the variable name transitioned from DEPLOY_DIR_IMAGE to IMGDEPLOYDIR on the master branch of openembedded-core and other layers. I'd suggest either moving everything forward to master or moving meta-raspberrypi back to krogoth. Is there any particular reason why you need the master branch of meta-raspberrypi or is krogoth good enough for your needs? Thanks, Paul -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto