Source code to be modified after the openwrt router is replaced with Flash

Source: Internet
Author: User

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.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.