Re: [PATCH] firmware_loader: EXTRA_FIRMWARE does not support compressed files

From: Luis Chamberlain
Date: Tue Feb 15 2022 - 02:31:27 EST


On Mon, Feb 14, 2022 at 07:30:22PM -0800, Randy Dunlap wrote:
>
>
> On 2/14/22 17:53, Luis Chamberlain wrote:
> > On Mon, Feb 14, 2022 at 02:23:11PM -0800, Randy Dunlap wrote:
> >> 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.
> >>
> >> Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> >> Cc: Luis Chamberlain <mcgrof@xxxxxxxxxx>
> >> Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> >> Cc: "Rafael J. Wysocki" <rafael@xxxxxxxxxx>
> >> ---
> >> Yeah, I wasted some time trying to use an xz compressed file
> >> as builtin EXTRA_FIRMWARE,
> >
> > Curious *why* you are using EXTRA_FIRMWARE BTW.
>
> 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