Re: latest iwm patches don't work with my 8265 chip

From: Pete Wright <pete_at_nomadlogic.org>
Date: Mon, 9 Oct 2017 19:12:00 -0700
On 10/09/2017 16:02, Pete Wright wrote:
> hey there - i was really excited to see GNN's recent commits to add 
> support to the 8265 Intel WiFi devices:
>
> https://svnweb.freebsd.org/base?view=revision&revision=324434
>
> unfortunately this does not seem to work on my system.  after building 
> and rebooting dmesg reports this:
>
> iwm0: <Intel(R) Dual Band Wireless AC 8265> mem 0xdf000000-0xdf001fff 
> at device 0.0 on pci2
> iwm8265fw: could not load firmware image, error 2
> iwm0: could not read firmware iwm8265fw (error 0)
> iwm0: SecBoot CPU1 Status: 0x1, CPU2 Status: 0x3
> iwm0: Failed to start INIT ucode: 35
>
> here's the output from pciconf for my device:
>
> iwm0_at_pci0:3:0:0:    class=0x028000 card=0x10108086 chip=0x24fd8086 
> rev=0x78 hdr=0x00
>     vendor     = 'Intel Corporation'
>     device     = 'Wireless 8265 / 8275'
>     class      = network
>
>
> interestingly enough the patches imported from dragonfly worked great:
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220229
>

not sure if this is the correct way to get things working, but this diff 
fixes things up on my end (allows the firmware to load):

diff --git a/sys/modules/iwmfw/Makefile b/sys/modules/iwmfw/Makefile
index d38f5424153..73e401b3ea9 100644
--- a/sys/modules/iwmfw/Makefile
+++ b/sys/modules/iwmfw/Makefile
_at__at_ -1,5 +1,5 _at__at_
  # $FreeBSD$

-SUBDIR=        iwm3160fw iwm7260fw iwm7265fw iwm8000Cfw iwm7265Dfw
+SUBDIR=        iwm3160fw iwm7260fw iwm7265fw iwm8000Cfw iwm8265fw 
iwm7265Dfw

  .include <bsd.subdir.mk>


w/o the diff the iwm8265fw doesn't get built afaict.

cheers,
-pete

-- 
Pete Wright
pete_at_nomadlogic.org
_at_nomadlogicLA
Received on Tue Oct 10 2017 - 00:12:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:13 UTC