Differences between revisions 1 and 13 (spanning 12 versions)
Revision 1 as of 2013-11-03 20:53:32
Size: 1450
Editor: GeoffSimmons
Comment: Migrate open firmware build procedure from ath9k_htc page.
Revision 13 as of 2020-12-31 04:03:45
Size: 1869
Editor: PaulWise
Comment: modernise
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: none-~ ~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: English - [[fr/ath9k_htc/open_firmware|Français]]-~
Line 6: Line 6:

There's also a binary version prepared for the debian archives in the package DebianPkg:firmware-ath9k-htc
Line 13: Line 15:
$ su
#
apt-get install build-essential cmake git m4 && exit
$ sudo apt install build-essential cmake git m4 texinfo
Line 16: Line 17:
 1. Clone the 1.3 branch: {{{
$ git clone -b 1.3 https://github.com/qca/open-ath9k-htc-firmware.git
 1. Clone the repo: {{{
$ git clone https://github.com/qca/open-ath9k-htc-firmware.git
Line 20: Line 21:
 1. Fix [[https://github.com/qca/open-ath9k-htc-firmware/issues/6|issue 6]] which causes the build process to fail: {{{
$ mkdir target_firmware/magpie_fw_dev/build/utility/bin
 1. Checkout the latest tagged release: {{{
$ git tag
1.3.1
1.3.2
$ git checkout 1.3.2
Line 26: Line 30:
 If the tool chain doesn't build, try checking out ''master'': {{{
$ git checkout master
$ make toolchain
}}}
Line 27: Line 35:
$ ./build $ make firmware
Line 30: Line 38:
$ su
#
mkdir /usr/local/lib/firmware && cp *.fw /usr/local/lib/firmware/
$ sudo cp target_firmware/*.fw /lib/firmware/
Line 35: Line 42:

== Fix the "Scan but not Connect" issue (NetworkManager) ==

This was due to [[https://bugs.debian.org/954861|a bug in wpasupplicant]] which has been fixed in Stretch (2:2.4-1+deb9u6), Buster (2:2.7+git20190128+0c1e29f-6+deb10u2), and Bullseye/unstable (2:2.9.0-12).
Line 41: Line 52:

Translation(s): English - Français


Open firmware for ath9k_htc

This page describes how to compile and install open firmware for the ath9k_htc driver on Debian systems.

There's also a binary version prepared for the debian archives in the package firmware-ath9k-htc

Installation

  1. Install required packages:

    $ sudo apt install build-essential cmake git m4 texinfo
  2. Clone the repo:

    $ git clone https://github.com/qca/open-ath9k-htc-firmware.git
    $ cd open-ath9k-htc-firmware
  3. Checkout the latest tagged release:

    $ git tag
    1.3.1
    1.3.2
    $ git checkout 1.3.2
  4. Build the toolchain:

    $ make toolchain

    If the tool chain doesn't build, try checking out master:

    $ git checkout master
    $ make toolchain
  5. Build the firmware:

    $ make firmware
  6. Install the firmware:

    $ sudo cp target_firmware/*.fw /lib/firmware/
  7. Connect the device to your system. The ath9k_htc kernel module is automatically loaded for supported devices.

  8. Configure your wireless interface as appropriate.

Fix the "Scan but not Connect" issue (NetworkManager)

This was due to a bug in wpasupplicant which has been fixed in Stretch (2:2.4-1+deb9u6), Buster (2:2.7+git20190128+0c1e29f-6+deb10u2), and Bullseye/unstable (2:2.9.0-12).

See Also


CategoryHardware | CategoryWireless