RAM upgrade, how to increase nvram in OpenWRT?

I've replaced RAM chip to 512 MegaBits, but in overview it still says 32 MB. Now I suppose to run this set of commands:

  nvram set sdram_init=0x0013
  nvram commit
  reboot

Problem is that there is no nvram command or package to be installed for my OpenWRT 19.07.9. D-Link Dir 300 B5

What to do? How to solve this situation?

RT3050 chip only supports 32 MB of RAM. This is a hardware limitation of its memory controller. If you install a larger RAM chip it can only ever use part of the chip. So this model cannot be upgraded.

Wherever you got those instructions from, nvram has not been part of OpenWrt since version 8 which was 15 years ago.

2 Likes

In datasheet on first page it says "Support 16-bit SDR SDRAM (up-to 64M bytes)"

64 MB is only possible with an RT3052 chip, which has a second data bus for a second 32 MB chip. The RT3050 deletes this feature.

1 Like

That's the chip I have, RT3052f...

What's the solution? Recompile firmware maybe with some mods?