Joined: 21 Nov 2010 Posts: 169 Location: North America
Posted: Thu Jul 26, 2012 9:11 Post subject: Re: Asus RT-AC66U Uses 64KB NVRAM
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.
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. _________________ Everyone is a genius.
But if you judge a fish on its ability to climb a tree,
it will live its whole life believing that it is stupid.
Joined: 31 Aug 2009 Posts: 2420 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 -- Firmware Recommendations -- 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:
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:
ASUSWRT RT-N66U_18.104.22.168 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!<<<
Personal assistance is available but only if you give me money. And beer. Lots and lots of beer.