If the /sys/ files aren't present for some reason it won't mount)
Which resulted mount displaying:
Code:
/dev/scsi/host2/bus0/target0/lun0/part1 on /opt type ext3 (rw,noatime,data=ordered)
Afterwards it does the following:
Code:
root@Dark-Knight:/# cd opt
root@Dark-Knight:/opt# touch echo
root@Dark-Knight:/opt# ls
echo lost+found
root@Dark-Knight:/opt# echo "The little birdy is loosing the race" > test file
root@Dark-Knight:/opt#
The router crashes.
There is a log of syslog, as well as my entire 4 sessions of testing this and repeatedly happening.
So state of the are is: AC no worky, U kinda worky if you tilt your head to the side and squint a bit.
I have not picked up one of these devices, however if someone has and can post serial output that would let us know if they fixed the cfe in the ac device. my n66u came with serial pins already attached to the board so no soldering was necessary.
I noticed new egg put it up again today,
maybe someone from the asus camp can comment.
-Fractal
I could probably do that. The serial pins 3.3v? I have stuff at work I can do that with.
...still hovering over the buy button!
I too am undecided .... there is the ea6500 cisco suppose to be out in august and the d1800h buffalo has support.....
The big hurdle here is finding a laptop minipci card that will use the 1300mb 5.8 gig wifi....
Joined: 21 Nov 2010 Posts: 278 Location: North America
Posted: Wed Jul 25, 2012 15:08 Post subject: Re: Asus RT-AC66U Uses 64KB NVRAM
barryware wrote:
nice.. you should start a new thread.. this is a diff router.
nand flash.. I am under the impression that is a problem for dd-wrt.. (WNDR4500)
The reason for posting it in this thread was in response to questions others had about this router's nvram size. I will start another thread when I'm ready to request DD-WRT firmware for it. (LOL)
I have 5 Buffalo WZR-D1800H routers (802.11ac) running DD-WRT that also use the same Samsung nand flash memory and so far haven't had any problems.
Then I went looking for RTCONFIG_NVRAM_64K and found:
in file asuswrt\release\src\router\config_base
# RTCONFIG_NVRAM_64K is not set
and CONFIG_NVRAM_64K in file asuswrt\release\src-rt\linux\linux-2.6\config_base
# CONFIG_NVRAM_64K is not set
In looking at the CFE code, it seems that CFE blindly allocates the last block of Flash for NVRAM. The block sizes are defined in hardware as the unit size that the flash is erased in, except for an erase entire flash command. So while the linker may allocate 128K for NVRAM, the CFE only does 1 block. Not sure how the router software gets around this.
Posted: Thu Jul 26, 2012 1:45 Post subject: Re: Asus RT-AC66U Uses 64KB NVRAM
Magnetron1.1 wrote:
barryware wrote:
nice.. you should start a new thread.. this is a diff router.
nand flash.. I am under the impression that is a problem for dd-wrt.. (WNDR4500)
The reason for posting it in this thread was in response to questions others had about this router's nvram size. I will start another thread when I'm ready to request DD-WRT firmware for it. (LOL)
I have 5 Buffalo WZR-D1800H routers (802.11ac) running DD-WRT that also use the same Samsung nand flash memory and so far haven't had any problems.
- Magnetron1.1
So am I correct in stating that the router has a CFE that allows for 128 MB of NVRAM?
128KB not 128MB, but that assumes the software supports buffering 4 sectors of flash instead of 1. Since a complete sector must be erased each time data is changed and if there is a checksum in the last sector, that sector must also be read, erased, modified, and rewritten.
128KB not 128MB, but that assumes the software supports buffering 4 sectors of flash instead of 1. Since a complete sector must be erased each time data is changed and if there is a checksum in the last sector, that sector must also be read, erased, modified, and rewritten.
Flash sectors forms sector groups (blocks) and that is what we usually work with, the flash driver takes care of the translation of a memory address into a flash block and knows how to handle individual sectors within the block.
With a block size of 64KB it is possible for the flash driver to address up to 16MB in parallel flashes but there are a few 8MB chips that have a block size of 128KB without actually needing to have them that big.
Serial flash chips do all have a block size of 64KB.
The nvram routines do not know anything about this, they are made for a certain size of nvram which may be an efficient size which uses all of the flash block or may be inefficient and waste a bit of the block.
64KB of nvram as seen in the latest Netgear and Cisco routers is in most cases efficient use of a flash block, it uses only one flash block and it uses all of it.
For routers with a flash block size of 128KB, well you don't need more than 64KB nvram so the wasted 64KB would be unused (ie wasted) anyway.
Having some kind of standard is always advantageous instead of making "specials". _________________ Kernel panic: Aiee, killing interrupt handler!