全文预览已结束
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
rt2860v2_ap/rt2860v2_sta driver for openwrt trunk(3.10.x kernel) on MT7620 SOC. (Test on mt7620n 16m flash + 64M ram)port and build steps:go and get the sources of openwrt trunk:$mkdir -p /openwrt $cd /openwrt $git clone git://openwrt.git openwrt-trunk $cd openwrt-trunk $./scripts/feeds update -a $./scripts/feeds install -adefconfig and make:$make defconfig$make menuconfig-select the following configuration-Target System: (Ralink 288x/3xxx) Subtarget: (MT7620N based boards)$make V=99wait make command to be done. when make finished. the firmware will be in the directory:$HOME/openwrt/openwrt-trunk/bin/ramips/then, your can download burn the new firmware to the mt7620 SOC Board via TFTP in the uboot interface. but, unlikely, that default configuraion dont has wifi support, so we cannt startup a Hotspot on our MT7620 SOC for incoming connections from Smartphones and laptops.all steps are the default configuarions from the openwrt official site. and this step will guide you to port rt2860v2_ap driver to the kernel tree and build it to fix that problems.$cd / $git clone /wuqiong/rt2860v2-for-openwrt-mt7620.git $cp -r rt2860v2-for-openwrt-mt7620/ralink /openwrt/openwrt-trunk/build_dir/target-mipsel_24kec+dsp_uClibc-/linux-ramips_mt7620n/linux-3.10.28/drivers/mtd/ $cp -r rt2860v2-for-openwrt-mt7620/rt2860v2 rt2860v2-for-openwrt-mt7620/rt2860v2_ap /openwrt/openwrt-trunk/build_dir/target-mipsel_24kec+dsp_uClibc-/linux-ramips_mt7620n/linux-3.10.28/drivers/net/wireless/after copied the driver code to the kernel build tree. then, lets to add Kconfig and Makefile objs. in each directory of mtd and wireless. add the following line before the end of file:/openwrt/openwrt-trunk/build_dir/target-mipsel_24kec+dsp_uClibc-/linux-ramips_mt7620n/linux-3.10.28/drivers/mtd/Kconfigsource drivers/mtd/ralink/Kconfigadd the following line before the end of file:/openwrt/openwrt-trunk/build_dir/target-mipsel_24kec+dsp_uClibc-/linux-ramips_mt7620n/linux-3.10.28/drivers/mtd/Makefileobj-$(CONFIG_MTD_RALINK) += ralink/add the following line before the end of file:/openwrt/openwrt-trunk/build_dir/target-mipsel_24kec+dsp_uClibc-/linux-ramips_mt7620n/linux-3.10.28/drivers/net/wireless/Kconfigsource drivers/net/wireless/rt2860v2_ap/Kconfigadd the following line before the end of file:/openwrt/openwrt-trunk/build_dir/target-mipsel_24kec+dsp_uClibc-/linux-ramips_mt7620n/linux-3.10.28/drivers/net/wireless/Makefileobj-$(CONFIG_RT2860V2_AP) += rt2860v2_ap/Okey, configuration finished.go back to the/openwrt/openwrt-trunkdirectory. and run shell command:$make kernel_menuconfigenter this menu:A: Device Driver - Memory Technology Device (MTD) support - Ralink Flash Type support - * Ralink MTD supportB: Device Driver - * Network device support - * Wireless LAN - Ralink RT2860 802.11n AP support* LED Support WSC (WiFi Simple Config)* LLTD (Link Layer Topology Discovery Protocol)* WDS* MBSSID* New MBSSID MODE* AP-CLient Support* MAC Repeater Support IGMP snooping NETIF Block DFS* Carrier Detect DLS (Direct-Link Setup) Support IDS (Intrusion Detection System) Support* CoC Support Memory Optimization Video Turbine support 802.11n Draft3 Adjust Power Consumption Support Single SKUChoose Power Design (Internal PA and Internal LNA) - TSSI Compensation Temperature Compensationwe select * to building the driver into the kernel, not a kernel module. after selecting the configration. save and exit menuconfig.Now. we have add and configured the wifi driver to the kernel build tree. just type the :$make V=99command in directory: /openwrt/openwrt-trunk , and wait for some minutes.after builded, download and burn the new firmware with wifi driver. you can found that, wifi device ra0 will appear. but your cannt ifconfig ra0 up. because we need lack theetc/Wireless/RT2860/RT2860.datfile and/etc_rodirectory, also an scripts file in/lib/wifidirectory wh
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年上海市建筑垃圾资源化利用产业园建设可行性研究报告
- 采暖工程验收要求
- 灸法中医药培训试题及答案
- 老旧建筑翻新改造方案
- 异地项目远程管理方法
- 年生产食品3.75万吨现代粮农产业示范推广项目可行性研究报告模板-备案审批
- 教育技术标准化进程考核试卷及答案
- 检验检测机构资质认定内审员工作实务及答案
- 家用电器维修工及答案
- 纺织品染色厂废水处理准则
- 《耳科学》全册配套教学课件3
- 2026秋译林版八年级英语上册【Unit1-8】全册语法专项练习(含参考答案)
- 2026年甘肃省酒泉矿业投资集团有限公司招聘考试备考试题及答案详解
- 新版2026年秋教科版(新教材)小学科学四年级上册(全册)教学设计
- 雨课堂学堂在线学堂云《医学数据挖掘与案例实战(山西医科)》单元测试考核答案
- 智能风电场、光伏电站升压站典型设计手册(2024版)
- HSK标准教程练习册4上听力文本及参考答案
- 恒康养老护理员培训课件:特殊需求老人照护策略
- 汽修厂环保试题及答案
- GJB3206B-2022技术状态管理
- 老年牙病防治课件
评论
0/150
提交评论