<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ar9331 彙整 - 碼蟻創研工坊 - CODEANT STUDIOS</title>
	<atom:link href="http://codeant.cc/archives/tag/ar9331/feed" rel="self" type="application/rss+xml" />
	<link>http://codeant.cc/archives/tag/ar9331</link>
	<description></description>
	<lastBuildDate>Sat, 10 Oct 2020 13:16:28 +0000</lastBuildDate>
	<language>zh-TW</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>

<image>
	<url>http://codeant.cc/wp-content/uploads/2020/10/cropped-Code-Ant-Logo-2-32x32.png</url>
	<title>ar9331 彙整 - 碼蟻創研工坊 - CODEANT STUDIOS</title>
	<link>http://codeant.cc/archives/tag/ar9331</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>移植支援 Atheros AR9331 SoC 的 compat-wireless driver (ath9k)</title>
		<link>http://codeant.cc/archives/48</link>
		
		<dc:creator><![CDATA[codeant]]></dc:creator>
		<pubDate>Mon, 15 Jul 2013 18:46:32 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ar9331]]></category>
		<category><![CDATA[ath9k]]></category>
		<category><![CDATA[driver]]></category>
		<category><![CDATA[proting]]></category>
		<guid isPermaLink="false">http://codeant.cc/2013/07/16/atheros-ar9331-ath9k-driver-porting/</guid>

					<description><![CDATA[<p> Atheros AR9331是一顆SoC，CPU跟WiFi chip已經整合在一起了， 在移植compat- [&#8230;]</p>
<p>這篇文章 <a href="http://codeant.cc/archives/48">移植支援 Atheros AR9331 SoC 的 compat-wireless driver (ath9k)</a> 最早出現於 <a href="http://codeant.cc">碼蟻創研工坊 - CODEANT STUDIOS</a>。</p>
]]></description>
										<content:encoded><![CDATA[<p style="margin-left: 24pt; text-indent: -24pt; line-height: 150%; text-align: left;"><span style="font-size: 16px; line-height: 26px;"> Atheros AR9331是一顆SoC，CPU跟WiFi chip已經整合在一起了，</span></p>
<p style="margin-left: 24pt; text-indent: -24pt; line-height: 150%; text-align: left;"><span style="font-size: 16px; line-height: 26px;">在移植compat-wireless無線驅動的過程中，需要下面的步驟：</span></p>
<p><span id="more-48"></span></p>
<p style="margin-left: 24pt; text-indent: -24pt; line-height: 150%; text-align: left;"><span style="font-size: 16px; line-height: 26px;">1.    進入compat-wireless-2012-04-17的目錄下，由於預設的配置文件中，並沒有啟用對本論文所採用硬體的支援，因此首先必須修改 config.mk 檔案，開啟對Atheros AR9331 SoC的支援，修改配置如下：</span></p>
<pre class="prettyprint" style="font-family: 'Courier New', Courier, gMuli; font-size: 14px;"><i>export CONFIG_ATH9K_AHB=y #</i><i>開啟對</i><i>Atheros AR9331 SoC</i><i>的支援</i><i> </i></pre>
<p style="margin-left: 24pt; text-indent: -24pt; line-height: 150%; text-align: left;"><span style="font-size: 16px; line-height: 26px;">2.    修改完成後，執行下列指令進行編譯，其中$(KERNEL_DIR)為Linux內核原始碼（Source Code）的所在路徑：</span></p>
<pre class="prettyprint" style="font-family: 'Courier New', Courier, gMuli; font-size: 14px;"><i>make ARCH=mips CROSS_COMPILE=mips-linux- KLIB=$(KERNEL_DIR) KLIB_BUILD=$(KERNEL_DIR) </i></pre>
<p style="margin-left: 24pt; text-indent: -24pt; line-height: 150%; text-align: left;"><span style="font-size: 16px; line-height: 26px;">3.    編譯完成後可得下列的內核模組：</span></p>
<pre class="prettyprint" style="font-family: 'Courier New', Courier, gMuli; font-size: 14px;"><i>./compat/compat.ko </i> 
<i>./drivers/net/wireless/ath/ath.ko 
</i><i>./drivers/net/wireless/ath/ath9k/ath9k.ko 
</i><i>./drivers/net/wireless/ath/ath9k/ath9k_common.ko 
</i><i>./drivers/net/wireless/ath/ath9k/ath9k_hw.ko 
</i><i>./net/mac80211/mac80211.ko </i> 
<i>./net/wireless/cfg80211.ko</i></pre>
<p style="margin-left: 24pt; text-indent: -24pt; line-height: 150%; text-align: left;"><span style="font-size: 16px; line-height: 26px;">4.    因為編譯出來的內核模組有相依性，因此載入順序及指令如下：</span></p>
<pre class="prettyprint" style="font-family: 'Courier New', Courier, gMuli; font-size: 14px;"><i>insmod compat.ko</i> 
<i>insmod cfg80211.ko</i> 
<i>insmod mac80211.ko</i> 
<i>insmod ath.ko</i> 
<i>insmod ath9k_hw.ko</i> 
<i>insmod ath9k_common.ko</i> 
<i>insmod ath9k.ko</i></pre>
<p><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fcodeant.cc%2Farchives%2F48&amp;linkname=%E7%A7%BB%E6%A4%8D%E6%94%AF%E6%8F%B4%20Atheros%20AR9331%20SoC%20%E7%9A%84%20compat-wireless%20driver%20%28ath9k%29" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_line" href="https://www.addtoany.com/add_to/line?linkurl=http%3A%2F%2Fcodeant.cc%2Farchives%2F48&amp;linkname=%E7%A7%BB%E6%A4%8D%E6%94%AF%E6%8F%B4%20Atheros%20AR9331%20SoC%20%E7%9A%84%20compat-wireless%20driver%20%28ath9k%29" title="Line" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_wechat" href="https://www.addtoany.com/add_to/wechat?linkurl=http%3A%2F%2Fcodeant.cc%2Farchives%2F48&amp;linkname=%E7%A7%BB%E6%A4%8D%E6%94%AF%E6%8F%B4%20Atheros%20AR9331%20SoC%20%E7%9A%84%20compat-wireless%20driver%20%28ath9k%29" title="WeChat" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_sina_weibo" href="https://www.addtoany.com/add_to/sina_weibo?linkurl=http%3A%2F%2Fcodeant.cc%2Farchives%2F48&amp;linkname=%E7%A7%BB%E6%A4%8D%E6%94%AF%E6%8F%B4%20Atheros%20AR9331%20SoC%20%E7%9A%84%20compat-wireless%20driver%20%28ath9k%29" title="Sina Weibo" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_qzone" href="https://www.addtoany.com/add_to/qzone?linkurl=http%3A%2F%2Fcodeant.cc%2Farchives%2F48&amp;linkname=%E7%A7%BB%E6%A4%8D%E6%94%AF%E6%8F%B4%20Atheros%20AR9331%20SoC%20%E7%9A%84%20compat-wireless%20driver%20%28ath9k%29" title="Qzone" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_linkedin" href="https://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Fcodeant.cc%2Farchives%2F48&amp;linkname=%E7%A7%BB%E6%A4%8D%E6%94%AF%E6%8F%B4%20Atheros%20AR9331%20SoC%20%E7%9A%84%20compat-wireless%20driver%20%28ath9k%29" title="LinkedIn" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=http%3A%2F%2Fcodeant.cc%2Farchives%2F48&#038;title=%E7%A7%BB%E6%A4%8D%E6%94%AF%E6%8F%B4%20Atheros%20AR9331%20SoC%20%E7%9A%84%20compat-wireless%20driver%20%28ath9k%29" data-a2a-url="http://codeant.cc/archives/48" data-a2a-title="移植支援 Atheros AR9331 SoC 的 compat-wireless driver (ath9k)"></a></p><p>這篇文章 <a href="http://codeant.cc/archives/48">移植支援 Atheros AR9331 SoC 的 compat-wireless driver (ath9k)</a> 最早出現於 <a href="http://codeant.cc">碼蟻創研工坊 - CODEANT STUDIOS</a>。</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
