[oe] How to generate vmlinux kernel image

Elvis Dowson elvis.dowson at gmail.com
Mon Jun 4 23:57:32 UTC 2012


Hi,
      I added the following two lines to meta-xilinx/conf/virtex5.conf to try and get it to build both a uImage an a vmlinux image. The vmlinux image is so that I can load the generated kernel into qemuppc emulator. I also want to generate the rootfs in ext3 format.

KERNEL_IMAGETYPE = "uImage vmlinux"
IMAGE_FSTYPES += "ext3 tar.bz2"

However, when I run bitbake core-image-minimal, I get the following errors:

OTE: package linux-xilinx-2.6.37.1+git1+86c81ccd7c8e895904bfff95bd4f87c9615f7fba-r16: task do_install: Started
ERROR: Function failed: do_install (see /tool/yocto/poky/build/tmp/work/virtex5-poky-linux/linux-xilinx-2.6.37.1+git1+86c81ccd7c8e895904bfff95bd4f87c9615f7fba-r16/temp/log.do_install.13012 for further information)
ERROR: Logfile of failure stored in: /tool/yocto/poky/build/tmp/work/virtex5-poky-linux/linux-xilinx-2.6.37.1+git1+86c81ccd7c8e895904bfff95bd4f87c9615f7fba-r16/temp/log.do_install.13012
Log data follows:
| DEBUG: Executing shell function do_install
| ERROR: Function failed: do_install (see /tool/yocto/poky/build/tmp/work/virtex5-poky-linux/linux-xilinx-2.6.37.1+git1+86c81ccd7c8e895904bfff95bd4f87c9615f7fba-r16/temp/log.do_install.13012 for further information)
| NOTE: make -j 6 DEPMOD=echo INSTALL_MOD_PATH=/tool/yocto/poky/build/tmp/work/virtex5-poky-linux/linux-xilinx-2.6.37.1+git1+86c81ccd7c8e895904bfff95bd4f87c9615f7fba-r16/image modules_install
|   INSTALL drivers/char/hw_random/rng-core.ko
|   INSTALL fs/nls/nls_iso8859-1.ko
|   INSTALL fs/nls/nls_utf8.ko
|   INSTALL fs/nls/nls_ascii.ko
|   INSTALL net/ipv4/netfilter/ip_tables.ko
|   INSTALL net/ipv4/netfilter/iptable_filter.ko
|   INSTALL net/ipv4/netfilter/iptable_mangle.ko
|   INSTALL net/ipv4/tunnel4.ko
|   INSTALL net/ipv6/ipv6.ko
|   INSTALL net/ipv6/sit.ko
|   INSTALL net/ipv6/xfrm6_mode_beet.ko
|   INSTALL net/ipv6/xfrm6_mode_transport.ko
|   INSTALL net/ipv6/xfrm6_mode_tunnel.ko
|   INSTALL net/netfilter/x_tables.ko
|   INSTALL net/netfilter/xt_tcpudp.ko
|   DEPMOD  3.0.0-14.1-build3
| Warning: you may need to install module-init-tools
| See http://www.codemonkey.org.uk/docs/post-halloween-2.6.txt
| install: target `vmlinux-3.0.0-14.1-build3' is not a directory
NOTE: package linux-xilinx-2.6.37.1+git1+86c81ccd7c8e895904bfff95bd4f87c9615f7fba-r16: task do_install: Failed
ERROR: Task 481 (/tool/yocto/meta-xilinx/recipes-kernel/linux/linux-xilinx_git.bb, do_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2266 tasks of which 2260 didn't need to be rerun and 1 failed.

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


What should I do to get it to generate the vmlinux image and the rootfs in ext3 format?

Elvis Dowson



More information about the Openembedded-devel mailing list