TL-WR720N with OpenWrt (2), tl-wr720nopenwrt

Source: Internet
Author: User

TL-WR720N with OpenWrt (2), tl-wr720nopenwrt
3. Compile the firmware. 1. Prepare the compiling environment (Ubuntu is recommended)

Take Ubuntu 14.04 x64 as an example to install and compile the required tools and libraries.

$ Sudo apt-get install git-core build-essential libssl-dev libncurses5-dev unzip

$ Sudo apt-get install subversion mercurial

$ Sudo apt-get install build-essential subversion libncurses5-dev gawk gcc-multilib flex git-core gettext libssl-dev

2. Get source code

Obtain the latest source code from github and upgrade the module.

$ Git clone git: // git.openwrt.org/openwrt.git

$ Cd openwrt

$./Scripts/feeds update-

$./Scripts/feeds install-

3. Compile the configuration

Configure the. config file.

$ Make defconfig

$ Make prereq

$ Make menuconfig

After the option is configured, Save as. config and then Exit.

Note: You must select the correct hardware model in Target System and Target Profile. You can set the model for other modules.

 

4. Start Compilation

Use make for compilation. multiple CPU cores can be accelerated using the-jn parameter. If the parameter V is set to 99 or s, the detailed process is displayed.

$ Make-j2 V = 99

5. Complete Compilation

After a long compilation process, you can see the following compiled firmware in the openwrt/bin/ar71xx path.

Openwrt-ar71xx-generic-tl-wr720n-v3-squashfs-factory.bin

Openwrt-ar71xx-generic-tl-wr720n-v3-squashfs-sysupgrade.bin


4. Modify the firmware Header

According to the following official description of OpenWrt, you only need to replace the firmware header of v3.0 to use it as the firmware of v4.0.

The hardware of v4.0 is almost the same asv3.0 so firmwares for v3.0 just work. The version number in images for v4.0 is0x07200104 (0x07200103 for v3.0 ).

1. Modify the tool

We recommend that you use the "TP route firmware modification tool ".

Of course, you can also use the hexadecimal editor to manually search (requires some basic experience) and modify it.

2. Replace the firmware header information

Change "07200103" to "07200104" according to official suggestions (it is best to back up the original firmware in advance ).

 

References:

[1] http://wiki.openwrt.org/doc/howto/buildroot.exigence

[2] http://wiki.openwrt.org/toh/tp-link/tl-wr720n

Related Article

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.