OpenWrt Forum Archive

Topic: TL-WR841N v12

The content of this topic has been archived on 27 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi all
Am very new to all of this so can you take it easy on me.

I just bought the above router today, but want to install OpenWRT on it and I've looked on the various pages and the latest link for download is v11, what can I do? This router is possible buy only in china.

Thanks

How does TL-WR841N v12 differ from v11?

To find out, provide a complete serial bootlog + pictures of each and every chip on the mainboard of the router.

hello, I add pictures and serial output:

System-On-Chip: QCA9533-BL3A
Flash-Chip:25Q16DVSIG
RAM-Chip:Zentel A3S64D40GTP-50

U-Boot 1.1.4 (Build from LSDK- at Aug 28 2015 - 09:51:27)

ap143 - Honey Bee 1.0

DRAM:   8 MB
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x15
flash size 4MB, sector count = 512
Flash:  2 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
ath_gmac_enet_initialize: reset mask:c02200
Scorpion ---->S27 PHY*
S27 reg init
broadcast enable!!
: cfg1 0x800c0000 cfg2 0x7114
eth0: bc:46:99:86:f4:fa
athrs27_phy_setup ATHR_PHY_CONTROL 4 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 4 :10
eth0 up
Honey Bee ---->  MAC 1 S27 PHY *
S27 reg init
ATHRS27: resetting s27
ATHRS27: s27 reset done
broadcast enable!!
: cfg1 0x800c0000 cfg2 0x7214
eth1: bc:46:99:86:f4:fb
athrs27_phy_setup ATHR_PHY_CONTROL 0 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 0 :10
athrs27_phy_setup ATHR_PHY_CONTROL 1 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 1 :10
athrs27_phy_setup ATHR_PHY_CONTROL 2 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 2 :10
athrs27_phy_setup ATHR_PHY_CONTROL 3 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 3 :10
eth1 up
eth0, eth1
Setting 0x181162c0 to 0x4b97a100
Hit any key to stop autoboot:  0
Go to BOOTIMG at 28000▒▒

U-Boot 1.1.4 (Build from LSDK- at Aug 28 2015 - 09:52:41)

ap143 - Honey Bee 1.0

DRAM:   8 MB
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x15
flash size 4MB, sector count = 512
Flash:  2 MB
Using default environment

Net:   ath_gmac_enet_initialize...
ath_gmac_enet_initialize: reset mask:c02200
Scorpion ---->S27 PHY*
S27 reg init
: cfg1 0x800c0000 cfg2 0x7114
eth0: bc:46:99:86:f4:fa
athrs27_phy_setup ATHR_PHY_CONTROL 4 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 4 :10
eth0 up
Honey Bee ---->  MAC 1 S27 PHY *
S27 reg init
ATHRS27: resetting s27
ATHRS27: s27 reset done
: cfg1 0x800c0000 cfg2 0x7214
eth1: bc:46:99:86:f4:fb
athrs27_phy_setup ATHR_PHY_CONTROL 0 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 0 :10
athrs27_phy_setup ATHR_PHY_CONTROL 1 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 1 :10
athrs27_phy_setup ATHR_PHY_CONTROL 2 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 2 :10
athrs27_phy_setup ATHR_PHY_CONTROL 3 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 3 :10
eth1 up
eth0, eth1
Setting 0x181162c0 to 0x4b97a100                                                                                                                                                                                                           0 Uncompressing...done
                                    Attaching interface lo0... done
ATHRS27: resetting s27
ATHRS27: s27 reset done
ATHRS27:Port status register read 2:7E
ATHRS27:S27 ATHR_PHY_FUNC_CONTROL (0):862
ATHRS27:S27 ATHR_PHY_ID1  (0) :4d
ATHRS27:S27 ATHR_PHY_SPEC_STATUS  (0) :10
ATHRS27:S27 ATHR_PHY_STATUS  (0) :7949
ATHRS27:S27 ATHR_PHY_FUNC_CONTROL (1):862
ATHRS27:S27 ATHR_PHY_ID1  (1) :4d
ATHRS27:S27 ATHR_PHY_SPEC_STATUS  (1) :10
ATHRS27:S27 ATHR_PHY_STATUS  (1) :7949
ATHRS27:S27 ATHR_PHY_FUNC_CONTROL (2):862
ATHRS27:S27 ATHR_PHY_ID1  (2) :4d
ATHRS27:S27 ATHR_PHY_SPEC_STATUS  (2) :10
ATHRS27:S27 ATHR_PHY_STATUS  (2) :7949
ATHRS27:S27 ATHR_PHY_FUNC_CONTROL (3):862
ATHRS27:S27 ATHR_PHY_ID1  (3) :4d
ATHRS27:S27 ATHR_PHY_SPEC_STATUS  (3) :10
ATHRS27:S27 ATHR_PHY_STATUS  (3) :7949
ATHRS27:S27 CPU_PORT_REGISTER :f0
ATHRS27:S27 PORT_STATUS_REGISTER0  :fe
ATHRS27:S27 PORT_STATUS_REGISTER1  :1280
ATHRS27:S27 PORT_STATUS_REGISTER2  :1280
ATHRS27:S27 PORT_STATUS_REGISTER3  :1280
ATHRS27:S27 PORT_STATUS_REGISTER4  :1280
ATHRS27:S27 PORT_CONTROL_REGISTER0 :4004
ATHRS27:S27 PORT_CONTROL_REGISTER1 :4004
ATHRS27:S27 PORT_CONTROL_REGISTER2 :4004
ATHRS27:S27 PORT_CONTROL_REGISTER3 :4004
ATHRS27:S27 PORT_CONTROL_REGISTER4 :4004
Setting Drop CRC Errors, Pause Frames and Length Error frames
Setting PHY...
ATHRS27:athrs27_phy_setup ATHR_PHY_CONTROL 0 :1000
ATHRS27:athrs27_phy_setup ATHR_PHY_SPEC_STAUS 0 :10
ATHRS27:athrs27_phy_setup ATHR_PHY_CONTROL 1 :1000
ATHRS27:athrs27_phy_setup ATHR_PHY_SPEC_STAUS 1 :10
ATHRS27:athrs27_phy_setup ATHR_PHY_CONTROL 2 :1000
ATHRS27:athrs27_phy_setup ATHR_PHY_SPEC_STAUS 2 :10
ATHRS27:athrs27_phy_setup ATHR_PHY_CONTROL 3 :1000
ATHRS27:athrs27_phy_setup ATHR_PHY_SPEC_STAUS 3 :10
ae1 Verify MAC address 00000000 08000000
  sb = 00 08 00 00 00 00
ATHRS27:ATHRS27:OPERATIONAL_MODE_REG0:40
ATHRS27:ATHRS27:REG 0x4-->:40
ATHRS27:ATHRS27:REG 0x2c-->:fe7f007f
ATHRS27:ATHRS27:REG 0x8-->:10000000
Setting Drop CRC Errors, Pause Frames and Length Error frames
Setting PHY...
ATHRS27:athrs27_phy_setup ATHR_PHY_CONTROL 4 :1000
ATHRS27:athrs27_phy_setup ATHR_PHY_SPEC_STAUS 4 :10
ae0 Verify MAC address 00000000 00070000
  sb = 07 00 00 00 00 00



                                      Version2.0
                            Software Platform for PNE2.2
              Copyright(C) 2001-2011 by TP-LINK TECHNOLOGIES CO., LTD.
                      Creation date: Aug 31 2015, 09:37:41
# miniFsDrv(2283): Install minifs driver successed.
eth0 macAddr = 00-08-00-00-00-00
ae1 Verify MAC address FAF48699 46BC0000
  sb = BC 46 99 86 F4 FA
eth0 macAddr = FFFFFFBC-46-FFFFFF99-FFFFFF86-FFFFFFF4-FFFFFFFA
Flash ID = 0xEF4015.
Flash UID 0xD965681074C412B
ae0 Verify MAC address FBF48699 46BC0000
  sb = BC 46 99 86 F4 FB
add net default: gateway 169.254.68.97
change net 169.254.68.0
change net 0.0.0.0
Enterprise mode: 0x00000000
Restoring Cal data from Flash
correct CRC of the calData stored in flash is 0x8d288262
actual CRC of the calData stored in flash is 0x8d288262
base_eep_header.feature_enable = 0x4d.
base_eep_header.txrxgain = 0x31.
modal_header_2g.temp_slope = 0x13.
modal_header_5g.temp_slope = 0x44.
base_ext2.temp_slope_low = 0x14.
Geting target power delta from Flash
802237F0:              06 06 06 06 - 06 06 06 06 06 06 06 06          .... ........
80223800:  06 06 06 06 06 06 06 06 - 06 06 06 06 06 06 06 06      ........ ........
80223810:  06 06 06 06 06 06 06 06 - 06 06 06 06 06 06 06 06      ........ ........
80223820:  06 06 06 06 06 06 06 06 - 06 06 06 06 06 06 06 06      ........ ........
80223830:  06 06 06 06 06 06 06 06 - 06 06 06 06 06 06 06 06      ........ ........
80223840:  06 06 06 06 06 06 06 06 - 06 06 06 06 06 06 06 06      ........ ........
80223850:  06 06 06 06 06 06 06 06 - 06 06 06 06 00 00 00 00      ........ ........




http://s24.postimg.org/4mvzjbzch/IMG_0850_1.jpg
http://s10.postimg.org/4wexai56t/IMG_0851_1.jpg
http://s17.postimg.org/zcxvwuqbv/IMG_0852_1.jpg

(Last edited by termits on 23 Feb 2016, 13:55)

Any possible port to this device?

DRAM:   8 MB -> Impossible to support

Please help me install openwrt on this router.Here message from LEDE mail arhive.
Thanks.
On 26.03.2017 09:55, Vittorio Gambaletta (VittGam) wrote:

    This router has the same hardware of TP-LINK TL-WR841N v11 (same
    FCC ID, same TFTP image name...).


    The stock firmware web interface does not seem to accept the LEDE
    factory image, but it can be flashed via the u-boot TFTP recovery
    by long-pressing the reset button after power on.


So, I have just made a test (using TL-WR841N v9 "converted" to v12 EU) and factory-eu image works without any problems (Firefox 52).


I'm going to pick up your patch with small change in commit message and subject (please, don't add dot at the end of the subject next time).


--
Best regards,
Piotr Dymacz


    The TFTP image name is wr841nv11_tp_recovery.bin (yes, v11, not v12).

   

    ---

    diff --git a/target/linux/ar71xx/image/tp-link.mk
    b/target/linux/ar71xx/image/tp-link.mk
    index cf2e5e7..cea039d 100644
    --- a/target/linux/ar71xx/image/tp-link.mk
    +++ b/target/linux/ar71xx/image/tp-link.mk
    @@ -736,6 +736,12 @@ define Device/tl-wr841-v11
       IMAGE/factory-eu.bin := append-rootfs | mktplinkfw factory -C EU
     endef

    +define Device/tl-wr841-v12
    +  $(Device/tl-wr841-v11)
    +  DEVICE_TITLE := TP-LINK TL-WR841N/ND v12
    +  TPLINK_HWID := 0x08410012
    +endef
    +
     define Device/tl-wr842n-v1
       $(Device/tplink-8m)
       DEVICE_TITLE := TP-LINK TL-WR842N/ND v1
    @@ -778,7 +784,7 @@ define Device/tl-wr847n-v8
       DEVICE_PROFILE := TLWR841
       TPLINK_HWID := 0x08470008
     endef
    -TARGET_DEVICES += tl-wr840n-v2 tl-wr840n-v3 tl-wr841-v1.5 tl-wr841-v3
    tl-wr841-v5 tl-wr841-v7 tl-wr841-v8 tl-wr841-v9 tl-wr841-v10 tl-wr841-v11
    tl-wr842n-v1 tl-wr842n-v2 tl-wr842n-v3 tl-wr843nd-v1 tl-wr847n-v8
    +TARGET_DEVICES += tl-wr840n-v2 tl-wr840n-v3 tl-wr841-v1.5 tl-wr841-v3
    tl-wr841-v5 tl-wr841-v7 tl-wr841-v8 tl-wr841-v9 tl-wr841-v10 tl-wr841-v11
    tl-wr841-v12 tl-wr842n-v1 tl-wr842n-v2 tl-wr842n-v3 tl-wr843nd-v1 tl-wr847n-v8

     define Device/tl-wr941nd-v2
       $(Device/tplink-4m)

Hello everyone,

I just bought a TL-WR841N(EU) of amazon.de and got a V12. If you do not mind me asking naively: What do the posts above mean for the support of this device? Is a supported version coming?

I checked the trunk builds, they only extend to v11, but are quite dated already? march, 23rd for those I found.

cheers
Jan

i don't have the v12 router but i heard it is same as v11 in terms of hardware. set your pc's ip to 192.168.0.66. set a tftp server an put bin image file of v10 inside it named "tp_recovery.bin" (or put lede image for v12 if you can't flush using web interface). connect the ethernet cable to router. power off the router. while holding reset button power on the router and keep holding until tftp transfer is done.

caution: your router can get soft bricked. do it on your own risk.

(Last edited by bagciozgur on 22 Apr 2017, 10:32)

termits wrote:

This router is possible buy only in china.

Looks like another case of them also having a Chinese market only version with small memory chips and special firmware.  So if you see a "V12" but the box has only Chinese writing on it, be careful.

(Last edited by mk24 on 22 Apr 2017, 13:06)

LEDE works like a charm. I was able to flash it through the tp-link web interface. Thanks

Hello,

I have the TL-WR841N V12 routeur of TPLink. I would like to be able to use it to connect to my internet providing router via wifi, not ethernet, then use it as a switch for other computers.

I understand that I need to flash it and install openwrt.

How can I do that via LEDE? I don't know how it works at all.
Do I use the v11 firmware?

Thank you so much.

(Last edited by francois.galle on 20 May 2017, 12:17)

Just to confirm that LEDE's release works.
I have succesfully installed the firmware tl-wr841-v12-squashfs-factory-eu.bin from LEDE's repository (downloads.lede-project.org/releases/17.01-SNAPSHOT/targets/ar71xx/generic/) on a TL-WR841N(EU) V12.

IMPORTANT: If you install the firmware via TFTP, make sure to rename the firmware as wr841nv11_tp_recovery and not wr841nv12_tp_recovery. Source: wiki.openwrt.org/toh/tp-link/tl-wr841nd#tftp_recovery_via_bootloader_for_v8_v9_v10_v11_v12

In fact I just had to use WDS option in the original firmware to connect to my internet router wifi.

The discussion might have continued from here.