Joined: 21 Nov 2010 Posts: 278 Location: North America
Posted: Thu Jul 26, 2012 9:11 Post subject: Re: Asus RT-AC66U Uses 64KB NVRAM
GH0 wrote:
So am I correct in stating that the router has a CFE that allows for 128 MB of NVRAM?
I suppose the CFE could implement 128KB of NVRAM but in this particular case it's still just 64KB. The flash0.nvram and flash1.nvram devices actually point to the same offset and size into the same flash memory.
UPDATE: I might disagree with my last statement because the CFE never defined or found a flash1 making all the flash1.xx devices meaningless. Maybe I can devise some sort of experiment ..... Either way NVRAM is still limited to 64KB.
UPDATE2: The flash1.xx devices are real and appear to be duplicates.
Joined: 26 Jan 2008 Posts: 13049 Location: Behind The Reset Button
Posted: Thu Jul 26, 2012 19:19 Post subject:
lkbrow1 wrote:
I have got the cfe src for the RT-N66U to compile. Next trick, change NVRAM size, then figure out how to install the new CFE binary.
the problem will be that if you mod the cfe to support 64k nvram natively, you (we) will need a build to support that.
getting the cfe on the router should not be a problem. I haven't tested the functionality of the jtag port on this router. There appears to be one. but that should only be needed if things go wrong.
you can flash the cfe via winscp & telnet.. just like the e2000 & e3000 convert process. _________________ [Moderator Deleted]
Joined: 31 Aug 2009 Posts: 2448 Location: Third Rock from the Sun
Posted: Thu Jul 26, 2012 20:02 Post subject:
I have a s#$tload of JTAG tools now, I will try to work on getting my ports soldered in and testing The various JTAG programs I have. Support will depend on the author having time to add it. I know Tornado is extremely busy, I will see how quickly the author of zJTAG can get it working. _________________ Peacock Thread-FAQ -- dd-wrt Wiki
Another interesting bug with the RT-N66U DD-WRT software, I can not see the ESSID of the 5GHZ channel. From the DD-WRT web interface it shows it configured and operating, but my dual band USB dongle Netgear WND3100v2 shows only one ESSID even though I have two different ones configured. Putting the original firmware back on the router, I see both 2.4 and 5 GHZ ESSID's.
DD-WRT firmware version dd-wrt.v24-19519_NEWD-2_K2.6_big_RT-N66U.trx
Looks like no one else has done it, so I'll post what I have from the latest .162 firmware.
From the boot log:
Code:
Dec 31 16:00:07 kernel: Flash device: 0x2000000 at 0x1c000000
Dec 31 16:00:07 kernel: Creating 5 MTD partitions on "Physically mapped flash":
Dec 31 16:00:07 kernel: 0x00000000-0x00040000 : "pmon"
Dec 31 16:00:07 kernel: 0x00040000-0x01fe0000 : "linux"
Dec 31 16:00:07 kernel: 0x00168b30-0x01360000 : "rootfs"
Dec 31 16:00:07 kernel: 0x01fe0000-0x02000000 : "nvram"
Dec 31 16:00:07 kernel: 0x01f40000-0x01fe0000 : "jffs2"
And from telnet:
Code:
ASUSWRT RT-N66U_3.0.0.3 Sun Jul 22 09:58:44 UTC 2012
admin@RT-N66U:/tmp/home/root# nvram show|grep used
size: 31518 bytes (1250 left)
Looks like no official CFE fix yet.
Read through the past 15 or so pages...I understand that the 32K NVRAM is only really an issue for users wanting to run additional services on the router, and for the average home user who just plugs it in and expects it to work (or average DD-WRT user who flashes the router but doesn't use any of the additional features) it's not an issue? _________________ Click here for Eko beta Click here for Brainslayer beta >>>PEACOCK THREAD!<<<
I do NOT offer personal assistance.
Please do not PM me for help.
what services will not run with the 64k disabled? I am still rocking my old linksys 600n but was thinking of upgrading to this router but want to wait until i know that ddwrt is fully working on it
what services will not run with the 64k disabled? I am still rocking my old linksys 600n but was thinking of upgrading to this router but want to wait until i know that ddwrt is fully working on it
It's not about which services work or don't, it's about how many of them can you use before filling up the nvram with their settings, causing your router to crash and wiping out your settings.
You can run out of nvram with the stock firmware simply by having too many QoS/VServer rules.