Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1116593
| From | наб <nabijaczleweli@nabijaczleweli.xyz> |
|---|---|
| Newsgroups | linux.debian.bugs.dist, linux.debian.kernel |
| Subject | Bug#1019412: initramfs-tools: Please support compressed firmware (new in Linux 5.19) |
| Date | 2022-09-08 22:30 +0200 |
| Message-ID | <F3wjT-6fYZ-9@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Cross-posted to 2 groups.
[Multipart message — attachments visible in raw view] - view raw
Source: initramfs-tools
Version: 0.142
Severity: wishlist
Tags: patch
Dear Maintainer,
Resubmitting MR 61
https://salsa.debian.org/kernel-team/initramfs-tools/-/merge_requests/61
to debbugs after 4 months.
The patches, in order, do the following:
1. /sys/module/firmware_class/parameters/path, if any, is added before
anything else in the module loading path:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/base/firmware_loader/main.c?h=v5.17#n406
2. When configured with FW_LOADER_COMPRESS, Linux additionally
searches firmware with an .xz suffix and decompresses it in-kernel:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/base/firmware_loader/main.c?h=v5.17#n754
3. In 5.19, when configured with FW_LOADER_COMPRESS_ZSTD, Linux will
additionally support ZSTD-compression with a .zst suffix:
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git/commit/?h=driver-core-next&id=23cfbc6ec44e5e80d5522976ff45ffcdcddfb230
The end-goal of this is that I'd like the firmware for which this is a
gain to be installed compressed in Debian
(firmware-amd-graphics firmware-iwlwifi firmware-linux-free,
a common setup, is 19M of .deb, 159M on-disk,
but just 51M when subjected to
find fw.xz/ -type f -exec xz {} \;
(61M zstd default, 55M zstd -19);
on one machine with that + 283M of xilinx firmware
the gain is 464M -> 87M (116M, 94M)).
Best,
наб
-- System Information:
Debian Release: 11.4
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.10.0-17-amd64 (SMP w/24 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread
Bug#1019412: initramfs-tools: Please support compressed firmware (new in Linux 5.19) наб <nabijaczleweli@nabijaczleweli.xyz> - 2022-09-08 22:30 +0200
csiph-web