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:
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:
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:
2a. Update current CFE
If you did not update before, then type:
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:
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![Smile :) :)](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f642.png)
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.
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
![Smile :) :)](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f642.png)
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:
then try to change CPU frequency and reboot router:# cat /proc/cpuinfo | grep BogoMIPS
If CFE ignores your settings, BogoMIPS value will remain the same because CFE didn't set new CPU frequency.# nvram set clkfreq=300 && nvram commit && reboot
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:
cd /tmp
wget http://files.ryzhov-al.ru/Routers/RT-N66U_CFE_update/cfe_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:
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../cfe_update.sh /dev/mtd0ro
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:
./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
![Smile :) :)](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f642.png)
Last edited: