Show last authors
1 = QCA Software Development Kit (QSDK) =
2
3 The QCA Software Development Kit (QSDK) project allows users to build an [[OpenWrt>>url:http://www.openwrt.org/]] based platform containing additional enhancements for Qualcomm Atheros chipsets that have not yet made it into the public OpenWrt repository. OpenWrt is an open source embedded Linux distribution optimized for small footprint Wi-Fi routers and similar devices. QCA’s long-term objective is to push generically useful enhancements from these QSDK patches directly to OpenWrt.
4
5 QSDK is based upon the [[OpenWrt>>url:https://dev.openwrt.org/]] build framework, configuration methods, package management, and other tools. Documentation, original sources and an overview of OpenWrt can be found on its web site.
6
7 A [[Gitweb>>url:https://www.codeaurora.org/cgit/quic/qsdk]] interface is available to browse the Code Aurora source tree that contains QSDK patches that can be applied to OpenWrt for QCA hardware.
8
9
10 = Releases =
11
12 QSDK releases are based upon the source released from OpenWrt. QSDK is based upon the OpenWrt CC 15.05. Newer patches from OpenWrt trunk may also have been merged into the QSDK release. Ideally, new functionality or fixes found only in the QSDK patches will be merged back to OpenWrt trunk so that they can be made available for subsequent QSDK releases, based on future OpenWrt stable releases.
13
14
15 == Branch Releases ==
16
17 Releases are available for download using Repo and Git.
18
19 The general form is:
20
21 $ repo init -u git:~/~/codeaurora.org/quic/qsdk/releases/manifest/qstak -b release -m **[manifest]**
22
23 $ repo sync
24
25
26
27 == Patch Releases ==
28
29 (% style="line-height: 19.6px; font-family: sans-serif; font-size: 14px; font-style: normal;" %)Fixes are sometimes available in patch format only.
30
31
32 == CAF Download Steps: ==
33
34 The recommended way of checking out the QSDK source code is to identify a particular AU TAG from CAF: [[https:~~/~~/source.codeaurora.org/quic/qsdk/releases/manifest/qstak>>url:https://source.codeaurora.org/quic/qsdk/releases/manifest/qstak]]
35 \\$ repo init -u git:~/~/codeaurora.org/quic/qsdk/releases/manifest/qstak -b release -m caf_AU_LINUX_QSDK_<your version>.xml ~-~-repo-url=git:~/~/codeaurora.org/tools/repo.git ~-~-repo-branch=caf-stable
36
37 $ repo sync
38
39
40
41 There are multiple manifest versions are available depending on what release/SoC you want to work on:
42
43 |= OpenWrt
44 Version|= Kernel
45 Version|= SoC's|= Latest Available Release Branch Example Version|=Notes
46 | 15.05| 3.14|ipq806x,
47 ipq40xx |(((
48 ====== caf_AU_LINUX_QSDK_NHSS.QSDK.6.1.0.R1_TARGET_ALL.0.1.2028.020.xml ======
49 )))|with uClibc
50 | 15.05| 4.4| ipq806x,
51 ipq40xx |(((
52 ====== caf_AU_LINUX_QSDK_NHSS.QSDK.6.1.1.R1_TARGET_ALL.3.0.308.00.1591.020.xml ======
53 )))| with uClibc
54 | 15.05| 4.4| ipq806x, ipq40xx,
55 ipq807x, ipq807x_64|(((
56 ====== caf_AU_LINUX_QSDK_NHSS.QSDK.11.0_TARGET_ALL.11.0.3821.3949.xml ======
57 )))|with Musl
58 \\Wi-Fi not available
59
60 (% style="position: absolute; left: 752px; top: 262px; width: 1px; height: 1px; overflow: hidden;" %)
61 (((
62 \\
63
64 (% style="width: 1504px;" %)
65 |(% style="line-height: 1.42857;" %)Latest available release Branch example version
66 )))
67
68 (% style="position: absolute; left: 752px; top: 262px; width: 1px; height: 1px; overflow: hidden;" %)
69 (((
70 (% style="width: 1504px;" %)
71 |(% style="line-height: 1.42857;" %)Latest available release Branch example version
72 )))
73
74 (% style="position: absolute; left: 752px; top: 262px; width: 1px; height: 1px; overflow: hidden;" %)
75 (((
76 (% style="width: 1504px;" %)
77 |(% style="line-height: 1.42857;" %) caf_AU_LINUX_QSDK_NHSS.QSDK.6.1.0.R1_TARGET_ALL.0.1.2028.020.xml
78 )))
79
80 ==
81 Build Steps: ==
82
83 The following example uses the Open profile
84
85 $ cp qca/configs/qsdk/ipq_open.config .config
86
87 $ make package/symlinks
88
89 $ make defconfig
90
91 $ make V=s
92
93
94 Please use below commands for ipq807x based builds:
95
96 $ cp qca/configs/qsdk/ipq_open.config .config
97 $ echo CONFIG_TARGET_ipq_ipq807x_64=y >> .config
98 $ echo CONFIG_TARGET_ipq_ipq807x_64_QSDK_Open=y >> .config
99
100 $ make package/symlinks
101
102 $ make defconfig
103
104 $ make V=s
105
106
107 (% style="position: absolute; left: 760px; top: 262px; width: 1px; height: 1px; overflow: hidden;" %)
108 (((
109 $ cp qca/configs/qsdk/ipq806x_open.config .config
110
111 $ make package/symlinks
112
113 $ make defconfig
114
115 $ make V=s
116 )))
117
118 (% style="position: absolute; left: 760px; top: 262px; width: 1px; height: 1px; overflow: hidden;" %)
119 (((
120 $ cp qca/configs/qsdk/ipq806x_open.config .config
121
122 $ make package/symlinks
123
124 $ make defconfig
125
126 $ make V=s
127 )))
128
129 == APSS Image Flashing Instructions for IPQ806X and IPQ40XX ==
130
131 === For IPQ806X: ===
132
133
134 **__NOR Boot:
135 __**set lof 'tftpb openwrt-ipq-ipq806x-squashfs-root.img && sf erase 0x710000 +$filesize && sf write $fileaddr 0x710000 $filesize'
136
137 set lok 'tftpb openwrt-ipq-ipq806x-qcom-ipq8064-${board}-fit-uImage.itb && sf erase 0x310000 +$fileaddr && sf write $fileaddr 0x310000 $filesize'
138
139 set lqsdk 'sf probe && run lok && run lof'
140
141 set fdt_high '0xffffffff'
142
143 saveenv
144
145 run lqsdk
146
147
148
149 **__NAND Boot:__**
150
151 tftpb openwrt-ipq-ipq806x-qcom-ipq8064-${board}-ubi-root.img
152
153 nand erase $ROOTFS_START 0x4000000
154
155 nand write 0x42000000 $ROOTFS_START $filesize
156
157
158
159 ~/~/ where ROOTFS_START is the hex value from the smem command output above; in the example above 0x1340000
160
161
162
163 === For IPQ40XX: ===
164
165
166 **__NOR Boot:__**
167
168 set lof 'tftpb openwrt-ipq806x-squashfs-root.img && sf erase 0x580000 +$filesize && sf write $fileaddr 0x580000 $filesize'
169
170 set lok 'tftpb openwrt-ipq806x-qcom-ipq40xx -ap.dkxx-fit-uImage.itb && sf erase 0x180000 +$filesize && sf write $fileaddr 0x00180000 $filesize'
171
172 set lqsdk 'sf probe && run lok && run lof'
173
174 set fdt_high '0xffffffff'
175
176 saveenv
177
178 run lqsdk
179
180
181
182 **__NAND Boot:__**
183
184 tftpb openwrt-ipq806x-ipq40xx-ubi-root.img
185
186 nand erase $ROOTFS_START 0x4100000
187
188 nand write $fileaddr $ROOTFS_START $filesize
189
190
191
192 ~/~/ where ROOTFS_START is the hex value from the smem command output above; in the example above 0xb80000
193
194
195 (% style="color: inherit; font-size: 22px;" %)For IPQ807X/IPQ807X_64:
196
197
198 **__NOR/NAND/eMMC Boot:__**
199
200 {{{tftpb <filename> //Replace <filename> accordingly. e.g. "tftpb openwrt-ipq-ipq807x-qcom-ipq807x-hkxx-fit-uImage.itb" }}}
201
202 {{{flash <partition name> //Replace <partition name> accordingly, refer output of smem command. e.g. "flash 0:HLOS"}}}
203
204 == FAQ ==
205
206 **What are the major changes between OpenWrt AA and QSDK?**
207
208 The following directories include patches and enhancements from QCA:
209
210
211 * (% style="font-size: 14px;" %)arch/mips/ath79/* – updated QCA base platform device support – GPLv2
212 * (% style="font-size: 14px;" %)sound/soc/ath79/* – new ALSA-compliant QCA soundcard driver – ISC
213 * (% style="font-size: 14px;" %)drivers/net/ethernet/atheros/ag71xx/* – updated QCA Ethernet switch driver – GPLv2
214 * (% style="font-size: 14px;" %)net/core/* – performance enhancement updates to Linux sk_buff management – GPL v2
215 * (% style="font-size: 14px;" %)drivers/spi – added modes to QCA spi driver – GPLv2
216 * (% style="font-size: 14px;" %)drivers/mtd/nand/ – new QCA NAND flash controller driver – ISC
217
218 (((
219
220 )))
221
222 (((
223 == Licenses ==
224
225 (% style="line-height: 19.59375px;" %)The source code available for download from Code Aurora may be covered by one or more different licenses. The files in Code Aurora may contain changes and additions on top of the code from the original source. These changes and additions are covered under the same license as the original source. In many cases, the license is explicitly listed at the beginning of the file. A list of licenses is included for reference purposes only.
226
227 * [[GPLv2>>url:http://www.gnu.org/licenses/gpl-2.0.html||style="font-size: 14px;"]]
228 * [[BSD>>url:http://www.opensource.org/licenses/bsd-license.php||style="font-size: 14px;"]]
229 * [[ISC>>url:http://opensource.org/licenses/ISC||style="font-size: 14px;"]]
230 * [[Apache 2.0>>url:http://www.apache.org/licenses/LICENSE-2.0.html||style="font-size: 14px;"]]
231 )))

My Recent Modifications

Need help?

If you need help with XWiki you can contact: