Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

firmware_loader: EXTRA_FIRMWARE does not support compressed files

Document in the firmware loader Kconfig help text that firmware image
file compression is not supported for builtin EXTRA_FIRMWARE files so
that someone does not waste time trying that.

Cc: Luis Chamberlain <mcgrof@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Acked-by: Luis Chamberlain <mcgrof@kernel.org>
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Link: https://lore.kernel.org/r/20220214222311.9758-1-rdunlap@infradead.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Randy Dunlap and committed by
Greg Kroah-Hartman
36744c11 8bcbde2b

+5
+5
drivers/base/firmware_loader/Kconfig
··· 60 60 image since it combines both GPL and non-GPL work. You should 61 61 consult a lawyer of your own before distributing such an image. 62 62 63 + NOTE: Compressed files are not supported in EXTRA_FIRMWARE. 64 + 63 65 config EXTRA_FIRMWARE_DIR 64 66 string "Firmware blobs root directory" 65 67 depends on EXTRA_FIRMWARE != "" ··· 170 168 Currently only XZ-compressed files are supported, and they have to 171 169 be compressed with either none or crc32 integrity check type (pass 172 170 "-C crc32" option to xz command). 171 + 172 + Compressed firmware support does not apply to firmware images 173 + that are built into the kernel image (CONFIG_EXTRA_FIRMWARE). 173 174 174 175 config FW_CACHE 175 176 bool "Enable firmware caching during suspend"