Bug 660 - Missing kernel firmware
Summary: Missing kernel firmware
Status: RESOLVED NOTABUG
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.0 M4
Assignee: Dongxiao Xu
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2011-01-18 05:44 UTC by Gary Thomas
Modified: 2011-03-08 23:17 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gary Thomas 2011-01-18 05:44:22 UTC
For those systems that require kernel loadable firmware modules, use of the linux-firmware [sub] packages are used.  This gets the firmware packaged up, but they
are not installed in a bootable image.

For example,
  MACHINE=igep0030 bitbake poky-image-minimal
in a clean tree.  No kernel modules:

[gthomas@titan igep_test]$ ls tmp/work/igep0030-poky-linux-gnueabi/poky-image-minimal-1.0-r0/rootfs/lib
ld-2.12.1.so               libattr.so.1.1.0    libgcc_s.so.1            libnss_dns-2.12.1.so    librt-2.12.1.so
ld-linux.so.3              libc-2.12.1.so      libgudev-1.0.so.0        libnss_dns.so.2         librt.so.1
libBrokenLocale-2.12.1.so  libc.so.6           libgudev-1.0.so.0.0.1    libnss_files-2.12.1.so  libudev.so.0
libBrokenLocale.so.1       libcidn-2.12.1.so   libm-2.12.1.so           libnss_files.so.2       libudev.so.0.9.3
libacl.so.1                libcidn.so.1        libm.so.6                libproc-3.2.8.so        libutil-2.12.1.so
libacl.so.1.1.0            libcrypt-2.12.1.so  libnsl-2.12.1.so         libpthread-2.12.1.so    libutil.so.1
libanl-2.12.1.so           libcrypt.so.1       libnsl.so.1              libpthread.so.0         modules
libanl.so.1                libdl-2.12.1.so     libnss_compat-2.12.1.so  libresolv-2.12.1.so     udev
libattr.so.1               libdl.so.2          libnss_compat.so.2       libresolv.so.2 

The directory /lib/firmware is not installed.
Comment 1 Dongxiao Xu 2011-02-16 00:39:41 UTC
Gary, without these firmware and module files, can the kernel (igep0030) boot successfully?

As from most of the machine configuration files in current poky, including igep0030.conf, "kernel-modules" and "linux-firmware-sd8686" are part of "MACHINE_EXTRA_RRECOMMENDS", like:

MACHINE_EXTRA_RRECOMMENDS = " kernel-modules linux-firmware-sd8686"

However for poky-image-minimal, only "MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS" is included. If the kernel module and firmware files are indeed necessary for successful boot, we can add them into minimal image.

Richard, any comments on that?

Thanks,
Dongxiao
Comment 2 Dongxiao Xu 2011-03-08 23:17:43 UTC
Currently igep machines have been deprecated in poky.

Besides, minimal image is a smallest set of packages which only support successfully booting. If more features are needed, we should use sato, sato-sdk, or other image types.

Thus close the bug.