[oe] meta-xilinx: zImage build error: "mkimage" command not found - U-Boot images will not be built

Elvis Dowson elvis.dowson at gmail.com
Fri Jul 13 20:30:33 UTC 2012


Hi,
       I'm try to build a zImage. I have been successful at building and running the kernel, outside of yocto, and running it on the Xilinx ML507 development board.

I'm in the process of creating a linux-xilinx-2.6.38 recipe, and I'm stuck at the following error:

NOTE: package linux-xilinx-2.6.38-r00: task do_compile: Started
ERROR: Function failed: do_compile (see /tool/yocto/poky/build/tmp/work/virtex5-poky-linux/linux-xilinx-2.6.38-r00/temp/log.do_compile.4655 for further information)
ERROR: Logfile of failure stored in: /tool/yocto/poky/build/tmp/work/virtex5-poky-linux/linux-xilinx-2.6.38-r00/temp/log.do_compile.4655
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 6 include/linux/version.h CC=powerpc-poky-linux-gcc  --sysroot=/tool/yocto/poky/build/tmp/sysroots/virtex5 LD=powerpc-poky-linux-ld  --sysroot=/tool/yocto/poky/build/tmp/sysroots/virtex5
|   CHK     include/linux/version.h
| NOTE: make -j 6 zImage CC=powerpc-poky-linux-gcc  --sysroot=/tool/yocto/poky/build/tmp/sysroots/virtex5 LD=powerpc-poky-linux-ld  --sysroot=/tool/yocto/poky/build/tmp/sysroots/virtex5
|   CHK     include/linux/version.h
|   CHK     include/generated/utsrelease.h
|   CALL    scripts/checksyscalls.sh
|   CHK     include/generated/compile.h
|   CALL    arch/powerpc/kernel/systbl_chk.sh
|   DTC     arch/powerpc/boot/virtex440-ml507.dtb
| DTC: dts->dtb  on file "arch/powerpc/boot/dts/virtex440-ml507.dts"
|   WRAP    arch/powerpc/boot/uImage
|   WRAP    arch/powerpc/boot/simpleImage.virtex440-ml507
|   WRAP    arch/powerpc/boot/simpleImage.initrd.virtex440-ml507
| "mkimage" command not found - U-Boot images will not be built
| make[1]: *** [arch/powerpc/boot/uImage] Error 1
| make[1]: *** Waiting for unfinished jobs....
| rm arch/powerpc/boot/virtex440-ml507.dtb
| make: *** [zImage] Error 2
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (see /tool/yocto/poky/build/tmp/work/virtex5-poky-linux/linux-xilinx-2.6.38-r00/temp/log.do_compile.4655 for further information)
NOTE: package linux-xilinx-2.6.38-r00: task do_compile: Failed
ERROR: Task 6 (/tool/yocto/meta-xilinx/recipes-kernel/linux/linux-xilinx_2.6.38.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 990 tasks of which 989 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /tool/yocto/meta-xilinx/recipes-kernel/linux/linux-xilinx_2.6.38.bb, do_compile
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

My virtex.conf file looks like this at the moment:

KERNEL_IMAGETYPE = "zImage"

Best regards,

Elvis Dowson


More information about the Openembedded-devel mailing list