[LEDE-DEV] ath10k-firmware: update QCA9888 and QCA4019 firmware

Message ID 20171014092424.3576-1-hauke@hauke-m.de
State New
Delegated to: Hauke Mehrtens
Headers show
Series
  • [LEDE-DEV] ath10k-firmware: update QCA9888 and QCA4019 firmware
Related show

Commit Message

Hauke Mehrtens Oct. 14, 2017, 9:24 a.m.
This updates the firmware files for the QCA9888 and QCA4019
chips to a more recent version which is also used in the linux-firmware
repository.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
---

Could someone with a QCA4019 or QCA9888 device please test this.
I do not have these deceives to test this myself.

 package/firmware/ath10k-firmware/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Christian Lamparter Oct. 14, 2017, 3:35 p.m. | #1
On Saturday, October 14, 2017 11:24:24 AM CEST Hauke Mehrtens wrote:
> This updates the firmware files for the QCA9888 and QCA4019
> chips to a more recent version which is also used in the linux-firmware
> repository.
> 
> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
> ---
> 
> Could someone with a QCA4019 or QCA9888 device please test this.
> I do not have these deceives to test this myself.
> 
>  package/firmware/ath10k-firmware/Makefile | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/package/firmware/ath10k-firmware/Makefile b/package/firmware/ath10k-firmware/Makefile
> index 84889d9d29..5e0f41ea52 100644
> --- a/package/firmware/ath10k-firmware/Makefile
> +++ b/package/firmware/ath10k-firmware/Makefile
> @@ -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.4/firmware-5.bin_10.4-3.4-00082 \
>  		$(1)/lib/firmware/ath10k/QCA4019/hw1.0/firmware-5.bin
>  endef
The new IPQ4019 firmware isn't as stable as the old one. I do see hangs
from time to time (rx ring became corrupted). Whenever this is due to a
bug in the firmware or the firmware is pushing harder, I don't know.
<https://forum.lede-project.org/t/how-to-build-ipq4018-firmware/4513/16>
Hauke Mehrtens Oct. 15, 2017, 10:19 p.m. | #2
On 10/14/2017 05:35 PM, Christian Lamparter wrote:
> On Saturday, October 14, 2017 11:24:24 AM CEST Hauke Mehrtens wrote:
>> This updates the firmware files for the QCA9888 and QCA4019
>> chips to a more recent version which is also used in the linux-firmware
>> repository.
>>
>> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
>> ---
>>
>> Could someone with a QCA4019 or QCA9888 device please test this.
>> I do not have these deceives to test this myself.
>>
>>  package/firmware/ath10k-firmware/Makefile | 4 ++--
>>  1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/package/firmware/ath10k-firmware/Makefile b/package/firmware/ath10k-firmware/Makefile
>> index 84889d9d29..5e0f41ea52 100644
>> --- a/package/firmware/ath10k-firmware/Makefile
>> +++ b/package/firmware/ath10k-firmware/Makefile
>> @@ -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.4/firmware-5.bin_10.4-3.4-00082 \
>>  		$(1)/lib/firmware/ath10k/QCA4019/hw1.0/firmware-5.bin
>>  endef
> The new IPQ4019 firmware isn't as stable as the old one. I do see hangs
> from time to time (rx ring became corrupted). Whenever this is due to a
> bug in the firmware or the firmware is pushing harder, I don't know.
> <https://forum.lede-project.org/t/how-to-build-ipq4018-firmware/4513/16>

Thank you for the information, so I will not upgrade the IPQ4019 firmware.

I also wanted to upgrade the QCA988X firmware first, but it was crashing
directly after being loaded and now linux-firmeware ships the old one again:
http://lists.infradead.org/pipermail/ath10k/2017-September/010138.html

Hauke
Christian Lamparter Nov. 1, 2017, 12:13 p.m. | #3
On Monday, October 16, 2017 12:19:10 AM CET Hauke Mehrtens wrote:
> On 10/14/2017 05:35 PM, Christian Lamparter wrote:
> > On Saturday, October 14, 2017 11:24:24 AM CEST Hauke Mehrtens wrote:
> >> This updates the firmware files for the QCA9888 and QCA4019
> >> chips to a more recent version which is also used in the linux-firmware
> >> repository.
> >>
> >> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
> >> ---
> >>
> >> Could someone with a QCA4019 or QCA9888 device please test this.
> >> I do not have these deceives to test this myself.
> >>
> >>  package/firmware/ath10k-firmware/Makefile | 4 ++--
> >>  1 file changed, 2 insertions(+), 2 deletions(-)
> >>
> >> diff --git a/package/firmware/ath10k-firmware/Makefile b/package/firmware/ath10k-firmware/Makefile
> >> index 84889d9d29..5e0f41ea52 100644
> >> --- a/package/firmware/ath10k-firmware/Makefile
> >> +++ b/package/firmware/ath10k-firmware/Makefile
> >> @@ -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.4/firmware-5.bin_10.4-3.4-00082 \
> >>  		$(1)/lib/firmware/ath10k/QCA4019/hw1.0/firmware-5.bin
> >>  endef
> > The new IPQ4019 firmware isn't as stable as the old one. I do see hangs
> > from time to time (rx ring became corrupted). Whenever this is due to a
> > bug in the firmware or the firmware is pushing harder, I don't know.
> > <https://forum.lede-project.org/t/how-to-build-ipq4018-firmware/4513/16>
> 
> Thank you for the information, so I will not upgrade the IPQ4019 firmware.
> 
> I also wanted to upgrade the QCA988X firmware first, but it was crashing
> directly after being loaded and now linux-firmeware ships the old one again:
> http://lists.infradead.org/pipermail/ath10k/2017-September/010138.html
> 

FYI: There's a new firmware now for the IPQ4019:

firmware-5.bin_10.4-3.2.1-00058

https://github.com/kvalo/ath10k-firmware/commit/476a2850b1e8582d51187799d7de209daf1a57b2

Regards,
Christian

Patch

diff --git a/package/firmware/ath10k-firmware/Makefile b/package/firmware/ath10k-firmware/Makefile
index 84889d9d29..5e0f41ea52 100644
--- a/package/firmware/ath10k-firmware/Makefile
+++ b/package/firmware/ath10k-firmware/Makefile
@@ -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.4/firmware-5.bin_10.4-3.4-00082 \
 		$(1)/lib/firmware/ath10k/QCA4019/hw1.0/firmware-5.bin
 endef
 
@@ -246,7 +246,7 @@  define Package/ath10k-firmware-qca9888/install
 		$(PKG_BUILD_DIR)/QCA9888/hw2.0/board-2.bin \
 		$(1)/lib/firmware/ath10k/QCA9888/hw2.0/board.bin
 	$(INSTALL_DATA) \
-		$(PKG_BUILD_DIR)/QCA9888/hw2.0/firmware-5.bin_10.4-3.2-00072 \
+		$(PKG_BUILD_DIR)/QCA9888/hw2.0/3.5.1/firmware-5.bin_10.4-3.5.1-00014 \
 		$(1)/lib/firmware/ath10k/QCA9888/hw2.0/firmware-5.bin
 endef