找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 4187|回复: 2

腾达n80刷n66cfe思考

[复制链接]
发表于 2013-7-18 19:10 | 显示全部楼层 |阅读模式
我还没实验怕变砖,请大大指点。
http://forums.smallnetbuilder.com/showthread.php?t=8259
02-12-2012. A bug fixed, please download archive and repeat update again.
04-12-2012. Another bug fixed. For now, no PC is needed, you may update CFE right on the router.


Preamble
This archive is for a CFE bootloader upgrade on Asus RT-N66U router from factory version 1.0.1.2 to version 1.0.1.3. The goal is to return CFE possibility to read variables from NVRAM which is lost while NVRAM been upgraded 64Кб in recent stock firmware releases.


Disclaimer
If you don't need restoration of the this possibility or you just don't know what it is, then better do not to touch the bootloader. Damaged CFE will bricks the router! You should represent consequences of the actions and you should understand what you are doing in the update process because only you take responsibility for update success. Or fail.


Problem diagnostics
It's enough to set any the NVRAM variable used by CFE and make sure that CFE ignores it. For example, remember the current BogoMIPS value:
Quote:
# cat /proc/cpuinfo | grep BogoMIPS

then try to change CPU frequency and reboot router:
Quote:
# nvram set clkfreq=300 && nvram commit && reboot

If CFE ignores your settings, BogoMIPS value will remain the same because CFE didn't set new CPU frequency.


Updating CFE
Update works only on original ASUS firmware or Merlin's mod, please follow this steps:

1. Download and unpack update script
Get access to the RT-N66U console via Telnet/SSH/Serial and type:
Quote:
# wget http://wl500g-common.googlecode.com/files/cfe_n66u-1.0.1.3-4.tgz
# tar -xzf ./cfe_n66u-1.0.1.3-4.tgz

2a. Update current CFE
If you did not update before, then type:
Quote:
# ./cfe_update.sh /dev/mtd0ro

and watch the progress of the update. The script will ask your final decision before update. Please, proceed ifonly two differencies will shown between old and new versions of CFE:
Quote:
--- nvram_orig.txt 2012-12-04 13:49:51.000000000 +0400
+++ nvram_updated.txt 2012-12-04 13:49:51.000000000 +0400
@@ -1 +1 @@
-bl_version=1.0.1.2
+bl_version=1.0.1.3
@@ -16,0 +17 @@
+odmpid=ASUS

2b. Update CFE, using previously saved CFE backup image
If you already done update before, you may fix it with saved CFE image this way:
Quote:
# ./cfe_update.sh ./cfe.old

3. Saving old CFE image
Please consider saving your old CFE. A ./cfe.old file will be placed in the same dir with update script, save it to some safe place.

Here is an example of whole script's output when all went well. Script checks current CFE version before update to prevent CFE re-update.
And here is original stock CFE 1.0.1.2 for those who never make a backups


__________________
The Entware. A modern Optware replacement.


Last edited by ryzhov_al; 01-15-2013 at 02:29 AM.




腾达n80 可以刷吗?
我的恩山、我的无线 The best wifi forum is right here.
发表于 2013-11-1 18:42 | 显示全部楼层
你的n80 刷omato了吗?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2016-9-11 12:49 | 显示全部楼层
支持一下啦!!!!!!!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-3-29 23:54

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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