gengqingkai 发表于 2011-12-20 09:44

RT3070驱动移植

<DIV>
<DIV class=title>
<H1>RT3070驱动移植</H1>
<H1><FONT size=3><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">&nbsp;&nbsp;&nbsp;转载自<A href="http://linfengdu.blog.163.com/blog/static/11771073201102093848182/">http://linfengdu.blog.163.com/blog/static/11771073201102093848182/</A> </SPAN></FONT></H1>
<H1><FONT size=3><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">&nbsp;&nbsp; 无线网卡为</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">RT3070</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">,驱动分为</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">STA</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">驱动和</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">SoftAP</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">驱动两种,</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">STA</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">驱动支持无线网卡工作在</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">STA</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">模式下,而</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">SoftAP</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的驱动支持无线网卡工作在软</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">AP</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的模式下,可以作为一个软的接入点。</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">STA</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">驱动为</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">2010_0831_RT3070_Linux_STA_v2.3.0.0_DPO.bz2</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">。</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">SoftAP</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的驱动是:</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">2010_0203_RT3070_SoftAP_v2.4.0.1_DPA.bz2</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">。需要移植</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">STA</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">驱动和</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">SoftAP</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">驱动,两款驱动的移植步骤差不多。下边首先对</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">STA</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">驱动进行移植。</SPAN></FONT></H1></DIV>
<DIV class="article " id=blog_article>
<DIV class=resizeimg>
<DIV class=resizeimg2>
<DIV class=resizeimg3>
<DIV class=resizeimg4>
<DIV>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT size=3><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"></SPAN></FONT><FONT size=3><STRONG><SPAN lang=EN-US><FONT face="Times New Roman"></FONT></SPAN></STRONG></FONT>&nbsp;</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT size=3><STRONG><SPAN lang=EN-US><FONT face="Times New Roman">STA</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">驱动的移植</SPAN></STRONG></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT size=3><STRONG><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"></SPAN></STRONG></FONT>&nbsp;</P>
<TABLE class=MsoNormalTable style="MARGIN: auto auto auto -0.25pt; BORDER-COLLAPSE: collapse; mso-table-layout-alt: fixed; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt" cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR style="HEIGHT: 15.6pt; mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: yes">
<TD style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: black 1pt solid; PADDING-LEFT: 5.4pt; BACKGROUND: #bfbfbf; PADDING-BOTTOM: 0cm; BORDER-LEFT: black 1pt solid; WIDTH: 432.25pt; PADDING-TOP: 0cm; BORDER-BOTTOM: black 1pt solid; HEIGHT: 15.6pt; mso-border-alt: solid black .5pt" vAlign=top width=576>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; LAYOUT-GRID-MODE: char; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">#tar jxvf 2010_0831_RT3070_Linux_STA_v2.3.0.0_DPO.bz2<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">cd 2010_0831_RT3070_Linux_STA_v2.3.0.0_DPO<O p></FONT></SPAN></I></P></TD>
<TD style="BORDER-LEFT-COLOR: #ece9d8; BORDER-BOTTOM-COLOR: #ece9d8; BORDER-TOP-COLOR: #ece9d8; HEIGHT: 15.6pt; BACKGROUND-COLOR: transparent; BORDER-RIGHT-COLOR: #ece9d8" width=0 height=21><FONT face="Times New Roman"></FONT></TD></TR></TBODY></TABLE>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT size=3><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">修改原有的</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">Makefile</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">文件如下(只给出需要修改的部分,</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">“-”</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">表示删除的行,</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">“+”</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">表示添加的行):</SPAN></FONT></P>
<TABLE class=MsoNormalTable style="MARGIN: auto auto auto -0.25pt; BORDER-COLLAPSE: collapse; mso-table-layout-alt: fixed; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt" cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR style="HEIGHT: 15.6pt; mso-yfti-irow: 0; mso-yfti-firstrow: yes">
<TD style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: black 1pt solid; PADDING-LEFT: 5.4pt; BACKGROUND: #bfbfbf; BORDER-BOTTOM-WIDTH: 1pt; BORDER-BOTTOM-COLOR: black; PADDING-BOTTOM: 0cm; BORDER-LEFT: black 1pt solid; WIDTH: 432.25pt; PADDING-TOP: 0cm; HEIGHT: 15.6pt; mso-border-alt: solid black .5pt; mso-border-bottom-alt: none black 0cm" vAlign=top width=576>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; LAYOUT-GRID-MODE: char; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">+#Makefile for RT3070 on MBC-SAM9G45<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">+#2010_11_13 by liyi<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">RT28xx_MODE = STA<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">TARGET = LINUX<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">CHIPSET = 3070<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">-PLATFORM = PC<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">+PLATFORM = IXP<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><O p><FONT face="Times New Roman"></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">ifeq ($(PLATFORM),IXP)<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">-LINUX_SRC =<SPAN style="COLOR: red"> /project<O p></SPAN></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: red"><FONT face="Times New Roman">-CROSS_COMPILE = arm-linux-<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">+LINUX_SRC = /home/Embest_SAM9G45/linux-2.6.30<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">+CROSS_COMPILE = /usr/local/arm2007q1/bin/arm-none-linux-gnueabi-<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">endif<O p></FONT></SPAN></I></P></TD>
<TD style="BORDER-LEFT-COLOR: #ece9d8; BORDER-BOTTOM-COLOR: #ece9d8; BORDER-TOP-COLOR: #ece9d8; HEIGHT: 15.6pt; BACKGROUND-COLOR: transparent; BORDER-RIGHT-COLOR: #ece9d8" width=0 height=21><FONT face="Times New Roman"></FONT></TD></TR></TBODY></TABLE>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT size=3><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">修改</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">os/linux</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">文件夹中的</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">config.mk</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">文件,需要修改的地方如下(只给出需要修改的部分):</SPAN><SPAN lang=EN-US><FONT face="Times New Roman"> </FONT></SPAN></FONT></P>
<TABLE class=MsoNormalTable style="MARGIN: auto auto auto -0.25pt; BORDER-COLLAPSE: collapse; mso-table-layout-alt: fixed; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt" cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR style="HEIGHT: 15.6pt; mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: yes">
<TD style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: black 1pt solid; PADDING-LEFT: 5.4pt; BACKGROUND: #bfbfbf; PADDING-BOTTOM: 0cm; BORDER-LEFT: black 1pt solid; WIDTH: 432.25pt; PADDING-TOP: 0cm; BORDER-BOTTOM: black 1pt solid; HEIGHT: 15.6pt; mso-border-alt: solid black .5pt" vAlign=top width=576>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; LAYOUT-GRID-MODE: char; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman"># Support Wpa_Supplicant<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">- HAS_WPA_SUPPLICANT=n<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">+HAS_WPA_SUPPLICANT=y<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman"># Support Native WpaSupplicant for Network Maganger<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">-HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n <O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">+HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><O p><FONT face="Times New Roman"></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">ifeq ($(PLATFORM),IXP)<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">- WFLAGS += -DRT_BIG_ENDIAN<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">+#WFLAGS += -DRT_BIG_ENDIAN<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">endif<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><O p><FONT face="Times New Roman"></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: red"><FONT face="Times New Roman">ifeq ($(PLATFORM),IXP)<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: red"><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>EXTRA_CFLAGS := -v $(WFLAGS) -I$(RT28xx_DIR)/include<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: red"><FONT face="Times New Roman">endif<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: red"><O p><FONT face="Times New Roman"></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: red"><FONT face="Times New Roman">ifeq ($(PLATFORM),IXP)<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: red"><O p><FONT face="Times New Roman"></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: red"><FONT face="Times New Roman">-<SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>CFLAGS := -v -D__KERNEL__ -DMODULE -I$(LINUX_SRC)/include -I$(RT28xx_DIR)/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Uarm -fno-common -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=5 -mcpu=xscale -mtune=xscale -malignment-traps -msoft-float $(WFLAGS)<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: red"><O p><FONT face="Times New Roman"></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: red"><FONT face="Times New Roman">-<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>EXTRA_CFLAGS := -v $(WFLAGS) -I$(RT28xx_DIR)/include<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: red"><O p><FONT face="Times New Roman"></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal; mso-list: l1 level1 lfo2; tab-stops: list 36.0pt"><SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: red; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"><SPAN style="mso-list: Ignore">-<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: red"><FONT face="Times New Roman">export CFLAGS<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal; mso-list: l1 level1 lfo2; tab-stops: list 36.0pt"><SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: red; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"><SPAN style="mso-list: Ignore">-</SPAN></SPAN><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: red"><O p></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 0cm; LINE-HEIGHT: normal; mso-char-indent-count: 0"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: red"><FONT face="Times New Roman">+<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: red"><FONT face="Times New Roman">endif<O p></FONT></SPAN></I></P></TD>
<TD style="BORDER-LEFT-COLOR: #ece9d8; BORDER-BOTTOM-COLOR: #ece9d8; BORDER-TOP-COLOR: #ece9d8; HEIGHT: 15.6pt; BACKGROUND-COLOR: transparent; BORDER-RIGHT-COLOR: #ece9d8" width=0 height=21><FONT face="Times New Roman"></FONT></TD></TR></TBODY></TABLE>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><FONT size=3>修改完成以后,通过以下命令编译:</FONT></SPAN></P>
<TABLE class=MsoNormalTable style="MARGIN: auto auto auto -0.25pt; BORDER-COLLAPSE: collapse; mso-table-layout-alt: fixed; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt" cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR style="HEIGHT: 10.35pt; mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: yes">
<TD style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: black 1pt solid; PADDING-LEFT: 5.4pt; BACKGROUND: #bfbfbf; PADDING-BOTTOM: 0cm; BORDER-LEFT: black 1pt solid; WIDTH: 432.25pt; PADDING-TOP: 0cm; BORDER-BOTTOM: black 1pt solid; HEIGHT: 10.35pt; mso-border-alt: solid black .5pt" vAlign=top width=576>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; LAYOUT-GRID-MODE: char; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">make ARCH=arm KBUILD_NOPEDANTIC=1<O p></FONT></SPAN></I></P></TD>
<TD style="BORDER-LEFT-COLOR: #ece9d8; BORDER-BOTTOM-COLOR: #ece9d8; BORDER-TOP-COLOR: #ece9d8; HEIGHT: 10.35pt; BACKGROUND-COLOR: transparent; BORDER-RIGHT-COLOR: #ece9d8" width=0 height=14><FONT face="Times New Roman"></FONT></TD></TR></TBODY></TABLE>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT size=3><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">如果不加</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">KBUILD_NOPEDANTIC=1</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">将出现</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">CFLAGS was changed in …. Fix it to use EXTRA_CFLAGS</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的错误,编译不能通过。编译完成后,会在</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">os/linux</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">文件夹中生成</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">rt3070sta.ko</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的驱动模块。此模块通过下载工具可以下载到</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">/mnt</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">目录。</SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT size=3><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">在驱动目录下新建一个文件夹</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">Wireless/RT2870STA</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">,将</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">RT2870STA.dat</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">复制进</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">Wireless/RT2870STAm</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">目录下,同时将此文件夹拷贝进开发板。从超级终端进入开发板目录</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">/mnt</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">使用以下命令将</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">Wireless</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">文件夹拷贝到</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">/etc</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">目录下,将</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">rt3070sta.ko</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">拷贝进</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">/home/root</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">用户目录下:</SPAN></FONT></P>
<TABLE class=MsoNormalTable style="MARGIN: auto auto auto -0.25pt; BORDER-COLLAPSE: collapse; mso-table-layout-alt: fixed; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt" cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR style="HEIGHT: 15.6pt; mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: yes">
<TD style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: black 1pt solid; PADDING-LEFT: 5.4pt; BACKGROUND: #bfbfbf; PADDING-BOTTOM: 0cm; BORDER-LEFT: black 1pt solid; WIDTH: 432.25pt; PADDING-TOP: 0cm; BORDER-BOTTOM: black 1pt solid; HEIGHT: 15.6pt; mso-border-alt: solid black .5pt" vAlign=top width=576>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; LAYOUT-GRID-MODE: char; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">#cp /mnt/Wireless /usr –r<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">#cp /mnt/rt3070sta.ko /home/root<O p></FONT></SPAN></I></P></TD>
<TD style="BORDER-LEFT-COLOR: #ece9d8; BORDER-BOTTOM-COLOR: #ece9d8; BORDER-TOP-COLOR: #ece9d8; HEIGHT: 15.6pt; BACKGROUND-COLOR: transparent; BORDER-RIGHT-COLOR: #ece9d8" width=0 height=21><FONT face="Times New Roman"></FONT></TD></TR></TBODY></TABLE>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT size=3><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">打开</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">root</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">目录,加载驱动模块:</SPAN></FONT></P>
<TABLE class=MsoNormalTable style="MARGIN: auto auto auto -0.25pt; BORDER-COLLAPSE: collapse; mso-table-layout-alt: fixed; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt" cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR style="HEIGHT: 15.6pt; mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: yes">
<TD style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: black 1pt solid; PADDING-LEFT: 5.4pt; BACKGROUND: #bfbfbf; PADDING-BOTTOM: 0cm; BORDER-LEFT: black 1pt solid; WIDTH: 432.25pt; PADDING-TOP: 0cm; BORDER-BOTTOM: black 1pt solid; HEIGHT: 15.6pt; mso-border-alt: solid black .5pt" vAlign=top width=576>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; LAYOUT-GRID-MODE: char; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">#cd /home/root<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">#insmod rt3070sta.ko<O p></FONT></SPAN></I></P></TD>
<TD style="BORDER-LEFT-COLOR: #ece9d8; BORDER-BOTTOM-COLOR: #ece9d8; BORDER-TOP-COLOR: #ece9d8; HEIGHT: 15.6pt; BACKGROUND-COLOR: transparent; BORDER-RIGHT-COLOR: #ece9d8" width=0 height=21><FONT face="Times New Roman"></FONT></TD></TR></TBODY></TABLE>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><FONT size=3>如果加载出现一下错误:</FONT></SPAN></P>
<TABLE class=MsoNormalTable style="MARGIN: auto auto auto -0.25pt; BORDER-COLLAPSE: collapse; mso-table-layout-alt: fixed; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt" cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR style="HEIGHT: 15.6pt; mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: yes">
<TD style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: black 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: black 1pt solid; WIDTH: 432.25pt; PADDING-TOP: 0cm; BORDER-BOTTOM: black 1pt solid; HEIGHT: 15.6pt; BACKGROUND-COLOR: transparent; mso-border-alt: solid black .5pt" vAlign=top width=576>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; LAYOUT-GRID-MODE: char; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">#insmod rt3070sta.ko<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">insmod: error inserting 'rt3070sta.ko': -1 Unknown symbol in module<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">#dmesg | grep rt3070<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 2443.154486] rt2070ap: Unknown symbol usb_alloc_urb<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 2443.154628] rt2070ap: Unknown symbol usb_free_urb<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 2443.155032] rt2070ap: Unknown symbol usb_register_driver<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 2443.155324] rt2070ap: Unknown symbol usb_put_dev<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 2443.155439] rt2070ap: Unknown symbol usb_get_dev<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 2443.155652] rt2070ap: Unknown symbol usb_submit_urb<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 2443.156164] rt2070ap: Unknown symbol usb_control_msg<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 2443.156553] rt2070ap: Unknown symbol usb_deregister<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 2443.157013] rt2070ap: Unknown symbol usb_kill_urb<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 2443.157116] rt2070ap: Unknown symbol usb_buffer_free<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 2443.157443] rt2070ap: Unknown symbol find_vpid<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 2443.157675] rt2070ap: Unknown symbol usb_buffer_alloc<O p></FONT></SPAN></I></P></TD>
<TD style="BORDER-LEFT-COLOR: #ece9d8; BORDER-BOTTOM-COLOR: #ece9d8; BORDER-TOP-COLOR: #ece9d8; HEIGHT: 15.6pt; BACKGROUND-COLOR: transparent; BORDER-RIGHT-COLOR: #ece9d8" width=0 height=21><FONT face="Times New Roman"></FONT></TD></TR></TBODY></TABLE>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT size=3><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">则需要在文件</SPAN><FONT face="Times New Roman"><SPAN lang=EN-US style="COLOR: black">os/linux/usb_main_de</SPAN><SPAN lang=EN-US>v.c</SPAN></FONT><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">文件的开头加上如下一行代码:</SPAN></FONT></P>
<TABLE class=MsoNormalTable style="MARGIN: auto auto auto -0.25pt; BORDER-COLLAPSE: collapse; mso-table-layout-alt: fixed; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt" cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR style="HEIGHT: 18.1pt; mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: yes">
<TD style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: black 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: black 1pt solid; WIDTH: 432.25pt; PADDING-TOP: 0cm; BORDER-BOTTOM: black 1pt solid; HEIGHT: 18.1pt; BACKGROUND-COLOR: transparent; mso-border-alt: solid black .5pt" vAlign=top width=576>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; LAYOUT-GRID-MODE: char; TEXT-INDENT: 21pt"><SPAN lang=EN-US><FONT face="Times New Roman" size=3>MODULE_LICENSE(“GPL”);</FONT></SPAN></P></TD>
<TD style="BORDER-LEFT-COLOR: #ece9d8; BORDER-BOTTOM-COLOR: #ece9d8; BORDER-TOP-COLOR: #ece9d8; HEIGHT: 18.1pt; BACKGROUND-COLOR: transparent; BORDER-RIGHT-COLOR: #ece9d8" width=0 height=24><FONT face="Times New Roman" size=3></FONT></TD></TR></TBODY></TABLE>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><FONT size=3>然后重新编译、重新加载,即可得到正确的结果。</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT size=3><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">用</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">ifconfig<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>-a</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">命令查看网络,如果加载成功,不会有任何提示,同时可以查看到</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">ra0</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">设备的存在。</SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT size=3><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">加载上模块过后,可以用相关命令设置无线网卡。命令包括</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">iwpriv</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">iwconfig</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">iwlist</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">ifconfig</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">等。比如设置无线网卡地址为</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">192.168.1.5</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">:</SPAN></FONT></P>
<TABLE class=MsoNormalTable style="MARGIN: auto auto auto -0.25pt; BORDER-COLLAPSE: collapse; mso-table-layout-alt: fixed; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt" cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR style="HEIGHT: 10.35pt; mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: yes">
<TD style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: black 1pt solid; PADDING-LEFT: 5.4pt; BACKGROUND: #bfbfbf; PADDING-BOTTOM: 0cm; BORDER-LEFT: black 1pt solid; WIDTH: 432.25pt; PADDING-TOP: 0cm; BORDER-BOTTOM: black 1pt solid; HEIGHT: 10.35pt; mso-border-alt: solid black .5pt" vAlign=top width=576>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; LAYOUT-GRID-MODE: char; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">ifconfig ra0 192.168.1.5<O p></FONT></SPAN></I></P></TD>
<TD style="BORDER-LEFT-COLOR: #ece9d8; BORDER-BOTTOM-COLOR: #ece9d8; BORDER-TOP-COLOR: #ece9d8; HEIGHT: 10.35pt; BACKGROUND-COLOR: transparent; BORDER-RIGHT-COLOR: #ece9d8" width=0 height=14><FONT face="Times New Roman"></FONT></TD></TR></TBODY></TABLE>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT size=3><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">设置无线网络模式为</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">ad-hoc</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">模式:</SPAN></FONT></P>
<TABLE class=MsoNormalTable style="MARGIN: auto auto auto -0.25pt; BORDER-COLLAPSE: collapse; mso-table-layout-alt: fixed; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt" cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR style="HEIGHT: 10.35pt; mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: yes">
<TD style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: black 1pt solid; PADDING-LEFT: 5.4pt; BACKGROUND: #bfbfbf; PADDING-BOTTOM: 0cm; BORDER-LEFT: black 1pt solid; WIDTH: 432.25pt; PADDING-TOP: 0cm; BORDER-BOTTOM: black 1pt solid; HEIGHT: 10.35pt; mso-border-alt: solid black .5pt" vAlign=top width=576>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; LAYOUT-GRID-MODE: char; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">iwpriv ra0 set NetworkType=Adhoc<O p></FONT></SPAN></I></P></TD>
<TD style="BORDER-LEFT-COLOR: #ece9d8; BORDER-BOTTOM-COLOR: #ece9d8; BORDER-TOP-COLOR: #ece9d8; HEIGHT: 10.35pt; BACKGROUND-COLOR: transparent; BORDER-RIGHT-COLOR: #ece9d8" width=0 height=14><FONT face="Times New Roman"></FONT></TD></TR></TBODY></TABLE>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT size=3><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">设置</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">SSID</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">名为</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">isn313</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">:</SPAN></FONT></P>
<TABLE class=MsoNormalTable style="MARGIN: auto auto auto -0.25pt; BORDER-COLLAPSE: collapse; mso-table-layout-alt: fixed; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt" cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR style="HEIGHT: 10.35pt; mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: yes">
<TD style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: black 1pt solid; PADDING-LEFT: 5.4pt; BACKGROUND: #bfbfbf; PADDING-BOTTOM: 0cm; BORDER-LEFT: black 1pt solid; WIDTH: 432.25pt; PADDING-TOP: 0cm; BORDER-BOTTOM: black 1pt solid; HEIGHT: 10.35pt; mso-border-alt: solid black .5pt" vAlign=top width=576>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; LAYOUT-GRID-MODE: char; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">iwconf ra0 essid isn313<O p></FONT></SPAN></I></P></TD>
<TD style="BORDER-LEFT-COLOR: #ece9d8; BORDER-BOTTOM-COLOR: #ece9d8; BORDER-TOP-COLOR: #ece9d8; HEIGHT: 10.35pt; BACKGROUND-COLOR: transparent; BORDER-RIGHT-COLOR: #ece9d8" width=0 height=14><FONT face="Times New Roman"></FONT></TD></TR></TBODY></TABLE>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><FONT size=3>查看无线网络:</FONT></SPAN></P>
<TABLE class=MsoNormalTable style="MARGIN: auto auto auto -0.25pt; BORDER-COLLAPSE: collapse; mso-table-layout-alt: fixed; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt" cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR style="HEIGHT: 10.35pt; mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: yes">
<TD style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: black 1pt solid; PADDING-LEFT: 5.4pt; BACKGROUND: #bfbfbf; PADDING-BOTTOM: 0cm; BORDER-LEFT: black 1pt solid; WIDTH: 432.25pt; PADDING-TOP: 0cm; BORDER-BOTTOM: black 1pt solid; HEIGHT: 10.35pt; mso-border-alt: solid black .5pt" vAlign=top width=576>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; LAYOUT-GRID-MODE: char; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">iwlist ra0 scanning<O p></FONT></SPAN></I></P></TD>
<TD style="BORDER-LEFT-COLOR: #ece9d8; BORDER-BOTTOM-COLOR: #ece9d8; BORDER-TOP-COLOR: #ece9d8; HEIGHT: 10.35pt; BACKGROUND-COLOR: transparent; BORDER-RIGHT-COLOR: #ece9d8" width=0 height=14><FONT face="Times New Roman"></FONT></TD></TR></TBODY></TABLE>
<H3 style="MARGIN: 13pt 0cm 13pt 36pt; TEXT-INDENT: 24.1pt"><FONT size=3><SPAN lang=EN-US><FONT face="Times New Roman">SoftAP</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">驱动移植</SPAN></FONT></H3>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT size=3><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">解压驱动</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">2010_0203_RT3070_SoftAP_v2.4.0.1_DPA.bz2</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">,然后进入目录:</SPAN></FONT></P>
<TABLE class=MsoNormalTable style="MARGIN: auto auto auto -0.25pt; BORDER-COLLAPSE: collapse; mso-table-layout-alt: fixed; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt" cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR style="HEIGHT: 23.4pt; mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: yes">
<TD style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: black 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: black 1pt solid; WIDTH: 432.25pt; PADDING-TOP: 0cm; BORDER-BOTTOM: black 1pt solid; HEIGHT: 23.4pt; BACKGROUND-COLOR: transparent; mso-border-alt: solid black .5pt" vAlign=top width=576>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; LAYOUT-GRID-MODE: char; TEXT-INDENT: 21pt"><SPAN lang=EN-US><FONT face="Times New Roman" size=3>tar jxvf 2010_0203_RT3070_SoftAP_v2.4.0.1_DPA.bz2</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=EN-US><FONT face="Times New Roman" size=3>cd 2010_0203_RT3070_SoftAP_v2.4.0.1_DPA</FONT></SPAN></P></TD>
<TD style="BORDER-LEFT-COLOR: #ece9d8; BORDER-BOTTOM-COLOR: #ece9d8; BORDER-TOP-COLOR: #ece9d8; HEIGHT: 23.4pt; BACKGROUND-COLOR: transparent; BORDER-RIGHT-COLOR: #ece9d8" width=0 height=31><FONT face="Times New Roman" size=3></FONT></TD></TR></TBODY></TABLE>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT size=3><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">修改</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">Makefile</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">如下(</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">“-”</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">表示删除的行,</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">“+”</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">表示添加的行):</SPAN></FONT></P>
<TABLE class=MsoNormalTable style="MARGIN: auto auto auto -0.25pt; BORDER-COLLAPSE: collapse; mso-table-layout-alt: fixed; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt" cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR style="HEIGHT: 23.4pt; mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: yes">
<TD style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: black 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: black 1pt solid; WIDTH: 432.25pt; PADDING-TOP: 0cm; BORDER-BOTTOM: black 1pt solid; HEIGHT: 23.4pt; BACKGROUND-COLOR: transparent; mso-border-alt: solid black .5pt" vAlign=top width=576>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; LAYOUT-GRID-MODE: char; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">+#Makefile for RT3070 on MBC-SAM9G45<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">+#2010_11_13 by liyi<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">RT28xx_MODE = <SPAN style="COLOR: red">AP<O p></SPAN></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">TARGET = LINUX<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">CHIPSET = 3070<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">-PLATFORM = PC<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">+PLATFORM = IXP<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">………<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">ifeq ($(PLATFORM),IXP)<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">-Linux_SR<SPAN style="COLOR: red">C = /project………..<O p></SPAN></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">-CROSS_COMPILE = arm-linux-<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">+LINUX_SRC = /home/Embest_SAM9G45/linux-2.6.30<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">+CROSS_COMPILE = /usr/local/arm2007q1/bin/arm-none-linux-gnueabi-<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt; LINE-HEIGHT: 150%"><FONT face="Times New Roman">endif<O p></FONT></SPAN></I></P></TD>
<TD style="BORDER-LEFT-COLOR: #ece9d8; BORDER-BOTTOM-COLOR: #ece9d8; BORDER-TOP-COLOR: #ece9d8; HEIGHT: 23.4pt; BACKGROUND-COLOR: transparent; BORDER-RIGHT-COLOR: #ece9d8" width=0 height=31><FONT face="Times New Roman"></FONT></TD></TR></TBODY></TABLE>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT size=3><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">注意,在</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">2010_0203_RT3070_SoftAP_v2.4.0.1_DPA.bz2</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">驱动中,有三个文件夹,分别为</SPAN><SPAN lang=EN-US style="COLOR: black"><FONT face="Times New Roman">MODULE</FONT></SPAN><SPAN lang=AR-SA style="COLOR: black; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</SPAN><SPAN lang=EN-US style="COLOR: black"><FONT face="Times New Roman">NETIF</FONT></SPAN><SPAN lang=AR-SA style="COLOR: black; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</SPAN><SPAN lang=EN-US style="COLOR: black"><FONT face="Times New Roman">UTIL</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">,在这三个文件中均有</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">Makefile</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">,所有的</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">Makefile</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">都需要如上修改,同样,三个文件夹中的</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">config.mk</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">文件也都需要修改。</SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT size=3><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">修改</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">config.mk</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">配置文件。</SPAN></FONT></P>
<TABLE class=MsoNormalTable style="MARGIN: auto auto auto -0.25pt; BORDER-COLLAPSE: collapse; mso-table-layout-alt: fixed; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt" cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR style="HEIGHT: 15.6pt; mso-yfti-irow: 0; mso-yfti-firstrow: yes">
<TD style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: black 1pt solid; PADDING-LEFT: 5.4pt; BORDER-BOTTOM-WIDTH: 1pt; BORDER-BOTTOM-COLOR: black; PADDING-BOTTOM: 0cm; BORDER-LEFT: black 1pt solid; WIDTH: 432.25pt; PADDING-TOP: 0cm; HEIGHT: 15.6pt; BACKGROUND-COLOR: transparent; mso-border-alt: solid black .5pt; mso-border-bottom-alt: none black 0cm" vAlign=top width=576>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; LAYOUT-GRID-MODE: char; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">ifeq ($(PLATFORM),IXP)<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">- WFLAGS += -DRT_BIG_ENDIAN<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">+#WFLAGS += -DRT_BIG_ENDIAN<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">endif<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: red"><O p><FONT face="Times New Roman"></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: red"><FONT face="Times New Roman">ifeq ($(PLATFORM),IXP)<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: red"><O p><FONT face="Times New Roman"></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: red"><FONT face="Times New Roman">#WFLAGS += -DRT_BIG_ENDIAN<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: red"><O p><FONT face="Times New Roman"></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: red"><FONT face="Times New Roman">endif<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: red"><O p><FONT face="Times New Roman"></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: red"><FONT face="Times New Roman">ifeq ($(PLATFORM),IXP)<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: red"><O p><FONT face="Times New Roman"></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: red"><SPAN style="mso-tab-count: 1"></SPAN><FONT face="Times New Roman">CFLAGS := -v -D__KERNEL__ -DMODULE -I$(LINUX_SRC)/include -I$(RT28xx_DIR)/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Uarm -fno-common -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=5 -mcpu=xscale -mtune=xscale -malignment-traps -msoft-float $(WFLAGS)<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: red"><O p><FONT face="Times New Roman"></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: red"><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>EXTRA_CFLAGS := -v $(WFLAGS) -I$(RT28xx_DIR)/include<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: red"><O p><FONT face="Times New Roman"></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: red"><SPAN style="mso-tab-count: 1"></SPAN><FONT face="Times New Roman">export CFLAGS<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: red"><O p><FONT face="Times New Roman"></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: red"><FONT face="Times New Roman">endif<O p></FONT></SPAN></I></P></TD>
<TD style="BORDER-LEFT-COLOR: #ece9d8; BORDER-BOTTOM-COLOR: #ece9d8; BORDER-TOP-COLOR: #ece9d8; HEIGHT: 15.6pt; BACKGROUND-COLOR: transparent; BORDER-RIGHT-COLOR: #ece9d8" width=0 height=21><FONT face="Times New Roman"></FONT></TD></TR></TBODY></TABLE>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT size=3><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"></SPAN></FONT>&nbsp;</P><FONT color=#3366ff size=3><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">
<DIV class=detail id=comment_69790>对不起,在修改驱动config.mk文件的时候,红色修改部分没有给全,应该是把CFLAGS和EXTRA_FLAGS中的-mbig-endian选项去掉,因为在ARM中采用的小端模式!特此更正!</DIV></SPAN></FONT>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT size=3><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT size=3><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT size=3><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">所有的</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">config.mk</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">都修改好以后,通过以下命令进行编译:</SPAN></FONT></P>
<TABLE class=MsoNormalTable style="MARGIN: auto auto auto -0.25pt; BORDER-COLLAPSE: collapse; mso-table-layout-alt: fixed; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt" cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR style="HEIGHT: 15.5pt; mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: yes">
<TD style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: black 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: black 1pt solid; WIDTH: 432.25pt; PADDING-TOP: 0cm; BORDER-BOTTOM: black 1pt solid; HEIGHT: 15.5pt; BACKGROUND-COLOR: transparent; mso-border-alt: solid black .5pt" vAlign=top width=576>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; LAYOUT-GRID-MODE: char; TEXT-INDENT: 18pt"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt; LINE-HEIGHT: 150%"><FONT face="Times New Roman">make ARCH=arm KBUILD_NOPEDANTIC=1<O p></FONT></SPAN></I></P></TD>
<TD style="BORDER-LEFT-COLOR: #ece9d8; BORDER-BOTTOM-COLOR: #ece9d8; BORDER-TOP-COLOR: #ece9d8; HEIGHT: 15.5pt; BACKGROUND-COLOR: transparent; BORDER-RIGHT-COLOR: #ece9d8" width=0 height=21><FONT face="Times New Roman"></FONT></TD></TR></TBODY></TABLE>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT size=3><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">如果编译不能通过,请检查是否所有的文件夹中的</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">Makefile</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">和</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">config.mk</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">都已经修改。编译通过后,将在三个文件夹中分别生成三个可加载模块:</SPAN><SPAN lang=EN-US style="COLOR: red"><FONT face="Times New Roman">rt3070ap.ko</FONT></SPAN><SPAN lang=AR-SA style="COLOR: red; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">,</SPAN><SPAN lang=EN-US style="COLOR: red"><FONT face="Times New Roman">rtutil3070ap.ko</FONT></SPAN><SPAN lang=AR-SA style="COLOR: red; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">,</SPAN><SPAN lang=EN-US style="COLOR: red"><FONT face="Times New Roman">rtnet3070ap.ko</FONT></SPAN><SPAN lang=AR-SA style="COLOR: red; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">。通过</SPAN><SPAN lang=EN-US style="COLOR: red"><FONT face="Times New Roman">USB</FONT></SPAN><SPAN lang=AR-SA style="COLOR: red; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口将这三个模块和</SPAN><SPAN lang=EN-US style="COLOR: red"><FONT face="Times New Roman">rt2870ap.dat</FONT></SPAN><SPAN lang=AR-SA style="COLOR: red; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">文件下载到开发板目录下。并将文件移动到相应位置:</SPAN><SPAN lang=EN-US style="COLOR: red"><O p></SPAN></FONT></P>
<TABLE class=MsoNormalTable style="MARGIN: auto auto auto -0.25pt; BORDER-COLLAPSE: collapse; mso-table-layout-alt: fixed; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt" cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR style="HEIGHT: 15.6pt; mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: yes">
<TD style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: black 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: black 1pt solid; WIDTH: 432.25pt; PADDING-TOP: 0cm; BORDER-BOTTOM: black 1pt solid; HEIGHT: 15.6pt; BACKGROUND-COLOR: transparent; mso-border-alt: solid black .5pt" vAlign=top width=576>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; LAYOUT-GRID-MODE: char; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">#mkdir /etc/Wireless/<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">#mkdir /etc/Wireless/RT2870AP/<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">#<SPAN style="COLOR: black">cp /mnt/rt2870ap.dat /etc/Wireless/RT2870AP/RT2870AP.dat<O p></SPAN></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: black"><FONT face="Times New Roman">#cp /mnt/rt3070ap.ko /home/root<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: black"><FONT face="Times New Roman">#cp /mnt/rtutil3070ap.ko /home/root<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: black"><FONT face="Times New Roman">#cp /mnt/rtnet3070ap.ko /home/root<O p></FONT></SPAN></I></P></TD>
<TD style="BORDER-LEFT-COLOR: #ece9d8; BORDER-BOTTOM-COLOR: #ece9d8; BORDER-TOP-COLOR: #ece9d8; HEIGHT: 15.6pt; BACKGROUND-COLOR: transparent; BORDER-RIGHT-COLOR: #ece9d8" width=0 height=21><FONT face="Times New Roman"></FONT></TD></TR></TBODY></TABLE>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT size=3><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">第三行中,在</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">RT2870AP</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">文件夹中的</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">.dat</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">文件名必须是大写的,否则模块将无法读取。</SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT size=3><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">移动好后,进入</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">root</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">目录并加载模块:</SPAN></FONT></P>
<TABLE class=MsoNormalTable style="MARGIN: auto auto auto -0.25pt; BORDER-COLLAPSE: collapse; mso-table-layout-alt: fixed; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt" cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR style="HEIGHT: 15.6pt; mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: yes">
<TD style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: black 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: black 1pt solid; WIDTH: 432.25pt; PADDING-TOP: 0cm; BORDER-BOTTOM: black 1pt solid; HEIGHT: 15.6pt; BACKGROUND-COLOR: transparent; mso-border-alt: solid black .5pt" vAlign=top width=576>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; LAYOUT-GRID-MODE: char; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">#cd /home/root<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: black"><FONT face="Times New Roman">#insmod rtutil3070ap.ko<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: black"><FONT face="Times New Roman">#insmod rt3070ap.ko<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: black"><FONT face="Times New Roman">#insmod rtnet3070ap.ko<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: black"><FONT face="Times New Roman">#ifconfig ra0 up<O p></FONT></SPAN></I></P></TD>
<TD style="BORDER-LEFT-COLOR: #ece9d8; BORDER-BOTTOM-COLOR: #ece9d8; BORDER-TOP-COLOR: #ece9d8; HEIGHT: 15.6pt; BACKGROUND-COLOR: transparent; BORDER-RIGHT-COLOR: #ece9d8" width=0 height=21><FONT face="Times New Roman"></FONT></TD></TR></TBODY></TABLE>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT size=3><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">此处,加载模块一定要按此顺序加载,否则将出现以下错误(用</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">dmesg</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">函数可查看相关错误信息):</SPAN></FONT></P>
<TABLE class=MsoNormalTable style="MARGIN: auto auto auto -0.25pt; BORDER-COLLAPSE: collapse; mso-table-layout-alt: fixed; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt" cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR style="HEIGHT: 15.6pt; mso-yfti-irow: 0; mso-yfti-firstrow: yes">
<TD style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: black 1pt solid; PADDING-LEFT: 5.4pt; BORDER-BOTTOM-WIDTH: 1pt; BORDER-BOTTOM-COLOR: black; PADDING-BOTTOM: 0cm; BORDER-LEFT: black 1pt solid; WIDTH: 432.25pt; PADDING-TOP: 0cm; HEIGHT: 15.6pt; BACKGROUND-COLOR: transparent; mso-border-alt: solid black .5pt; mso-border-bottom-alt: none black 0cm" vAlign=top width=576>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; LAYOUT-GRID-MODE: char; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">#insmod rt3070sta.ko<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; LAYOUT-GRID-MODE: char; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: red"><FONT face="Times New Roman">insmod: error inserting 'rt3070sta.ko': -1 Unknown symbol in module<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">#dmesg | grep rt3070<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><O p><FONT face="Times New Roman"></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 1011.612979] rt3070ap: Unknown symbol rausb_buffer_free<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 1011.613153] rt3070ap: Unknown symbol RtmpOSTaskNotifyToExit<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 1011.613410] rt3070ap: Unknown symbol rausb_buffer_alloc<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 1011.613536] rt3070ap: Unknown symbol RTMPFreeNdisPacket<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 1011.613692] rt3070ap: Unknown symbol AdapterBlockAllocateMemory<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 1011.613816] rt3070ap: Unknown symbol RTMP_IndicateMediaState<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 1011.614106] rt3070ap: Unknown symbol RTMP_SetPeriodicTimer<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 1011.614241] rt3070ap: Unknown symbol os_alloc_mem<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 1011.614373] rt3070ap: Unknown symbol ClonePacket<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 1011.614505] rt3070ap: Unknown symbol RTDebugLevel<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 1011.614646] rt3070ap: Unknown symbol announce_802_3_packet<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 1011.614780] rt3070ap: Unknown symbol Sniff2BytesFromNdisBuffer<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN>[ 1011.614916] rt3070ap: Unknown symbol RTMP_OS_Add_Timer<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 1011.615043] rt3070ap: Unknown symbol rausb_submit_urb<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 1011.615167] rt3070ap: Unknown symbol RTMP_AllocateFragPacketBuffer<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 1011.615292] rt3070ap: Unknown symbol rausb_alloc_urb<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 1011.615491] rt3070ap: Unknown symbol RtmpOSNetPktAlloc<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 1011.615616] rt3070ap: Unknown symbol VLAN_8023_Header_Copy<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 1011.615739] rt3070ap: Unknown symbol RTMP_OS_Mod_Timer<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 1011.615863] rt3070ap: Unknown symbol os_free_mem<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 1011.616005] rt3070ap: Unknown symbol rausb_control_msg<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 1011.616079] rt3070ap: Unknown symbol duplicate_pkt_with_TKIP_MIC<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 1011.616079] rt3070ap: Unknown symbol duplicate_pkt_with_VLAN<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 1011.616079] rt3070ap: Unknown symbol DuplicatePacket<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 1011.616079] rt3070ap: Unknown symbol RtmpOSTaskCustomize<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 1011.616079] rt3070ap: Unknown symbol RTMP_OS_Del_Timer<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 1011.616079] rt3070ap: Unknown symbol rausb_free_urb<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 1011.616079] rt3070ap: Unknown symbol get_netdev_from_bssid<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 1011.616079] rt3070ap: Unknown symbol hex_dump<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 1011.616079] rt3070ap: Unknown symbol RtmpOSFileOpen<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 1011.616079] rt3070ap: Unknown symbol RTMPFreeAdapter<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 1011.616079] rt3070ap: Unknown symbol RtmpOSFSInfoChange<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 1011.616079] rt3070ap: Unknown symbol wlan_802_11_to_802_3_packet<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 1011.618201] rt3070ap: Unknown symbol RTMP_GetCurrentSystemTime<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 1011.618341] rt3070ap: Unknown symbol RTMPAllocateNdisPacket<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 1011.618498] rt3070ap: Unknown symbol RTMPSendWirelessEvent<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 1011.618621] rt3070ap: Unknown symbol RTMPL2FrameTxAction<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 1011.618747] rt3070ap: Unknown symbol rausb_kill_urb<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 1011.618899] rt3070ap: Unknown symbol RTMP_OS_Init_Timer<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 1011.619022] rt3070ap: Unknown symbol RTMPusecDelay<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 1011.619147] rt3070ap: Unknown symbol update_os_packet_info<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 1011.619312] rt3070ap: Unknown symbol RtmpOSFileRead<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 1011.619517] rt3070ap: Unknown symbol RtmpOSFileClose<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 1011.619641] rt3070ap: Unknown symbol RTMP_QueryPacketInfo<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">[ 1011.619764] rt3070ap: Unknown symbol RtmpOSFileWrite<O p></FONT></SPAN></I></P></TD>
<TD style="BORDER-LEFT-COLOR: #ece9d8; BORDER-BOTTOM-COLOR: #ece9d8; BORDER-TOP-COLOR: #ece9d8; HEIGHT: 15.6pt; BACKGROUND-COLOR: transparent; BORDER-RIGHT-COLOR: #ece9d8" width=0 height=21><FONT face="Times New Roman"></FONT></TD></TR></TBODY></TABLE>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><FONT size=3>在加载过程中若出现以下错误:</FONT></SPAN></P>
<TABLE class=MsoNormalTable style="MARGIN: auto auto auto -0.25pt; BORDER-COLLAPSE: collapse; mso-table-layout-alt: fixed; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt" cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR style="HEIGHT: 15.6pt; mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: yes">
<TD style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: black 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: black 1pt solid; WIDTH: 432.25pt; PADDING-TOP: 0cm; BORDER-BOTTOM: black 1pt solid; HEIGHT: 15.6pt; BACKGROUND-COLOR: transparent; mso-border-alt: solid black .5pt" vAlign=top width=576>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; LAYOUT-GRID-MODE: char; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman"> rt3070ap: module license 'RALINK' taints kernel.<O p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman"> Disabling lock debugging due to kernel taint<O p></FONT></SPAN></I></P></TD>
<TD style="BORDER-LEFT-COLOR: #ece9d8; BORDER-BOTTOM-COLOR: #ece9d8; BORDER-TOP-COLOR: #ece9d8; HEIGHT: 15.6pt; BACKGROUND-COLOR: transparent; BORDER-RIGHT-COLOR: #ece9d8" width=0 height=21><FONT face="Times New Roman"></FONT></TD></TR></TBODY></TABLE>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT size=3><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">请修改</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">UTIL/os/linux/usb<SPAN style="COLOR: black">_main_dev.c</SPAN></FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">文件,在文件的开头加上如下一行程序:</SPAN></FONT></P>
<TABLE class=MsoNormalTable style="MARGIN: auto auto auto -0.25pt; BORDER-COLLAPSE: collapse; mso-table-layout-alt: fixed; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt" cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR style="HEIGHT: 10.35pt; mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: yes">
<TD style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: black 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: black 1pt solid; WIDTH: 432.25pt; PADDING-TOP: 0cm; BORDER-BOTTOM: black 1pt solid; HEIGHT: 10.35pt; BACKGROUND-COLOR: transparent; mso-border-alt: solid black .5pt" vAlign=top width=576>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; LAYOUT-GRID-MODE: char; TEXT-INDENT: 18pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face="Times New Roman">MODULE_LICENSE(“GPL”)<O p></FONT></SPAN></I></P></TD>
<TD style="BORDER-LEFT-COLOR: #ece9d8; BORDER-BOTTOM-COLOR: #ece9d8; BORDER-TOP-COLOR: #ece9d8; HEIGHT: 10.35pt; BACKGROUND-COLOR: transparent; BORDER-RIGHT-COLOR: #ece9d8" width=0 height=14><FONT face="Times New Roman"></FONT></TD></TR></TBODY></TABLE>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><FONT size=3>重新编译:</FONT></SPAN></P>
<TABLE class=MsoNormalTable style="MARGIN: auto auto auto -0.25pt; BORDER-COLLAPSE: collapse; mso-table-layout-alt: fixed; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt" cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR style="HEIGHT: 23.4pt; mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: yes">
<TD style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: black 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: black 1pt solid; WIDTH: 432.25pt; PADDING-TOP: 0cm; BORDER-BOTTOM: black 1pt solid; HEIGHT: 23.4pt; BACKGROUND-COLOR: transparent; mso-border-alt: solid black .5pt" vAlign=top width=576>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; LAYOUT-GRID-MODE: char; TEXT-INDENT: 21pt"><SPAN lang=EN-US><FONT face="Times New Roman" size=3>#make clean</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=EN-US><FONT face="Times New Roman" size=3>#make KBUILD_NOPEDANTIC=1</FONT></SPAN></P></TD>
<TD style="BORDER-LEFT-COLOR: #ece9d8; BORDER-BOTTOM-COLOR: #ece9d8; BORDER-TOP-COLOR: #ece9d8; HEIGHT: 23.4pt; BACKGROUND-COLOR: transparent; BORDER-RIGHT-COLOR: #ece9d8" width=0 height=31><FONT face="Times New Roman" size=3></FONT></TD></TR></TBODY></TABLE>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><FONT size=3>然后再重新下载,按顺序加载模块即可成功。</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><FONT size=3>模块加载成功后,用一下命令可查看相关信息:</FONT></SPAN></P>
<TABLE class=MsoNormalTable style="MARGIN: auto auto auto -0.25pt; BORDER-COLLAPSE: collapse; mso-table-layout-alt: fixed; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt" cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR style="HEIGHT: 23.4pt; mso-yfti-irow: 0; mso-yfti-firstrow: yes">
<TD style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: black 1pt solid; PADDING-LEFT: 5.4pt; BORDER-BOTTOM-WIDTH: 1pt; BORDER-BOTTOM-COLOR: black; PADDING-BOTTOM: 0cm; BORDER-LEFT: black 1pt solid; WIDTH: 432.25pt; PADDING-TOP: 0cm; HEIGHT: 23.4pt; BACKGROUND-COLOR: transparent; mso-border-alt: solid black .5pt; mso-border-bottom-alt: none black 0cm" vAlign=top width=576>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; LAYOUT-GRID-MODE: char; TEXT-INDENT: 21pt"><SPAN lang=EN-US><FONT face="Times New Roman" size=3>#ifconfig –a</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=EN-US><FONT face="Times New Roman" size=3>eth0<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>Link encap:Ethernet<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>HWaddr 3A:1F:34:08:54:54</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=EN-US><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>BROADCAST MULTICAST<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>MTU:1500<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Metric:1</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=EN-US><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>RX packets:0 errors:0 dropped:0 overruns:0 frame:0</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=EN-US><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>TX packets:0 errors:0 dropped:0 overruns:0 carrier:0</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=EN-US><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>collisions:0 txqueuelen:1000</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=EN-US><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>RX bytes:0 (0.0 B)<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>TX bytes:0 (0.0 B)</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=EN-US><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>Interrupt:25 Base address:0xc000</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=EN-US><O p><FONT face="Times New Roman" size=3></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=EN-US><FONT face="Times New Roman" size=3>lo<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>Link encap:Local Loopback</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=EN-US><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>inet addr:127.0.0.1<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Mask:255.0.0.0</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=EN-US><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>UP LOOPBACK RUNNING<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>MTU:16436<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Metric:1</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=EN-US><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>RX packets:8 errors:0 dropped:0 overruns:0 frame:0</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=EN-US><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>TX packets:8 errors:0 dropped:0 overruns:0 carrier:0</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=EN-US><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>collisions:0 txqueuelen:0</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=EN-US><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>RX bytes:576 (576.0 B)<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>TX bytes:576 (576.0 B)</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=EN-US><O p><FONT face="Times New Roman" size=3></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=EN-US><FONT face="Times New Roman" size=3>ra0<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>Link encap:Ethernet<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>HWaddr 00:00:00:00:00:00</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=EN-US><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>BROADCAST MULTICAST<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>MTU:1500<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Metric:1</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=EN-US><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>RX packets:0 errors:0 dropped:0 overruns:0 frame:0</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=EN-US><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>TX packets:0 errors:0 dropped:0 overruns:0 carrier:0</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=EN-US><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>collisions:0 txqueuelen:1000</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=EN-US><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>RX bytes:0 (0.0 B)<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>TX bytes:0 (0.0 B)<SPAN style="COLOR: red"> <O p></SPAN></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=EN-US><FONT face="Times New Roman" size=3>#iwconfig ra0</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=EN-US><FONT face="Times New Roman" size=3>ra0<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>RTWIFI SoftAP<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>ESSID:"RT2860AP"<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Nickname:""</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=EN-US><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>Mode:Managed<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Channel=11<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Access Point: 00:0C:43:41:6F:A6</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=EN-US><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>Bit Rate=150 Mb/s</FONT></FONT></SPAN></P></TD>
<TD style="BORDER-LEFT-COLOR: #ece9d8; BORDER-BOTTOM-COLOR: #ece9d8; BORDER-TOP-COLOR: #ece9d8; HEIGHT: 23.4pt; BACKGROUND-COLOR: transparent; BORDER-RIGHT-COLOR: #ece9d8" width=0 height=31><FONT face="Times New Roman" size=3></FONT></TD></TR></TBODY></TABLE>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT size=3><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">用</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">ifconfig</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">命令设定</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">ra0</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">IP</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">地址:</SPAN></FONT></P>
<TABLE class=MsoNormalTable style="MARGIN: auto auto auto -0.25pt; BORDER-COLLAPSE: collapse; mso-table-layout-alt: fixed; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt" cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR style="HEIGHT: 23.4pt; mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: yes">
<TD style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: black 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: black 1pt solid; WIDTH: 432.25pt; PADDING-TOP: 0cm; BORDER-BOTTOM: black 1pt solid; HEIGHT: 23.4pt; BACKGROUND-COLOR: transparent; mso-border-alt: solid black .5pt" vAlign=top width=576>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; LAYOUT-GRID-MODE: char; TEXT-INDENT: 21pt"><SPAN lang=EN-US><FONT face="Times New Roman" size=3>#ifconfig ra0 192.168.1.1</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=EN-US><FONT face="Times New Roman" size=3>ra0<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>Link encap:Ethernet<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>HWaddr 00:0C:43:41:6F:A6</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=EN-US><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>inet addr:192.168.1.1<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Bcast:192.168.1.255<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Mask:255.255.255.0</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=EN-US><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>UP BROADCAST RUNNING MULTICAST<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>MTU:1500<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Metric:1</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=EN-US><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>RX packets:0 errors:0 dropped:0 overruns:0 frame:0</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=EN-US><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>TX packets:0 errors:0 dropped:0 overruns:0 carrier:0</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=EN-US><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>collisions:0 txqueuelen:1000</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=EN-US><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>RX bytes:121922 (119.0 KiB)<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>TX bytes:9072 (8.8 KiB)</FONT></FONT></SPAN></P></TD>
<TD style="BORDER-LEFT-COLOR: #ece9d8; BORDER-BOTTOM-COLOR: #ece9d8; BORDER-TOP-COLOR: #ece9d8; HEIGHT: 23.4pt; BACKGROUND-COLOR: transparent; BORDER-RIGHT-COLOR: #ece9d8" width=0 height=31><FONT face="Times New Roman" size=3></FONT></TD></TR></TBODY></TABLE>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT size=3><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">至此,一个默认的名为</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">RT2860AP</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的网络就建立起来了。用</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">iwconfig</FONT></SPAN><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">命令可修改网络的相关参数。如:</SPAN></FONT></P>
<TABLE class=MsoNormalTable style="MARGIN: auto auto auto -0.25pt; BORDER-COLLAPSE: collapse; mso-table-layout-alt: fixed; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt" cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR style="HEIGHT: 23.4pt; mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: yes">
<TD style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: black 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: black 1pt solid; WIDTH: 432.25pt; PADDING-TOP: 0cm; BORDER-BOTTOM: black 1pt solid; HEIGHT: 23.4pt; BACKGROUND-COLOR: transparent; mso-border-alt: solid black .5pt" vAlign=top width=576>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; LAYOUT-GRID-MODE: char; TEXT-INDENT: 21pt"><SPAN lang=EN-US><FONT face="Times New Roman" size=3>#iwconfig ra0 set SSID=”RT_AP”</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=EN-US><FONT face="Times New Roman" size=3>#iwconfig ra0</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=EN-US><FONT face="Times New Roman" size=3>ra0<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>RTWIFI SoftAP<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>ESSID:"RT_AP"<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Nickname:""</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=EN-US><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>Mode:Managed<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Channel=11<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Access Point: 00:0C:43:41:6F:A6</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=EN-US><FONT face="Times New Roman"><FONT size=3><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>Bit Rate=150 Mb/s</FONT></FONT></SPAN></P></TD>
<TD style="BORDER-LEFT-COLOR: #ece9d8; BORDER-BOTTOM-COLOR: #ece9d8; BORDER-TOP-COLOR: #ece9d8; HEIGHT: 23.4pt; BACKGROUND-COLOR: transparent; BORDER-RIGHT-COLOR: #ece9d8" width=0 height=31><FONT face="Times New Roman" size=3></FONT></TD></TR></TBODY></TABLE>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=AR-SA style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><FONT size=3>结束后,可以通过以下命令卸载模块:</FONT></SPAN></P>
<TABLE class=MsoNormalTable style="MARGIN: auto auto auto -0.25pt; BORDER-COLLAPSE: collapse; mso-table-layout-alt: fixed; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt" cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR style="HEIGHT: 23.4pt; mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: yes">
<TD style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: black 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: black 1pt solid; WIDTH: 432.25pt; PADDING-TOP: 0cm; BORDER-BOTTOM: black 1pt solid; HEIGHT: 23.4pt; BACKGROUND-COLOR: transparent; mso-border-alt: solid black .5pt" vAlign=top width=576>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; LAYOUT-GRID-MODE: char; TEXT-INDENT: 21pt"><SPAN lang=EN-US><FONT face="Times New Roman" size=3>#ifconfig ra0 down</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=EN-US style="COLOR: black"><FONT size=3><FONT face="Times New Roman">#rmmod rtnet3070ap.ko<O p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=EN-US style="COLOR: black"><FONT size=3><FONT face="Times New Roman">#rmmod rt3070ap.ko<O p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=EN-US style="COLOR: black"><FONT size=3><FONT face="Times New Roman">#rmmod rtutil3070ap.ko<O p></FONT></FONT></SPAN></P></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV></DIV></DIV>

xiao木 发表于 2014-01-12 14:01

在SoftAP驱动移植中,添加MODULE_LICENSE(“GPL”)后依旧出现
[@(none) /rt3070]#insmod rtutil3070ap.ko
[ 2697.420444] rtutil3070ap: Unknown symbol usb_alloc_urb (err 0)
[ 2697.420738] rtutil3070ap: Unknown symbol usb_free_urb (err 0)
[ 2697.421117] rtutil3070ap: Unknown symbol usb_alloc_coherent (err 0)
[ 2697.421517] rtutil3070ap: Unknown symbol usb_register_driver (err 0)
[ 2697.422733] rtutil3070ap: Unknown symbol usb_put_dev (err 0)
[ 2697.428159] rtutil3070ap: Unknown symbol usb_get_dev (err 0)
[ 2697.433928] rtutil3070ap: Unknown symbol usb_submit_urb (err 0)
[ 2697.440078] rtutil3070ap: Unknown symbol usb_free_coherent (err 0)
[ 2697.446082] rtutil3070ap: Unknown symbol usb_control_msg (err 0)
[ 2697.451797] rtutil3070ap: Unknown symbol wireless_send_event (err 0)
[ 2697.458449] rtutil3070ap: Unknown symbol usb_deregister (err 0)
[ 2697.464555] rtutil3070ap: Unknown symbol usb_kill_urb (err 0)
insmod: can't insert 'rtutil3070ap.ko': unknown symbol in module, or unknown par

求大神指导
页: [1]
查看完整版本: RT3070驱动移植