All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] linux-firmware: ath9k_htc - use newer firmware
@ 2016-03-15 10:47 Alexey Brodkin
  2016-03-15 11:30 ` Gustavo Zacarias
  2016-03-15 12:15 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Alexey Brodkin @ 2016-03-15 10:47 UTC (permalink / raw)
  To: buildroot

Existing blobs are of version ath9k-htc 1.3.1, see
http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/commit/?id=21a6c3e55df956dd223279627685778268ede70f

These are as said in the commit are left for compatibility with older
kernels which [older kernels] will look for blobs in the
root of "/lib/firmware".

But there're newer v1.4 blobs in ath9k_htc folder.
And newer kernels (>=4.4) look first in that new location
"/lib/firmware/ath9k_htc".

Note that even new kernels will fall back to previous location
if new one doesn't exist.

Tested with TP-LINK TL-WN722N (has Atheros AR9271 inside).

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: John Keeping <john@metanate.com>
Cc: Matt Weber <matt@thewebers.ws>
Cc: Alex Suykov <alex.suykov@gmail.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/linux-firmware/linux-firmware.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/linux-firmware/linux-firmware.mk b/package/linux-firmware/linux-firmware.mk
index 4667c4c..28fe66c 100644
--- a/package/linux-firmware/linux-firmware.mk
+++ b/package/linux-firmware/linux-firmware.mk
@@ -87,7 +87,7 @@ endif
 
 # ar7010
 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_7010),y)
-LINUX_FIRMWARE_FILES += ar7010.fw ar7010_1_1.fw htc_7010.fw
+LINUX_FIRMWARE_FILES += ar7010.fw ar7010_1_1.fw htc_7010.fw ath9k_htc/htc_7010-1.4.0.fw
 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.atheros_firmware
 endif
 
@@ -99,7 +99,7 @@ endif
 
 # ar9271
 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_9271),y)
-LINUX_FIRMWARE_FILES += ar9271.fw htc_9271.fw
+LINUX_FIRMWARE_FILES += ar9271.fw htc_9271.fw ath9k_htc/htc_9271-1.4.0.fw
 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.atheros_firmware
 endif
 
-- 
2.5.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] linux-firmware: ath9k_htc - use newer firmware
  2016-03-15 10:47 [Buildroot] [PATCH] linux-firmware: ath9k_htc - use newer firmware Alexey Brodkin
@ 2016-03-15 11:30 ` Gustavo Zacarias
  2016-03-15 12:15 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Gustavo Zacarias @ 2016-03-15 11:30 UTC (permalink / raw)
  To: buildroot

On 15/03/16 07:47, Alexey Brodkin wrote:

> Existing blobs are of version ath9k-htc 1.3.1, see
> http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/commit/?id=21a6c3e55df956dd223279627685778268ede70f
>
> These are as said in the commit are left for compatibility with older
> kernels which [older kernels] will look for blobs in the
> root of "/lib/firmware".
>
> But there're newer v1.4 blobs in ath9k_htc folder.
> And newer kernels (>=4.4) look first in that new location
> "/lib/firmware/ath9k_htc".
>
> Note that even new kernels will fall back to previous location
> if new one doesn't exist.
>
> Tested with TP-LINK TL-WN722N (has Atheros AR9271 inside).
>
> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
> Cc: John Keeping <john@metanate.com>
> Cc: Matt Weber <matt@thewebers.ws>
> Cc: Alex Suykov <alex.suykov@gmail.com>
> Cc: Peter Korsgaard <peter@korsgaard.com>
> Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>

Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] linux-firmware: ath9k_htc - use newer firmware
  2016-03-15 10:47 [Buildroot] [PATCH] linux-firmware: ath9k_htc - use newer firmware Alexey Brodkin
  2016-03-15 11:30 ` Gustavo Zacarias
@ 2016-03-15 12:15 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2016-03-15 12:15 UTC (permalink / raw)
  To: buildroot

>>>>> "Alexey" == Alexey Brodkin <Alexey.Brodkin@synopsys.com> writes:

 > Existing blobs are of version ath9k-htc 1.3.1, see
 > http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/commit/?id=21a6c3e55df956dd223279627685778268ede70f

 > These are as said in the commit are left for compatibility with older
 > kernels which [older kernels] will look for blobs in the
 > root of "/lib/firmware".

 > But there're newer v1.4 blobs in ath9k_htc folder.
 > And newer kernels (>=4.4) look first in that new location
 > "/lib/firmware/ath9k_htc".

 > Note that even new kernels will fall back to previous location
 > if new one doesn't exist.

 > Tested with TP-LINK TL-WN722N (has Atheros AR9271 inside).

Committed, thanks.

-- 
Venlig hilsen,
Peter Korsgaard 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-03-15 12:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-15 10:47 [Buildroot] [PATCH] linux-firmware: ath9k_htc - use newer firmware Alexey Brodkin
2016-03-15 11:30 ` Gustavo Zacarias
2016-03-15 12:15 ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.