Created attachment 849 [details] power pc layer Details: bitbake core-image-sato fails for a ppc image for which a new layer is created using yocto-bsp tool Steps to reproduce: use yocto-bsp tool to create a layer with karch powerpc Kernel version is 3.4 Other default options are used Build Configuration: BB_VERSION = "1.15.3" TARGET_ARCH = "powerpc" TARGET_OS = "linux" MACHINE = "myqemuppc" DISTRO = "poky" DISTRO_VERSION = "1.2+snapshot-20120926" TUNE_FEATURES = "m32 fpu-hard ppc603e" TARGET_FPU = "" meta meta-yocto meta-yocto-bsp meta-myqemuppc = "1.3_M5:718eb85806e080d0b165344b272e531ef19421eb" meta-intel = "master:c0242a374d55d5b2207e2f75749cfe9c177a7876" NOTE: Resolving any missing task queue dependencies NOTE: Preparing runqueue NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks ERROR: Function failed: do_patch (see /home/lserban/work/master/build/tmp/work/myqemuppc-poky-linux/linux-yocto-3.4.11+git1+5bdc655034a58a7147176a8a882d81e2fd51e4b9_1+3fa06aa29078fdb2af431de2d3fdae7d281ba85f-r4.3.1/temp/log.do_patch.16635 for further information) ERROR: Logfile of failure stored in: /home/lserban/work/master/build/tmp/work/myqemuppc-poky-linux/linux-yocto-3.4.11+git1+5bdc655034a58a7147176a8a882d81e2fd51e4b9_1+3fa06aa29078fdb2af431de2d3fdae7d281ba85f-r4.3.1/temp/log.do_patch.16635 Log data follows: | DEBUG: Executing shell function do_patch | [INFO]: checkpoint is already restored, nothing to do | warning: could not find (or was already included): cfg/vfat.scc (/home/lserban/work/master/build/tmp/work/myqemuppc-poky-linux/linux-yocto-3.4.11+git1+5bdc655034a58a7147176a8a882d81e2fd51e4b9_1+3fa06aa29078fdb2af431de2d3fdae7d281ba85f-r4.3.1/linux/meta/cfg/scratch/obj/home/lserban/work/master/meta-myqemuppc/recipes-kernel/linux/files) | warning: could not find (or was already included): cfg/dmaengine/dmaengine.scc (/home/lserban/work/master/build/tmp/work/myqemuppc-poky-linux/linux-yocto-3.4.11+git1+5bdc655034a58a7147176a8a882d81e2fd51e4b9_1+3fa06aa29078fdb2af431de2d3fdae7d281ba85f-r4.3.1/linux/meta/cfg/scratch/obj/home/lserban/work/master/meta-myqemuppc/recipes-kernel/linux/files) | warning: could not find (or was already included): features/kprobes/kprobes.scc (/home/lserban/work/master/build/tmp/work/myqemuppc-poky-linux/linux-yocto-3.4.11+git1+5bdc655034a58a7147176a8a882d81e2fd51e4b9_1+3fa06aa29078fdb2af431de2d3fdae7d281ba85f-r4.3.1/linux/meta/cfg/kernel-cache/features/systemtap) | warning: could not find (or was already included): features/uprobe/uprobe.scc (/home/lserban/work/master/build/tmp/work/myqemuppc-poky-linux/linux-yocto-3.4.11+git1+5bdc655034a58a7147176a8a882d81e2fd51e4b9_1+3fa06aa29078fdb2af431de2d3fdae7d281ba85f-r4.3.1/linux/meta/cfg/kernel-cache/features/systemtap) | warning: could not find (or was already included): cfg/usb-mass-storage.scc (/home/lserban/work/master/build/tmp/work/myqemuppc-poky-linux/linux-yocto-3.4.11+git1+5bdc655034a58a7147176a8a882d81e2fd51e4b9_1+3fa06aa29078fdb2af431de2d3fdae7d281ba85f-r4.3.1/linux/meta/cfg/scratch/obj/home/lserban/work/master/meta-myqemuppc/recipes-kernel/linux/files) | warning: could not find (or was already included): cfg/vfat.scc (/home/lserban/work/master/build/tmp/work/myqemuppc-poky-linux/linux-yocto-3.4.11+git1+5bdc655034a58a7147176a8a882d81e2fd51e4b9_1+3fa06aa29078fdb2af431de2d3fdae7d281ba85f-r4.3.1/linux/meta/cfg/scratch/obj/home/lserban/work/master/meta-myqemuppc/recipes-kernel/linux/files) | warning: could not find (or was already included): cfg/dmaengine/dmaengine.scc (/home/lserban/work/master/build/tmp/work/myqemuppc-poky-linux/linux-yocto-3.4.11+git1+5bdc655034a58a7147176a8a882d81e2fd51e4b9_1+3fa06aa29078fdb2af431de2d3fdae7d281ba85f-r4.3.1/linux/meta/cfg/scratch/obj/home/lserban/work/master/meta-myqemuppc/recipes-kernel/linux/files) | warning: could not find (or was already included): user-patches.scc (/home/lserban/work/master/build/tmp/work/myqemuppc-poky-linux/linux-yocto-3.4.11+git1+5bdc655034a58a7147176a8a882d81e2fd51e4b9_1+3fa06aa29078fdb2af431de2d3fdae7d281ba85f-r4.3.1/linux/meta/cfg/scratch/obj/home/lserban/work/master/meta-myqemuppc/recipes-kernel/linux/files) | | ERROR: included file cfg/vfat is not available | | ERROR. A meta series could not be created for branch standard/qemuppc | ERROR. Could not locate meta series for myqemuppc | ERROR. Could not apply patches for myqemuppc. | Patch failures can be resolved in the devshell (bitbake -c devshell linux-yocto) | ERROR: Function failed: do_patch (see /home/lserban/work/master/build/tmp/work/myqemuppc-poky-linux/linux-yocto-3.4.11+git1+5bdc655034a58a7147176a8a882d81e2fd51e4b9_1+3fa06aa29078fdb2af431de2d3fdae7d281ba85f-r4.3.1/temp/log.do_patch.16635 for further information) ERROR: Task 764 (/home/lserban/work/master/meta/recipes-kernel/linux/linux-yocto_3.4.bb, do_patch) failed with exit code '1' NOTE: Tasks Summary: Attempted 1432 tasks of which 1396 didn't need to be rerun and 1 failed. I attach the layer as an archive
Created attachment 850 [details] log do patch
lserban@computer1:~/work/master$ yocto-bsp create myqemuppc01 powerpc Would you like to use the default (3.4) kernel? (y/n) [default: y] Do you need a new machine branch for this BSP (the alternative is to re-use an existing branch)? [y/n] [default: y] n Getting branches from remote repo git://git.yoctoproject.org/linux-yocto-3.4.git... Please choose a machine branch to base this BSP on: [default: standard/base] 1) standard/arm-versatile-926ejs 2) standard/base 3) standard/beagleboard 4) standard/cedartrail 5) standard/crownbay 6) standard/emenlow 7) standard/fishriver 8) standard/fri2 9) standard/fsl-mpc8315e-rdb 10) standard/mti-malta32 11) standard/mti-malta64 12) standard/qemuppc 13) standard/routerstationpro 14) standard/sys940x Do you need SMP support? (y/n) [default: y] Which machine tuning would you like to use? [default: tune_ppc603e] 1) ppc603e tuning optimizations 2) ppce300c2 tuning optimizations 3) ppce500 tuning optimizations 4) ppce500mc tuning optimizations 5) ppce500v2 tuning optimizations 6) ppce5500-32b tuning optimizations 7) ppce5500-64b tuning optimizations Please specify a value for UBOOT_ENTRYPOINT: [default: 0x00000000] Please specify a [arch/powerpc/boot/dts/xxx] value for KERNEL_DEVICETREE: [default: mpc8315erdb.dts] Do you need support for X? (y/n) [default: y] Does your BSP have a touchscreen? (y/n) [default: n] Does your BSP have a keyboard? (y/n) [default: y] New powerpc BSP created in meta-myqemuppc01
odd. everything isn't available. I'll try a build with the layer here.
I'm not sure what happened .. but the attached layer is 10k of nothing as near as I can tell.
Created attachment 851 [details] meta folder
the new upload is sane. starting a build. will update when I know more.
I'm not sure what version of the tools are being matched against the 3.4 kernel, but it's definitely pointing at a config value that has been moved in the 3.4 tree for ages: http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-3.4/tree/meta/cfg/kernel-cache/cfg/fs?h=meta We need to check with TomZ on this one.
This happens because the cfg/vfat feature changed location to cfg/fs/vfat in the 3.4 yocto meta branch. I'm testing a patch now that makes what's added conditional on kernel version.
Fixed by poky/master commit: facb5f902fd828658b00aaf8bbe033243efcb999