ath10k bring up time very long (on boot only)

This forum is for discussion about general software issues.

ath10k bring up time very long (on boot only)

Postby slackit2 » Sat Jan 07, 2017 10:15 am

[root@alarm network]# ls
10-eth0.network 30-eth2.132.netdev 50-br0.netdev 70-lan.network 90-wlan.link
20-eth1.network 40-eth2.network 60-br0.network 80-eth2.132.network 91-wlan.network
[root@alarm network]# cat 90-wlan.link
[Match]
Type=wlan

[Network]
Address=192.168.7.1

[Link]
Name=wlp2s0
[root@alarm network]# cat 91-wlan.network
[Match]
Name=w*

[Network]
Address=192.168.7.1
[root@alarm network]# pwd
/etc/systemd/network

[ 28.419509] random: nonblocking pool is initialized
[ 69.882057] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
[ 69.892543] ath10k_pci 0000:02:00.0: Falling back to user helper
[ 131.042879] ath10k_pci 0000:02:00.0: qca988x hw2.0 (0x4100016c, 0x043202ff sub 0000:0000) fw 10.2.4.70.54 fwapi 5 bdapi 1 htt-ver 2.1 wmi-op 5 htt-op 2 cal otp max-sta 128 raw 0 hwcrypto 1 features no-p2p,raw-mode
[ 131.061949] ath10k_pci 0000:02:00.0: debug 0 debugfs 0 tracing 0 dfs 1 testmode 0
[ 131.151399] ath: EEPROM regdomain: 0x0
[ 131.151410] ath: EEPROM indicates default country code should be used
[ 131.151415] ath: doing EEPROM country->regdmn map search
[ 131.151420] ath: country maps to regdmn code: 0x3a
[ 131.151425] ath: Country alpha2 being used: US
[ 131.151429] ath: Regpair used: 0x3a
[ 131.250305] ath10k_pci 0000:02:00.0 wlp2s0: renamed from wlan0

60(!!) seconds from boot to bring up the wlp2s0. Unfortunately i will never have a dhcpd running on that device, as it simply timeouts. Is there something known?
slackit2
 
Posts: 15
Joined: Sat Dec 24, 2016 10:08 pm

Re: ath10k bring up time very long (on boot only)

Postby moonman » Sun Jan 08, 2017 7:41 am

There is no board-2.bin in that folder so I have no idea why it is expecting that.
$this->bbcode_second_pass_code('', '# ls -lh /lib/firmware/ath10k/QCA988X/hw2.0
total 520K
-rw-r--r-- 1 root root 2.1K Oct 11 08:30 board.bin
-rw-r--r-- 1 root root 237K Oct 11 08:30 firmware-4.bin
-rw-r--r-- 1 root root 243K Oct 11 08:30 firmware-5.bin
-rw-r--r-- 1 root root 14K Oct 11 08:30 notice_ath10k_firmware-4.txt
-rw-r--r-- 1 root root 16K Oct 11 08:30 notice_ath10k_firmware-5.txt
')

There is more info here
http://linuxwireless.org/en/users/Drive ... e_firmware

And the article links to
https://github.com/kvalo/ath10k-firmwar ... 988X/hw2.0
and no trace of board-2.bin there either.

Official linux-firmware
https://git.kernel.org/cgit/linux/kerne ... 988X/hw2.0

Try creating a symlink to board.bin or just make a copy of board.bin with board-2.bin name.

This is what the driver expects for firmware:
$this->bbcode_second_pass_code('', 'firmware: ath10k/QCA9377/hw1.0/board.bin
firmware: ath10k/QCA9377/hw1.0/firmware-5.bin
firmware: ath10k/QCA6174/hw3.0/board-2.bin
firmware: ath10k/QCA6174/hw3.0/board.bin
firmware: ath10k/QCA6174/hw3.0/firmware-5.bin
firmware: ath10k/QCA6174/hw3.0/firmware-4.bin
firmware: ath10k/QCA6174/hw2.1/board-2.bin
firmware: ath10k/QCA6174/hw2.1/board.bin
firmware: ath10k/QCA6174/hw2.1/firmware-5.bin
firmware: ath10k/QCA6174/hw2.1/firmware-4.bin
firmware: ath10k/QCA988X/hw2.0/board-2.bin
firmware: ath10k/QCA988X/hw2.0/board.bin
firmware: ath10k/QCA988X/hw2.0/firmware-5.bin
firmware: ath10k/QCA988X/hw2.0/firmware-4.bin
firmware: ath10k/QCA988X/hw2.0/firmware-3.bin
firmware: ath10k/QCA988X/hw2.0/firmware-2.bin
firmware: ath10k/QCA988X/hw2.0/firmware.bin
')
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am


Return to General

Who is online

Users browsing this forum: No registered users and 15 guests