Assume that I use wr703n and change it to 8 M memory:
1. Modify the openwrt/target/Linux/ar71xx/image/MAKEFILE file.
$(eval $(call SingleProfile,TPLINK-LZMA,64kraw,TLMR3420V2,tl-mr3420-v2,TL-MR3420-v2,ttyS0,115200,0x34200002,1,4Mlzma))#$(eval $(call SingleProfile,TPLINK-LZMA,64kraw,TLWR703,tl-wr703n-v1,TL-WR703N,ttyATH0,115200,0x07030101,1,4Mlzma))$(eval $(call SingleProfile,TPLINK-LZMA,64kraw,TLWR703,tl-wr703n-v1,TL-WR703N,ttyATH0,115200,0x07030101,1,8Mlzma))$(eval $(call SingleProfile,TPLINK-LZMA,64kraw,TLWR710,tl-wr710n-v1,TL-WR710N,ttyATH0,115200,0x07100001,1,8Mlzma))
2. Modify openwrt/tools/fireware-utils/src/mktplinkfw. C.
}, { .id = "TL-WR2543Nv1", .hw_id = HWID_TL_WR2543N_V1, .hw_rev = 1, .layout_id = "8Mlzma", }, { .id = "TL-WR703Nv1", .hw_id = HWID_TL_WR703N_V1, .hw_rev = 1,// .layout_id = "4Mlzma", .layout_id = "8Mlzma", }, { .id = "TL-WR720Nv3", .hw_id = HWID_TL_WR720N_V3, .hw_rev = 1, .layout_id = "4Mlzma", }, {
If you and the model are not available, you can add such a structure on your own.
Then compile and download it to the corresponding address.