Dell - Internal Use - Confidential 

HI  All:
I have replaced the new firmware files to old one. And I build new 
ath10k_pci.ko ,ath10k_core.ko to get some 
debug info.

The new firmware is still not loaded by ath10k driver . 
And I compare the driver codes with 4.7 -rc7 , the codes are almost same. 
So the issue should be in  firmware scope.  

[  590.486970] ath10k_pci 0000:02:00.0: Hardware name qca6174 hw3.2 version 
0x5030000
[  590.487158] ath10k_pci 0000:02:00.0: Direct firmware load failed with error 
-2
[  590.487159] ath10k_pci 0000:02:00.0: Falling back to user helper



keep up the good work
Perry  Yuan
Dell | Client Software Group | Platform Sftwr Senior Engineer
office +86 21 22030689, mobile +86 18521512823
[email protected]
Please consider the environment before printing this email.


-----Original Message-----
From: Stanislaw Gruszka [mailto:[email protected]] 
Sent: Tuesday, July 19, 2016 3:28 PM
To: Michal Kazior <[email protected]>
Cc: Kalle Valo <[email protected]>; [email protected]; Yuan, 
Perry <[email protected]>
Subject: Re: ath10k fail to load firmware

On Tue, Jul 19, 2016 at 09:18:01AM +0200, Michal Kazior wrote:
> On 19 July 2016 at 09:09, Stanislaw Gruszka <[email protected]> wrote:
> > Perry from Dell has ath10k device, which do not work with current 
> > linux-firmware. It's on RHEL kernel, however wirelss stack and 
> > drivers are from 4.7-rc1 (I did not update to 4.7 final yet, since I 
> > do not see ath10k fix, which could possibly help here). Partial 
> > dmesg is in the attachment.
> 
> hw.3 qca6174 chips tend to require very specific board data for proper 
> calibration.
> 
>   [ 3838.601884] ath10k_pci 0000:01:00.0: failed to fetch board data 
> for 
> bus=pci,vendor=168c,device=003e,subsystem-vendor=1028,subsystem-device
> =0310
> from ath10k/QCA6174/hw3.0/board-2.bin
>   [ 3838.601920] ath10k_pci 0000:01:00.0: board_file api 1 bmi_id N/A
> crc32 ed5f849a
> 
> Your board-2.bin doesn't contain the matching board data and the 
> driver then falls back to the older board API1 which is pretty much 
> doomed to fail on qca6174 hw.3.
> 
> @Kalle: Perhaps ath10k needs to fail early with an adequate message 
> for qca6174 hw.3 if board API2 lookup fails (e.g. hw_params flag 
> because this seems to be quite closely coupled with hardware itself).
> 
> @Stanislaw: You either need to grab a more recent board-2.bin 
> (https://github.com/kvalo/ath10k-firmware/tree/master/QCA6174/hw3.0),

@Perry, could you replace board-2.bin from above link on 
/lib/firmware/ath10k/QCA6174/hw3.0/ and check if that work ?

> ask Kalle & wait, or cook up your own (if you really need it working
> *now*) by getting Windows driver and dissecting it (the .inf file 
> contains enough information for you to map board data also referred to 
> as eeprom-something in the Windows blob).

I think we can wait till firmware will be updated upstream, however Dell would 
like to know if what we provide in new RHEL7 release will work on their 
hardware.

Thanks
Stanislaw
[  590.269290] ath10k_pci 0000:02:00.0: pci probe 168c:003e 1028:0410
[  590.270412] ath10k_pci 0000:02:00.0: boot pci_mem 0xffffc90004c00000
[  590.278968] ath10k_pci 0000:02:00.0: irq 134 for MSI/MSI-X
[  590.279207] ath10k_pci 0000:02:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 
reset_mode 0
[  590.279219] ath10k_pci 0000:02:00.0: boot qca6174 chip reset
[  590.279220] ath10k_pci 0000:02:00.0: boot cold reset
[  590.320444] ath10k_pci 0000:02:00.0: boot cold reset complete
[  590.320446] ath10k_pci 0000:02:00.0: boot waiting target to initialise
[  590.320607] ath10k_pci 0000:02:00.0: boot target indicator 2
[  590.320753] ath10k_pci 0000:02:00.0: boot target initialised
[  590.320753] ath10k_pci 0000:02:00.0: boot warm reset
[  590.343475] ath10k_pci 0000:02:00.0: boot init ce src ring id 0 entries 16 
base_addr ffff880039c20000
[  590.344046] ath10k_pci 0000:02:00.0: boot ce dest ring id 1 entries 512 
base_addr ffff880039c48000
[  590.344160] ath10k_pci 0000:02:00.0: boot ce dest ring id 2 entries 128 
base_addr ffff88001edd9000
[  590.344271] ath10k_pci 0000:02:00.0: boot init ce src ring id 3 entries 32 
base_addr ffff88001efdb000
[  590.344390] ath10k_pci 0000:02:00.0: boot init ce src ring id 4 entries 8192 
base_addr ffff880039ca0000
[  590.344504] ath10k_pci 0000:02:00.0: boot init ce src ring id 7 entries 2 
base_addr ffff88001ef97000
[  590.345041] ath10k_pci 0000:02:00.0: boot ce dest ring id 7 entries 2 
base_addr ffff880039c7f000
[  590.345041] ath10k_pci 0000:02:00.0: boot waiting target to initialise
[  590.345044] ath10k_pci 0000:02:00.0: boot target indicator 0
[  590.355215] ath10k_pci 0000:02:00.0: boot target indicator 2
[  590.355221] ath10k_pci 0000:02:00.0: boot target initialised
[  590.367089] ath10k_pci 0000:02:00.0: boot init ce src ring id 0 entries 16 
base_addr ffff880039c20000
[  590.367203] ath10k_pci 0000:02:00.0: boot ce dest ring id 1 entries 512 
base_addr ffff880039c48000
[  590.367318] ath10k_pci 0000:02:00.0: boot ce dest ring id 2 entries 128 
base_addr ffff88001edd9000
[  590.367712] ath10k_pci 0000:02:00.0: boot init ce src ring id 3 entries 32 
base_addr ffff88001efdb000
[  590.368530] ath10k_pci 0000:02:00.0: boot init ce src ring id 4 entries 8192 
base_addr ffff880039ca0000
[  590.369392] ath10k_pci 0000:02:00.0: boot init ce src ring id 7 entries 2 
base_addr ffff88001ef97000
[  590.370143] ath10k_pci 0000:02:00.0: boot ce dest ring id 7 entries 2 
base_addr ffff880039c7f000
[  590.370143] ath10k_pci 0000:02:00.0: boot waiting target to initialise
[  590.370300] ath10k_pci 0000:02:00.0: boot target indicator 0
[  590.380463] ath10k_pci 0000:02:00.0: boot target indicator 2
[  590.380761] ath10k_pci 0000:02:00.0: boot target initialised
[  590.380762] ath10k_pci 0000:02:00.0: boot warm reset complete
[  590.380763] ath10k_pci 0000:02:00.0: boot qca6174 chip reset complete (cold)
[  590.380827] ath10k_pci 0000:02:00.0: boot hif power up
[  590.381164] ath10k_pci 0000:02:00.0: boot qca6174 chip reset
[  590.381165] ath10k_pci 0000:02:00.0: boot cold reset
[  590.422506] ath10k_pci 0000:02:00.0: boot cold reset complete
[  590.422510] ath10k_pci 0000:02:00.0: boot waiting target to initialise
[  590.422513] ath10k_pci 0000:02:00.0: boot target indicator 2
[  590.422518] ath10k_pci 0000:02:00.0: boot target initialised
[  590.422519] ath10k_pci 0000:02:00.0: boot warm reset
[  590.444457] ath10k_pci 0000:02:00.0: boot init ce src ring id 0 entries 16 
base_addr ffff880039c20000
[  590.444468] ath10k_pci 0000:02:00.0: boot ce dest ring id 1 entries 512 
base_addr ffff880039c48000
[  590.444492] ath10k_pci 0000:02:00.0: boot ce dest ring id 2 entries 128 
base_addr ffff88001edd9000
[  590.444504] ath10k_pci 0000:02:00.0: boot init ce src ring id 3 entries 32 
base_addr ffff88001efdb000
[  590.444517] ath10k_pci 0000:02:00.0: boot init ce src ring id 4 entries 8192 
base_addr ffff880039ca0000
[  590.444529] ath10k_pci 0000:02:00.0: boot init ce src ring id 7 entries 2 
base_addr ffff88001ef97000
[  590.444539] ath10k_pci 0000:02:00.0: boot ce dest ring id 7 entries 2 
base_addr ffff880039c7f000
[  590.444540] ath10k_pci 0000:02:00.0: boot waiting target to initialise
[  590.444542] ath10k_pci 0000:02:00.0: boot target indicator 0
[  590.454566] ath10k_pci 0000:02:00.0: boot target indicator 2
[  590.454571] ath10k_pci 0000:02:00.0: boot target initialised
[  590.465478] ath10k_pci 0000:02:00.0: boot init ce src ring id 0 entries 16 
base_addr ffff880039c20000
[  590.465489] ath10k_pci 0000:02:00.0: boot ce dest ring id 1 entries 512 
base_addr ffff880039c48000
[  590.465499] ath10k_pci 0000:02:00.0: boot ce dest ring id 2 entries 128 
base_addr ffff88001edd9000
[  590.465511] ath10k_pci 0000:02:00.0: boot init ce src ring id 3 entries 32 
base_addr ffff88001efdb000
[  590.465525] ath10k_pci 0000:02:00.0: boot init ce src ring id 4 entries 8192 
base_addr ffff880039ca0000
[  590.465537] ath10k_pci 0000:02:00.0: boot init ce src ring id 7 entries 2 
base_addr ffff88001ef97000
[  590.465546] ath10k_pci 0000:02:00.0: boot ce dest ring id 7 entries 2 
base_addr ffff880039c7f000
[  590.465547] ath10k_pci 0000:02:00.0: boot waiting target to initialise
[  590.465550] ath10k_pci 0000:02:00.0: boot target indicator 0
[  590.475553] ath10k_pci 0000:02:00.0: boot target indicator 2
[  590.475558] ath10k_pci 0000:02:00.0: boot target initialised
[  590.475559] ath10k_pci 0000:02:00.0: boot warm reset complete
[  590.475560] ath10k_pci 0000:02:00.0: boot qca6174 chip reset complete (cold)
[  590.475572] ath10k_pci 0000:02:00.0: boot init ce src ring id 0 entries 16 
base_addr ffff880039c20000
[  590.475582] ath10k_pci 0000:02:00.0: boot ce dest ring id 1 entries 512 
base_addr ffff880039c48000
[  590.475591] ath10k_pci 0000:02:00.0: boot ce dest ring id 2 entries 128 
base_addr ffff88001edd9000
[  590.475603] ath10k_pci 0000:02:00.0: boot init ce src ring id 3 entries 32 
base_addr ffff88001efdb000
[  590.475616] ath10k_pci 0000:02:00.0: boot init ce src ring id 4 entries 8192 
base_addr ffff880039ca0000
[  590.475628] ath10k_pci 0000:02:00.0: boot init ce src ring id 7 entries 2 
base_addr ffff88001ef97000
[  590.475637] ath10k_pci 0000:02:00.0: boot ce dest ring id 7 entries 2 
base_addr ffff880039c7f000
[  590.486970] ath10k_pci 0000:02:00.0: Hardware name qca6174 hw3.2 version 
0x5030000
[  590.487158] ath10k_pci 0000:02:00.0: Direct firmware load failed with error 
-2
[  590.487159] ath10k_pci 0000:02:00.0: Falling back to user helper
[  650.495425] ath10k_pci 0000:02:00.0: Direct firmware load failed with error 
-2
[  650.495428] ath10k_pci 0000:02:00.0: Falling back to user helper
[  710.656398] ath10k_pci 0000:02:00.0: trying fw api 5
[  710.656739] ath10k_pci 0000:02:00.0: Direct firmware load failed with error 
-2
[  710.656740] ath10k_pci 0000:02:00.0: Falling back to user helper
[  770.817912] ath10k_pci 0000:02:00.0: could not fetch firmware file 
'ath10k/QCA6174/hw3.0/firmware-5.bin': -2
[  770.817933] ath10k_pci 0000:02:00.0: trying fw api 4
[  770.818273] ath10k_pci 0000:02:00.0: Direct firmware load failed with error 
-2
[  770.818274] ath10k_pci 0000:02:00.0: Falling back to user helper
_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

Reply via email to