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 ... 44, 45, 46 ... 167, 168, 169  Next
Author Message
mstombs
DD-WRT User


Joined: 31 Oct 2007
Posts: 151

PostPosted: Fri Jun 15, 2012 18:32    Post subject: Reply with quote
They just change the size of the NVRAM in

asuswrt\release\src-rt-6.x\include\bcmnvram.h

Code:
#if (defined(RTCONFIG_NVRAM_64K) || defined(CONFIG_NVRAM_64K))
   #define NVRAM_SPACE      0x10000
#else
   #define NVRAM_SPACE      0x8000
#endif


This file is used in -

asuswrt\release\src-rt-6.x\shared\nvram.c
asuswrt\release\src-rt-6.x\shared\nvram_rw.c

shared between firmware and CFE!

nvram_rw does contain code that looks for the start of the nvram and does seem to have the crc check commented out, but there are various other uses of NVRAM_SPACE which could cause problems...
Sponsor
adamcb
DD-WRT Novice


Joined: 26 Jul 2006
Posts: 26

PostPosted: Fri Jun 15, 2012 18:57    Post subject: Reply with quote
That sounds promising! At least they are making progress towards updating the NVRAM.
joecop67
DD-WRT User


Joined: 09 Feb 2012
Posts: 425
Location: Columbus, Ohio

PostPosted: Mon Jun 18, 2012 10:24    Post subject: Reply with quote
deleted

Last edited by joecop67 on Wed Aug 29, 2012 20:09; edited 1 time in total
Sharkyloco
DD-WRT Novice


Joined: 09 Apr 2012
Posts: 2

PostPosted: Mon Jun 18, 2012 11:35    Post subject: Reply with quote
I think the latest firmware might supports for 64k nvram at the kernel level (no cfe update) like ac66u's first release of firmware.

Last edited by Sharkyloco on Tue Jun 19, 2012 3:59; edited 1 time in total
Dark_Shadow
DD-WRT Guru


Joined: 31 Aug 2009
Posts: 2448
Location: Third Rock from the Sun

PostPosted: Mon Jun 18, 2012 14:13    Post subject: Reply with quote
Anybody updated to the new firmware yet to ssh in and issue an nvram command to find out the size/free?
_________________
Peacock Thread-FAQ -- dd-wrt Wiki

Testing Multiple Routers -- Bootloader Collection Project -- My Wiki
adamcb
DD-WRT Novice


Joined: 26 Jul 2006
Posts: 26

PostPosted: Mon Jun 18, 2012 14:15    Post subject: Reply with quote
I updated mine this morning... still 32k.

Dec 31 19:00:07 kernel: _nvram_init: allocat header: 2280980480, size= 32768
RMerlin
DD-WRT User


Joined: 05 Mar 2012
Posts: 273

PostPosted: Mon Jun 18, 2012 21:04    Post subject: Reply with quote
And yet the nvram_64K code is there in the GPL tarball. It's even enabled in the default build options (target.mak), and it seems to mostly work based on my test with build 140 - I haven't had the chance to compile build 144 yet. So, either they released 144 without it because it's still not 100% working, or they forgot to enable it when they built the firmware.

One theory that I have is they might not have enabled it in their release because one of the side-effects of upgrading to a build with 64K support is you end up with wiped out settings. While not an issue for an expert user, this would be an issue for a regular home user that wasn't prepared for this.

In my case, I will probably release separate 32K and 64K versions of my custom builds, due to this.
joecop67
DD-WRT User


Joined: 09 Feb 2012
Posts: 425
Location: Columbus, Ohio

PostPosted: Mon Jun 18, 2012 21:12    Post subject: Reply with quote
deleted

Last edited by joecop67 on Wed Aug 29, 2012 20:09; edited 1 time in total
petertfm
DD-WRT Novice


Joined: 28 Mar 2012
Posts: 14

PostPosted: Mon Jun 18, 2012 22:40    Post subject: Reply with quote
adamcb wrote:
I updated mine this morning... still 32k.

Dec 31 19:00:07 kernel: _nvram_init: allocat header: 2280980480, size= 32768


that's what it shows for me too in the system log within the UI

maybe it is changed but requires the proper command via telnet to check?
GH0
DD-WRT User


Joined: 05 Dec 2008
Posts: 249

PostPosted: Tue Jun 19, 2012 1:12    Post subject: Reply with quote
I must be going crazy, but could I get some help (or confirmation) of USB Storage Devices working with the latest build DD-WRT v24-sp2 (06/08/12) big (SVN revision 19342)?

I have tried just about everything I can think of, mainly because I am trying this with linux partitions (ext2 mainly) and not FAT/NTFS drives. FAT/NTFS drives work fine on the device, but EXT does not as far I can tell.

I currently have SVN Ticket 2580 open: http://svn.dd-wrt.com/ticket/2580

Log files can be found here:
The ext3 correct symbols issue starts here:
​http://svn.dd-wrt.com/attachment/ticket/2580/putty.txt#L277
Mounting the ext2 usb drive & the inability to write to it with rw access starts here:
​http://svn.dd-wrt.com/attachment/ticket/2580/putty.txt#L579
The router crashed when the ext2 usb drive was mounted with noatime and I attempted to create a directory:
​http://svn.dd-wrt.com/attachment/ticket/2580/putty.txt#L709

And another Putty Log:
http://pastebin.com/Z4pgcCTp
RMerlin
DD-WRT User


Joined: 05 Mar 2012
Posts: 273

PostPosted: Tue Jun 19, 2012 2:12    Post subject: Reply with quote
petertfm wrote:
adamcb wrote:
I updated mine this morning... still 32k.

Dec 31 19:00:07 kernel: _nvram_init: allocat header: 2280980480, size= 32768


that's what it shows for me too in the system log within the UI

maybe it is changed but requires the proper command via telnet to check?


No, they compiled this release without the nvram_64k option. If you run "nvram show" over telnet, it will still report 32 KB, while recompiling with the nvram_64K option does show 64 KB.
ellnic
DD-WRT Novice


Joined: 14 Jun 2012
Posts: 17

PostPosted: Tue Jun 19, 2012 8:39    Post subject: Reply with quote
I know it's probably too early to tell, but what's the probable verdict? Is this thing gonna kp after 2 hours of use with these changes Asus have made? Or should I be clicking the order button on a N66U and register interest in the AC66U as well?
joecop67
DD-WRT User


Joined: 09 Feb 2012
Posts: 425
Location: Columbus, Ohio

PostPosted: Tue Jun 19, 2012 10:56    Post subject: Reply with quote
deleted

Last edited by joecop67 on Wed Aug 29, 2012 20:07; edited 1 time in total
ellnic
DD-WRT Novice


Joined: 14 Jun 2012
Posts: 17

PostPosted: Tue Jun 19, 2012 11:03    Post subject: Reply with quote
Causing Kernel Panics because the CFE only sees 32K? Rolling Eyes
joecop67
DD-WRT User


Joined: 09 Feb 2012
Posts: 425
Location: Columbus, Ohio

PostPosted: Tue Jun 19, 2012 11:07    Post subject: Reply with quote
deleted

Last edited by joecop67 on Wed Aug 29, 2012 20:07; edited 1 time in total
Goto page Previous  1, 2, 3 ... 44, 45, 46 ... 167, 168, 169  Next Display posts from previous:    Page 45 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