Ticket #466 (reopened defect)

Opened 2 years ago

Last modified 3 weeks ago

Support for 128MB ram on ASUS WL-500GP v1

Reported by: starter48 Assigned to: somebody
Priority: major Milestone: milestone1
Component: component1 Version:
Keywords: Cc:

Description (Last modified by starter48)

ASUS WL-500GP v1 routers with 128MB of RAM loose sdram_init value from NVRAM on reboot. I performed a 128MB RAM upgrade on a Asus router described here: http://wl500g.info/showthread.php?t=12962 The router boots up and reports 64MB of RAM but not the whole 128MB with DD-WRT.
Issuing the NVRAM command sdram_init=0x0011 to enable 128MB of RAM does _not_ lead to brick. And router can utilize whole 128Mb, but until next reboot.
This problem described here: http://www.dd-wrt.com/phpBB2/viewtopic.php?p=363699

I found the problem location:
Please check the following lines in /dd-wrt/browser/src/router/services/sysinit/sysinit-broadcom.c:

984 case ROUTER_ASUS_WL500G_PRE:
985 nvram_set("sdram_init", "0x0009");

Thus WL-500GP routers forces to use only 64Mb on boot. I suggest to remove line 985 to leave "sdram_init" intact, so user can adjust it manually.
I have tried to unpack most recent WL-500GP build, then i've patched it and packed it back successfully, so my WL-500GP can utilize 128Mb even after reboot.

Change History

(follow-up: ↓ 3 ) 03/11/08 11:52:34 changed by anonymous

if your needs are that high, you should be upgrading to the non-free edition of dd-wrt, there x86 and embedded boards which supports such large amounts of ram. The limit as well as bandwidth controls, max # connections, super channel support, max memory limits, etc.. etc.. etc.. are there so people with greater needs should pay!

03/11/08 16:50:55 changed by BrainSlayer

applied the patch. thanks

(in reply to: ↑ 1 ; follow-up: ↓ 4 ) 03/11/08 22:27:22 changed by anonymous

Anonymous comment 1: My needs aren't that high in terms of max # of connections, super channel support etc, I am just a home user that runs some optware programs on the router that use up a fair bit of RAM.

Brainslayer: Thanks for applying the patch, what future build can we expect to see this in? So I don't try initializing the ram in a build without it.

(in reply to: ↑ 3 ) 03/11/08 23:55:11 changed by anonymous

Nevermind just viewed the changelog

Brainslayer: Thanks for applying the patch, what future build can we expect to see this in? So I don't try initializing the ram in a build without it.

03/13/08 22:12:12 changed by anonymous

  • status changed from new to closed.
  • resolution set to fixed.

Just wanted to confirm that 128MB is now working with the latest builds of DD-WRT, connected right now using an Asus router with 128MB enabled in DD-WRT

Thanks again.

10/26/09 18:57:57 changed by starter48

  • status changed from closed to reopened.
  • summary changed from Support for 128MB ram on Broadcom routers to Support for 128MB ram on ASUS WL-500GP v1.
  • resolution deleted.
  • description changed.
  • reporter changed from anonymous to starter48.

10/27/09 11:45:40 changed by starter48

  • description changed.

10/27/09 11:46:43 changed by starter48

  • description changed.
  • milestone set to milestone1.

10/29/09 08:12:46 changed by starter48

  • description changed.