[SOLVED] TP-Link TL-WR1043N v5.0?

Once you have confirmed the v5 hardware (SoC, WLAN hardware, ports, ...) please consider creating a new page for this device on wikidevi.

https://wikidevi.com/wiki/Main_Page

Hi All,

For what it's worth I ordered a 1043 after I bricked my v1 of these and got sent one of these v5's. I attempted to flash the lede factory image for the v4 onto it only to be told by the stock firmware that the operation I was attempting wasn't supported through remote administration. I found this odd as I wasn't using remote administration but had the laptop connected to one of the LAN ports on the device.

I haven't pursued it further as I managed to de-brick the v1 through the serial port but if I get some time I'll let you know if I find a way to flash the image.

kev.

I wasn't able to get the metal plate off but here are some photos of the inside of one of these.

inside of TL-WR1043N v5.0

kev.

You should check the uboot for the availability of tftp recovery so if anything goes wrong tftp can recover your board.
Then proceed to test

I just tried to do a manual upgrade from within the stock firmware using lede-17.01.2-ar71xx-generic-tl-wr1043nd-v4-squashfs-factory.bin and I also got the error message: "This operation is not allowed for remote management". I am also connected directly by cable.

Perhaps a TFTP method is required? I don't know how to get the necessary info from uboot though...

There's also this from the TP-Link website.

It seems like that method might only work if the router is having trouble starting up normally.

I've found a bug report from someone who was getting the same error message with an Archer C58. That bug was fixed by updating the field TPLINK_BOARD_ID in source.

I wonder if the V4 firmware could be used on the V5 hardware if TPLINK_BOARD_ID := TLWR1043NDV4 was changed to something like TPLINK_BOARD_ID := TLWR1043NV5.

Here's a Serial Log so that a kind soul takes mercy on us less versed can make heads or tails of support for 1043v5.

U-Boot 1.1.4-g6ce9309a-dirty (Oct 26 2016 - 09:20:53)

ap152 - Dragonfly 1.0

DRAM:  64 MB
Top of RAM usable for U-Boot at: 84000000
Reserving 393k for U-Boot at: 83f9c000
Reserving 16448k for malloc() at: 82f8c000
Reserving 44 Bytes for Board Info at: 82f8bfd4
Reserving 36 Bytes for Global Data at: 82f8bfb0
Reserving 128k for boot params() at: 82f6bfb0
Stack Pointer at: 82f6bf98
Now running in RAM - U-Boot at: 83f9c000
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18
flash size 16MB, sector count = 256
Flash: 16 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
athr_mgmt_init ::done
Dragonfly  ----> S17 PHY *
athrs17_reg_init: complete
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Setting 0x181162c0 to 0x20402100
factory boot check integer ok.
factory boot load fs uboot len 131072 to addr 0x80010000.
Hit any key to stop autoboot:  0
## Starting application at 0x80010000 ...


U-Boot 1.1.4-g6ce9309a-dirty (Oct 26 2016 - 09:24:21)

ap152 - Dragonfly 1.0

DRAM:  64 MB
Top of RAM usable for U-Boot at: 84000000
Reserving 122k for U-Boot at: 83fe0000
Reserving 16448k for malloc() at: 82fd0000
Reserving 44 Bytes for Board Info at: 82fcffd4
Reserving 36 Bytes for Global Data at: 82fcffb0
Reserving 128k for boot params() at: 82faffb0
Stack Pointer at: 82faff98
Now running in RAM - U-Boot at: 83fe0000
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18
flash size 16MB, sector count = 256
Flash: 16 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
athr_mgmt_init ::done
Dragonfly  ----> S17 PHY *
athrs17_reg_init: complete
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Setting 0x181162c0 to 0x20402100
Hit any key to stop autoboot:  0
## Booting image at 9f040000 ...
   Image Name:   MIPS OpenWrt Linux-3.3.8
   Created:      2016-10-25   3:58:50 UTC
   Image Type:   MIPS Linux Multi-File Image (lzma compressed)
   Data Size:    1083030 Bytes =  1 MB
   Load Address: 80060000
   Entry Point:  80060000
   Contents:
   Image 0:  1083022 Bytes =  1 MB
   Verifying Checksum at 0x9f040040 ...OK
   Uncompressing Multi-File Image ... OK
No initrd
## Transferring control to Linux (at address 80060000) ...
## Giving linux memsize in bytes, 67108864

Starting kernel ...

[    0.000000] Linux version 3.3.8 (HQL@localhost.localdomain) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #2 Mon Oct 10 12:11:34 HKT 2016
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019750 (MIPS 74Kc)
[    0.000000] SoC: Qualcomm Atheros QCA956X rev 0
[    0.000000] Clocks: CPU:775.000MHz, DDR:650.000MHz, AHB:258.333MHz, Ref:25.000MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] User-defined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00004000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00004000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  console=ttyS0,115200 board=AP152 rootfstype=squashfs init=/etc/preinit mtdparts=spi0.0:128k(factory-uboot),128k(u-boot),1152k(uImage),14912k(rootfs),64k@0xff0000(ART) mem=64M rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 61260k/65536k available (2316k kernel code, 4276k reserved, 575k data, 180k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:83
[    0.000000] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[    0.060000] pid_max: default: 32768 minimum: 301
[    0.060000] Mount-cache hash table entries: 512
[    0.070000] Initialized recycle list for cpu 0.
[    0.070000] NET: Registered protocol family 16
[    0.080000] gpiochip_add: registered GPIOs 0 to 22 on device: ath79
[    0.080000] MIPS: machine is TP-LINK WR1043N v5 support
[    0.090000] ar724x-pci ar724x-pci.0: PCIe link is down
[    0.090000] registering PCI controller with io_map_base unset
[    0.300000] bio: create slab <bio-0> at 0
[    0.300000] PCI host bridge to bus 0000:00
[    0.310000] pci_bus 0000:00: root bus resource [mem 0x12000000-0x13ffffff]
[    0.310000] pci_bus 0000:00: root bus resource [io  0x0001]
[    0.320000] Switching to clocksource MIPS
[    0.320000] NET: Registered protocol family 2
[    0.330000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.330000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.340000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.340000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.350000] TCP reno registered
[    0.350000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.360000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.360000] NET: Registered protocol family 1
[    0.380000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.380000] msgmni has been set to 119
[    0.390000] io scheduler noop registered
[    0.390000] io scheduler deadline registered (default)
[    0.400000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.420000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[    0.430000] console [ttyS0] enabled, bootconsole disabled
[    0.430000] console [ttyS0] enabled, bootconsole disabled
[    0.440000] m25p80 spi0.0: found w25q128, expected m25p80
[    0.450000] m25p80 spi0.0: w25q128 (16384 Kbytes)
[    0.450000] 5 cmdlinepart partitions found on MTD device spi0.0
[    0.460000] Creating 5 MTD partitions on "spi0.0":
[    0.460000] 0x000000000000-0x000000020000 : "factory-uboot"
[    0.470000] 0x000000020000-0x000000040000 : "u-boot"
[    0.480000] 0x000000040000-0x000000160000 : "uImage"
[    0.480000] 0x000000160000-0x000000ff0000 : "rootfs"
[    0.490000] mtd: partition "rootfs" set to be root filesystem
[    0.500000] 0x000000ff0000-0x000001000000 : "ART"
[    0.500000] flash_chrdev : flash_chrdev_init
[    0.640000] ag71xx_mdio: probed
[    0.650000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[    1.230000] eth0: Atheros AR8327 switch driver attached.
[    4.150000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd036, driver=Atheros AR8216/AR8236/AR8316]
[    4.170000] TCP cubic registered
[    4.170000] NET: Registered protocol family 17
[    4.170000] Bridge firewalling registered
[    4.180000] 8021q: 802.1Q VLAN Support v1.8
[    4.180000] ### of_selftest(): No testcase data in device tree; not running tests
[    4.200000] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    4.200000] Freeing unused kernel memory: 180k freed
- preinit -
- regular preinit -
jffs2 not ready yet; using ramdisk
- init -
[    6.460000] liblog: module license 'unspecified' taints kernel.
[    6.460000] Disabling lock debugging due to kernel taint
[    6.730000] NET: Registered protocol family 10
[    6.870000] SCSI subsystem initialized
[    7.040000] Button Hotplug driver version 0.4.1
[    7.120000] PPP generic driver version 2.4.2
[    7.140000] tun: Universal TUN/TAP device driver, 1.6
[    7.140000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    7.220000] PPP MPPE Compression module registered
[    7.230000] NET: Registered protocol family 24
[    7.330000] L2TP core driver, V2.0
[    7.340000] L2TP netlink interface
[    7.420000] IPv6 over IPv4 tunneling driver
[    7.460000] GRE over IPv4 demultiplexor driver
[    7.500000] GRE over IPv4 tunneling driver
[    7.550000] bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[    7.670000] ip_tables: (C) 2000-2006 Netfilter Core Team
[    7.840000] nf_conntrack version 0.5.0 (960 buckets, 3840 max)
[    8.070000] PPPoL2TP kernel driver, V2.0
[    8.110000] PPTP driver version 0.8.5
[    8.470000] xt_time: kernel timezone is -0000
[    8.840000] nf_conntrack_rtsp v0.6.21 loading
[    8.850000] nf_nat_rtsp v0.6.21 loading
[    8.900000] Netfilter messages via NETLINK v0.30.
[    8.940000] ctnetlink v0.93: registering with nfnetlink.
[    9.200000] ssdk_plat_init start
[    9.200000] Register QCA PHY driver
[    9.320000] qca-ssdk module init succeeded!
[    9.470000] fuse init (API version 7.18)
reloadconfig() begin:
reloadconfig() end:
mergeconfigbycountry() begin
user has set country
mergeconfigbycountry() do nothing end
reload_profile() begin:
reload_profile() end:

Please press Enter to activate this console. [   12.190000] ADDRCONF(NETDEV_UP): eth0: link is not ready
GMT+08:00
Fri Jan  1 00:00:00 GMT 2016
[SWITCH DEBUG] Clear Port(0) PVID
[SWITCH DEBUG] Clear Port(1) PVID
[SWITCH DEBUG] Clear Port(2) PVID
[SWITCH DEBUG] Clear Port(3) PVID
[SWITCH DEBUG] Clear Port(4) PVID
[SWITCH DEBUG] Clear Port(5) PVID
[SWITCH DEBUG] Flush vlan entries.
[SWITCH DEBUG] Create VLAN VID=1
[SWITCH DEBUG] Add tagged port(0) to VLAN(1)
[SWITCH DEBUG] Add untagged port(1) to VLAN(1)
[SWITCH DEBUG] Add untagged port(2) to VLAN(1)
[SWITCH DEBUG] Add untagged port(3) to VLAN(1)
[SWITCH DEBUG] Add untagged port(4) to VLAN(1)
[SWITCH DEBUG] Set Port(0) PVID(1)
[SWITCH DEBUG] Set Port(0) ingress to secure
[SWITCH DEBUG] Set Port(1) PVID(1)
[SWITCH DEBUG] Set Port(1) ingress to secure
[SWITCH DEBUG] Set Port(2) PVID(1)
[SWITCH DEBUG] Set Port(2) ingress to secure
[SWITCH DEBUG] Set Port(3) PVID(1)
[SWITCH DEBUG] Set Port(3) ingress to secure
[SWITCH DEBUG] Set Port(4) PVID(1)
[SWITCH DEBUG] Set Port(4) ingress to secure
[SWITCH DEBUG] Create VLAN VID=4094
[SWITCH DEBUG] Add tagged port(0) to VLAN(4094)
[SWITCH DEBUG] Add untagged port(5) to VLAN(4094)
[SWITCH DEBUG] Set Port(0) PVID(4094)
[SWITCH DEBUG] Set Port(0) ingress to secure
[SWITCH DEBUG] Set Port(5) PVID(4094)
[SWITCH DEBUG] Set Port(5) ingress to secure
[SWITCH DEBUG] Set Port(0) PVID(0)
[   13.860000] device eth0 entered promiscuous mode
[   13.870000] ADDRCONF(NETDEV_UP): eth0.4094: link is not ready
[   14.210000] eth0: link up (1000Mbps/Full duplex)
[   14.230000] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   14.230000] ADDRCONF(NETDEV_CHANGE): eth0.4094: link becomes ready
[   14.310000] ADDRCONF(NETDEV_UP): lo: link is not ready
[   14.320000] ADDRCONF(NETDEV_UP): ip6tnl0: link is not ready
[   14.330000] ADDRCONF(NETDEV_UP): sit0: link is not ready
[   14.330000] ADDRCONF(NETDEV_UP): gre0: link is not ready
[   14.340000] ADDRCONF(NETDEV_UP): bond0: link is not ready
[   15.240000] ar8216_read_status_2991: eth0.4094 carrier off!
[   15.360000] ADDRCONF(NETDEV_UP): eth0.4094: link is not ready
Loading defaults
Loading synflood protection
Adding custom chains
Loading zones
Loading forwardings
Loading rules
Loading redirects
Loading includes
Optimizing conntrack
Loading interfaces
Loading tpcmd
[   19.670000] device eth0 left promiscuous mode
[   19.670000] del ct event: 2 dev_name: eth0.4094
[   19.680000]  start clean up ct iterate..
[   19.690000] device eth0 entered promiscuous mode
[   19.710000] del ct event: 2 dev_name: eth0.1
[   19.710000]  start clean up ct iterate..
[   19.730000] device eth0.1 entered promiscuous mode
[   19.730000] br-lan: port 1(eth0.1) entered forwarding state
[   19.740000] br-lan: port 1(eth0.1) entered forwarding state
loading access_control
[   20.460000] ar8216_read_status_2991: eth0.1 carrier off!
[   20.470000] ar8216_read_status_2991: eth0.4094 carrier off!
[   20.470000] br-lan: port 1(eth0.1) entered disabled state
loading basic_security
[   23.990000]  start clean up ct iterate..
conntrack v1.0.0 (conntrack-tools): connection tracking table has been emptied.
[   24.290000]  start clean up ct iterate..
[   30.190000]  start clean up ct iterate..
Normal env generate
Flush nat forwarding chain
loading administration management
fw unload_local_mgnt
loading parental_control

 SSDK Init OK![   32.440000] enable:1
[   32.440000] bg task init successfull!
[   32.440000] host_helper_init start
[   32.450000] /proc/qca_switch/nf_athrs17_hnat is created
[   32.460000] /proc/qca_switch/nf_athrs17_hnat_wan_type is created
[   32.470000] /proc/qca_switch/nf_athrs17_hnat_ppp_id is created
[   32.470000] /proc/qca_switch/nf_athrs17_hnat_udp_thresh is created
[   32.480000] /proc/qca_switch/nf_athrs17_hnat_wan_ip is created
[   32.480000] /proc/qca_switch/nf_athrs17_hnat_ppp_peer_ip is created
[   32.490000] /proc/qca_switch/nf_athrs17_hnat_ppp_peer_mac is created
[   32.500000] /proc/qca_switch/nf_athrs17_hnat_wan_mac is created
[   32.500000] /proc/qca_switch/nf_athrs17_hnat_ppp_id2 is created
[   32.510000] /proc/qca_switch/nf_athrs17_hnat_ppp_peer_mac is created
[   32.520000] Adding ACL rules 15 - upnp_ssdp_add_acl_rules
[   32.540000] ACL is not yet enabled. Enabling...
[   32.550000] Adding ACL rules 7 - ipv6_snooping_solicted_node_add_acl_rules
[   32.600000] Adding ACL rules 11 - ipv6_snooping_sextuple0_group_add_acl_rules
[   32.650000] Adding ACL rules 13 - ipv6_snooping_quintruple0_1_group_add_acl_rules
[   32.700000] Hello, nat helper module for 1.1!
[   32.720000] register inet_notifier###

operate done.


 SSDK Init OK![   32.720000] enable:0
[   32.730000] unregister inet_notifier###
[   32.730000] /proc/qca_switch/nf_athrs17_hnat removed
[   34.710000] Goodbye, nat helper module!

operate done.

[   39.550000] ****Address of trace_timer :832fe610
[   40.110000] ath_hal: 0.9.17.1 (AR5416, AR9380, REGOPS_FUNC, WRITE_EEPROM, TX_DATA_SWAP, RX_DATA_SWAP, 11D)
[   40.220000] ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved
[   40.350000] ath_dfs: Version 2.0.0
[   40.350000] Copyright (c) 2005-2006 Atheros Communications, Inc. All Rights Reserved
[   40.400000] ath_spectral: Version 2.0.0
[   40.400000] Copyright (c) 2005-2009 Atheros Communications, Inc. All Rights Reserved
[   40.410000] SPECTRAL module built on Oct 25 2016 11:22:49
[   40.550000] ath_tx99: Version 2.0
[   40.550000] Copyright (c) 2010 Atheros Communications, Inc, All Rights Reserved
[   40.810000] ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved
[   43.490000] __ath_attach: Set global_scn[0]
[   43.490000] *** All the minfree values should be <= ATH_TXBUF-32, otherwise default value will be used instead ***
[   43.500000] ACBKMinfree = 48
[   43.500000] ACBEMinfree = 32
[   43.510000] ACVIMinfree = 16
[   43.510000] ACVOMinfree = 0
[   43.510000] CABMinfree = 48
[   43.520000] UAPSDMinfree = 0
[   43.520000] ATH_TXBUF=540
[   43.530000] Enterprise mode: 0x03bda000
[   43.540000]
[   43.540000] ART Version : -48.0.0
[   43.540000] SW Image Version : -48.0.0.0.0
[   43.550000] Board Revision :
[   43.550000] ar9300_attach: nf_2_nom -110 nf_2_max -60 nf_2_min -125
[   43.560000] SPECTRAL : get_capability not registered
[   43.560000] HAL_CAP_PHYDIAG : Capable
[   43.570000] SPECTRAL : Need to fix the capablity check for RADAR (spectral_attach : 231)
[   43.580000] SPECTRAL : get_capability not registered
[   43.580000] HAL_CAP_RADAR   : Capable
[   43.580000] SPECTRAL : Need to fix the capablity check for SPECTRAL
[   43.580000]  (spectral_attach : 236)
[   43.590000] SPECTRAL : get_capability not registered
[   43.600000] HAL_CAP_SPECTRAL_SCAN : Capable
[   43.600000] SPECTRAL : get_tsf64 not registered
[   43.610000] spectral_init_netlink 65 NULL SKB
[   43.610000] SPECTRAL : No ADVANCED SPECTRAL SUPPORT
[   43.620000] SPECTRAL :----- module attached
[   43.620000] Green-AP : Green-AP : Attached
[   43.620000]
[   43.630000] ath_get_caps[6169] rx chainmask mismatch actual 7 sc_chainmak 0
[   43.640000] ath_get_caps[6144] tx chainmask mismatch actual 7 sc_chainmak 0
[   43.650000] band steering initialized for direct attach hardware
[   43.660000] ieee80211_bsteering_attach: Band steering initialized
[   43.660000] ath_attach_dfs[12687] dfsdomain 1
[   43.680000] SPECTRAL : module already attached
[   43.680000] osif_wrap_attach:296 osif wrap attached
[   43.690000] osif_wrap_devt_init:916 osif wrap dev table init done
[   43.700000] ath_tx_paprd_init sc 824e0000 PAPRD disabled in HAL
[   43.700000] wifi0: Atheros 956X: mem=0xb8100000, irq=47
[   43.710000] ath_pci: SmartAntenna-DRT-0.1 (Atheros/multi-bss)
[   44.510000] ath_attach_dfs[12687] dfsdomain 1
[   44.630000] wlan_vap_create : enter. devhandle=0x82650380, opmode=IEEE80211_M_HOSTAP, flags=0x3
[   44.640000] wlan_vap_create : exit. devhandle=0x82650380, opmode=IEEE80211_M_HOSTAP, flags=0x3.
[   44.650000] VAP device ath0 created osifp: (8318b380) os_if: (824f8000)
[   44.680000] Set freq vap 0 stop send + 824f8000
[   44.680000] Set freq vap 0 stop send -824f8000
[   44.820000] Set wait done --824f8000
[   44.850000] WARNING: Fragmentation with HT mode NOT ALLOWED!!
[   44.870000] Set freq vap 0 stop send + 824f8000
[   44.870000] Set freq vap 0 stop send -824f8000
[   45.010000] Set wait done --824f8000
[   45.110000]
[   45.110000]  DES SSID SET=
[   45.120000]
[   45.120000]  DES SSID SET=TP-LINK_1ED0
@@@@@@@@@@psk-mixed/tkip+aes
[   45.450000]  ieee80211_ioctl_siwmode: imr.ifm_active=131712, new mode=3, valid=1
[   45.460000]  DEVICE IS DOWN ifname=ath0
[   45.470000]  DEVICE IS DOWN ifname=ath0
[   45.740000] device ath0 entered promiscuous mode
[   45.930000] br-lan: port 2(ath0) entered forwarding state
[   45.930000] br-lan: port 2(ath0) entered forwarding state
[   45.950000] 8021q: adding VLAN 0 to HW filter on device ath0
[   46.650000] fast-classifier: starting up
[   46.650000] fast-classifier: registered
phyport start .......
SETUP port (5) duplex: 1000 full autoneg: on!
loading qos
http://192.168.0.1/webpages/wan_error.html
192.168.0.1
http://192.168.0.1/webpages/wan_error.html
192.168.0.1
 3200 root      1772 S    /usr/sbin/crond -c /etc/crontabs -l 5
1 Like

Baah, looks like they have continued the habit of chainloading uboot...

At least the kernel version got bumped a bit :smiley:
Well, other than that, the hardware looks very much like the v4, regarding the Soc, so it should be possible to mix something up. It's atheros, chances are better than for the 841v13 ...
(bootlog for v4 is here: https://paste.tecff.de/?cd661eb2a185f795#RhiEIpbCqvwzYVO24Z1IiNvJKL31rI0OeoLp8MO/Xdk= )

Where did you get the device, is it shipping via some known sellers already, that I may get my hands on it?

If you have a serial attached already, you could also try to load a kernel via uboot and try some configs.... ?

2 Likes

Absolutely, i have a serial and can test whatever you'd like me to. I buy from a pretty big wholesaler in Mexico, not sure when this will roll out in general, but v4 stopped distribution a few weeks ago, and v5 is all anyone has right now. (wholesalers)

Good!

So, tftp, a compile setup for lede and some testing is required for a start.
I have a notebook here:


Start with the initramfs from 1043v4, and see what works if you can get it to boot - should be a lot.
Then it may only be needed to fix the partition layout, firmware image and some details.

In your case the compile menuconfig settings should be:
select the target as 1043v4, and it should build a kernel/initramfs for 1043v4 to test.
Select under target images: [*] Ramdisk

If you have access via console to the stock os, you may also do a firmware dump
cat /dev/mtdX > /tmp/mtdX
and then exfiltrate the mtdX files trough the webinterface or via ssh.
(ln -s /tmp/mtdX in the webserver dir usually lets you download them from the router webinterface subdirs... :smiley: )

If the stockos has a password, do the firmware copy in the bootet lede ramdisk, its always good to have a backup of the partitions.
(I'm just writing down the steps i can think of now, don't know your experience level, so excuse if some stuff is obvious or too high)

I've just picked one of these up as well. Sadly I'm not a hardware guru so I probably can't assist in the setup of this device. But I do want to put my hat in the ring that I'm interested in getting this working with this project.

Hrm, according to those pictures the serial port pads are clear. I might just be able to do something with my meager soldering skills.

If you're averse to soldering, some male jumper wires in the holes to a breadboard, to the gpio pins on a raspberry pi was how I connected to the serial port on my V1.

kev.

please read to TP-Link WR1043N v5.0 I want to install

I have a build that appears to work, but it can only be installed via serial/uboot/TFTP. I have included step-by-step instructions on how to accomplish the install in my last commit message. I'll probably squash the commits and do a pull request this week. If anyone is interested I can post a binary for some brave soul to test.

Brave soul here. Please post the link for your commit so I can test asap.

Will do. Noticed one last hitch I need to address in the install instructions. Hope to have it posted by tomorrow when I have some time to sit down with it.

EDIT: DO NOT USE THIS UNLESS YOU HAVE HISTORICAL INTEREST IN IT. IT WAS AN EXTREMELY EARLY BUILD AND IS BROKEN IN IMPORTANT WAYS.

Here’s the binary build. It has Luci enabled, but everything else is totally base-line.

Serial port is 3.3v 115200, 8-n-1
Pin 1 is closest furthest from the front of the router.
Pin 1: TX
Pin 2: RX
Pin 3: Gnd
Pin 4: Vcc

The TX line is missing a linkage right next to the serial port header. You’ll have to solder a bridge across the spot labeled R257 to get your serial terminal to work.

Set your Ethernet adapter to 192.168.0.10. Enable your TFTP server with the firmware image in the root. named fw.bin (can be any name, just change the tftp command that comes later)
When the router starts its boot process, press “enter” to interrupt auto boot.

Enter the following commands:

tftp 0x80060000 fw.bin
erase 0x9f040000 +${filesize}
cp.b 0x80060000 0x9f040000 ${filesize}

Assuming all went well, reset the router. You should see autoboot take over with the new firmware and off you go!

I strongly recommend you back up your mtd files before attempting this. While at this point I’ve had it work successfully multiple times on multiple units (I bought 5) I cannot make any guarantees as to its quality or reliability.

Please let me know how this works for you. It’s my second attempt at adding device support since my first one did not meet the good graces of the powers that be. (I understand now why that was, I just needed this port more urgently than my first one).

2 Likes

Hi, I had to get rid of my testing 1043v5 for an installation, I now only have 840nv5s - (another thread), as soon as I get my hands on any I'll write back.