On 14 September 2015 at 23:05, Bruce Dubbs <[email protected]> wrote:

> [email protected] wrote:
>
>>
>> I'm attempting to load iwlwifi-3160 firmware.  It works, but only if I
>> build the following drivers as modules.
>>
>>       Intel Wireless WiFi Next Gen AGN - Wireless-N/Advanced-N/Ultimate
>>
>>        Intel Wireless WiFi MVM Firmware Support
>>
>> I have no experience with firmware, but am forced in this instance.
>> However, I'm unaware firmware drivers can't be compiled into the
>> kernel.  If I do so the firmware isn't found.
>>
>> Is there something in LFS/BLFS requiring modules for firmware? Assuming
>> not, and I've made an error, what might I check?  Other than this,
>> everything works well.
>>
>
> I'm not sure if it works as built-in or not.  I have from dmesg
>
> iwlwifi 0000:01:00.0: loaded firmware version 25.17.12.0 op_mode iwlmvm
>
> I tried several things and have in /lib/firmware:
>
>  iwlwifi-7260-9.ucode  iwlwifi-7260-12.ucode
>  iwlwifi-7260-7.ucode  iwlwifi-7260-10.ucode
>
> but I'm not sure which blob it used.
>
> I do have as modules:
>
> iwlmvm                166166  0
> iwlwifi                96801  1 iwlmvm
>
>
> It's been a while since I got this card running, so I don't recall if I
> tried as built-in or not.


I don't use kernel modules; I always run a static kernel.  This is what I
have:-

/lib/firmware:-

 edid  intel  iwlwifi-7260-12.ucode  iwlwifi-7260-9.ucode  rtl_nic

dmesg:-

iwlwifi 0000:01:00.0: Direct firmware load for iwlwifi-7260-13.ucode
failed with error -2
iwlwifi 0000:01:00.0: Falling back to user helper
iwlwifi 0000:01:00.0: loaded firmware version 25.16.12.0 op_mode iwlmvm
iwlwifi 0000:01:00.0: Detected Intel(R) Dual Band Wireless AC 7260,
REV=0x144
iwlwifi 0000:01:00.0: L1 Disabled - LTR Disabled
iwlwifi 0000:01:00.0: L1 Disabled - LTR Disabled
cfg80211: Ignoring regulatory request set by core since the driver uses
its own custom regulatory domain
ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'

This wifi adapter works just fine.  From my experience it seems that the
kernel will load the latest firmware that is available to it in
/lib/firmware, as long as it is compatible with the adapter.  If the latest
firmware is not available to it in /lib/firmware it will fall-back to the
next version, and then the next until it finds a suitable version.  As you
can see it is looking for 7260-13 but I haven't updated yet from 7260-12,
so that is what it selects as the latest available firmware in
/lib/firmware.

Richard
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to