首页 > > > Ralink_SDK_4.1.pdf

Ralink_SDK_4.1.pdf

Ralink_SDK_4.1.pdf

上传者: wpneu 2013-12-10 评分1 评论0 下载42 收藏10 阅读量736 暂无简介 简介 举报

简介:本文档为《Ralink_SDK_4.1pdf》,可适用于手机软件领域,主题内容包含RALINKAPSDKUser’sManualMediaTekIncRALINKAPSDKUSER’sMANUALCopyrightMediaTek符等。

RALINK AP SDK 4.1.0.0 User’s Manual MediaTek Inc. RALINK AP SDK 4.1.0.0 USER’s MANUAL Copyright 2012 MediaTek Inc. All Rights Reserved. This document is property of Ralink Technology Corporation Transmittal, receipt, or possession of this document does not express, license, or imply any rights to use, sell, design, or manufacture from this information or the software documented herein. No reproduction, publication, or disclosure of this information, in whole or in part, shall be allowed, unless the prior written consent of Ralink Technology Corporation is obtained. NOTE: THIS DOCUMENT CONTAINS SENSITIVE INFORMATION AND HAS RESTRICTED DISTRIBUTION. RALINK AP SDK 4.1.0.0 User’s Manual Page 2 of 145 Proprietary Notice and Liability Disclaimer The confidential Information, technology or any Intellectual Property embodied therein, including without limitation, specifications, product features, data, source code, object code, computer programs, drawings, schematics, know-how, notes, models, reports, contracts, schedules and samples, constitute the Proprietary Information of Ralink (hereinafter "Proprietary Information") All the Proprietary Information is provided "AS IS". No Warranty of any kind, whether express or implied, is given hereunder with regards to any Proprietary Information or the use, performance or function thereof. Ralink hereby disclaims any warranties, including but not limited warranties of non-infringement, merchantability, completeness, accuracy, fitness for any particular purpose, functionality and any warranty related to course of performance or dealing of Proprietary Information. In no event shall Ralink be liable for any special, indirect or consequential damages associated with or arising from use of the Proprietary Information in any way, including any loss of use, data or profits. Ralink retains all right, title or interest in any Proprietary Information or any Intellectual Property embodied therein. The Proprietary Information shall not in whole or in part be reversed, decompiled or disassembled, nor reproduced or sublicensed or disclosed to any third party without Ralink's prior written consent. Ralink reserves the right, at its own discretion, to update or revise the Proprietary Information from time to time, of which Ralink is not obligated to inform or send notice. Please check back if you have any question. Information or items marked as "not yet supported" shall not be relied on, nor taken as any warranty or permission of use. MediaTek Inc. (Taiwan) 5F, No.5, Tai-Yuen 1st Street, ChuPei City HsinChu Hsien 302, Taiwan, ROC Tel +886-3-560-0868 Fax +886-3-560-0818 Sales Taiwan: Sales@ralinktech.com.tw Technical Support Taiwan: FAE@ralinktech.com.tw http://www.ralinktech.com/ RALINK AP SDK 4.1.0.0 User’s Manual Page 3 of 145 TABLE OF CONTENTS 1 SDK History ................................................................................................................................... 9 2 Version History............................................................................................................................ 14 3 Overview of the Ralink AP Demo Board ................................................................................. 15 3.1 RT2880 ................................................................................................................................... 15 3.2 RT3052 ................................................................................................................................... 19 3.3 RT3883 ................................................................................................................................... 21 3.4 RT3352 ................................................................................................................................... 24 3.5 RT5350 ................................................................................................................................... 26 3.6 RT6855 ................................................................................................................................... 29 3.7 RT6856 ................................................................................................................................... 30 3.8 MT7620 ................................................................................................................................... 32 4 AP SDK source code overview ................................................................................................ 36 5 Tool-chain .................................................................................................................................... 37 5.1 Install toolchain ...................................................................................................................... 37 5.2 Install LZMA Utility................................................................................................................. 37 5.3 Install mksquashfs utility ....................................................................................................... 37 6 Boot loader .................................................................................................................................. 39 6.1 Uboot Configuration .............................................................................................................. 39 6.2 Build the uboot Image ........................................................................................................... 40 6.3 Burn the uboot image ........................................................................................................... 40 7 User Library ................................................................................................................................. 42 7.1 Library Configuration............................................................................................................. 42 RALINK AP SDK 4.1.0.0 User’s Manual Page 4 of 145 7.2 Library Porting ........................................................................................................................ 42 7.3 Build user library .................................................................................................................... 43 8 User Application.......................................................................................................................... 44 8.1 Ralink Proprietary Applications ........................................................................................... 44 8.1.1 ATED ............................................................................................................................. 44 8.1.2 REG ............................................................................................................................... 44 8.1.3 FLASH ........................................................................................................................... 44 8.1.4 GPIO .............................................................................................................................. 45 8.1.5 MII_MGR ....................................................................................................................... 45 8.1.6 MTD ............................................................................................................................... 46 8.1.7 NVRAM.......................................................................................................................... 47 8.1.8 SPICMD ........................................................................................................................ 48 8.1.9 I2CCMD ......................................................................................................................... 48 8.1.10 Script .............................................................................................................................. 49 8.2 goahead .................................................................................................................................. 49 8.3 nvram library .......................................................................................................................... 49 8.4 wsc_upnp ................................................................................................................................ 49 8.5 iptables .................................................................................................................................... 49 8.6 ntpclient ................................................................................................................................... 49 8.7 mtd-utils .................................................................................................................................. 50 8.8 ppp-2.4.2 ................................................................................................................................. 50 8.9 bridge-utils .............................................................................................................................. 50 8.10 wireless_tools ......................................................................................................................... 50 RALINK AP SDK 4.1.0.0 User’s Manual Page 5 of 145 8.11 inadyn ...................................................................................................................................... 50 8.12 zebra-0.95a_ripd .................................................................................................................... 50 8.13 wpa_supplicant-0.5.7 ............................................................................................................ 51 8.14 totd-1.5 .................................................................................................................................... 51 8.15 samba-3.0.2 ........................................................................................................................... 51 8.16 radvd-1.0 ................................................................................................................................. 51 8.17 pptp-client ............................................................................................................................... 51 8.18 rp-l2tp-0.4 ............................................................................................................................... 51 8.19 ctorrent-dnh3.2 ...................................................................................................................... 52 8.20 dhcp6 ....................................................................................................................................... 52 8.21 dnsmasq-2.40 ........................................................................................................................ 52 8.22 igmpproxy ............................................................................................................................... 52 8.23 matrixssl-1.8.3 ........................................................................................................................ 52 8.24 rp-pppoe-3.8 ........................................................................................................................... 53 8.25 usb_modeswitch-0.9.5 .......................................................................................................... 53 8.26 Port new user application ..................................................................................................... 53 9 Linux Kernel ................................................................................................................................ 56 9.1 Linux configuration ................................................................................................................ 56 9.2 Change Flash/DRAM Size ................................................................................................... 58 9.3 Change Switch Controller in RT2880 Platform ................................................................. 58 9.4 Update User/Kernel default settings ................................................................................... 59 9.5 Compile Linux image ............................................................................................................ 60 9.6 Port new Linux kernel module ............................................................................................. 60 RALINK AP SDK 4.1.0.0 User’s Manual Page 6 of 145 9.7 Execute commands at boot up time ................................................................................... 62 9.8 Add new files in RootFs ........................................................................................................ 62 9.9 Image DownSize ................................................................................................................... 62 10 Flash Layout and Firmware Upgrade ...................................................................................... 66 10.1 Flash Layout ........................................................................................................................... 66 10.2 Firmware Upgrade................................................................................................................. 67 10.2.1 By Uboot........................................................................................................................ 67 10.2.2 By WebUI ...................................................................................................................... 68 11 FAQ .............................................................................................................................................. 70 11.1 RT2880 Default password/UART/networking setting ...................................................... 70 11.2 System requirements for the host platform........................................................................ 70 11.3 How to add new default parameter in flash ....................................................................... 71 11.3.1 Example 1 ..................................................................................................................... 71 11.3.2 Example 2 ..................................................................................................................... 71 11.4 Enable Ethernet Converter Feature .................................................................................... 72 11.5 Change RF chip from RT2820 to RT2850 on the RT2880 platform .............................. 74 11.6 How to change the Ethernet MAC address ....................................................................... 74 11.7 How to configure GPIO ports ............................................................................................... 75 11.8 Use GPIO to turn on LED ..................................................................................................... 76 11.9 Use LED firmware to turn on LED ...................................................................................... 80 11.10 How to start the telnet server ............................................................................................... 83 11.10.1 busybox setting ............................................................................................................ 83 11.10.2 Linux setting .................................................................................................................. 83 RALINK AP SDK 4.1.0.0 User’s Manual Page 7 of 145 11.11 11n bit rate derivation ........................................................................................................... 84 11.12 How to build a single image for the flash programmer .................................................... 87 11.13 How to power down the RT3x5x build-in 10/100 PHYs ................................................... 89 11.14 How to power down the RT6855/RT6856 build-in 10/100 PHYs ................................... 90 11.15 How to enable NFS client ..................................................................................................... 91 11.16 How to add a new language to the web UI ........................................................................ 92 11.17 How to enable watchdog ...................................................................................................... 93 11.18 How to enable USB storage on the RT305x platform ...................................................... 94 11.19 How to enable USB automount on the RT305x platform ................................................ 95 11.20 How to enable software QoS ............................................................................................... 96 11.21 Software QoS information .................................................................................................... 99 11.21.1 Software QoS – Preface ............................................................................................. 99 11.21.2 Software QoS – Concept ............................................................................................ 99 11.21.3 Software QoS – Usage ............................................................................................... 99 11.22 How to enable USB Ethernet (example for ASIX AX88XXX) ....................................... 103 11.23 How to build a single image for the RT2880 8M flash platform .................................... 104 11.24 How to start a printer server (example for HP officejet 4355) ....................................... 105 11.25 How to force the RT3052 link speed ................................................................................ 107 11.26 How to verify IGMP snooping function ............................................................................. 109 11.27 EHCI/OHCI USB Power Saving ........................................................................................ 110 11.28 Auto-frequency and Power Saving ................................................................................... 111 11.29 Concurrent AP porting Guide ............................................................................................ 116 11.30 SuperDMZ usage guide ..................................................................................................... 124 RALINK AP SDK 4.1.0.0 User’s Manual Page 8 of 145 11.31 How to support IPv6 Ready Logo ..................................................................................... 126 11.32 How to enable iPerf tool ..................................................................................................... 127 11.33 How to enable ebtables ...................................................................................................... 128 11.34 How to enable IPv6 Rapid Deployment (6rd) .................................................................. 129 11.35 How to enable IPv6 DS-Lite ............................................................................................... 132 11.36 How to modify flash layout ................................................................................................. 136 11.37 How to reduce Linux FW size. ........................................................................................... 139 11.38 How to change internal GSW PHY Base Address. ........................................................ 140 11.39 How to sup

编辑推荐

  • 名称/格式
  • 评分
  • 下载次数
  • 资料大小
  • 上传时间

用户评论

0/200
    暂无评论
上传我的资料

相关资料

资料评价:

/ 145
所需积分:1 立即下载
返回
顶部
举报
资料
关闭

温馨提示

感谢您对爱问共享资料的支持,精彩活动将尽快为您呈现,敬请期待!