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

Christian Lamparter chunkeey at gmail.com
Mon Nov 20 08:53:32 PST 2017


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.

Regards,
Christian

> On Sun, Nov 19, 2017 at 10:19 AM, Christian Lamparter
> <chunkeey at gmail.com> wrote:
> > This patch updates ath10k-firmware to use the
> > firmware-5.bin_10.4-3.2.1-00058 firmware for the QCA4019.
> >
> > Cc: Hauke Mehrtens <hauke at hauke-m.de>
> > Signed-off-by: Christian Lamparter <chunkeey at gmail.com>
> > ---
> >  package/firmware/ath10k-firmware/Makefile | 8 ++++----
> >  1 file changed, 4 insertions(+), 4 deletions(-)
> >
> > diff --git a/package/firmware/ath10k-firmware/Makefile b/package/firmware/ath10k-firmware/Makefile
> > index 9a34ac3155..1c6f4dfb7f 100644
> > --- a/package/firmware/ath10k-firmware/Makefile
> > +++ b/package/firmware/ath10k-firmware/Makefile
> > @@ -8,9 +8,9 @@
> >  include $(TOPDIR)/rules.mk
> >
> >  PKG_NAME:=ath10k-firmware
> > -PKG_SOURCE_DATE:=2017-03-29
> > -PKG_SOURCE_VERSION:=956e2609b7e42c8c710bba10ef925a5be1be5137
> > -PKG_MIRROR_HASH:=25f724ff38c830281b3efba4a4ddffaae0c4bd8fea0f4c1061591229ff05535b
> > +PKG_SOURCE_DATE:=2017-10-30
> > +PKG_SOURCE_VERSION:=476a2850b1e8582d51187799d7de209daf1a57b2
> > +PKG_MIRROR_HASH:=77ba59f75c5897c842c5c525945de019fd23f1e2d8bea6239924857e500bf73a
> >  PKG_RELEASE:=1
> >
> >  PKG_SOURCE_PROTO:=git
> > @@ -223,7 +223,7 @@ define Package/ath10k-firmware-qca4019/install
> >                 $(PKG_BUILD_DIR)/QCA4019/hw1.0/board-2.bin \
> >                 $(1)/lib/firmware/ath10k/QCA4019/hw1.0/
> >         $(INSTALL_DATA) \
> > -               $(PKG_BUILD_DIR)/QCA4019/hw1.0/3.2.1/firmware-5.bin_10.4-3.2.1-00053 \
> > +               $(PKG_BUILD_DIR)/QCA4019/hw1.0/3.2.1/firmware-5.bin_10.4-3.2.1-00058 \
> >                 $(1)/lib/firmware/ath10k/QCA4019/hw1.0/firmware-5.bin
> >  endef
> >
> > --
> > 2.15.0
> >
> >
> > _______________________________________________
> > Lede-dev mailing list
> > Lede-dev at lists.infradead.org
> > http://lists.infradead.org/mailman/listinfo/lede-dev
> 





More information about the Lede-dev mailing list