firmware_loader: EXTRA_FIRMWARE does not support compressed files
Subsystems (2)
PATCH 1/1 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.
---
Yeah, I wasted some time trying to use an xz compressed file as builtin EXTRA_FIRMWARE, so try to prevent someone else from doing that.
drivers/base/firmware_loader/Kconfig | 5 +++++ 1 file changed, 5 insertions(+)
drivers/base/firmware_loader/Kconfig +5 -0
@@ -60,6 +60,8 @@ config EXTRA_FIRMWARE 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. + config EXTRA_FIRMWARE_DIR string "Firmware blobs root directory" depends on EXTRA_FIRMWARE != ""
@@ -169,6 +171,9 @@ config FW_LOADER_COMPRESS be compressed with either none or crc32 integrity check type (pass "-C crc32" option to xz command). + Compressed firmware support does not apply to firmware images + that are built into the kernel image (CONFIG_EXTRA_FIRMWARE). + config FW_CACHE bool "Enable firmware caching during suspend" depends on PM_SLEEP
Quoted 11 lines · Randy Dunlap
Document in the firmware loader
Kconfighelp text that firmware image file compression is not supported for builtinEXTRA_FIRMWAREfiles so that someone does not waste time trying that.Signed-off-by Randy Dunlap <[email protected]>Cc Luis Chamberlain <[email protected]>Cc Greg Kroah-Hartman <[email protected]>Cc "Rafael J. Wysocki" <[email protected]>---
Yeah, I wasted some time trying to use an xz compressed file as builtinEXTRA_FIRMWARE,
Curious *why* you are using EXTRA_FIRMWARE BTW.
Quoted 2 lines
so try to prevent someone else from
doing that.
Luis
Quoted 25 lines
drivers/base/firmware_loader/Kconfig | 5 +++++ 1 file changed, 5 insertions(+)drivers/base/firmware_loader/Kconfig +5
-0@@ -60,6 +60,8 @@ config EXTRA_FIRMWARE 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. + config EXTRA_FIRMWARE_DIR string "Firmware blobs root directory" depends on EXTRA_FIRMWARE != ""@@ -169,6 +171,9 @@ config FW_LOADER_COMPRESS be compressed with either none or crc32 integrity check type (pass "-C crc32" option to xz command). + Compressed firmware support does not apply to firmware images + that are built into the kernel image (CONFIG_EXTRA_FIRMWARE). + config FW_CACHE bool "Enable firmware caching during suspend" depends on PM_SLEEP
Quoted 13 lines · Luis Chamberlain
Quoted 11 lines · Randy Dunlap
Document in the firmware loader
Kconfighelp text that firmware image file compression is not supported for builtinEXTRA_FIRMWAREfiles so that someone does not waste time trying that.Signed-off-by Randy Dunlap <[email protected]>Cc Luis Chamberlain <[email protected]>Cc Greg Kroah-Hartman <[email protected]>Cc "Rafael J. Wysocki" <[email protected]>---
Yeah, I wasted some time trying to use an xz compressed file as builtinEXTRA_FIRMWARE,
Quoted 1 line
Curious *why* you are using
EXTRA_FIRMWAREBTW.
Hi Luis,
I need to load i915 firmware very early
and I am not using an initramfs.
Quoted 4 lines
Quoted 2 lines
so try to prevent someone else from
doing that.Acked-by Luis Chamberlain <[email protected]>
Thanks.
Quoted 26 lines
Luis
Quoted 25 lines
drivers/base/firmware_loader/Kconfig | 5 +++++ 1 file changed, 5 insertions(+)drivers/base/firmware_loader/Kconfig +5
-0@@ -60,6 +60,8 @@ config EXTRA_FIRMWARE 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. + config EXTRA_FIRMWARE_DIR string "Firmware blobs root directory" depends on EXTRA_FIRMWARE != ""@@ -169,6 +171,9 @@ config FW_LOADER_COMPRESS be compressed with either none or crc32 integrity check type (pass "-C crc32" option to xz command). + Compressed firmware support does not apply to firmware images + that are built into the kernel image (CONFIG_EXTRA_FIRMWARE). + config FW_CACHE bool "Enable firmware caching during suspend" depends on PM_SLEEP
Signature · 1 line
~Randy
Luis Chamberlain
maintainerQuoted 16 lines · Randy Dunlap
Quoted 13 lines · Luis Chamberlain
Quoted 11 lines · Randy Dunlap
Document in the firmware loader
Kconfighelp text that firmware image file compression is not supported for builtinEXTRA_FIRMWAREfiles so that someone does not waste time trying that.Signed-off-by Randy Dunlap <[email protected]>Cc Luis Chamberlain <[email protected]>Cc Greg Kroah-Hartman <[email protected]>Cc "Rafael J. Wysocki" <[email protected]>---
Yeah, I wasted some time trying to use an xz compressed file as builtinEXTRA_FIRMWARE,
Quoted 6 lines
Quoted 1 line
Curious *why* you are using
EXTRA_FIRMWAREBTW.Hi Luis,
I need to load i915 firmware very early
and I am not using an initramfs.
Curious, why don't you use an initramfs? I'm just trying to gather users of EXTRA_FIRMWARE as I thought they didn't exist.
Luis
Quoted 19 lines · Luis Chamberlain
Quoted 18 lines · Randy Dunlap
Quoted 14 lines · Luis Chamberlain
Quoted 11 lines · Randy Dunlap
Document in the firmware loader
Kconfighelp text that firmware image file compression is not supported for builtinEXTRA_FIRMWAREfiles so that someone does not waste time trying that.Signed-off-by Randy Dunlap <[email protected]>Cc Luis Chamberlain <[email protected]>Cc Greg Kroah-Hartman <[email protected]>Cc "Rafael J. Wysocki" <[email protected]>---
Yeah, I wasted some time trying to use an xz compressed file as builtinEXTRA_FIRMWARE,Curious *why* you are using
EXTRA_FIRMWAREBTW.
Quoted 8 lines
Quoted 4 lines
Hi Luis,
I need to load i915 firmware very early
and I am not using an initramfs.Curious, why don't you use an initramfs? I'm just trying to gather users of
EXTRA_FIRMWAREas I thought they didn't exist.
It's an option, right?
I just prefer to be able to boot a bare kernel.
Signature · 1 line
~Randy