INSTALL: Add missing word 'install' to the example of putting the compiled targets...
[linux-libre-firmware.git] / ath9k_htc / README
1 This is the firmware for the Qualcomm Atheros AR7010 and AR9271 USB
2 802.11n NICs.
3
4 What is this exactly?
5 ---------------------
6
7 This is the firmware which resides in RAM on the AR7010/AR9271 NICs.
8 It is used by ath9k (Linux) and athn (OpenBSD) to provide wireless
9 services.
10
11 What licence is this covered by?
12 --------------------------------
13
14 The Qualcomm Atheros owned code is under the ClearBSD licence.
15
16 The NOTICES.TXT file contains copyright notices for software which
17 this firmware release leverages.
18
19 There is some code that is based off of work done under contract
20 but is owned by Qualcomm Atheros; the original copyright statements
21 from that work are in NOTICES.TXT.
22
23 The Tensilica code (xtos/xtensa) is distributed with permission from
24 Tensilica, Inc., under the MIT licence.
25
26 There are three ECOS source files distributed under the terms of
27 the GPLv2, with a caveat that linking or using the source files does
28 not bring the rest of the binary under the GPLv2.  Please read the
29 ECOS caveats in more detail.
30
31
32 Ok, what are those NICs?
33 ------------------------
34
35 The AR7010 is a USB/PCIe SoC with onboard RAM, ROM and flash.
36 It comes with an external wireless chip connected via PCIe - typically
37 an AR9280 or AR9287.
38
39 The AR9271 is a USB/Wifi SoC with onboad RAM, ROM, flash and the
40 actual wireless chip.  The wireless core is an off-shoot of the AR9285.
41 It is a single-chip solution.
42
43 How do I build it?
44 ------------------
45
46 You're in for a treat.
47
48 * Install the cmake build tool (http://www.cmake.org/).
49   Major distributions have packages for this.
50
51 * For FreeBSD - install gmake and wget.
52
53 * You first have to build the toolchain.
54
55   * Linux:
56
57   $ make toolchain
58
59   * FreeBSD:
60
61   $ gmake toolchain
62
63   (Yes, I made this work on FreeBSD as well.)
64
65 * Next, build the firmware.
66
67   * Linux:
68
69   $ make -C target_firmware
70
71   * FreeBSD:
72
73   $ gmake -C target_firmware
74
75 You will end up with two .fw files - one for the AR7010 and one for
76 the AR9271 in the target_firmware directory.
77
78 You can clean the firmware build (when you wish to force a rebuild)
79 by doing:
80
81   * Linux:
82
83   $ make -C target_firmware clean
84
85   * FreeBSD:
86
87   $ gmake -C target_firmware clean
88
89 Then what?
90 ----------
91
92 You need to then copy this into the relevant location for your operating
93 system.  Yes, this means you need a driver.  No, there's no FreeBSD
94 driver yet for this particular chipset, sorry.
95
96
97 Where do I file bugs?
98 ---------------------
99
100 Please file bugs in github - http://github.com/qca/open-ath9k-htc-firmware/issues .
101
102
103 Mailing lists?
104 --------------
105
106 Here you go:
107
108 http://lists.infradead.org/mailman/listinfo/ath9k_htc_fw
109
110 And
111
112 ath9k_htc_fw@lists.infradead.org
113