PDA

View Full Version : How can you enable the extra 16MBytes of SDRAM in 500gx to provide 32MBytes?



mspriggs
01-02-2005, 17:20
My wl-500gx has turned up today. I've flashed the firmware with Oleg’s 1.9.2.7-3b firmware and have telnet'ed into the device and had a good poke around.

Unfortunately only 16MBytes of SRAM seems to be available but there is 32MBytes of physical memory on the board (I opened the case to check, there goes my warrantee!)

How can I enable the other 16MBytes of memory?

I also noticed that there seem to be 2 additional USB ports that have a PCB header socket. Has anyone tried using these internal USB ports?

Oleg
01-02-2005, 18:29
Please type the following in the telnet session


nvram get sdram_init

I need this info in order to provide you correct numbers.

mspriggs
02-02-2005, 01:46
The result of :- nvram get sdram_init is
0x2000

Oleg
02-02-2005, 19:59
These commands should do the trick for you.


nvram set sdram_init=0x2008
nvram set sdram_ncdl=0x0000
nvram commit
reboot

mspriggs
02-02-2005, 20:31
That did the trick, thanks. The free command now shows 17000 free!

Out of interest why doesn't the linux kernel probe how much memory is available for this platform whilst booting?

Oleg
02-02-2005, 20:39
linux probes whole memory. the command which you've entered modifies sdram controller configuration, which is used on the early stage of boot process before sdram is becomes accessible for storing things like linux kernel.

maxx
07-02-2005, 19:36
@Oleg

Could you give me the setting for this 64Mbit DDR chip please ?

sdram_config=0x0062
sdram_refresh=0x0000
sdram_ncdl=0xfd0008
sdram_init=0x000b

Oleg
07-02-2005, 20:10
@Oleg

Could you give me the setting for this 64Mbit DDR chip please ?

sdram_config=0x0062
sdram_refresh=0x0000
sdram_ncdl=0xfd0008
sdram_init=0x000b
64 Mbit is 8 MByte. You mean 128Mbit?
According to config it looks like this unit has one 16-bit DDR chip only. Is this wrt54g v.2.2? If the answer is yes, then there is no way to enable 32MB - you should physically have 2 chips.

maxx
07-02-2005, 20:27
It's a 128Mbit chip, just a typo. And you are right it is the V2.2 with a single HY5DU281622ET chip (2M x 16 x 4 Banks).

But I wonder why they use the 128Mbit Version when there is no chance to use it all as there is also a 64Mbit Version .

Thank you

Oleg
07-02-2005, 20:31
It's a 128Mbit chip, just a typo. And you are right it is the V2.2 with a single HY5DU281622ET chip (2M x 16 x 4 Banks).

But I wonder why they use the 128Mbit Version when there is no chance to use it all as there is also a 64Mbit Version .

Thank you
128 MBit = 16MByte and it's used completely. 64Mbit gives 8Mbyte only and this is not enough. There was some wrt54g revisions which were equipped with two 128 Mbit SDR chips, so it was possible to activate extra memory. Your unit does not have unused memory.

maxx
13-02-2005, 20:07
I also have a WL500g. Can this one be upgraded from 16 to 32MByte ?

sdram_init is 0x0419

Thank you !

Oleg
13-02-2005, 21:29
No, only wl500g DELUXE (wl500gx) are upgradable. They've 32MB physically, while all wl500g boxes not.

PHanToMiC
19-01-2007, 17:21
hi i want also upgrade my wl500gx

i type the following in the telnet session
Code:
nvram get sdram_init


The result of :- nvram get sdram_init is
0x2008

what i have do do now?

CountZero
19-01-2007, 18:00
It should be enabled. What does 'free' show?

PHanToMiC
19-01-2007, 18:35
oh it looks like you are right,
it show`s total 30140
used 13760
free 16380

big thx
i don`t know when i enabled but i am happy now:)

CountZero
19-01-2007, 19:57
I think this was an issue with early models, later ones comes with 32MB enabled from start.

It is possible to upgrade to (atleast) 64MB.... but it takes some soldering.

PHanToMiC
20-01-2007, 11:22
@ CountZero,
this sounds good.
is there a howto to do this?
and does it bring more performance?

CountZero
20-01-2007, 12:57
this is sort of a howto... http://wl500g.info/showthread.php?t=4609

you can run more things without swap...

PHanToMiC
20-01-2007, 14:13
@ CountZero,
big thx but it`s to hard todo for me

nitrox-mx
25-03-2009, 10:19
hi.
furst sorry for may bad english.
and second i read this article and type "nvram get sdram_init" in telnet.
the result was "0x000A".
my router is asus wl-520gu.
can I enable more that 16MBytes of memory?