Firmware

如何查找有關韌體的資訊並進行安裝?

  • June 28, 2018
  1. 我們如何找到有關韌體的資訊,例如它是否已安裝,如果已安裝,它的版本?

如果安裝了韌體,我們如何才能找到它的版本以及它是否已過時?

如果沒有安裝韌體,我們如何從哪里安裝呢?

例如,我lshw -C networkdriver=iwlwifi driverversion=3.16.0-34-generic firmware=8.83.5.1 build 33692. 但我的模組iwlwifi依賴於以下韌體:

$ modinfo iwlwifi
filename:       /lib/modules/3.16.0-34-generic/kernel/drivers/net/wireless/iwlwifi/iwlwifi.ko
license:        GPL
author:         Copyright(c) 2003- 2014 Intel Corporation <ilw@linux.intel.com>
version:        in-tree:
description:    Intel(R) Wireless WiFi driver for Linux
firmware:       iwlwifi-100-5.ucode
firmware:       iwlwifi-1000-5.ucode
firmware:       iwlwifi-135-6.ucode
firmware:       iwlwifi-105-6.ucode
firmware:       iwlwifi-2030-6.ucode
firmware:       iwlwifi-2000-6.ucode
firmware:       iwlwifi-5150-2.ucode
firmware:       iwlwifi-5000-5.ucode
firmware:       iwlwifi-6000g2b-6.ucode
firmware:       iwlwifi-6000g2a-5.ucode
firmware:       iwlwifi-6050-5.ucode
firmware:       iwlwifi-6000-4.ucode
firmware:       iwlwifi-7265-9.ucode
firmware:       iwlwifi-3160-9.ucode
firmware:       iwlwifi-7260-9.ucode
firmware:       iwlwifi-8000-8.ucode
srcversion:     93D664267873827B22C4309

我的韌體版本是什麼8.83.5.1 build 33692, 或 8000-8列出的韌體名稱中的其他數字是 modinfo iwlwifi什麼? 2. 我關注了馬克的評論

$ grep firmware /var/log/syslog
Apr 13 08:55:39 ocean kernel: [39341.818595] iwlwifi 0000:03:00.0: Loaded firmware version: 8.83.5.1 build 33692
Apr 13 08:55:54 ocean kernel: [39357.100042] iwlwifi 0000:03:00.0: Failed to load firmware chunk!
Apr 13 08:56:09 ocean kernel: [39372.448055] iwlwifi 0000:03:00.0: Failed to load firmware chunk!
Apr 13 08:56:25 ocean kernel: [39387.640078] iwlwifi 0000:03:00.0: Failed to load firmware chunk!
Apr 13 08:57:06 ocean kernel: [39429.560058] iwlwifi 0000:03:00.0: Failed to load firmware chunk!
Apr 13 08:57:22 ocean kernel: [39444.744048] iwlwifi 0000:03:00.0: Failed to load firmware chunk!
Apr 13 08:57:37 ocean kernel: [39460.560055] iwlwifi 0000:03:00.0: Failed to load firmware chunk!
Apr 13 08:57:53 ocean kernel: [39475.752032] iwlwifi 0000:03:00.0: Failed to load firmware chunk!
Apr 13 08:58:18 ocean kernel: [39500.944045] iwlwifi 0000:03:00.0: Failed to load firmware chunk!
Apr 13 08:58:33 ocean kernel: [39516.484054] iwlwifi 0000:03:00.0: Failed to load firmware chunk!
Apr 13 08:58:49 ocean kernel: [39531.640046] iwlwifi 0000:03:00.0: Failed to load firmware chunk!
Apr 13 08:59:47 ocean kernel: [39589.852052] iwlwifi 0000:03:00.0: Failed to load firmware chunk!
Apr 13 09:00:02 ocean kernel: [39605.004072] iwlwifi 0000:03:00.0: Failed to load firmware chunk!
Apr 13 09:00:18 ocean kernel: [39620.780054] iwlwifi 0000:03:00.0: Failed to load firmware chunk!
Apr 13 09:00:33 ocean kernel: [39635.960060] iwlwifi 0000:03:00.0: Failed to load firmware chunk!
Apr 13 09:00:58 ocean kernel: [39661.160053] iwlwifi 0000:03:00.0: Failed to load firmware chunk!
Apr 13 09:01:14 ocean kernel: [39676.592040] iwlwifi 0000:03:00.0: Failed to load firmware chunk!
Apr 13 09:01:29 ocean kernel: [39691.764037] iwlwifi 0000:03:00.0: Failed to load firmware chunk!
Apr 13 09:03:19 ocean kernel: [39801.904071] iwlwifi 0000:03:00.0: Failed to load firmware chunk!
Apr 13 09:06:42 ocean kernel: [40004.872045] iwlwifi 0000:03:00.0: Failed to load firmware chunk!
Apr 13 09:13:08 ocean kernel: [    1.733757] psmouse serio1: trackpoint: IBM TrackPoint firmware: 0x0e, buttons: 3/3
Apr 13 09:13:08 ocean kernel: [    7.193448] iwlwifi 0000:03:00.0: loaded firmware version 8.83.5.1 build 33692 op_mode iwldvm
Apr 13 13:24:05 ocean kernel: [15067.014026] iwlwifi 0000:03:00.0: loaded firmware version 8.83.5.1 build 33692 op_mode iwldvm

它沒有明確說明iwlwifi載入失敗所需的韌體。我怎樣才能找到它們,然後解決載入失敗的問題?

該錯誤消息並不表示iwlwifi找不到所需的韌體文件;它表明它無法將一塊韌體載入到適配器中。所以iwlwifi找到了它正在尋找的韌體,它只是無法將它(全部)載入到適配器中……

一般來說,在尋找韌體時,如果您使用發行版的核心,則應該使用發行版的韌體包;如果您使用的是上游核心,則應使用規範的韌體儲存庫

至於你的具體韌體,它的版本是“8.83.5.1 build 33692”。韌體文件名中的數字對應具體的晶片和API版本;例如,8260 和 4165 設備iwlwifi-8000-8.ucode使用的韌體iwl-8000,API 版本為 8。該iwlwifi模組列出了它支持的所有晶片組的所有不同韌體文件;由於它支持許多晶片組,它聲明了許多韌體文件,即使它通常只需要一個用於任何給定設備。

因此iwlwifi-7260-9.ucode與 ; 無關iwlwifi-8000-8.ucode;它被iwl-7000. 如果將來發布後者的較新版本,您將在 中看到更新linux-firmware,但文件名僅在 API 版本增加時才會更改(可能是因為它以向後不兼容的方式更改)。

引用自:https://unix.stackexchange.com/questions/196031