Opened 6 years ago

Closed 5 years ago

Last modified 5 years ago

#268 closed (invalid)

WRT54Gs v1 xh revisions.

Reported by: anonymous Owned by: somebody
Keywords: Cc:

Description

I have a WRT54G v2 xb/xh revision, it has 32MB of RAM but only 16MB is recognized. Issuing: nvram set sdram_init=0x008 nvram set sdram_ncdl=0x000 nvram commit reboot

Makes 32MB available. Is there a special build for this particular router, use the ASUS builds? 30s reset drops memory in DD-WRT back to 16MB.. it's very irritating that DD-WRT does not properly detect the proper amount of memory!

Change History (8)

comment:1 Changed 6 years ago by Eko

  • Resolution set to invalid
  • Status changed from new to closed

It's not possible to auto detect memory. Cfe does it on boot according to nvram settings. To make it permanent you must replace cfe.

comment:2 Changed 6 years ago by anonymous

  • Resolution invalid deleted
  • Status changed from closed to reopened

Thanks.. took me almost 2 hours to get the pieces together to backup, modify, and re-write the CFE without using a JTAG cable... what a pain.. Now its set to:

Previous Parameters New 32MB Parameters


boardflags=0x0188 boardflags=0x0388 sdram_init=0x0000 sdram_init=0x0008 sdram_config=0x0032 sdram_config=0x0022 boot_wait=off boot_wait=on

Do these values look right? I'm REALLY NOT sure! It was a really quick bit of Googling? Very difficult to find any info on this matter. I used "rwflash.o" to re-write CFE. Any advice is appreciated!

comment:3 Changed 6 years ago by anonymous

Thanks.. took me almost 2 hours to get the pieces together to backup, modify, and re-write the CFE without using a JTAG cable... what a pain.. Now its set to:

Previous Parameters

16MB Parameters


boardflags=0x0188 sdram_init=0x0000 sdram_config=0x0032

New 32MB Parameters


boardflags=0x0388 sdram_init=0x0008 sdram_config=0x0022

Do these values look right? I'm REALLY NOT sure! It was a really quick bit of Googling? Very difficult to find any info on this matter. I used "rwflash.o" to re-write CFE. Any advice is appreciated!

comment:4 Changed 5 years ago by baudav

  • Resolution set to fixed
  • Status changed from reopened to closed
  • Summary changed from WRT54G v2 xb/xh revisions.. failed to detect 32MB of RAM to WRT54G v2 xh revisions.. ok to detect 32MB of RAM
  • type changed from defect to enhancement

boardflags=0x0388 to enable afterburning (not tested if it work really, it is displayed) sdram_init=0x0008 to enable 32MB (set 9 bit bus adress)

AND NOT SET sdram_config , it's change CAS,Burst of memory

with boardflags=0x0388 sdram_init=0x0008 sdram_config=0x0032 , my WRT54G v2.0 work fine with 32Mb enabled

comment:5 Changed 5 years ago by anonymous

  • Resolution fixed deleted
  • Status changed from closed to reopened

On the WRT54GS v1.0, which is pretty much a WRT54G v2:rev xh, "sdram_config=0x0022" & "boardflags=0x0388" is used in order to EMULATE/trick 3rd party and Linksys Stock into thinking it is in fact a WRT54GS v1.0 thus enabling Afterburner. Most 3rd party firmware enables afterburner by default for virtually ALL the routers they support since afterburner is pretty much software based.

Does "sdram_config=0x0032" increases memory Latency, which makes router more stable compared to "sdram_config=0x0022"?

comment:6 Changed 5 years ago by eko

  • Resolution set to invalid
  • Status changed from reopened to closed

I don't know what is the purpose of this report.

comment:7 Changed 5 years ago by BrainSlayer

the memory size is configured by the bootloader and not by dd-wrt. this is why you will loose the memory configuration on a full reset. this is no bug and should stay closed

comment:8 Changed 5 years ago by anonymous

  • Summary changed from WRT54G v2 xh revisions.. ok to detect 32MB of RAM to WRT54Gs v1 xh revisions.
Note: See TracTickets for help on using tickets.