跳转到内容

Linux 固件

来自 Arch Linux 中文维基

Linux 固件是和 Linux 内核一同发行的软件包,其包含某些硬件所需的部分或全部功能所需的固件的二进制 blob。这些二进制 blob 不允许被包含于使用了 GPL 许可证的工程,但可以以其他许可证重新发行。

通常需要固件的几种硬件包括:

安装

[编辑 | 编辑源代码]

对于多数用户,推荐安装 linux-firmware 元包以获取所以常用固件。

单独安装不同供应商的固件

[编辑 | 编辑源代码]

您可以仅安装您系统所使用的部分硬件的固件以节省存储空间。

警告:缺少必需固件可能导致系统无法操作!

作为 linux-firmware 的依赖与其一同安装的固件:

可选软件包:

Third-party packages:

Tips and tricks

[编辑 | 编辑源代码]

Detecting loaded firmware

[编辑 | 编辑源代码]

Sometimes you want to know what firmware is loaded by your system, for debugging or to pick firmware packages to install.

That could be achieved using dynamic debug:

  • Add dyndbg="func fw_log_firmware_info +p" to the kernel parameters. Note that the quotes may need to be escaped depending upon boot loader.
  • List loaded firmware with
    # journalctl -kg 'loaded f'

See also

[编辑 | 编辑源代码]