[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#927917: firmware-atheros: missing ath10k/QCA9377/hw1.0/firmware-6.bin



Package: firmware-atheros
Version: 20190114-1
Severity: normal
Tags: patch

While installing a Samgung laptop using the Buster RC1 Debian Installer,
the installer kept asking for ath10k/QCA9377/hw1.0/firmware-6.bin. I
inspected the firmware-atheros*.deb in the firmware partition that I
prepared in the USB drive, and indeed there was no such file. I
downloaded the source for firmware-nonfree, and noticed that file was
there, it was just not included in the binary.

The attached patch makes sure that the file is included in the binary
package. The version number to use in the defines file was obtained by
looking at the commit that introduced firmware-6.bin:
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/log/ath10k/QCA9377/hw1.0/firmware-6.bin

To get it to build locally, I also had to update debian/rules.defs, but
I assume that is already part of your workflow.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (500, 'testing'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-4-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_CRAP
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8), LANGUAGE=pt_BR:pt:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

firmware-atheros depends on no packages.

firmware-atheros recommends no packages.

Versions of packages firmware-atheros suggests:
ii  initramfs-tools  0.133
From b8ac831929a6d684b647162c3831e1950644cd5e Mon Sep 17 00:00:00 2001
From: Antonio Terceiro <terceiro@debian.org>
Date: Wed, 24 Apr 2019 23:06:50 -0300
Subject: [PATCH] firmware-atheros: ship ath10k/QCA9377/hw1.0/firmware-6.bin

---
 debian/config/atheros/defines | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/debian/config/atheros/defines b/debian/config/atheros/defines
index ebc5c3c..2864a29 100644
--- a/debian/config/atheros/defines
+++ b/debian/config/atheros/defines
@@ -35,6 +35,7 @@ files:
  ath10k/QCA9377/hw1.0/board.bin
  ath10k/QCA9377/hw1.0/board-2.bin
  ath10k/QCA9377/hw1.0/firmware-5.bin
+ ath10k/QCA9377/hw1.0/firmware-6.bin
  ath10k/QCA9887/hw1.0/board.bin
  ath10k/QCA9887/hw1.0/firmware-5.bin
  ath10k/QCA9888/hw2.0/board-2.bin
@@ -213,6 +214,10 @@ version: 2
 desc: Qualcomm Atheros QCA9377 rev 1.0 firmware
 version: WLAN.TF.1.0-00002-QCATFSWPZ-5
 
+[ath10k/QCA9377/hw1.0/firmware-6.bin_base]
+desc: Qualcomm Atheros QCA9377 rev 1.0 firmware
+version: WLAN.TF.2.1-00021-QCARMSWP-1
+
 [ath10k/QCA9887/hw1.0/board.bin_base]
 desc: Qualcomm Atheros QCA9887 rev 1.0 board configuration
 version: 1
-- 
2.20.1

Attachment: signature.asc
Description: PGP signature


Reply to: