澄清:

澄清:

编译内核后,当我输入 时make modules_install,不仅模块会被复制到 中/lib/modules/,固件也会被复制到 中/lib/firmware/。以下是输入后输出的结尾make modules_install

MKDIR   /lib/firmware/radeon
INSTALL /lib/firmware/radeon/R100_cp.bin
INSTALL /lib/firmware/radeon/R200_cp.bin
INSTALL /lib/firmware/radeon/R300_cp.bin
INSTALL /lib/firmware/radeon/R420_cp.bin
INSTALL /lib/firmware/radeon/RS690_cp.bin
INSTALL /lib/firmware/radeon/RS600_cp.bin
INSTALL /lib/firmware/radeon/R520_cp.bin
INSTALL /lib/firmware/radeon/R600_pfp.bin
INSTALL /lib/firmware/radeon/R600_me.bin
INSTALL /lib/firmware/radeon/RV610_pfp.bin
INSTALL /lib/firmware/radeon/RV610_me.bin
INSTALL /lib/firmware/radeon/RV630_pfp.bin
INSTALL /lib/firmware/radeon/RV630_me.bin
INSTALL /lib/firmware/radeon/RV620_pfp.bin
INSTALL /lib/firmware/radeon/RV620_me.bin
INSTALL /lib/firmware/radeon/RV635_pfp.bin
INSTALL /lib/firmware/radeon/RV635_me.bin
INSTALL /lib/firmware/radeon/RV670_pfp.bin
INSTALL /lib/firmware/radeon/RV670_me.bin
INSTALL /lib/firmware/radeon/RS780_pfp.bin
INSTALL /lib/firmware/radeon/RS780_me.bin
INSTALL /lib/firmware/radeon/RV770_pfp.bin
INSTALL /lib/firmware/radeon/RV770_me.bin
INSTALL /lib/firmware/radeon/RV730_pfp.bin
INSTALL /lib/firmware/radeon/RV730_me.bin
INSTALL /lib/firmware/radeon/RV710_pfp.bin
INSTALL /lib/firmware/radeon/RV710_me.bin

碰巧,我需要 ATI radeon 显卡的固件。但我已经有了固件,/lib/firmware/并且我不希望构建该固件。我在内核中选择了以下选项:

[*] Select only drivers that don't need compile-time external firmware
[*] Prevent firmware from being built

那么为什么还要构建固件呢?

另外,我如何找出我的卡需要哪一个固件?我可以在 my 中看到以下消息dmesg,但这并没有告诉我加载了哪个文件:

[drm] initializing kernel modesetting (RV620 0x1002:0x95CF 0x1002:0x2143).
[drm] Loading RV620 Microcode

有没有办法列出已加载的固件,就像我列出已加载的模块一样(lsmod

澄清:

总结我的问题:我有ATI RV620 (FirePro 2260)显卡并且正在使用 kernel 3.12.20。如何准确找出我的卡需要加载哪些固件文件?

# lspci | grep -i vga
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RV620 [FirePro 2260]

答案1

您可以尝试以下命令之一:

modinfo -F firmware `lsmod | tail -n +2 | cut -f 1 -d ' '`

或者

lsmod | tail -n +2 | cut -f 1 -d ' ' | xargs modinfo -F firmware

相关内容