Good afternoon,
A few weeks ago I purchased a Netgear WNDR3700v5 after deeming it good enough for my modest needs. I was running Gargoyle on it which was great, but I had a desire to VPN into from outside. Being that I am behind a CGNAT at both ends, Gargoyle's bundled Wireguard and OpenVPN options were no help to me. That's when I discovered Tailscale and Netbird, which are the correct tools to help me.
As you can probably guess, the 16MB NOR Flash was already pretty much full with the Gargoyle image, so there was virtually no scope for installing more packages.
What I have done so far is to revert back to stock Netgear firmware, de-solder the 16MB NOR chip, use a CH134A programmer with AsProgrammer software to extract a bit-for-bit BIN file from it. I have flashed that data using the same setup to a brand new 32MB NOR chip from the exact same manufacturer and series. I have soldered that back into the router, and it still boots the stock firmware and works as normal.
Now I am wishing to flash OpenWRT onto the device, but confused about whether doing that will either brick the device, as presumably the OpenWRT image only expects this model to have 16MB of NOR, or it might flash OK, but just leave an inaccessible chunk of empty blocks at the end of the NOR that won't gain me any benefit.
After being disappointed with the lack of space on the WNDR3700v5, I went and purchased a R6220, which I can confirm is the same PCB inside. Both of these models use the same board which actually has pads for either a NOR or a NAND chip (it can't have both as the footprints overlap and presumably use at least some of the same connections back to the SoC) and a few SMD capacitors that are either there or missing depending on which chip is utilised. As widely documented, the R6220 does indeed have a 128MB NAND chip, so I thought this would be the solution to my lack of storage. As it turns out, OpenWRT (and consequently Gargoyle) only uses a small portion of the 128MB NAND chip leaving a large portion of unused, and inaccessible space at the end of the chip. I think it is something like 90MB unused, but inaccessible, so once again, no useable free space to play with.
By the time I discovered this, I had already ordered the 32MB blank NOR chips for the WNDR3700v5 so I went ahead and fitted one as described above, as I had nothing to lose really.
I guess the question is how can I install OpenWRT without bricking the device AND gain access to the extra unused space and make it useable for package installations?
One user in the Gargoyle forums suggests there was some way called MTD-CONCAT that can create another partition in the unused space, and somehow 'merge' it with whatever free space is in the normal partition that packages get installed to, so that the system recognises it as one large partition.
While I'm pretty confident with hardware mods, I am certainly not confident with software, least of all with embedded linux as I have mostly used only Windows and DOS in my life. I have been reading and learning a great deal about OpenWRT recently though from this forum and website which I have to say is very impressive and a great community.