Lines Matching +full:firmware +full:- +full:based
1 # SPDX-License-Identifier: GPL-2.0
2 menu "Firmware loader"
5 tristate "Firmware loading facility" if EXPERT
10 This enables the firmware loading facility in the kernel. The kernel
11 will first look for built-in firmware, if it has any. Next, it will
12 look for the requested firmware in a series of filesystem paths:
15 o /lib/firmware/updates/UTS_RELEASE
16 o /lib/firmware/updates
17 o /lib/firmware/UTS_RELEASE
18 o /lib/firmware
22 need firmware.
24 You typically want this built-in (=y) but you can also enable this
26 You also want to be sure to enable this built-in if you are going to
27 enable built-in firmware (CONFIG_EXTRA_FIRMWARE).
30 bool "Log filenames and checksums for loaded firmware"
36 Select this option to use dynamic debug to log firmware filenames and
37 SHA256 checksums to the kernel log for each firmware file that is
41 bool "Rust Firmware Loader abstractions"
45 This enables the Rust abstractions for the firmware loader API.
56 string "Build named firmware blobs into the kernel binary"
58 Device drivers which require firmware can typically deal with
59 having the kernel load firmware from the various supported
60 /lib/firmware/ paths. This option enables you to build into the
61 kernel firmware files. Built-in firmware searches are preceded
62 over firmware lookups using your filesystem over the supported
63 /lib/firmware paths documented on CONFIG_FW_LOADER.
65 This may be useful for testing or if the firmware is required early on
66 in boot and cannot rely on the firmware being placed in an initrd or
69 This option is a string and takes the (space-separated) names of the
70 firmware files -- the same names that appear in MODULE_FIRMWARE()
73 /lib/firmware by default.
76 the usb8388.bin file into /lib/firmware, and build the kernel. Then
80 WARNING: If you include additional firmware files into your binary
83 image since it combines both GPL and non-GPL work. You should
89 string "Firmware blobs root directory"
91 default "/lib/firmware"
94 looks for the firmware files listed in the EXTRA_FIRMWARE option.
97 bool "Enable the firmware sysfs fallback mechanism"
101 This option enables a sysfs loading facility to enable firmware
104 firmware failed using the different /lib/firmware/ paths, or the
107 built-in. For details on how to work with the sysfs fallback mechanism
108 refer to Documentation/driver-api/firmware/fallback-mechanisms.rst.
110 The direct filesystem lookup for firmware is always used first now.
112 If the kernel's direct filesystem lookup for firmware fails to find
113 the requested firmware a sysfs fallback loading facility is made
118 acknowledge failure to find firmware as the timeout for the fallback
121 This used to be the default firmware loading facility, and udev used
122 to listen for uvents to load firmware for the kernel. The firmware
130 Since this was the default firmware loading facility at one point,
136 load firmware in case it is not found. One main reason for this may
137 be if you have drivers which require firmware built-in and for
138 whatever reason cannot place the required firmware in initramfs.
147 this may be that your firmware resides outside of the paths the kernel
150 if firmware_class is built-in.
154 to use it to look for and fetch the required firmware. Such type of
157 for provisioning. Since udev's firmware loading facility has been
159 want to load firmware based on uevents issued.
166 certain you need to support some really custom firmware loading
170 bool "Force the firmware sysfs fallback mechanism when possible"
174 to be used for all firmware requests which explicitly do not disable a
175 a fallback mechanism. Firmware calls which do prohibit a fallback
185 bool "Enable compressed firmware support"
187 This option enables the support for loading compressed firmware
188 files. The caller of firmware API receives the decompressed file
192 Compressed firmware support does not apply to firmware images
197 bool "Enable XZ-compressed firmware support"
202 This option adds the support for XZ-compressed files.
204 integrity check type (pass "-C crc32" option to xz command).
207 bool "Enable ZSTD-compressed firmware support"
210 This option adds the support for ZSTD-compressed files.
215 bool "Enable firmware caching during suspend"
219 Because firmware caching generates uevent messages that are sent
227 bool "Enable users to initiate firmware updates using sysfs"
232 sysfs interface that allows firmware updates to be initiated from
233 userspace. For example, FPGA based PCIe cards load firmware and FPGA
236 to support cards that rely on user-initiated updates for firmware files.