Differences

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

toh:tp-link:tl-wr741nd [2013/10/29 14:50]
rolandx1
toh:tp-link:tl-wr741nd [2014/03/05 18:55] (current)
valentt
Line 13: Line 13:
| v1.6 | 2011-10? | Backfire 10.03.1 | [[https://forum.openwrt.org/viewtopic.php?pid=146140#p146140|Success]] | | v1.6 | 2011-10? | Backfire 10.03.1 | [[https://forum.openwrt.org/viewtopic.php?pid=146140#p146140|Success]] |
| v1.8 | - | Backfire 10.03 | [[https://forum.openwrt.org/viewtopic.php?id=24902| Success]] | | v1.8 | - | Backfire 10.03 | [[https://forum.openwrt.org/viewtopic.php?id=24902| Success]] |
-| v1.9 | 2010-10 | Backfire 10.03.1 (r23714) | [[https://dev.openwrt.org/ticket/8146|8146]] |+| v1.9 | 2010-10 | Backfire 10.03.1 (r23714),  **Attitude Adjustment 12.09** | [[https://dev.openwrt.org/ticket/8146|8146]]; Attitude Adjustment (12.09 final) tested and seems OK. |
| v2 | - | trunk (r29614) | Tested, working correctly. [[http://downloads.openwrt.org/snapshots/trunk/ar71xx/openwrt-ar71xx-generic-tl-wr741nd-v2-squashfs-factory.bin|(r29614)]] | | v2 | - | trunk (r29614) | Tested, working correctly. [[http://downloads.openwrt.org/snapshots/trunk/ar71xx/openwrt-ar71xx-generic-tl-wr741nd-v2-squashfs-factory.bin|(r29614)]] |
| v2.1 | - | {{:meta:icons:tango:dialog-error.png?nolink&24 | Test at your own risk }} trunk (r27195) | [[https://forum.openwrt.org/viewtopic.php?id=30339|notes]] | | v2.1 | - | {{:meta:icons:tango:dialog-error.png?nolink&24 | Test at your own risk }} trunk (r27195) | [[https://forum.openwrt.org/viewtopic.php?id=30339|notes]] |
| v2.3 | - | {{:meta:icons:tango:dialog-error.png?nolink&24 | Test at your own risk }} trunk (r28601) | Tested Backfire revision 28601 | | v2.3 | - | {{:meta:icons:tango:dialog-error.png?nolink&24 | Test at your own risk }} trunk (r28601) | Tested Backfire revision 28601 |
-| v2.4 | - | {{:meta:icons:tango:dialog-error.png?nolink&24 | Test at your own risk }} trunk (r26878) | Rounded chassis (box branded WR740N). Using r30919 needed [[https://forum.openwrt.org/viewtopic.php?id=30339|notes]] to access the router. **Attitude Adjustment 12.09-beta tested, works.**|+| v2.4 | - | Attitude Adjustment 12.09 | Rounded chassis (box branded WR740N). Using r30919 needed [[https://forum.openwrt.org/viewtopic.php?id=30339|notes]] to access the router. |
| v3 | 2011-08 | {{:meta:icons:tango:dialog-error.png?nolink&24 | Test at your own risk }} untested |  | | v3 | 2011-08 | {{:meta:icons:tango:dialog-error.png?nolink&24 | Test at your own risk }} untested |  |
| v3.1 | - | {{:meta:icons:tango:dialog-error.png?nolink&24 | Test at your own risk }} tested | [[https://forum.openwrt.org/viewtopic.php?pid=142541#p142541| First report ]] | | v3.1 | - | {{:meta:icons:tango:dialog-error.png?nolink&24 | Test at your own risk }} tested | [[https://forum.openwrt.org/viewtopic.php?pid=142541#p142541| First report ]] |
Line 30: Line 30:
====== Hardware Highlights ====== ====== Hardware Highlights ======
^ CPU ^ Ram ^ Flash ^ Network ^ USB ^ Serial ^ JTag ^ ^ CPU ^ Ram ^ Flash ^ Network ^ USB ^ Serial ^ JTag ^
-| Atheros AR7240 @ 350 MHz | 32 MiB | 4 MiB | 4 x 1| mod | Yes | No |+| Atheros AR7240 @ 350 MHz | 32 MB | 4 MB | 4 x 1| mod | Yes | No |
  * Atheros AR9285 wireless chip   * Atheros AR9285 wireless chip
Line 113: Line 113:
http://downloads.openwrt.org/snapshots/trunk/ar71xx/openwrt-ar71xx-generic-tl-wr741nd-v4-squashfs-sysupgrade.bin http://downloads.openwrt.org/snapshots/trunk/ar71xx/openwrt-ar71xx-generic-tl-wr741nd-v4-squashfs-sysupgrade.bin
|r38570]] | | | | | | |r38570]] | | | | | |
 +|  4.X | Trunk lastest ((Release number vary more frequently than Wiki update)) | [[
 +http://downloads.openwrt.org/snapshots/trunk/ar71xx/openwrt-ar71xx-generic-tl-wr741nd-v4-squashfs-sysupgrade.bin
 +|r39406]] | | | | | |
 +|  4.X | Trunk lastest ((Release number vary more frequently than Wiki update)) | [[
 +http://downloads.openwrt.org/snapshots/trunk/ar71xx/openwrt-ar71xx-generic-tl-wr741nd-v4-squashfs-sysupgrade.bin
 +|r39755]] | | | | | |
  *Download **PuTTY** and **PSCP** [[http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html|tools for SSH connection]] even if you don't know what SSH is.   *Download **PuTTY** and **PSCP** [[http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html|tools for SSH connection]] even if you don't know what SSH is.
Line 417: Line 423:
  * V4.3 version of the router contains an MP1482DS step down voltage regulator, with the voltage range from 4.75V to 18V. This are absolute maximum ratings, other components might not be able to withstand this voltage range. 5V to 15V should be a safe range (don't try this on other versions that V4.3 if you aren't sure)   * V4.3 version of the router contains an MP1482DS step down voltage regulator, with the voltage range from 4.75V to 18V. This are absolute maximum ratings, other components might not be able to withstand this voltage range. 5V to 15V should be a safe range (don't try this on other versions that V4.3 if you aren't sure)
 +===== 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]]
===== Hardware mods ===== ===== Hardware mods =====
Line 479: Line 498:
You can read detailed instructions on [[https://forum.openwrt.org/viewtopic.php?id=37368|the forum]]. You can read detailed instructions on [[https://forum.openwrt.org/viewtopic.php?id=37368|the forum]].
-You also need this minor kernel patch:+You also need this minor kernel patch (verified against Attitude Adjustment 12.09):
| <code diff> | <code diff>
- +Index: target/linux/ar71xx/patches-3.3/990-WR741ND-usb.patch 
---- a/files/arch/mips/ar71xx/Kconfig +=================================================================== 
-+++ b/files/arch/mips/ar71xx/Kconfig +--- target/linux/ar71xx/patches-3.3/990-WR741ND-usb.patch (revision 0) 
-@@ -167,6 +167,7 @@ ++++ target/linux/ar71xx/patches-3.3/990-WR741ND-usb.patch (revision 0) 
-       select AR71XX_DEV_AP91_PCI if PCI +@@ -0,0 +1,10 @@ 
-       select AR71XX_DEV_GPIO_BUTTONS ++--- a/arch/mips/ath79/Kconfig 2013-03-12 15:18:29.827389883 +0400 
-       select AR71XX_DEV_LEDS_GPIO +++++ b/arch/mips/ath79/Kconfig 2013-03-12 15:21:57.884753554 +0400 
-+       select AR71XX_DEV_USB ++@@ -506,6 +506,7 @@ 
-       default n ++ select ATH79_DEV_AP9X_PCI if PCI 
-  ++ select ATH79_DEV_ETH 
- config AR71XX_MACH_TL_WR841N_V1 ++ select ATH79_DEV_GPIO_BUTTONS 
---- a/files/arch/mips/ar71xx/mach-tl-wr741nd.c +++ select ATH79_DEV_USB 
-+++ b/files/arch/mips/ar71xx/mach-tl-wr741nd.c ++ select ATH79_DEV_LEDS_GPIO 
-@@ -20,6 +20,7 @@ ++ select ATH79_DEV_M25P80 
- #include "dev-ap91-pci.h"++  
 +Index: target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr741nd.c 
 +=================================================================== 
 +--- target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr741nd.c (revision 36033) 
 ++++ target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr741nd.c (working copy) 
 +@@ -16,6 +16,7 @@ 
 + #include "dev-eth.h"
#include "dev-gpio-buttons.h" #include "dev-gpio-buttons.h"
#include "dev-leds-gpio.h" #include "dev-leds-gpio.h"
+#include "dev-usb.h" +#include "dev-usb.h"
 + #include "dev-m25p80.h"
 + #include "machtypes.h"
- #define TL_WR741ND_GPIO_LED_QSS                0 +@@ -97,6 +98,8 @@ 
- #define TL_WR741ND_GPIO_LED_SYSTEM    1 + u8 *mac = (u8 *) KSEG1ADDR(0x1f01fc00); 
-@@ -99,6 +100,8 @@ + u8 *ee = (u8 *) KSEG1ADDR(0x1fff1000);
-       u8 *mac = (u8 *) KSEG1ADDR(0x1f01fc00); +
-       u8 *ee = (u8 *) KSEG1ADDR(0x1fff1000);+
-+       ar71xx_add_device_usb();++ ath79_register_usb();
+ +
-        ar71xx_add_device_m25p80(&tl_wr741nd_flash_data);+ ath79_register_m25p80(&tl_wr741nd_flash_data);
-        ar71xx_add_device_leds_gpio(-1, ARRAY_SIZE(tl_wr741nd_leds_gpio),+ ath79_gpio_function_disable(AR724X_GPIO_FUNC_ETH_SWITCH_LED0_EN | 
</code> | </code> |
Line 558: Line 584:
root@OpenWrt:/#</code> | root@OpenWrt:/#</code> |
-In 3.2.9  +**Also firmware for 741nd is working in 743nd**
-I change from +
-<code>+    ar71xx_add_device_usb();</code> +
-to  +
-<code>+    ath79_register_usb();</code>+
 +=== WR741 V1, V2 USB mod on trunk (Barrier Breaker) ===
 +Note: Modification for V4 is not needed. The files are already patched.
-=== For new trunks r3+ the patch is changed ===+1. Setup you Buildroot (download the source, install the packages, make defconfig, make prereq, make menuconfig
-for manual patching **Kconfig** +2. Select the needed packages - kmod-usb-storage block-mount kmod-fs-ext4 e2fsprogs (you can add other kmod-fs modules for other file systems like NTFS and fat) 
-cd into **/trunk/build_dir/linux-ar71xx_generic/linux-3.3.8/arch/mips/ath79** + 
-and edit the wr741nd code.  +3. Run make (build the source). 
-You may also edit for wr743nd+ 
 +4. Edit the following file (MUST BUILD FIRST!!!): 
 + 
 +4.1 build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/linux-3.10.32/arch/mips/ath79/mach-tl-wr741nd.c 
 + 
 +After: <code>#include "dev-gpio-buttons.h"</code> 
 + 
 +Add: <code>#include "dev-usb.h"</code> 
 + 
 +After: <code>ath79_register_eth(0);</code> 
 + 
 +Add: <code>ath79_register_usb();</code> 
 +  
 +4.2 build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/linux-3.10.32/arch/mips/ath79/Kconfig 
 + 
 +Add: <code>select ATH79_DEV_USB</code> 
 + 
 +After:
<code> <code>
config ATH79_MACH_TL_WR741ND config ATH79_MACH_TL_WR741ND
- bool "TP-LINK TL-WR741ND support" +      bool "TP-LINK TL-WR741ND support" 
- select SOC_AR724X +     select SOC_AR724X 
- select ATH79_DEV_AP9X_PCI if PCI +     select ATH79_DEV_AP9X_PCI if PCI 
- select ATH79_DEV_ETH +     select ATH79_DEV_ETH 
- select ATH79_DEV_GPIO_BUTTONS +     select ATH79_DEV_GPIO_BUTTONS 
- select ATH79_DEV_USB +     select ATH79_DEV_LEDS_GPIO 
- select ATH79_DEV_LEDS_GPIO +     select ATH79_DEV_M25P80
- select ATH79_DEV_M25P80+
</code> </code>
-for **mach-tl-wr741nd.c** change folowing line +5. Make (compile) once again. Now usb support should work.
-<code> +
- ath79_register_usb()+
-</code> +
-if those files are not available build the toolchain first +
-<code>make prereq && make tools/install && make toolchain/install</code>+
-**Patch for Attitude Adjustment 12.09-rc1. (revision 36033):** 
-| <code diff> 
-Index: target/linux/ar71xx/patches-3.3/990-WR741ND-usb.patch 
-=================================================================== 
---- target/linux/ar71xx/patches-3.3/990-WR741ND-usb.patch (revision 0) 
-+++ target/linux/ar71xx/patches-3.3/990-WR741ND-usb.patch (revision 0) 
-@@ -0,0 +1,10 @@ 
-+--- a/arch/mips/ath79/Kconfig 2013-03-12 15:18:29.827389883 +0400 
-++++ b/arch/mips/ath79/Kconfig 2013-03-12 15:21:57.884753554 +0400 
-+@@ -506,6 +506,7 @@ 
-+ select ATH79_DEV_AP9X_PCI if PCI 
-+ select ATH79_DEV_ETH 
-+ select ATH79_DEV_GPIO_BUTTONS 
-++ select ATH79_DEV_USB 
-+ select ATH79_DEV_LEDS_GPIO 
-+ select ATH79_DEV_M25P80 
-+  
-Index: target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr741nd.c 
-=================================================================== 
---- target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr741nd.c (revision 36033) 
-+++ target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr741nd.c (working copy) 
-@@ -16,6 +16,7 @@ 
- #include "dev-eth.h" 
- #include "dev-gpio-buttons.h" 
- #include "dev-leds-gpio.h" 
-+#include "dev-usb.h" 
- #include "dev-m25p80.h" 
- #include "machtypes.h" 
-  
-@@ -97,6 +98,8 @@ 
- u8 *mac = (u8 *) KSEG1ADDR(0x1f01fc00); 
- u8 *ee = (u8 *) KSEG1ADDR(0x1fff1000); 
-  
-+ ath79_register_usb(); 
-+ 
- ath79_register_m25p80(&tl_wr741nd_flash_data); 
-  
- ath79_gpio_function_disable(AR724X_GPIO_FUNC_ETH_SWITCH_LED0_EN | 
-</code> | 
- 
- 
-**Also firmware for 741nd is working in 743nd** 
===== Software mods ===== ===== Software mods =====

Back to top

toh/tp-link/tl-wr741nd.1383054610.txt.bz2 · Last modified: 2013/10/29 14:50 by rolandx1