找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 15045|回复: 31

mr3420的4M固件编译笔记

[复制链接]
发表于 2011-5-16 11:03 | 显示全部楼层 |阅读模式
首先按照https://www.right.com.cn/forum/thread-48506-1-1.html搭建好编译环境
更新最新源码
./scripts/feeds update -a
安装最新源码
./scripts/feeds install -a
更新版本号
svn up
进入编译组件包菜单
make menuconfig
选择组件
1.选择CPU型号
Target System-----Atheros AR71xx/AR7240/AR913x/AR934x
2.选择路由型号
Target Profile----TP-LINK TL-MR3420 v1
3.添加luci
LuCI--->Collections----- <*> luci
4.添加luci的中文语言包
LuCI--->Translations---- <*> luci-i18n-chinese
5.添加DDNS
LuCI--->Applications  ---> <*>luci-app-ddns.
6.添加USB挂载
Base system  ---> <*>block-mount
7.添加硬盘格式支持
Kernel modules  ---> Filesystems  ---> <*> kmod-fs-ext4
8.添加UTF8编码
Kernel modules  ---> Native Language Support  ---> <*> kmod-nls-utf8
9.添加USB扩展支持
Kernel modules  ---> USB Support  ---> <*> kmod-usb-storage-extras.
110.添加自动挂载工具
Utilities  ---> Filesystem  ---> <*> badblocks
11.添加复位键支持
Utilities  ---> <*> restorefactory
12.添加一键开关无线
Utilities  ---> <*> wifitoggle

到此,需要的组件选择完毕,一路EXIT退出,后面有个提示是否保存到编译设置(yes或no),肯定选yes的了。

开始编译
make V=99

如果搭建的编译环境没有问题,等待一段时间(看电脑配置了,一般来说,你可以去吃个饭或者睡个觉),/openwrt/trunk/bin目录就会有你需要的固件了。

评分

参与人数 5恩山币 +7 收起 理由
i*** + 1 必须的
im*** + 1 分享好。有时间要看看了。先做个标记。
lean*** + 1 强烈要求把8M的放出来
phant*** + 3 必须的。等8M笔记~:-D
Gre*** + 1 必须的

查看全部评分

我的恩山、我的无线 The best wifi forum is right here.
 楼主| 发表于 2011-5-16 11:06 | 显示全部楼层
本帖最后由 99010 于 2011-5-16 17:01 编辑

在编译前为DDNS添加3322支持
很简单的,WINSCP登陆,打开openwrt/trunk/feeds/packages/net/ddns-scripts/files/usr/lib/ddns/services,把下面这段加进去后保存即可。
  1. "3322.org"           "http://[USERNAME]:[PASSWORD]@members.3322.org/dyndns/update?system=dyndns&hostname=[DOMAIN]&myip=[IP]&wildcard=OFF"
复制代码
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2011-5-16 11:06 | 显示全部楼层
板凳是我的。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2011-5-16 11:08 | 显示全部楼层
这个必须要支持
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

头像被屏蔽
发表于 2011-5-16 11:24 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2011-5-16 19:56 | 显示全部楼层
5# huangfc

不错 学习 顶。。。。。。。。。。。。。。。
希望更多人发表自己的编译过程 许多模块不知道干什么用 希望更多人共享
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2011-5-17 16:01 | 显示全部楼层
嗯嗯,很好,如果有人整理出make menuconfig的资料就更好了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2011-5-18 16:15 | 显示全部楼层
7# 12312


我编译完系统没有出错 但不知道哪个是
我的机器db120-wg
还有个问题不知道带不带cef?

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2011-5-18 16:26 | 显示全部楼层
关键编译的时候还要下载一大坨文件,速度极慢无比,连到国外服务器要通过GFW,只有3K的速度,根本无法正常编译,果断放弃。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2011-5-19 13:17 | 显示全部楼层
请教楼主呵呵

Aruba AP 61 AR2313的CPU能做么?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2011-5-19 13:52 | 显示全部楼层
请教楼主呵呵

Aruba AP 61 AR2313的CPU能做么?
edgemythos 发表于 2011-5-19 13:17

op官方有下载
http://downloads.openwrt.org/snapshots/trunk/atheros/
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2011-5-20 17:14 | 显示全部楼层
这个必须要支持
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2011-5-21 08:21 | 显示全部楼层
2# 99010


选项是加上去了,但不完美,选3322后,下面的账号和密码项,自动补填上去的却不是3322。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2011-5-21 23:52 | 显示全部楼层
我想请教一下,如果想把mentohust等软件编译到固件中,应该怎么操作呢?谢谢!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2011-5-22 12:34 | 显示全部楼层
14# awayfar


请善用搜索——恩山已经有。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-26 10:35

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表