You are not logged in.
Pages: 1
On latest news on archlinux.org there is:
The linux-firmware package 20220119.0c6a7b3-2 implements kernel firmware compression. Linux kernel from 5.3 on support loading from xz compressed firmware.
CONFIG_FW_LOADER_COMPRESS kernel option must be enabled. All official Arch Linux kernel support this for a long time. [1]
I assume that this will not affect me because "All official Arch Linux kernel support this for a long time."
But I would like to understand and learn this.
There is systemd-boot kernel parameters
In my loader entry in oprtions I have for example:
root=/dev/mapper/cryptroot rootflags=subvol=@ rw
But I don't understand how I should enable option like CONFIG_FW_LOADER_COMPRESS
Should it look like this:
root=/dev/mapper/cryptroot rootflags=subvol=@ rw config_fw_loader_compress
or maybe
root=/dev/mapper/cryptroot rootflags=subvol=@ rw config_fw_loader_compress=1
And in potions line does order matter?
rw at the end of options line?
Or rw can be before for example rootflags?
Last edited by 860lacov (2022-01-30 15:11:00)
Offline
The option is for kernel configuration rather than a kernel command line parameter.
Check
zgrep CONFIG_FW_LOADER_COMPRESS /proc/config.gz
EDIT: see also https://wiki.archlinux.org/title/Kernel … figuration
Last edited by Head_on_a_Stick (2022-01-30 13:09:38)
Jin, Jîyan, Azadî
Offline
The option is for kernel configuration rather than a kernel command line parameter.
Check
zgrep CONFIG_FW_LOADER_COMPRESS /proc/config.gz
EDIT: see also https://wiki.archlinux.org/title/Kernel … figuration
Well
zgrep shows
CONFIG_FW_LOADER_COMPRESS=y
And wiki says
You can do a mixture of two things:
- Use the default Arch settings from an official kernel (recommended)
- Manually configure the kernel options (optional, advanced and not recommended)
So basically if I use official kernel I can just leave kernel options for developers and I should be ok. Am I right?
Offline
Yes. This is a compile time option, if you wanted to change this you'd need to compile and build your own linux kernel package.
Offline
Pages: 1