[openwrt/openwrt] ipq40xx: fix BDF file for pcie wifi chip on the GL.Inet GL-B2200

LEDE Commits lede-commits at lists.infradead.org
Mon May 2 12:26:05 PDT 2022


chunkeey pushed a commit to openwrt/openwrt.git, branch openwrt-22.03:
https://git.openwrt.org/3a974b5bcd77a55f544448f63e27654cf9734cd6

commit 3a974b5bcd77a55f544448f63e27654cf9734cd6
Author: Enrico Mioso <mrkiko.rs at gmail.com>
AuthorDate: Thu Apr 28 08:57:24 2022 +0200

    ipq40xx: fix BDF file for pcie wifi chip on the GL.Inet GL-B2200
    
    After the switch to pre-calibration, ath10k would fail to initialize
    the PCIE Wi-Fi on the GL-B200 as follows:
    
    ath10k_pci 0000:01:00.0: enabling device (0140 -> 0142)
    ath10k_pci 0000:01:00.0: qca9888 hw2.0 target 0x01000000 chip_id 0x00000000 sub 0000:0000
    [...]
    ath10k_pci 0000:01:00.0: failed to fetch board data for bus=pci,bmi-chip-id=0,bmi-board-id=16,variant=GL-B2200 from ath10k/QCA9888/hw2.0/board-2.bin
    ath10k_pci 0000:01:00.0: failed to fetch board-2.bin or board.bin from ath10k/QCA9888/hw2.0
    ath10k_pci 0000:01:00.0: failed to fetch board file: -12
    ath10k_pci 0000:01:00.0: could not probe fw (-12)
    
    Repackage the BDF file after renaming relevant fields and files to
    allow for the Wi-Fi interface to start again.
    
    Fixes: 80d34d9d593 ("ipq40xx: document pcie wifi chip on the GL.Inet GL-B2200")
    CC: Christian Lamparter <chunkeey at gmail.com>
    CC: Robert Marko <robimarko at gmail.com>
    Reviewed-by: Robert Marko <robert.marko at sartura.hr>
    Signed-off-by: Enrico Mioso <mrkiko.rs at gmail.com>
    (cherry picked from commit e3f9af4fb6e4ba8bf54cb4240f318ad32260a6fa)
---
 .../firmware/ipq-wifi/board-glinet_gl-b2200.qca9888 | Bin 12200 -> 12164 bytes
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/package/firmware/ipq-wifi/board-glinet_gl-b2200.qca9888 b/package/firmware/ipq-wifi/board-glinet_gl-b2200.qca9888
index 4f0a521f35..f0a493ace3 100644
Binary files a/package/firmware/ipq-wifi/board-glinet_gl-b2200.qca9888 and b/package/firmware/ipq-wifi/board-glinet_gl-b2200.qca9888 differ




More information about the lede-commits mailing list