[V2] ath10k-firmware: QCA4019 hw1.0: Add BDF for Linksys EA8300 [1/2]
Kalle Valo
kvalo at kernel.org
Fri Mar 17 04:35:10 PDT 2023
Christian Lamparter <chunkeey at gmail.com> writes:
> From: Jeff Kletsky <lede at allycomm.com>
>
> This is a QCA4019-based device with a PCI-attached QCA9888
> supplying a third radio on 5 GHz. The OEM's firmware and source
> suggest that this device is "based on Qualcomm AP DK07.1-c1"
>
> Linksys ships four market-specific variants of this device, notated as
> -AH, -EU, (no suffix), and -CA. They supply four sets of pre-cal board
> files in their firmware, AH, EU, FCC, and IC. The corresponding files
> differ from each other, and appear to provide different parameters in
> the different regions. The OEM firmware copies the appropriate set of
> files into place based on examining the SKU of the device at boot.
>
> These board files may be obtained from extraction of the OEM firmware
> Ver. 1.1.4.191539, Latest Date: 11/8/2018, 49.0 MB
> http://downloads.linksys.com/downloads/firmware/FW_EA8300_1.1.4.191539_prod.img
> Ver. 1.1.3.184925, Latest Date: 11/15/2017, 47.4 MB
> http://downloads.linksys.com/downloads/firmware/FW_EA8300_1.1.3.184925_prod.img
> and/or from a running device. There does not appear to be a difference
> in the board files between the two firmware versions.
>
> DTS for the EA8300 under OpenWrt expects that the variant be encoded
> as, for example, linksys-ea8300-fcc, with the lower-cased suffix
> indicating the OEM's regional code, or -fcc.
>
>
> The files selected and their original names and organization include:
>
> 435d236890521515feffc834218ca594 OEM/IPQ4019/IC/boardData_1_0_IPQ4019_DK04_5G.bin
> e8858ab9259f7d4372040da1c592d1cc OEM/IPQ4019/IC/boardData_1_0_IPQ4019_DK04_2G.bin
> d6d7ed00db985b4d8c48ccc3fe10fa87 OEM/IPQ4019/EU/boardData_1_0_IPQ4019_DK04_5G.bin
> 5cef8208a0345c1469494e44e1f370f1 OEM/IPQ4019/EU/boardData_1_0_IPQ4019_DK04_2G.bin
> 0e820f5946b5773ad9f4a74809c05b79 OEM/IPQ4019/FCC/boardData_1_0_IPQ4019_DK04_5G.bin
> 057ed5528e360197c2239796710cb61c OEM/IPQ4019/FCC/boardData_1_0_IPQ4019_DK04_2G.bin
> 0171919a4576199ae88e8831f72c03fe OEM/IPQ4019/AH/boardData_1_0_IPQ4019_DK04_5G.bin
> a8e23769dc98da97b6c70a4f601ffca8 OEM/IPQ4019/AH/boardData_1_0_IPQ4019_DK04_2G.bin
>
>
> The files were renamed as follows:
>
> for JD in AH EU FCC IC ; do
> jd=$(echo "$JD" | tr 'A-Z' 'a-z')
> cp -vp OEM/IPQ4019/${JD}/boardData_1_0_IPQ4019_DK04_2G.bin \
> ${dest}/bus=ahb,bmi-chip-id=0,bmi-board-id=20,variant=linksys-ea8300-${jd}
> cp -vp OEM/IPQ4019/${JD}/boardData_1_0_IPQ4019_DK04_5G.bin \
> ${dest}/bus=ahb,bmi-chip-id=0,bmi-board-id=21,variant=linksys-ea8300-${jd}
> done
>
>
> Renamed board files are individually attached to the IPQ4019
> messages. dmesg excerpts are from the device running OpenWrt with
> locally crafted, aggregate board files.
>
>
> - QCA4019 hw1.0
> bus=ahb,bmi-chip-id=0,bmi-board-id=20,variant=linksys-ea8300-ah
> md5sum: a8e23769dc98da97b6c70a4f601ffca8
>
> bus=ahb,bmi-chip-id=0,bmi-board-id=20,variant=linksys-ea8300-fcc
> md5sum: 057ed5528e360197c2239796710cb61c
>
> bus=ahb,bmi-chip-id=0,bmi-board-id=20,variant=linksys-ea8300-eu
> md5sum: 5cef8208a0345c1469494e44e1f370f1
>
> bus=ahb,bmi-chip-id=0,bmi-board-id=20,variant=linksys-ea8300-ic
> md5sum: e8858ab9259f7d4372040da1c592d1cc
>
>
> bus=ahb,bmi-chip-id=0,bmi-board-id=21,variant=linksys-ea8300-eu
> md5sum: d6d7ed00db985b4d8c48ccc3fe10fa87
>
> bus=ahb,bmi-chip-id=0,bmi-board-id=21,variant=linksys-ea8300-ic
> md5sum: 435d236890521515feffc834218ca594
>
> bus=ahb,bmi-chip-id=0,bmi-board-id=21,variant=linksys-ea8300-fcc
> md5sum: 0e820f5946b5773ad9f4a74809c05b79
>
> bus=ahb,bmi-chip-id=0,bmi-board-id=21,variant=linksys-ea8300-ah
> md5sum: 0171919a4576199ae88e8831f72c03fe
Thanks, added to QCA4019/hw1.0/board-2.bin:
New:
bus=ahb,bmi-chip-id=0,bmi-board-id=20,variant=linksys-ea8300-ah
bus=ahb,bmi-chip-id=0,bmi-board-id=20,variant=linksys-ea8300-eu
bus=ahb,bmi-chip-id=0,bmi-board-id=20,variant=linksys-ea8300-fcc
bus=ahb,bmi-chip-id=0,bmi-board-id=20,variant=linksys-ea8300-ic
bus=ahb,bmi-chip-id=0,bmi-board-id=21,variant=linksys-ea8300-ah
bus=ahb,bmi-chip-id=0,bmi-board-id=21,variant=linksys-ea8300-eu
bus=ahb,bmi-chip-id=0,bmi-board-id=21,variant=linksys-ea8300-fcc
bus=ahb,bmi-chip-id=0,bmi-board-id=21,variant=linksys-ea8300-ic
Changed:
Deleted:
8 board image(s) added, 0 changed, 0 deleted, 114 in total
https://github.com/kvalo/ath10k-firmware/commit/0c3378faf4622bea1d328e6e004f3972777f5ac2
--
https://patchwork.kernel.org/project/linux-wireless/list/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
More information about the ath10k
mailing list