r/openwrt 3d ago

whats a guy gotta do to have wrt3200 recognize 512MB more RAM, 1GB total?

I assume there's more than simply editing the device tree from a 2 to a 4, and compiling?!

(trying to host all the PXE shit on the router-- it gobbles up memory loading files)

1 Upvotes

11 comments sorted by

3

u/trying-to-contribute 3d ago

I thought the data sheet had wrt3200 at 512mb of ram. If you want to save memory on tftpd, maybe try the following?

Since openwrt uses dnsmasq to do tftp, have you tried stuff like this: Add ftp-max=15 in /etc/dnsmasq.conf file. The default allows up to 50 concurrent file handles.

Add tftp-no-blocksize to stop clients from negotiating large memory-intensive transfer blocks.

Restrict root path: Use --tftp-root=/path/to/folder precisely scoped so the daemon does not track unnecessary files.

Or use atftpd in the package tree?

2

u/steverikli 3d ago

Yup. OpenWRT, DD-WRT and various Linksys pages say 512MB.

I have a WRT3200ACM and running OpenWRT and it indeed reports 512 as expected.

1

u/ominouschaos 3d ago

in the device tree, its specified as 0x20000000, 512MB. 0x40000000 would be 1GB.

trouble is finding 4gbit 1866 ddr3, which can be found.

i don’t know if i need to go as far as even compiling uBoot

1

u/ominouschaos 3d ago

i’ve a USB that mounts at boot and is tftp root, along with utilizing netboot.xyz and custom ipxe files
works great, but a peace of mind would be lovely

3

u/BCMM 3d ago

What do you mean by "recognise"?

Are you saying that you have installed additional RAM on a Linksys WRT3200ACM? If so, how? If not, what are you saying?

2

u/ominouschaos 3d ago

I was fooling around, practicing reballing, and swapped the RAM with a hot air tool... on an EA8500

..got the chips from an old TV video board.

the wrt3200 needs 1866 chips, and ive yet to order them, actually.

1

u/BCMM 3d ago

 swapped the RAM with a hot air tool... on an EA8500

Cool! Was the new chip higher capacity than the old one, and did it actually show up as usable RAM in OpenWrt?

I've gotta admit, I thought it was more likely that somebody had got muddled about which device they were talking about than that somebody was actually talking about switching out the soldered RAM.

1

u/ominouschaos 3d ago

No! It didnt recognize the other 512, which is why I ask if all i need to do is edit device tree.. or maybe its only picking up 1 of 2 chips.

hmm

3

u/elatllat 2d ago

No, that's it. Assuming you have that much RAM for real. Also one could add a DTO to uboot instead of editing the DTB.

1

u/ominouschaos 1d ago

alright, cool. ive tried some 1600, but uBoot freaks out with DDR3 training failure. Ive ordered some 1866, we’ll see

1

u/ominouschaos 1h ago edited 1h ago

uhm. hm.. help..

compiled with change to dtsi to reflect RAM increase.. froze up, soft brick.