]> git.apps.os.sepia.ceph.com Git - linux-firmware.git/commit
Makefile, copy-firmware: support xz/zstd compressed firmware 20230625
authorEmil Velikov <emil.l.velikov@gmail.com>
Mon, 5 Jun 2023 13:58:12 +0000 (14:58 +0100)
committerJosh Boyer <jwboyer@kernel.org>
Sun, 25 Jun 2023 16:18:57 +0000 (12:18 -0400)
commitee91452dac5abfc4c5b9827cf55e701d8c0ca678
tree5866ac612bcfb7f69240bc1bf97d2ed0af0c2f1b
parentad2ce8beeeb46bca4246ecb62ac4fe715f097e39
Makefile, copy-firmware: support xz/zstd compressed firmware

The kernel has supported compressed firmware for quite some time. So
let's add a couple of targets to produce that. In practical terms this
means it we'll use ~5x times less space on disk.

Reportedly the amd ucode, needs to be uncompressed _within_ the
initrd in order to work. Using compressed ucode in late load just works.
Ideally this will be addressed by the initrd generators, but considering
the files are tiny in size let's skip the compression.

v2
 - commit message, skip compression for files annotated as Raw

v3
 - rebase

[Drop extra verbose statement in zstd case, Josh Boyer
<jwboyer@kernel.org>]

Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
Makefile
WHENCE
copy-firmware.sh