|

楼主 |
发表于 2014-8-21 14:48:08
|
显示全部楼层
至于怎么使用,中国人还是看不懂。
Preamble
This archive is for a CFE bootloader upgrade on Asus RT-N66U router from factory version 1.0.1.2, 1.0.1.3 or 1.0.1.4 to version 1.0.1.9. The goal of updates:
from 1.0.1.2 to newer: to return CFE possibility to read variables from NVRAM which is lost while NVRAM been upgraded 64Кб in recent stock firmware releases,
from 1.0.1.3 to newer: to get overclocking ability.
You may check current CFE by:
Code:
strings /dev/mtd0ro | grep bl_ver
Disclaimer
If you don't need this new options 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 1.0.1.2 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 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:
cd /tmp
wget http://files.ryzhov-al.ru/Router ... fe_n66u-1.0.1.9.tgz
tar -xzvf cfe_n66u-1.0.1.9.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 if only if you sure what you are doing.
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 versions for those who never make a backups
__________________
The Entware. A modern Optware replacement. |
|