Component Type: kbuild config
Description: Build named firmware blobs into the kernel binary
More info: Device drivers which require firmware can typically deal with having the kernel load firmware from the various supported /lib/firmware/ paths. This option enables you to build into the kernel firmware files. Built-in firmware searches are preceded over firmware lookups using your filesystem over the supported /lib/firmware paths documented on CONFIG_FW_LOADER. This may be useful for testing or if the firmware is required early on in boot and cannot rely on the firmware being placed in an initrd or initramfs. This option is a string and takes the (space-separated) names of the firmware files -- the same names that appear in MODULE_FIRMWARE() and request_firmware() in the source. These files should exist under the directory specified by the EXTRA_FIRMWARE_DIR option, which is /lib/firmware by default. For example, you might set CONFIG_EXTRA_FIRMWARE="usb8388.bin", copy the usb8388.bin file into /lib/firmware, and build the kernel. Then any request_firmware("usb8388.bin") will be satisfied internally inside the kernel without ever looking at your filesystem at runtime. WARNING: If you include additional firmware files into your binary kernel image that are not available under the terms of the GPL, then it may be a violation of the GPL to distribute the resulting image since it combines both GPL and non-GPL work. You should consult a lawyer of your own before distributing such an image. NOTE: Compressed files are not supported in EXTRA_FIRMWARE.
Build project: Kconfig (Linux kconfig) (Path: drivers\base\firmware_loader\Kconfig )
Other views: file explorer