[LEDE-DEV] [PATCH 1/4] firmware: ath10k-firmware: update QCA4019 firmware to 10.4-3.2.1-00058

Matthew McClintock msm-oss at mcclintock.net
Mon Nov 20 09:23:18 PST 2017


On Mon, Nov 20, 2017 at 10:53 AM, Christian Lamparter
<chunkeey at gmail.com> wrote:
> On Monday, November 20, 2017 9:45:28 AM CET Matthew McClintock wrote:
>> Did you get ath10k working on ipq4019?
>
> Yes, I managed to upstream the wifi dts changes some time ago and they
> all have been accepted. In fact the new 4.14 does ships with those.
>
> https://patchwork.kernel.org/patch/9858197/
>
> How is your upstreaming progess going?
>
>> I'm having issues with the board data files? I've never messed with this.
>
> What do you want to know?
>
> I'm assuming that you are looking for a way to package the two board.bin
> (2GHz and 5GHz) into a board-2.bin. You can just use the ath10k-bdencoder
> tool from the <https://github.com/qca/qca-swiss-army-knife>
>
> Note: ath10k-bdencoder can also unpack existing board-2.bin that are
> currently shipped with any of the the ipq-wifi packages. So the fastest way
> would be to unpack a existing board-2.bin (this will create a .json file and
> the individual .bins). Then you just have to replace the two board.bin files
> and repack it (the repack process will need the created .json file again.)
>
> If this isn't what you are looking for, you might find it in the
> "firmware: add custom IPQ wifi board definitions" commit message.
>

Caveat: I'm using an older version of ath10k at the moment, but....

I think it's complaining that it can't find the right board info from
the board-2.bin file which is just multiple board files wrapped up
together?

[  233.761660] ath10k_ahb a000000.wifi: failed to fetch board data for
bus=ahb,vendor=0000,device=0000,subsystem-vendor=0000,subsystem-device=0000
from ath10k/QCA4019/hw1.0/board-2.bin

This is the first pass, it moves onto board.bin but still fails (the
file is not present).

Where is a description of the which board.bin files to use for which
radios? Where does this info come from? Somewhere in the radio or OTP?

Interestingly, PCI is complaining too:

[  236.712965] ath10k_pci 0000:01:00.0: failed to fetch board data for
bus=pci,bmi-chip-id=0,bmi-board-id=19 from
ath10k/QCA9888/hw2.0/board-2.bin

Is my board just not setup right? Missing OTP id? I guess I can force
a working radio with a board.bin file?

Thanks again,
-M



More information about the Lede-dev mailing list