Differences

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

toh:tp-link:tl-wr841nd [2013/10/30 04:46]
denix
toh:tp-link:tl-wr841nd [2014/04/15 17:15] (current)
skyhirider v9 version has 64 ram according to https://forum.openwrt.org/viewtopic.php?id=48355
Line 7: Line 7:
  * 4 MB Flash   * 4 MB Flash
-**''Note1''**: The TL-WR841N is identical except that the antennas are not detachable. TP-Link naming scheme is, that devices ending in a D have **d**etachable antennas.\\+**''Note1''**: The [[.:tl-wr841n|TL-WR841N]] is identical except that the antennas are not detachable. TP-Link naming scheme is, that devices ending in a D have **d**etachable antennas.\\
**''Note2:''** v5.4, v5.2 etc. are all v5. The only difference is the firmware version the come with. **''Note2:''** v5.4, v5.2 etc. are all v5. The only difference is the firmware version the come with.
===== Clones ===== ===== Clones =====
-Known clones of this device TP-Link TL-WR841ND v8:  Mercury MW300R v3 and Fast FW300R v3. + 
 +Known clones of this device
 +  * TP-Link TL-WR841ND v7: Rosewill Wireless N Router RNX-N300RT -- see [[..:rosewill/rnx-n300rt]] 
 + * TP-Link TL-WR841ND v8: Mercury MW300R v3 and Fast FW300R v3.
===== Supported Versions ===== ===== Supported Versions =====
Line 28: Line 31:
| v7.2 | - |  12.09  | UFO shape -- Fully working with 12.09 | | v7.2 | - |  12.09  | UFO shape -- Fully working with 12.09 |
| v8.x (chinese version) | - |  Trunk r29631(modified)  | need hardware mod | | v8.x (chinese version) | - |  Trunk r29631(modified)  | need hardware mod |
-| v8.x (Intl) | 2012-Aug |  [[http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/openwrt-ar71xx-generic-tl-wr841n-v8-squashfs-factory.bin|12.09]]  | [[.:tl-db120|DB120]] |+| v8.x (Intl) | 2012-Aug |  [[http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/openwrt-ar71xx-generic-tl-wr841n-v8-squashfs-factory.bin|12.09]]  | [[.:tl-db120|DB120]] - [[https://dev.openwrt.org/ticket/15448|IPv6 bug]] | 
 +| v9 | 2014 | trunk r40400 | it's booting (tested with r40449) |
===== Hardware ===== ===== Hardware =====
-^ Version ^ v3 ^ v5 ^ v7.1 ^ v7.2 ^ v8.0 ^ +^ Version ^ v3 ^ v5 ^ v7.1 ^ v7.2 ^ v8.0 ^ v9.0 ^ 
-| **[[wp>Instruction set]]:** | [[wp>MIPS Architecture|MIPS]] ||||| +| **[[wp>Instruction set]]:** | [[wp>MIPS Architecture|MIPS]] |||||| 
-| **Vendor:** | Atheros ||||| +| **Vendor:** | Atheros |||||| 
-| **[[doc:techref:Bootloader]]:** | [[doc:techref:Bootloader:UBoot]] ||||| +| **[[doc:techref:Bootloader]]:** | [[doc:techref:Bootloader:UBoot]] |||||| 
-| **[[doc:hardware:soc|System-On-Chip]]:** | AR9130 | AR7240 rev 2 | AR7241 rev 1 | AR7241-AH1A | AR9341 | +| **[[doc:hardware:soc|System-On-Chip]]:** | AR9130 | AR7240 rev 2 | AR7241 rev 1 | AR7241-AH1A | AR9341 | QCA9533-AL3A
-| **[[doc:hardware:CPU]] Frq:** | 400 Mhz | 400 Mhz | 400 Mhz | 400 Mhz | 535 Mhz | +| **[[doc:hardware:CPU]] Frq:** | 400 Mhz | 400 Mhz | 400 Mhz | 400 Mhz | 535 Mhz | 550 MHz
-| **BogoMIPS:** | 265.42 | 266.24 | 265.42 | 265.42 | 266.64 | +| **BogoMIPS:** | 265.42 | 266.24 | 265.42 | 265.42 | 266.64 | 366.18
-| **Flash-Chip:** | ? | ? | ? | cFeon F32-100HIP (?) | FL032PIF | +| **Flash-Chip:** | ? | ? | ? | cFeon F32-100HIP (?) | FL032PIF | ?
-| **Flash size:** | 4 MiB | 4 MiB | 4 MiB | 4 MiB | 4 MiB | +| **Flash size:** | 4 MiB | 4 MiB | 4 MiB | 4 MiB | 4 MiB | 4 MiB | 
-| **RAM-Chip:** | ? | ? | ? | Zentel A3S56D40ETP-G5 | ? | +| **RAM-Chip:** | ? | ? | ? | Zentel A3S56D40ETP-G5 | ? | ? | 
-| **RAM size:** | 32 MiB | 32 MiB | 32 MiB | 32 MiB | 32 MiB | +| **RAM size:** | 32 MiB | 32 MiB | 32 MiB | 32 MiB | 32 MiB | 64 MiB | 
-| **Wireless No1:** | Atheros AR9100 Rev:7 | Atheros AR9280 Rev:2 | Atheros AR9287 Rev2, 2.4GHz, 802.11bgn | Atheros AR9287-BL1A 2.4ghz 802.11bgn | AR9341 | +| **Wireless No1:** | Atheros AR9100 Rev:7 | Atheros AR9280 Rev:2 | Atheros AR9287 Rev2, 2.4GHz, 802.11bgn | Atheros AR9287-BL1A 2.4ghz 802.11bgn | AR9341 | QCA9533-AL3A
-| **Wireless No2:** | none ||||| +| **Wireless No2:** | none |||||| 
-| **[[doc:hardware:Switch]]:** | ? | AR7240 built-in switch | AR7240/AR9330 built-in switch | ? | AR9341 built-in switch | +| **[[doc:hardware:Switch]]:** | ? | AR7240 built-in switch | AR7240/AR9330 built-in switch | ? | AR9341 built-in switch | QCA9533-AL3A build-in
-| **USB:** | ? | [[#usb.1.1.port|Unpopulated]] | [[#usb.2.0.port.on.v7| unpopulated ]] | ? | ? | +| **USB:** | ? | [[#usb.1.1.port|Unpopulated]] | [[#usb.2.0.port.on.v7| unpopulated ]] | ? | ? | ? | 
-| **[[doc:hardware:port.serial|Serial]]:** | [[#Serial|Yes]] | [[#Serial|Yes]] | [[#Serial|Yes]] | [[#Serial|Yes]] | [[#Serial|Yes]] | +| **[[doc:hardware:port.serial|Serial]]:** | [[#Serial|Yes]] | [[#Serial|Yes]] | [[#Serial|Yes]] | [[#Serial|Yes]] | [[#Serial|Yes]] | [[#Serial|Remove R26]] | 
-| **[[doc:hardware:port.jtag|JTAG]]:** | ? | ? | ? | ? | [[#JTAGlYes]] |+| **[[doc:hardware:port.jtag|JTAG]]:** | ? | ? | ? | ? | [[#JTAGlYes]] | ? |
===== Installation ===== ===== Installation =====
Line 72: Line 76:
==== TFTP install ==== ==== TFTP install ====
-Beware that this installation method needs a TTL level serial console and a working TFTP server and should not be attempted unless you have experience with this sort of thing or are eager to learn :)+Beware that this installation method needs a [[http://wiki.openwrt.org/doc/hardware/port.serial|TTL level serial console]] and [[http://wiki.openwrt.org/doc/howto/generic.flashing.tftp|a working TFTP server]] and should not be attempted unless you have experience with this sort of thing or are eager to learn.
This is taken more or less verbatim from https://forum.openwrt.org/viewtopic.php?id=24203, thanks to dl3daz. This is taken more or less verbatim from https://forum.openwrt.org/viewtopic.php?id=24203, thanks to dl3daz.
-  - Download http://downloads.openwrt.org/backfire/10.03/ar71xx/openwrt-ar71xx-tl-wr841nd-v5-squashfs-factory.bin to your TFTP server.+  - Download [[http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/|an appropriate image]] to serve from your TFTP server (for example, http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/openwrt-ar71xx-generic-tl-wr841n-v8-squashfs-factory.bin).
  - Hook your routers WAN ethernet port up to your network (for v8.2 it's LAN1 ethernet port)   - Hook your routers WAN ethernet port up to your network (for v8.2 it's LAN1 ethernet port)
  - Hook up the serial console as explained in the section "serial console". At the prompt "Autobooting in 1 seconds" type "tpl" quickly to start a uboot console.   - Hook up the serial console as explained in the section "serial console". At the prompt "Autobooting in 1 seconds" type "tpl" quickly to start a uboot console.
Line 84: Line 88:
printenv printenv
</code> </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 0x80000000 openwrt-ar71xx-tl-wr841nd-v5-squashfs-factory.bin": <code> +  - Double check that the output of printenv lists the IP addresses you just set
-ar7240> tftpboot 0x80000000 openwrt-ar71xx-tl-wr841nd-v5-squashfs-factory.bin+  - At least on v8.2, uboot needs the tftp server to be listening on port 69. Make sure your server is configured to listen to that port. Now we can load the firmware over TFTP with "tftpboot 0x80000000 openwrt-ar71xx-generic-tl-wr841n-v8-squashfs-factory.bin": <code> 
 +ar7240> tftpboot 0x80000000 openwrt-ar71xx-generic-tl-wr841n-v8-squashfs-factory.bin
Using eth0 device Using eth0 device
TFTP from server 192.168.32.253; our IP address is 192.168.32.246 TFTP from server 192.168.32.253; our IP address is 192.168.32.246
-Filename 'openwrt-ar71xx-tl-wr841nd-v5-squashfs-factory.bin'.+Filename 'openwrt-ar71xx-generic-tl-wr841n-v8-squashfs-factory.bin'.
Load address: 0x80000000 Load address: 0x80000000
Loading: checksum bad Loading: checksum bad
Line 129: Line 134:
</code> </code>
-  - You're set, OpenWrt should now boot and you can set it up as usual:<code> + 
-U-Boot 1.1.4 (Apr  9 2009 - 12:29:57)</code>+ 
 +For TL-WR841ND v8.2: 
 + 
 +First of all, you need a TTL-RS232 level shifter, like this or DKU-5 data cable. It's work with other boards. 
 + 
 +{{:media:max3232.gif?500}} 
 + 
 + 
 +1. Hook your computer into the LAN1 ethernet port and configure this static ip for your LAN card 192.168.1.100. If your computer containing other LAN or Wifi card, disable it! 
 + 
 +2. Type in the console 
 +<code>setenv ipaddr 192.168.1.111 
 +setenv serverip 192.168.1.100</code> 
 +192.168.1.111 is the router ip, 192.168.1.100 is the TFTP server ip. 
 + 
 +3. Check settings with this command, but it's not necessary. 
 +<code>printenv</code> 
 +4. Load the firmware to RAM, witch is not containing the bootloader: 
 +<code>wasp> tftp 0x81000000 firmwarename.bin 
 +Using eth0 device 
 +TFTP from server 192.168.1.100; our IP address is 192.168.1.111 
 +Filename 'firmwarename.bin'. 
 +Load address: 0x81000000 
 +Loading: 
 +        ################################################################# 
 +        ################################################################# 
 +        ################################################################# 
 +        ################################################################# 
 +        ################################################################# 
 +        ################################################################# 
 +        ################################################################# 
 +        ################################################################# 
 +        ################################################################# 
 +        ################################################################# 
 +        ################################################################# 
 +        ###################################################### 
 +done 
 +Bytes transferred = 3932160 (3c0000 hex)</code> 
 + 
 +Firmware is now in the RAM. 
 + 
 +5. Erase the flash: 
 +<code>wasp> erase 0x9f020000 +0x3c0000</code> 
 +6. Copy RAM content to flash: 
 +<code>wasp> cp.b 0x81000000 0x9f020000 0x3c0000 
 +</code> 
 +7. Set up the boot 
 +<code>wasp> bootm 0x9f020000 
 +## Booting image at 9f020000 ... 
 +Uncompressing Kernel Image ... OK 
 + 
 +Starting kernel ...</code> 
 + 
 +8. Done ;-) 
 + 
 + 
===== Go back to original firmware ===== ===== Go back to original firmware =====
Line 139: Line 200:
  * tested to work on n, might work on nd 9-11-2013 - note - edited link to ND and it also downloaded the same file.  Thanks to Undermonster on openwrt forum.   * tested to work on n, might work on nd 9-11-2013 - note - edited link to ND and it also downloaded the same file.  Thanks to Undermonster on openwrt forum.
 +  * Note: restore to old (smaller) firmware mentioned above to avoid "[e]Failed to erase block" error, then upgrade in the TP-Link web interface to the latest firmware [[http://www.tp-link.com/resources/software/TL-WR841N_V8_130506.zip| TL-WR841N_V8_130506]]
  * Upload it to ''/tmp''-directory on your router and execute:<code>   * Upload it to ''/tmp''-directory on your router and execute:<code>
Line 214: Line 276:
Another user notes: My TP-LINK WR841ND V7.2 has a VCC of +3.3V and like the TL-MR3420 [[http://wiki.openwrt.org/toh/tp-link/tl-mr3420#serial]] needed to connect a 10k pullup resistor between the TX and the 3.3V pin to get reliable serial. Another user notes: My TP-LINK WR841ND V7.2 has a VCC of +3.3V and like the TL-MR3420 [[http://wiki.openwrt.org/toh/tp-link/tl-mr3420#serial]] needed to connect a 10k pullup resistor between the TX and the 3.3V pin to get reliable serial.
 +
 +{{:media:dsc02532_324.jpg?250|}}
Yet another user notes: My TP-Link WR841ND V7.1 also requires the 10k pullup resistor between TX and the 3.3V pin.  Without the resistor I just get garbage when I type, but can see some console output. Yet another user notes: My TP-Link WR841ND V7.1 also requires the 10k pullup resistor between TX and the 3.3V pin.  Without the resistor I just get garbage when I type, but can see some console output.
 +
 +Yet another-another user notes:just swap TX and GND pin in serial and no garbage in serial console, but this is read-only.
 +
 +Yet another-another-another user notes: For my TP-Link TL-WR841ND v8.4 was not required 10K resistor. Connection you can see on the following image:
 +{{:media:tplink-841nd-v8-4-serial.jpg?450|}}
 +
 +Futher notes: For my TP-Link TL841N v9.0 i had to remove R26. It's a pull-up between RX (device side) and VCC. My ftdi device couldn't send data with R26 attached.
 +
 +I think my TTL to RS232 converter has bad marking of Tx and Rx pins. So, it was necessary to connect Tx-Tx and Rx-Rx. Connection of Vcc (3.3V) was necessary too.
 +
 +**Tip:** Connecting TL-WR841N v8.1 via Arduino Due R3 ([[https://forum.openwrt.org/viewtopic.php?id=37010&p=6 | forum link]]):
 +
 +{{:media:tp-link-tl-wr841n-v8-2.jpeg?450|}}
 +
=== Serial port settings: === === Serial port settings: ===
-^ Version ^ v3.2 ^ v5 ^ v7.X ^ v8.4 ^ +^ Version ^ v3.2 ^ v5 ^ v7.X ^ v8.4 ^ v9.0
-| **Image** | {{:toh:tp-link:tl-wr841nd-v3.2-serial.jpg?250|}} | {{:toh:tp-link:wr841nd-v5-serial.jpg?250|}} | {{:toh:tp-link:tl-wr841nd.v7.2.serial.jpg?250|}} | {{:media:toh:tp-link:tl-wr841nd.v8.4.serial.jpg?250|tl-wr841nd.v7.2.serial.jpg}} | +| **Image** | {{:toh:tp-link:tl-wr841nd-v3.2-serial.jpg?250|}} | {{:toh:tp-link:wr841nd-v5-serial.jpg?250|}} | {{:toh:tp-link:tl-wr841nd.v7.2.serial.jpg?250|}} | {{:media:toh:tp-link:tl-wr841nd.v8.4.serial.jpg?250}} | {{:media:toh:tp-link:tp-link:tl-wr841nd.v9.0.serial.jpg?250}} | 
-| **U-Boot speed** | 9600 | 115200 ||| +| **U-Boot speed** | 9600 | 115200 |||| 
-| **kernel speed** | 115200 - switch automaticaly | 115200 ||| +| **kernel speed** | 115200 - switch automaticaly | 115200 |||| 
-| **Data format** | always 8N1 ||||+| **Data format** | always 8N1 |||||
After connecting, you will be greeted by something like this: After connecting, you will be greeted by something like this:
Line 286: Line 364:
==== Can not connect to v8? ==== ==== Can not connect to v8? ====
check whether eth0/eth1 are switched! check whether eth0/eth1 are switched!
 +
 +===== 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 =====

Back to top

toh/tp-link/tl-wr841nd.1383104817.txt.bz2 · Last modified: 2013/10/30 04:46 by denix