The firmware for routers like this is stored on SPI flash memory, and the size of the SPI flash chip determines how easily you can fit third-party firmware like OpenWRT on the router and how many compromises are necessary to do so. It's soldered on so not really user replaceable.