Wind River Support Network

HomeDefectsLIN7-2925
Fixed

LIN7-2925 : CLONE - wr-intel-igb README does not document initramfs integration

Created: Feb 10, 2015    Updated: Sep 8, 2018
Resolved Date: Apr 20, 2015
Found In Version: 7.0
Fix Version: 7.0.0.5
Severity: Severe
Applicable for: Wind River Linux 7
Component/s: Kernel

Description

In the wr-intel-igb layer, the IGB module is disabled (# CONFIG_IGB is not set) and built separately by a new recipe (igb_5.2.9.4.bb), thus creating a new package called igb that only contains igb.ko.
We are having issues integrating this module into initramfs, so the steps should be documented in the layer README: shall we add kernel-module-igb or igb to the initramfs image recipe? What else is needed?

Steps to Reproduce

The layer README does not mention how to integrate this new module into an initramfs:
$ grep -i initramfs layers/wr-intel-igb/README
# returns nothing...

So we have to guess how to do that, and my customer project fails to build:
$ cat <mylayer>/recipes-loader/images/wrlinux-image-initramfs.bbappend
IMAGE_INSTALL_append = "kernel-module-igb"
$ /wrlinux-6/wrlinux/configure --enable-board=intel-x86-64 --enable-kernel=standard --enable-rootfs=glibc_core --enable-bootimage=hdd,tar.bz2 --with-bootimage-space=BOOT_IMG_SPACE --enable-checkout-all-layers=yes --enable-reconfig --enable-rm-oldimgs=yes --with-layer=wr-intel-igb,<mylayer> --with-template=feature/initramfs,feature/kexec,feature/kdump --enable-parallel-pkgbuilds=8 --enable-jobs=16 --with-rcpl-version=0015
$ make
...
| Error: kernel-module-igb not found in the base feeds (intel_x86_64 x86_64 noarch any all).
| WARNING: /<prj>/bitbake_build/tmp/work/intel_x86_64-wrs-linux/wrlinux-image-initramfs/1.0-r0/temp/do_rootfs/run.do_rootfs.8932:1 exit 1 from
| exit 1
| ERROR: Function failed: do_rootfs (log file is located at /<prj>/bitbake_build/tmp/work/intel_x86_64-wrs-linux/wrlinux-image-initramfs/1.0-r0/temp/do_rootfs/log.do_rootfs.8932)
ERROR: Task 353 (/<prj>/layers/wr-kernel/recipes-core/images/wrlinux-image-initramfs.bb, do_rootfs) failed with exit code '1'

Other Downloads


Live chat
Online