Differences

This shows you the differences between two versions of the page.

toh:tp-link:tl-wr740n [2013/02/18 02:04]
ayaka Add v1/v2 china version's info
toh:tp-link:tl-wr740n [2014/07/01 21:28] (current)
treeplex hardware v3 status update
Line 11: Line 11:
| v2 | {{:meta:icons:tango:48px-dialog-warning.svg.png?nolink&24 |Stability warning }} WiP | Rounded chassis | | v2 | {{:meta:icons:tango:48px-dialog-warning.svg.png?nolink&24 |Stability warning }} WiP | Rounded chassis |
| v2.4 | {{:meta:icons:tango:48px-dialog-warning.svg.png?nolink&24 |Stability warning }} trunk (r28314) | Rounded chassis, 350mhz cpu | | v2.4 | {{:meta:icons:tango:48px-dialog-warning.svg.png?nolink&24 |Stability warning }} trunk (r28314) | Rounded chassis, 350mhz cpu |
-| v3 | {{:meta:icons:tango:dialog-error.png?nolink&24 | Test at your own risk }} trunk (r28269) | Rounded chassis |+| v3 | {{:meta:icons:tango:dialog-error.png?nolink&24 | Test at your own risk }} trunk (r28269),**Attitude Adjustment 12.09. See notes.** | Rounded chassis |
| v4 | {{:meta:icons:tango:48px-dialog-warning.svg.png?nolink&24 | Stability warning }}  trunk (r29631), see [[https://dev.openwrt.org/ticket/10492|this ticket]] | AR9330 400Mhz CPU 4 or 2MB Flash/32MB RAM | | v4 | {{:meta:icons:tango:48px-dialog-warning.svg.png?nolink&24 | Stability warning }}  trunk (r29631), see [[https://dev.openwrt.org/ticket/10492|this ticket]] | AR9330 400Mhz CPU 4 or 2MB Flash/32MB RAM |
 +| v4.21 | Attitude Adjustment 12.09-beta (trunk r33312), Barrier Breaker (trunk r40572) | SoC: Atheros AR9331 , 400Mhz CPU, 4MB Flash/32MB RAM (esmt m13s2561616a)|
 +| v4.22 | Attitude Adjustment 12.09-beta (trunk r33312) | SoC: Atheros AR9331 , 400Mhz CPU, 4MB Flash/32MB RAM (zentel a3s56d40ftp)|
| v4.23 | Attitude Adjustment 12.09-beta (trunk r33312) | SoC: Atheros AR9330 rev 1, 400Mhz CPU, 4MB Flash/32MB RAM | | v4.23 | Attitude Adjustment 12.09-beta (trunk r33312) | SoC: Atheros AR9330 rev 1, 400Mhz CPU, 4MB Flash/32MB RAM |
 +| v4.24 | Attitude Adjustment 12.09 | SoC: Atheros AR9330 rev 1, 400Mhz CPU, 4MB Flash/32MB RAM |
| v5 (China) | {{:meta:icons:tango:dialog-error.png?nolink&24 | Not supported }} likely unsupportable. [[http://www.right.com.cn/forum/thread-52644-1-1.html|WiP]] | AR9331 SOC 2MB Flash/16MB RAM | | v5 (China) | {{:meta:icons:tango:dialog-error.png?nolink&24 | Not supported }} likely unsupportable. [[http://www.right.com.cn/forum/thread-52644-1-1.html|WiP]] | AR9331 SOC 2MB Flash/16MB RAM |
 +| v4.26  | pre? Attitude Adjustment 12.09 |  |
 +| v4.27  | BARRIER BREAKER (Bleeding Edge, r39860) | AR9331-AL3A (400Mhz CPU ), ESMT M13S2561616A(RAM),  Spansion FL032PIF 32Mbit (4Mb) Flash |
**Notes**:  **Notes**: 
 +    * Tested v3 with [[http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/openwrt-ar71xx-generic-tl-wr740n-v3-squashfs-factory.bin|Attitude Adjustment 12.09]], works without apparent problems. My router didn't accepted the .bin file (Error code: 18005), used this [[https://forum.openwrt.org/viewtopic.php?pid=168045#p168045|method for modifying the bin header]] and it worked. [[http://dl.dropbox.com/u/12258575/TP-LINK_TL-WR700N/TL-MR3020_MOD_TL-WR703_ENG/TP%E8%B7%AF%E7%94%B1%E5%9B%BA%E4%BB%B6%E5%A4%B4%E4%BF%AE%E6%94%B9%E5%B7%A5%E5%85%B7.exe|Download tool]].
 +    * Tested v3 with Altitude Adjustment and it works flawlessly once the error mentioned in the above post (Error code: 18005) is bypassed. Alternative method for working around the problem is to use a stock image from another distribution and flash Altitude Adjustment form telnet or ssh. Example can be found [[https://forum.openwrt.org/viewtopic.php?id=40314|here]] bottom of page. Brifly once you login download the Attitude Adjustment image to /tmp with wget, use "mtd -r write //imagefile// linux" to write the image and reboot to OpenWrt fisrt login.
    * Sometime around August 2011 (v4), TP-Link began to use 16MB RAM / 2MB flash for the Chinese versions of many of their devices. International versions retain the 32MB RAM / 4MB flash.     * Sometime around August 2011 (v4), TP-Link began to use 16MB RAM / 2MB flash for the Chinese versions of many of their devices. International versions retain the 32MB RAM / 4MB flash.
    * International versions v4.2 and v4.3 work without apparent problems from trunk r29631 onward.     * International versions v4.2 and v4.3 work without apparent problems from trunk r29631 onward.
 +    * Russian version v4.21 works without apparent problems from trunk r33312 ([[http://downloads.openwrt.org/attitude_adjustment/12.09-beta/ar71xx/generic/|Attitude Adjustment 12.09-beta]])  onward.
 +    * German version v4.21 successfully running with Barrier Breaker (trunk r40572) in [[http://wiki.openwrt.org/doc/recipes/dumbap|Dumb AP / Access Point Only]] mode  ([[http://downloads.openwrt.org/snapshots/trunk/ar71xx/|Barrier Breaker latest trunk]])
 +    * Russian version v4.22 works without apparent problems from trunk r33312 ([[http://downloads.openwrt.org/attitude_adjustment/12.09-beta/ar71xx/generic/|Attitude Adjustment 12.09-beta]])  onward.
    * International version v4.23 works without apparent problems from trunk r33312 ([[http://downloads.openwrt.org/attitude_adjustment/12.09-beta/ar71xx/generic/|Attitude Adjustment 12.09-beta]])  onward.     * International version v4.23 works without apparent problems from trunk r33312 ([[http://downloads.openwrt.org/attitude_adjustment/12.09-beta/ar71xx/generic/|Attitude Adjustment 12.09-beta]])  onward.
 +    * International version v4.24 works without apparent problems with [[http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/openwrt-ar71xx-generic-tl-wr740n-v4-squashfs-factory.bin|Attitude Adjustment 12.09]].
 +    * International version v4.24 works without apparent problems with [[http://downloads.openwrt.org/snapshots/trunk/ar71xx/openwrt-ar71xx-generic-tl-wr740n-v4-squashfs-factory.bin|Barrier Breaker Snapshot]].
Your model version can be identified from the label: see [[http://www.tp-link.com/en/support/download/?model=TL-WR740N|this page]] for details. Your model version can be identified from the label: see [[http://www.tp-link.com/en/support/download/?model=TL-WR740N|this page]] for details.
Line 28: Line 40:
| Atheros AR7240@400MHz | 32MiB | 4MiB | 4 x 1| mod | Yes | No | | Atheros AR7240@400MHz | 32MiB | 4MiB | 4 x 1| mod | Yes | No |
| Atheros AR9330 rev 1@400MHz | 32MiB | 4MiB | 4 x 1| mod | Yes | ? | | Atheros AR9330 rev 1@400MHz | 32MiB | 4MiB | 4 x 1| mod | Yes | ? |
 +| Atheros AR9331 rev 1@400MHz | 32MiB | 4MiB | 4 x 1| no | Yes | ? |
    * Atheros AR9285 wireless chip     * Atheros AR9285 wireless chip
Line 56: Line 68:
    * The [[http://downloads.openwrt.org/snapshots/trunk/ar71xx/openwrt-ar71xx-generic-tl-wr740n-v1-squashfs-factory.bin|trunk WR740n hardware v1 image]] works unmodified and it can be flashed through the stock TP-Link web interface (another file exists for version 3). The v1 file was also successfully tested on hardware version 2.5.     * The [[http://downloads.openwrt.org/snapshots/trunk/ar71xx/openwrt-ar71xx-generic-tl-wr740n-v1-squashfs-factory.bin|trunk WR740n hardware v1 image]] works unmodified and it can be flashed through the stock TP-Link web interface (another file exists for version 3). The v1 file was also successfully tested on hardware version 2.5.
 +
 +    * Hardware version 4.21 works perfectly with the unmodified [[http://downloads.openwrt.org/attitude_adjustment/12.09-beta/ar71xx/generic/openwrt-ar71xx-generic-tl-wr740n-v4-squashfs-factory.bin|Attitude Adjustment (12.09-beta) generic WR740N v4 image]]. The best installation method is flashing it through the stock TP-Link web interface.
 +
 +    * Hardware version 4.22 works perfectly with the unmodified [[http://downloads.openwrt.org/attitude_adjustment/12.09-beta/ar71xx/generic/openwrt-ar71xx-generic-tl-wr740n-v4-squashfs-factory.bin|Attitude Adjustment (12.09-beta) generic WR740N v4 image]]. The best installation method is flashing it through the stock TP-Link web interface.
    * Hardware version 4.23 works perfectly with the unmodified [[http://downloads.openwrt.org/attitude_adjustment/12.09-beta/ar71xx/generic/openwrt-ar71xx-generic-tl-wr740n-v4-squashfs-factory.bin|Attitude Adjustment (12.09-beta) generic WR740N v4 image]]. The best installation method is flashing it through the stock TP-Link web interface.     * Hardware version 4.23 works perfectly with the unmodified [[http://downloads.openwrt.org/attitude_adjustment/12.09-beta/ar71xx/generic/openwrt-ar71xx-generic-tl-wr740n-v4-squashfs-factory.bin|Attitude Adjustment (12.09-beta) generic WR740N v4 image]]. The best installation method is flashing it through the stock TP-Link web interface.
 +
 +    * Hardware version 4.24 works perfectly with the unmodified [[http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/openwrt-ar71xx-generic-tl-wr740n-v4-squashfs-factory.bin|Attitude Adjustment (12.09) generic WR740N v4 image]]. The best installation method is flashing it through the stock TP-Link web interface.
=== Customized OpenWRT firmware for WR740N === === Customized OpenWRT firmware for WR740N ===
Line 67: Line 85:
(page is in romanian only so far..) (page is in romanian only so far..)
-== Hardware version v4.23 ONLY == +== Hardware version v4.23 and v4.24 ONLY == 
-These were prepared using [[http://downloads.openwrt.org/attitude_adjustment/12.09-beta/ar71xx/generic/OpenWrt-ImageBuilder-ar71xx_generic-for-linux-i486.tar.bz2|Attitude Adjustment 12.09-beta ImageBuilder (r33312)]]. Since HW version v4.23 doesn't have any stock USB, any USB stuff was removed from the firmware. Added functionalities include:+These were prepared using [[http://downloads.openwrt.org/attitude_adjustment/12.09-beta/ar71xx/generic/OpenWrt-ImageBuilder-ar71xx_generic-for-linux-i486.tar.bz2|Attitude Adjustment 12.09-beta ImageBuilder (r33312)]]. Since HW version v4.23 or v4.24 doesn't have any stock USB, any USB stuff was removed from the firmware. Added functionalities include:
    * QOS (incl. LuCI support)     * QOS (incl. LuCI support)
    * OpenVPN (incl. LuCI support)     * OpenVPN (incl. LuCI support)
Line 78: Line 96:
</code> </code>
**Notes:** **Notes:**
-    * <color red>The proposed altered **openwrt-ar71xx-generic-tl-wr740n-v4-squashfs-factory.bin** firmware have not been tested</color>, so you'd better first use the default [[http://downloads.openwrt.org/attitude_adjustment/12.09-beta/ar71xx/generic/openwrt-ar71xx-generic-tl-wr740n-v4-squashfs-factory.bin|Attitude Adjustment (12.09-beta) generic WR740N v4 image (r33312)]] to flash your brand new router and then use the proposed altered **openwrt-ar71xx-generic-tl-wr740n-v4-squashfs-sysupgrade.bin** that has been tested and working on my two WR740N v4.23 routers+    * <color red>The proposed altered **openwrt-ar71xx-generic-tl-wr740n-v4-squashfs-factory.bin** firmware have not been tested</color>, so you'd better first use the default [[http://downloads.openwrt.org/attitude_adjustment/12.09-beta/ar71xx/generic/openwrt-ar71xx-generic-tl-wr740n-v4-squashfs-factory.bin|Attitude Adjustment (12.09-beta) generic WR740N v4 image (r33312)]] to flash your brand new router and then use the proposed altered **openwrt-ar71xx-generic-tl-wr740n-v4-squashfs-sysupgrade.bin** that has been tested and working on my two WR740N v4.23 routers.
    * The proposed altered **openwrt-ar71xx-generic-tl-wr740n-v4-squashfs-sysupgrade.bin** that has been tested and working with no problems on my two WR740N v4.23 routers.     * The proposed altered **openwrt-ar71xx-generic-tl-wr740n-v4-squashfs-sysupgrade.bin** that has been tested and working with no problems on my two WR740N v4.23 routers.
    * The space used by the modified firmware is as follows:     * The space used by the modified firmware is as follows:
Line 91: Line 109:
overlayfs:/overlay        320      240        80  75% / overlayfs:/overlay        320      240        80  75% /
</code> </code>
 +You can [[http://gentoo.plexyplanet.org/openwrt/attitude-adjustment-12.09-beta/|download the proposed 12.09-beta firmware from here]].
-You can [[http://gentoo.plexyplanet.org/openwrt/attitude-adjustment-12.09-beta/|download the proposed firmware from here]].+You can [[http://gentoo.plexyplanet.org/openwrt/attitude-adjustment-12.09-final/|download the proposed 12.09 Final firmware from here]]. Since the //luci-app-openvpn// package is broken in 12.09 Final + //wireless-tools// is not used anymore this is the command line used for the preparation of the altered 12.09 Final firmware image: 
 +<code> 
 +make image PROFILE=TLWR740 PACKAGES="base-files busybox dnsmasq dropbear firewall hotplug2 iptables iw jshn kernel kmod-ath kmod-ath9k kmod-ath9k-common kmod-cfg80211 kmod-crypto-aes kmod-crypto-arc4 kmod-crypto-core kmod-gpio-button-hotplug kmod-ipt-conntrack kmod-ipt-core kmod-ipt-nat kmod-ipt-nathelper kmod-leds-gpio kmod-ledtrig-default-on kmod-ledtrig-netdev kmod-ledtrig-timer -kmod-ledtrig-usbdev kmod-lib-crc-ccitt kmod-mac80211 kmod-nls-base kmod-ppp kmod-pppoe kmod-pppox -kmod-usb-core -kmod-usb-ohci -kmod-usb2 kmod-wdt-ath79 libblobmsg-json libc libgcc libip4tc libiwinfo libiwinfo-lua libjson liblua libnl-tiny libubox libubus libubus-lua libuci libuci-lua libxtables lua luci luci-app-firewall luci-i18n-english luci-lib-core luci-lib-ipkg luci-lib-nixio luci-lib-sys luci-lib-web luci-mod-admin-core luci-mod-admin-full luci-proto-core luci-proto-ppp luci-sgi-cgi luci-theme-base luci-theme-openwrt mtd netifd opkg ppp ppp-mod-pppoe swconfig uboot-envtools ubus ubusd uci uhttpd wpad-mini luci-app-qos luci-app-tinyproxy luci-app-upnp openvpn" 
 +</code> 
 +    * Everything said for v4.23 is applicable for v4.24 too (tested by user christoforos, did not cracked open the case though).
==== OEM easy installation ==== ==== OEM easy installation ====
Line 325: Line 348:
{{:toh:tp-link:wr740n_spate.jpg?800|TL-WR740N v2.4 case back}} {{:toh:tp-link:wr740n_spate.jpg?800|TL-WR740N v2.4 case back}}
-=== WR740N v4.23 ===+=== WR740N v4.23 ===
//Case Front:// //Case Front://
-{{:toh:tp-link:case-front.jpg?800|TL-WR740N v4.23 case front view}}+{{:toh:tp-link:case-front.jpg?800|TL-WR740N v4.23 case front view. v4.24 is identical}}
//Case Back:// //Case Back://
Line 335: Line 358:
{{:toh:tp-link:case-back-opening.jpg?800|TL-WR740N v4.23 case back view when opening}} {{:toh:tp-link:case-back-opening.jpg?800|TL-WR740N v4.23 case back view when opening}}
-{{:toh:tp-link:case-back.jpg?800|TL-WR740N v4.23 case back view}}+{{:toh:tp-link:case-back.jpg?800|TL-WR740N v4.23 case back view v4.24 is identical}}
//Board Front:// //Board Front://
Line 370: Line 393:
The v4.23 uses the standard TP-Link pinout, however the TX pin is not connected to the CPU. In order to make the TX line working, the two points on the bottom side of the PCB must be connected with a small wire. The pin at the SOC is labeled TP18, the one at the serial connector is labeled TP28. T**he RX line is 5V intolerant!** So the connection needs a 3.3V RS232 level shifter. Pins on the connector on the photo are TX-RX-GND-3V3(VCC) (from left to right). The v4.23 uses the standard TP-Link pinout, however the TX pin is not connected to the CPU. In order to make the TX line working, the two points on the bottom side of the PCB must be connected with a small wire. The pin at the SOC is labeled TP18, the one at the serial connector is labeled TP28. T**he RX line is 5V intolerant!** So the connection needs a 3.3V RS232 level shifter. Pins on the connector on the photo are TX-RX-GND-3V3(VCC) (from left to right).
-Baudrate: //**115200 n8**// +  - Download http://downloads.openwrt.org/attitude_adjustment/12.09-beta/ar71xx/generic/openwrt-ar71xx-generic-tl-wr740n-v4-squashfs-factory.bin to your TFTP server. 
- + - Hook your routers WAN ethernet port up to your network 
-Use the steps descibed in [[tl-wr841nd#tftp.install|TP-Link WR741ND TFTP Installation]]+ - Hook up the serial console as explained in the section "serial console" and do the "tpl" trick to get console access 
 +  - Now we need to set router and server IP addresses (here named ROUTERIP and SERVERIP, substitute these with the real IP addresses). Type in the console:<code> 
 + setenv ipaddr ROUTERIP 
 + setenv serverip SERVERIP 
 + printenv</code> 
 +  - Double check that the output of printenv lists the IP addresses you just set. Now we can load the firmware over TFTP with "tftpboot 0x81000000 openwrt-ar71xx-generic-tl-wr740n-v4-squashfs-factory.bin":<code> 
 +tftpboot 0x81000000 openwrt-ar71xx-generic-tl-wr740n-v4-squashfs-factory.bin 
 +erase 0x9f020000 +0x3c0000 
 +cp.b 0x81000000 0x9f020000 0x3c0000 
 +bootm 9f020000 
 +</code>
{{:toh:tp-link:tl-wr740n-v423-board-downside-uart.jpg?800|TL-WR740N v4.23 pins layout}} {{:toh:tp-link:tl-wr740n-v423-board-downside-uart.jpg?800|TL-WR740N v4.23 pins layout}}
Line 383: Line 415:
{{:toh:tp-link:usb-to-uart-ttl.jpg?800|USB to UART TTL gadget}} {{:toh:tp-link:usb-to-uart-ttl.jpg?800|USB to UART TTL gadget}}
- 
===== Debricking ===== ===== Debricking =====
Line 407: Line 438:
  * firstboot - all settings will be reset.   * firstboot - all settings will be reset.
  * /rom/sbin/reboot - will reboot even without a mounted filesystem.   * /rom/sbin/reboot - will reboot even without a mounted filesystem.
 +
 +===== Bootloader Mods =====
 +  - you could read about [[doc:techref:bootloader]] in general and about [[doc:techref:bootloader:uboot|Das U-Boot]] in particular.
 +
 +==== U-Boot 1.1.4 modification for routers ====
 +Forum member [[https://forum.openwrt.org/profile.php?id=72549|pepe2k]] made a modification of **U-Boot 1.1.4** for **Qualcomm Atheros** SoCs based devices (the project is still being developed, so new devices and SoCs will be supported in the future). Up to date information, binary images and sources can be found on official [[https://github.com/pepe2k/u-boot_mod|GitHub repository]].
 +
 +This modification started from [[http://code.google.com/p/wr703n-uboot-with-web-failsafe/|wr703n-uboot-with-web-failsafe]] project, but supports more devices, all modern web browsers, has a lot of improvements and other modifications (like U-Boot NetConsole, custom commands, overclocking possibilities etc.).
 +
 +More information:
 +
 +  * Official repository on GitHub: [[https://github.com/pepe2k/u-boot_mod|U-Boot 1.1.4 modification for routers]]
 +  * Discussion about this project on [[https://forum.openwrt.org/viewtopic.php?id=43237|OpenWrt forum]]
 +  * An article (in Polish) about one of the first version of this project on [[http://www.tech-blog.pl/2013/03/29/zmodyfikowany-u-boot-dla-routerow-tp-link-z-atheros-ar9331-z-trybem-aktualizacji-oprogramowania-przez-www-i-konsola-sieciowa-netconsole/|www.tech-blog.pl]]
===== Notes ===== ===== Notes =====
 +
==== Links ==== ==== Links ====
  * [[http://phobosk.wordpress.com/2012/10/21/how-to-turn-your-tp-link-tl-wrt740n-router-into-a-fully-functional-one-using-openwrt/|A TL-WR740N v4.23 step by step tutorial for novice OpenWrt users]]   * [[http://phobosk.wordpress.com/2012/10/21/how-to-turn-your-tp-link-tl-wrt740n-router-into-a-fully-functional-one-using-openwrt/|A TL-WR740N v4.23 step by step tutorial for novice OpenWrt users]]

Back to top

toh/tp-link/tl-wr740n.1361149484.txt.bz2 · Last modified: 2013/02/18 02:04 by ayaka