I remember swapping the TSOP packages on a WRT54 to double the RAM.
Here's a blog post about this, not sure if it was the same one I followed:
https://blog.thelifeofkenneth.com/2010/09/upgrading-ram-in-w...