Asus RT-N66U

Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2, 3 ... 54, 55, 56 ... 167, 168, 169  Next
Author Message
Magnetron1.1
DD-WRT User


Joined: 21 Nov 2010
Posts: 278
Location: North America

PostPosted: Mon Jul 23, 2012 19:47    Post subject: Reply with quote
halsafar wrote:


Is it close enough to the other RT like the N66U that we can expect Tomato, DDWRT to appear on it quickly? If that is the case I should wait a bit more likely.

My current router is WRT54G I got in 2004. No issue waiting a bit longer.


In my opinion, yes ... The question is how long will it take the Devs to get their hands on one for development? They are quite expensive ... prices range from $197 to $250+.

- Magnetron1.1
Sponsor
GH0
DD-WRT User


Joined: 05 Dec 2008
Posts: 249

PostPosted: Mon Jul 23, 2012 22:20    Post subject: Reply with quote
barryware wrote:
Antilycus wrote:
BS have any input?

BS won't give you the sweat off his balls.

I admire your spirit though..


His balls aren't input devices.

Sorry, I couldn't resist with this comment, it instantly popped into my head. Razz Not the best joke in the world, but I thought it was witty.

Anyways, I am still experiencing the ext formatted USB Drive issues with this latest 519 build as well. As well as the one that is on your FTP Barry.

Obviously the NVRAM issue exists, as nothing has been patched by the devs (in either ticket updates)or any knowledge of a new CFE. I am expecting that nothing will happen until a new CFE is released.
Antilycus
DD-WRT Novice


Joined: 15 Jan 2010
Posts: 45

PostPosted: Tue Jul 24, 2012 3:13    Post subject: Don't expect an update from DD-WRT for 64k Reply with quote
http://svn.dd-wrt.com:8000/ticket/2640#ticket

I opened the ticket today, it was closed saying that they aren't going to fix it. Time to look for something other than DD-WRT


GRRR this one pissed me off, wish I never would've wasted my 200 bucks.

EDIT can someone put on the 1st post of the page that there is not update to this annoying cfe size problem? It will help save 55 pages of stuff to read for people that just want to know the basics about DD-WRT on the RT-N66U.
RMerlin
DD-WRT User


Joined: 05 Mar 2012
Posts: 273

PostPosted: Tue Jul 24, 2012 3:32    Post subject: Reply with quote
ryzhov_al wrote:

Before using 64K NVRAM DD-WRT we must flash new stock f\w thats upgrades CFE (3.0.0.3.144, 3.0.0.3.157 and above).


That's incorrect.

1) Asus hasn't updated the CFE. The 64 KB nvram support was strictly done at the kernel/application level.

2) Asus's 3.0.0.3.144 is only 32 KB nvram. You need to use my own 3.0.0.3.144 build where I have enabled the 64 KB option. The first Asus version that had 64 KB nvram enabled was 3.0.0.3.151.

Flashing any of these Asus versions will only give you 64 KB of usable nvram so long you use a 64 KB-enabled version. Reverting to an older version or flashing DD-WRT will bring you back to 32 KB.
RMerlin
DD-WRT User


Joined: 05 Mar 2012
Posts: 273

PostPosted: Tue Jul 24, 2012 3:33    Post subject: Reply with quote
GH0 wrote:
barryware wrote:
Antilycus wrote:
BS have any input?

BS won't give you the sweat off his balls.

I admire your spirit though..


His balls aren't input devices.


If they work the way they were designed, they should actually be output devices Razz
RMerlin
DD-WRT User


Joined: 05 Mar 2012
Posts: 273

PostPosted: Tue Jul 24, 2012 3:42    Post subject: Re: Don't expect an update from DD-WRT for 64k Reply with quote
Antilycus wrote:
http://svn.dd-wrt.com:8000/ticket/2640#ticket

I opened the ticket today, it was closed saying that they aren't going to fix it. Time to look for something other than DD-WRT


GRRR this one pissed me off, wish I never would've wasted my 200 bucks.


You can always hope that someone else ports Asus's patches and makes his own DD-WRT builds for the RT-N66U. jyavenard proved it can be done - he's the one that did it for Tomato.
Antilycus
DD-WRT Novice


Joined: 15 Jan 2010
Posts: 45

PostPosted: Tue Jul 24, 2012 5:11    Post subject: Reply with quote
This post makes it sounds like you can get 64k nvram by using your bios update. is this correct? Understandably, one will only be able to update version of the DD-WRT firmware that are 64k specific.
RMerlin wrote:
ryzhov_al wrote:

Before using 64K NVRAM DD-WRT we must flash new stock f\w thats upgrades CFE (3.0.0.3.144, 3.0.0.3.157 and above).


That's incorrect.

1) Asus hasn't updated the CFE. The 64 KB nvram support was strictly done at the kernel/application level.

2) Asus's 3.0.0.3.144 is only 32 KB nvram. You need to use my own 3.0.0.3.144 build where I have enabled the 64 KB option. The first Asus version that had 64 KB nvram enabled was 3.0.0.3.151.

Flashing any of these Asus versions will only give you 64 KB of usable nvram so long you use a 64 KB-enabled version. Reverting to an older version or flashing DD-WRT will bring you back to 32 KB.
ellnic
DD-WRT Novice


Joined: 14 Jun 2012
Posts: 17

PostPosted: Tue Jul 24, 2012 5:12    Post subject: Re: Don't expect an update from DD-WRT for 64k Reply with quote
Antilycus wrote:
http://svn.dd-wrt.com:8000/ticket/2640#ticket

I opened the ticket today, it was closed saying that they aren't going to fix it. Time to look for something other than DD-WRT


GRRR this one pissed me off, wish I never would've wasted my 200 bucks.

EDIT can someone put on the 1st post of the page that there is not update to this annoying cfe size problem? It will help save 55 pages of stuff to read for people that just want to know the basics about DD-WRT on the RT-N66U.


I agree. This has annoyed me too.

@The Asus guys watching this thread - PLEASE fix this problem for us! Pretty please with sugar on top!

EDIT: I guess there is always http://tomato.groov.pl/download/K26RT-N/build5x-097-EN/Asus%20RT-N66u%2064k/tomato-K26USB-1.28.RT-N5x-MIPSR2-097-AIO-64K.trx in the meantime, but I really want the feature set of the mega DD-WRT build.
RMerlin
DD-WRT User


Joined: 05 Mar 2012
Posts: 273

PostPosted: Tue Jul 24, 2012 5:31    Post subject: Reply with quote
Antilycus wrote:
This post makes it sounds like you can get 64k nvram by using your bios update. is this correct? Understandably, one will only be able to update version of the DD-WRT firmware that are 64k specific.


My custom firmware is actually based on Asus's original firmware. It won't be of any help to DD-WRT users I'm afraid.

Beta 3.0.0.3.151 that Asus posted on their Russian forums also has 64 KB nvram enabled in it.
ryzhov_al
DD-WRT Novice


Joined: 17 Jul 2012
Posts: 48
Location: Smolensk, Russia

PostPosted: Tue Jul 24, 2012 5:36    Post subject: Reply with quote
RMerlin wrote:
That's incorrect.

1) Asus hasn't updated the CFE. The 64 KB nvram support was strictly done at the kernel/application level.
If so, CFE supports 64KB nvram by default from the very first day of RT-N66u sales. Is it right?
64KB enabled Tomato firmware bricks RT-N16. Is it because of older CFE?

I'll compare /dev/mtd0 on several RT-N66u later:)

_________________
Entware team
ellnic
DD-WRT Novice


Joined: 14 Jun 2012
Posts: 17

PostPosted: Tue Jul 24, 2012 5:50    Post subject: Reply with quote
ryzhov_al wrote:

64KB enabled Tomato firmware bricks RT-N16. Is it because of older CFE?

I'll compare /dev/mtd0 on several RT-N66u later:)


As far as I know, the RT-N16 only has 32K NVRAM?? I could be wrong, but that would explain why!
RMerlin
DD-WRT User


Joined: 05 Mar 2012
Posts: 273

PostPosted: Tue Jul 24, 2012 5:52    Post subject: Reply with quote
ryzhov_al wrote:
RMerlin wrote:
That's incorrect.

1) Asus hasn't updated the CFE. The 64 KB nvram support was strictly done at the kernel/application level.
If so, CFE supports 64KB nvram by default from the very first day of RT-N66u sales. Is it right?
64KB enabled Tomato firmware bricks RT-N16. Is it because of older CFE?

I'll compare /dev/mtd0 on several RT-N66u later:)


The RT-N66U was originally supposed to have 64 KB nvram. It was a bug that made it only allocate 32 KB of it, so I suspect that the CFE is indeed ready to handle 64 KB, you just have to compensate for that bug - which is what Asus did at the kernel level.
Fractal
DD-WRT Guru


Joined: 19 Apr 2010
Posts: 1243

PostPosted: Tue Jul 24, 2012 6:41    Post subject: Reply with quote
This could be implemented as a userspace hack to gain an extra 32k ... the asus rt-16 has 32k as well.... Buffallo has started to adapt this, it looks to me as thought asus used nearly the identical cfe as previous models.... I am not sure CFE and nvram was a though in manufacturing.. They have awesome cpu, heatsink and ram,, only show stopper is the nvram.... I see the n66u ac is on sale.. unless it has a 64k cfe and does not use kernel hack, then dd-wrt support will pointless imo.

-Fractal
Magnetron1.1
DD-WRT User


Joined: 21 Nov 2010
Posts: 278
Location: North America

PostPosted: Tue Jul 24, 2012 7:43    Post subject: NVRAM Sizes Reply with quote
@All

The Toastman Tomato builds map flash memory as follows:

root@ASUSRT-N66URT1:/# dmesg |grep -E "0-0x0|mapped"
Physically mapped flash: Found 1 x16 devices at 0x0 in 16-bit bank
Physically mapped flash: CFI does not contain boot bank location. Assuming top.
Creating 5 MTD partitions on "Physically mapped flash":
0x00000000-0x00040000 : "pmon"
0x00040000-0x01fe0000 : "linux"
0x00127000-0x007c0000 : "rootfs"
0x007c0000-0x01fe0000 : "jffs2"
0x01fe0000-0x02000000 : "nvram"


root@ASUSRT-N66URT1:/# cat /proc/mtd
dev: size erasesize name
mtd0: 00040000 00020000 "pmon"
mtd1: 01fa0000 00020000 "linux"
mtd2: 00699000 00020000 "rootfs"
mtd3: 01820000 00020000 "jffs2"
mtd4: 00020000 00020000 "nvram"


root@ASUSRT-N66URT1:/# nvram show|grep used
1164 entries, 25823 bytes used, 39713 bytes free.


Simple hexadecimal math clearly shows a 128KB theoretical maximum for nvram.
I think the barrier to larger nvram sizes than what we now have is more artificial than physical.


- Magnetron1.1
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7647

PostPosted: Tue Jul 24, 2012 10:47    Post subject: Reply with quote
RMerlin wrote:


The RT-N66U was originally supposed to have 64 KB nvram. It was a bug that made it only allocate 32 KB of it, so I suspect that the CFE is indeed ready to handle 64 KB, you just have to compensate for that bug - which is what Asus did at the kernel level.


No, it ain't so.
The CFE is made for and compiled for 32KB nvram and it can not handle 64KB, it will not find a 64KB nvram since that one starts on a different offset in the last flash block. The cfe does also only allocate 32KB of ram for copying the nvram variables from flash.

It is possible to assign a separate flash block for the firmware nvram and copy the 32KB cfe nvram to it during a "restore to defaults" but you will then have 2 nvram areas with a one-way path between them.
The firmware will see the initial cfe nvram variables but any changes to the firmware nvram can not be seen by the cfe.
It is a dirty workaround instead of solving the root of the problem.

_________________
Kernel panic: Aiee, killing interrupt handler!
Goto page Previous  1, 2, 3 ... 54, 55, 56 ... 167, 168, 169  Next Display posts from previous:    Page 55 of 169
Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum