WRT 3200ACM replace 1G RAM

This sound very unusual...

What could be more realistic, that u-boot has the ddr size on this fix value and modifiy the dtb file before it hands over the control to linux.

Download the GPL code, hope that U-Boot is included and dive into it...
Probably you could figure it out...