Add spport for TP-Link TL-MR3620

Would anyone be willing to add support for my router? This is the cheapest Dual Band router with USB port in my country I wanted to use this as print server but TP-links software is horrible. I have no problem opening the device and get logs etc for building of openwrt. Here are the following specifications I found ot myself this router does not have wikidevi:
I could not find fcc ID
Qualcomm Atheros QCA9561
16MB flash
128MB RAM
1x USB 2.0
Product official downloads page




Also, I also wanted to know if Archer C59 is same as my model? Will I brick my router if I try to flash its firmware.

You've got to ask yourself one question, "Do I feel lucky?"
-- Dirty Harry

I wouldn't until a lot more is known

well should i try to install its firmware? The specs look like they are pretty much same

Specifications or visual inspection don't tell you anything about the partition map, location of ART and MAC addresses, GPIOs, etc.

If you tell me how to capture that data ill surely give it.
I'll need serial port right like this
I'll go and buy it today

That one is probably as good as any -- make sure that it is set for 3.3 V logic before connecting it. You probably know this already, but you'll only need to (find and) connect RX, TX, and ground. TP-Link also has an annoying habit of "forgetting" to populate resistors around the serial port.

I have CP2102 now , how do i capture partition map, location of ART and MAC addresses, GPIOs, etc after finding out RX, TX. Do I have to connect 3.3V pin to my router?

Do not connect V+ of the adapter to the board. TX, RX, and ground are sufficient.

The partition map should be in the boot log, as well as /proc/mtd. Capturing the console boot log would be the first step, along with dmesg, assuming you can get a shell from the console.

I have got this device, and I hope to get openwrt support. I will soon share its bootlog, confirm hardware details after removing radio shield (not sure about the above mentioned hardware) & try to share full flash dump (if possible without removing the rom from the board, using clip & programmer)

U-Boot 1.1.4-gff2db3d2-dirty (Feb 27 2018 - 15:59:11)

ap151 - Dragonfly 1.0

TP-Link Archer MR400

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

ath_gmac_enet_initialize: reset mask:c02200
Dragonfly----> S27 PHY *
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
athrs27_phy_setup ATHR_PHY_CONTROL 4 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 4 :10
eth0 up
ATHRS27: resetting s27
ATHRS27: s27 reset done
: cfg1 0x800c0000 cfg2 0x7214
eth1: 00:03:7f:09:0b:ad
athrs27_phy_setup ATHR_PHY_CONTROL 0 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 0 :50
athrs27_phy_setup ATHR_PHY_CONTROL 1 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 1 :50
athrs27_phy_setup ATHR_PHY_CONTROL 2 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 2 :50
athrs27_phy_setup ATHR_PHY_CONTROL 3 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 3 :50
eth1 up
eth0, eth1
Setting 0x181162c0 to 0x82
Autobooting in 1 seconds
do_bootm:argc=2, addr=0x9f020000
## Booting image at 9f020000 ...
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 8030d7b0) ...
## Giving linux memsize in bytes, 134217728

Starting kernel ...

console [ttyS0] enabled, bootconsole disabled
[    0.650000] console [ttyS0] enabled, bootconsole disabled
[    0.660000] loop: module loaded
[    0.660000] m25p80 spi0.0: found w25q128, expected m25p80
[    0.670000] m25p80 spi0.0: w25q128 (16384 Kbytes)
[    0.680000] 7 cmdlinepart partitions found on MTD device spi0.0
[    0.680000] Creating 7 MTD partitions on "spi0.0":
[    0.690000] 0x000000000000-0x000000020000 : "boot"
[    0.690000] 0x000000020000-0x000000160000 : "kernel"
[    0.700000] 0x000000160000-0x000000fc0000 : "rootfs"
[    0.710000] mtd: partition "rootfs" set to be root filesystem
[    0.710000] 0x000000fc0000-0x000000fd0000 : "config"
[    0.720000] 0x000000fd0000-0x000000fe0000 : "romfile"
[    0.720000] 0x000000fe0000-0x000000ff0000 : "rom"
[    0.730000] 0x000000ff0000-0x000001000000 : "radio"
[    0.740000] Register flash device:flash0
[    0.740000] flash_chrdev : flash_chrdev_init
[    0.750000] tun: Universal TUN/TAP device driver, 1.6
[    0.750000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    0.780000] ag71xx_mdio: probed
[    0.900000] ag71xx_mdio: probed
[    0.910000] spiflash_ioctl_read, Read from 0x00fcf100 length 0x6, ret 0, retlen 0x6
[    0.920000] read mac from flash(0xFCF100): 70-4F-57-42-14-9D
[    0.920000] eth0: Atheros AG71xx at 0xba000000, irq 5
[    1.480000] eth0: Found an AR934X built-in switch 5
[    2.510000] eth1: Atheros AG71xx at 0xb9000000, irq 4
[    3.070000] ag71xx ag71xx.0: eth1: connected to PHY at ag71xx-mdio.1:00 [uid=004dd042, driver=Generic PHY]
[    3.080000] eth1 : connected to PHY at ag71xx-mdio.1:00 [uid=004dd042, driver=Generic PHY]
[    3.090000] PPP generic driver version 2.4.2
[    3.090000] NET: Registered protocol family 24
[    3.090000] Mirror/redirect action on
[    3.100000] u32 classifier
[    3.100000]     Actions configured
[    3.110000] Netfilter messages via NETLINK v0.30.
[    3.110000] nf_conntrack version 0.5.0 (1962 buckets, 7848 max)
[    3.120000] GRE over IPv4 demultiplexor driver
[    3.120000] GRE over IPv4 tunneling driver
[    3.130000] ip_tables: (C) 2000-2006 Netfilter Core Team
[    3.130000] TCP cubic registered
[    3.140000] NET: Registered protocol family 10
[    3.140000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    3.150000] IPv6 over IPv4 tunneling driver
[    3.160000] NET: Registered protocol family 17
[    3.160000] NET: Registered protocol family 15
[    3.160000] Ebtables v2.0 registered
[    3.170000] 8021q: 802.1Q VLAN Support v1.8
[    3.170000] ### of_selftest(): No testcase data in device tree; not running tests
[    3.190000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    3.190000] Freeing unused kernel memory: 200k freed
starting pid 431, tty '': '/etc/init.d/rcS'
[    4.130000] SCSI subsystem initialized
[    4.600000] usbcore: registered new interface driver usbfs
[    4.620000] usbcore: registered new interface driver hub
[    4.660000] usbcore: registered new device driver usb
[    4.710000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.720000] ehci-platform ehci-platform.0: Generic Platform EHCI Controller
[    4.730000] ehci-platform ehci-platform.0: new USB bus registered, assigned bus number 1
[    4.770000] ehci-platform ehci-platform.0: irq 48, io mem 0x1b000000
[    4.790000] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00
[    4.800000] hub 1-0:1.0: USB hub found
[    4.800000] hub 1-0:1.0: 1 port detected
[    4.800000] ehci-platform ehci-platform.1: Generic Platform EHCI Controller
[    4.810000] ehci-platform ehci-platform.1: new USB bus registered, assigned bus number 2
[    4.850000] ehci-platform ehci-platform.1: irq 49, io mem 0x1b400000
[    4.870000] ehci-platform ehci-platform.1: USB 2.0 started, EHCI 1.00
[    4.870000] hub 2-0:1.0: USB hub found
[    4.880000] hub 2-0:1.0: 1 port detected
[    4.910000] Initializing USB Mass Storage driver...
[    4.910000] usbcore: registered new interface driver usb-storage
[    4.920000] USB Mass Storage support registered.
[    5.150000] dns_init
[    5.150000] domain_name:tplinkwifi.net
[    5.170000] L2TP core driver, V2.0
[    5.190000] PPPoL2TP kernel driver, V2.0

Please press Enter to activate this console. [err] syslogd[main --763] syslogd : syslogd_init

[ dm_readFile ] 2042:  can not open xml file /var/tmp/pc/reduced_data_model.xml!, about to open file /etc/reduced_data_model.xml
[    6.820000] spiflash_ioctl_read, Read from 0x00fd0000 length 0x10000, ret 0, retlen 0x10000
[    6.850000] spiflash_ioctl_read, Read from 0x00fd0000 length 0x7f64, ret 0, retlen 0x7f64
[    6.890000] spiflash_ioctl_read, Read from 0x00fd0000 length 0x10000, ret 0, retlen 0x10000
[    6.920000] spiflash_ioctl_read, Read from 0x00fd0000 length 0x7f64, ret 0, retlen 0x7f64
[    6.950000] spiflash_ioctl_read, Read from 0x00fcf400 length 0x29, ret 0, retlen 0x29
[    6.950000] spiflash_ioctl_read, Read from 0x00fcf100 length 0x6, ret 0, retlen 0x6
[    6.960000] spiflash_ioctl_read, Read from 0x00fcf200 length 0x4, ret 0, retlen 0x4
[    6.970000] spiflash_ioctl_read, Read from 0x00020000 length 0x200, ret 0, retlen 0x200
[    6.980000] spiflash_ioctl_read, Read from 0x00fcf100 length 0x6, ret 0, retlen 0x6
[    6.990000] ADDRCONF(NETDEV_UP): eth1: link is not ready
sendto /var/tmp/7 msg 2001 error No such file or directory ,pid 503
[ oal_sys_getOldTZInfo ] 650:  Open TZ file error!
[    7.770000] [ eth_vlan_write_proc ] 974: set VLAN Enable...
[    7.770000] ioctl: No such device
spiflash_ioctl_read, Read from 0x00fcf100 length 0x6, ret 0, retlen 0x6
[    8.920000] ADDRCONF(NETDEV_UP): eth0: link is not ready
[    8.930000] device eth0 entered promiscuous mode
[    8.950000] device eth0.2 entered promiscuous mode
brctl: bridge br0: Device or resource busy
[    8.980000] device eth0.3 entered promiscuous mode
brctl: bridge br0: Device or resource busy
[    9.010000] device eth0.4 entered promiscuous mode
brctl: bridge br0: Device or resource busy
[    9.040000] device eth0.5 entered promiscuous mode
brctl: bridge br0: Device or resource busy
[    9.060000] br0: port 1(eth0) entered disabled state
[    9.070000] [ eth_vlan_write_proc ] 974: set VLAN Enable...
[    9.070000] ifconfig: ioctl 0x8913 failed: No such device
brctl: iface eth0.6: No such device
ifconfig: ioctl 0x8913 failed: No such device
brctl: iface eth0.6: No such device
*****The first two bytes of 2.4G caldata: 02 02*****
*****The first two bytes of 5.0G caldata: 20 2f*****

[    9.230000] asf: module license 'Proprietary' taints kernel.
[    9.230000] Disabling lock debugging due to kernel taint
[    9.450000] ath_hal: 0.9.17.1 (AR9380, REGOPS_FUNC, WRITE_EEPROM, 11D)
[    9.520000] ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved
insmod: can't insert '/lib/modules/ath_dfs.ko': No such file or directory
[    9.550000] ath_tx99: Version 2.0
[    9.550000] Copyright (c) 2010 Atheros Communications, Inc, All Rights Reserved
[    9.710000] ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved
[   11.580000] __ath_attach: Set global_scn[0]
[   11.580000] *** All the minfree values should be <= ATH_TXBUF-32, otherwise default value will be used instead ***
[   11.590000] ACBKMinfree = 48
[   11.590000] ACBEMinfree = 32
[   11.600000] ACVIMinfree = 16
[   11.600000] ACVOMinfree = 0
[   11.600000] CABMinfree = 48
[   11.610000] UAPSDMinfree = 0
[   11.610000] ATH_TXBUF=2700
[   11.620000] Enterprise mode: 0x03bda000
[   11.620000] Restoring Cal data from DRAM
[   11.630000]
[   11.630000] ART Version : -48.0.0
[   11.630000] SW Image Version : -48.0.0.0.0
[   11.640000] Board Revision :
[   11.640000] ar9300_attach: nf_2_nom -110 nf_2_max -60 nf_2_min -125
[   11.650000] ath_get_caps[6328] rx chainmask mismatch actual 7 sc_chainmak 0
[   11.660000] ath_get_caps[6303] tx chainmask mismatch actual 7 sc_chainmak 0
[   11.680000] ath_tx_paprd_init sc 87378000 PAPRD Enabled
[   11.700000] wifi0: Atheros 956X: mem=0xb8100000, irq=47
[   11.700000] ath_pci:  (Atheros/multi-bss)
[   11.710000] ol_ath_pci_probe: PCI device id 0056 :0056
[   11.710000] ath_pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[   11.720000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[   11.730000]  *********** Besra *************
[   11.730000]
[   11.730000] __ol_ath_attach() Allocated scn 86140380
[   11.740000] ath_pci 0000:00:00.0: ath DEBUG: sc=0x8719c400
[   11.740000]
[   11.740000]  ol_ath_pci_configure : num_desired MSI set to 0
[   11.750000]
[   11.750000]  Using PCI Legacy Interrupt
[   11.760000] chip_id 0xc chip_revision 0x0
[   11.770000]
[   11.770000]  CLOCK PLL skipped
[   11.780000] HIF_PCIDeviceProbed: setting the target pll frac ffffffff intval ffffffff
[   11.780000] HIF_PCIDeviceProbed: no frac provided, skipping pre-configuring PLL
[   11.790000] __ol_ath_attach: dev name wifi1
[   11.800000] ol_ath_attach interface_id 1
[   11.800000] ol_ath_attach() BMI inited.
[   11.810000] ol_ath_attach() BMI Get Target Info.
[   11.820000] Chip id: 0xc, chip version: 0x1000000
[   11.820000]
[   11.820000]  CE WAR Disabled
[   11.830000] NUM_DEV=1 FWMODE=0x2 FWSUBMODE=0x0 FWBR_BUF 0
[   11.830000] ol_ath_attach() configure Target .
[   11.840000]
[   11.840000]  Target Version is 1000000
[   11.840000]
[   11.840000]  Flash Download Address  c0000
[   11.850000] ol_transfer_bin_file: flash data file defined
[   11.860000] Cal location [0]: 00004000
[   11.860000]
[   11.860000]  wifi1 NAND FLASH Select OFFSET 0x5000
[   11.870000] qc98xx_verify_checksum: flash checksum passed: 0xef05
[   11.880000] ol_transfer_bin_file 3587: Download Flash data len 12064
[   11.890000] Board extended Data download address: 0x0
[   11.910000]
[   11.910000]  Board data initialized
[   11.920000] ol_ath_download_firmware: Download OTP, flash download ADDRESS 0xc0000
[   11.930000]
[   11.930000]  Selecting  OTP binary for CHIP Version 0 Type 12
[   11.940000]
[   11.940000] OTP filename QCA9888/hw.2/otp.bin
[   11.940000]
[   11.940000] ################# QCA9888/hw.2/otp.bin ##################
[   11.950000] ol_transfer_bin_file 3407: downloading file 0, Download data len 8964
[   11.990000]
[   11.990000]  First OTP send param 8000
[   12.240000] ol_ath_download_firmware :First OTP download and Execute is good address:0x5000 return param 4660
[   12.250000] ol_ath_download_firmware:##Board Id 20 , CHIP Id 0
[   12.250000] ol_ath_download_firmware: BOARDDATA DOWNLOAD TO address 0xc0000
[   12.260000] Warning : No board id matched. Selecting default boarddata file
[   12.270000]
[   12.270000]  wifi1: Selecting board data file name boarddata_0.bin
[   12.280000] ol_transfer_bin_file: Board Data File download to address=0xc0000 file name=QCA9888/hw.2/boarddata_0.bin
[   12.290000]
[   12.290000] ################# QCA9888/hw.2/boarddata_0.bin ##################
[   12.300000] ol_transfer_bin_file 3407: downloading file 3, Download data len 12064




[   12.310000] Board extended Data download address: 0x0
[   12.330000] ol_ath_download_firmware: Using 0x1234 for the remainder of init
[   12.340000]
[   12.340000]  Selecting  OTP binary for CHIP Version 0 Type 12
[   12.350000]
[   12.350000] OTP filename QCA9888/hw.2/otp.bin
[   12.350000]
[   12.350000] ################# QCA9888/hw.2/otp.bin ##################
[   12.360000] ol_transfer_bin_file 3407: downloading file 0, Download data len 8964
[   12.400000]
[   12.400000]  [Flash] : Ignore Module param
[   12.410000]
[   12.410000]  Second otp download Param 10000
[   12.670000] ol_ath_download_firmware : Second OTP download and Execute is good, param=0x0
[   12.680000]
[   12.680000]  Mission mode: Firmware CHIP Version 0
[   12.680000] ------------------> ol_swap_seg_alloc : filename = QCA9888/hw.2/athwlan.codeswap.bin !
[   12.680000]
[   12.700000] ol_swap_seg_alloc: Successfully allocated memory for SWAP size=262144
[   12.700000] ------------------> ol_swap_wlan_memory_expansion : filename = QCA9888/hw.2/athwlan.codeswap.bin !
[   12.700000]
[   12.720000] Swap: bytes_left to copy: fw:16; dma_page:61955
[   12.720000] Swap: wrong length read:0
[   12.730000] ol_swap_wlan_memory_expansion: Swap total_bytes copied: 200189 Target address 419530
[   12.740000] scn=86140380  target_write_addr=419530 seg_info=87190510
[   12.740000] ol_transfer_swap_struct:Code swap structure successfully downloaded for bin type =2
[   12.750000] bin_filename=QCA9888/hw.2/athwlan.bin swap_filename=/lib/firmware/QCA9888/hw.2/athwlan.codeswap.bin
[   12.760000] ol_transfer_bin_file: Downloading firmware file: QCA9888/hw.2/athwlan.bin
[   12.770000]
[   12.770000] ################# QCA9888/hw.2/athwlan.bin ##################
[   12.780000] ol_transfer_bin_file 3407: downloading file 1, Download data len 351944
[   14.150000] ol_ath_attach() Download FW done.
[   14.150000] ol_ath_attach() HT Create .
[   14.160000] ol_ath_attach() HIF Claim.
[   14.160000] ol_ath_attach() BMI Done.
[   14.170000] ol_ath_attach 7584 host_enable 0 nss_nwifi_offload 0
[   14.170000] ol_ath_set_default_tgt_config : AC Minfree buffer allocation through module param (umac.ko)
[   14.180000]  OL_ACBKMinfree : 0
[   14.180000]  OL_ACBEMinfree : 0
[   14.190000]  OL_ACVIMinfree : 0
[   14.190000]  OL_ACVOMinfree : 0
[   14.190000] ol_ath_attach() WMI attached. wmi_handle 86020000
[   14.200000] CE_recv_buf_enqueue 877 Populate last entry 512 for CE 5
[   14.210000] CE_recv_buf_enqueue 886 CE 5 wi 511 dest_ptr 0x5b37020 nbytes 0 recv_ctxt 0x85a85240
[   14.220000] Startup Mode-0 set
[   14.220000]
[   14.220000] <=== cfg max peer id 1056 ====>
[   14.230000] HTC Service:0x0300 ep:1 TX flow control disabled
[   14.240000] htt_peer_map_timer_init Enter pdev 85bc0000 hrtimer 85bc47c0
[   14.240000]
[   14.240000]  htt_alloc_peer_map_mem : Alloc Success : host q vaddr 85448000 paddr 5448000
[   14.250000]
[   14.250000]  htt_alloc_peer_map_mem : Flush Interval Configured to 256 pkts
[   14.270000] CE_pkt_dl_len_set CE 4 Pkt download length 64
[   14.270000] ol_txrx_pdev_attach: 2500 tx desc's allocated ; range starts from 85080000
[   14.280000] HTC Service:0x0100 ep:2 TX flow control disabled
[   14.290000] wmi_service_ready_event_rx:  WMI UNIFIED SERVICE READY event
[   14.300000] Firmware_Build_Number:99
[   14.300000] host/RAM_fw Build Ver Mismatch: H:0x5D, F:0x63 !
[   14.310000] num_rf_chain:0x00000002  ht_cap_info:0x0000085b  vht_cap_info:0x339979f2  vht_supp_mcs:0x0000fffa
[   14.320000]
[   14.320000]  RES CFG Support wmi_service_bitmap 9778
[   14.320000]
[   14.320000]  Sending Ext resource cfg: HOST PLATFORM as 1 and fw_feature_bitmap as 50 to TGT
[   14.330000] ol_ath_service_ready_event: tt_support: 1
[   14.340000] ol_ath_service_ready_event: periodic_chan_stats: 0
[   14.340000] Peer Caching Enabled ; num_peers = 530, num_active_peers = 52 num_tids = 104, num_vdevs = 17
[   14.350000] idx 1 req 2  num_units 1 num_unit_info 12 unit size 256 actual units 53
[   14.360000] ol_ath_alloc_host_mem_chunk req_id 2 idx 0 num_units 53 unit_len 256,
[   14.370000] idx 2 req 3  num_units 1 num_unit_info 12 unit size 1024 actual units 53
[   14.380000] ol_ath_alloc_host_mem_chunk req_id 3 idx 1 num_units 53 unit_len 1024,
[   14.390000] idx 3 req 4  num_units 1 num_unit_info 12 unit size 4096 actual units 53
[   14.400000] ol_ath_alloc_host_mem_chunk req_id 4 idx 2 num_units 53 unit_len 4096,
[   14.400000] idx 0 req 1  num_units 0 num_unit_info 2 unit size 872 actual units 531
[   14.410000] ol_ath_alloc_host_mem_chunk req_id 1 idx 3 num_units 265 unit_len 872,
[   14.420000] ol_ath_alloc_host_mem_chunk req_id 1 idx 4 num_units 266 unit_len 872,
[   14.430000] idx 4 req 5  num_units 0 num_unit_info 2 unit size 1892 actual units 531
[   14.440000] ol_ath_alloc_host_mem_chunk req_id 5 idx 5 num_units 132 unit_len 1892,
[   14.450000] ol_ath_alloc_host_mem_chunk req_id 5 idx 6 num_units 133 unit_len 1892,
[   14.460000] ol_ath_alloc_host_mem_chunk req_id 5 idx 7 num_units 133 unit_len 1892,
[   14.470000] ol_ath_alloc_host_mem_chunk req_id 5 idx 8 num_units 133 unit_len 1892,
[   14.470000] chunk 0 len 13568 requested ,ptr  0x5054000
[   14.480000] chunk 1 len 54272 requested ,ptr  0x50a0000
[   14.480000] chunk 2 len 217088 requested ,ptr  0x50c0000
[   14.490000] chunk 3 len 231080 requested ,ptr  0x5100000
[   14.500000] chunk 4 len 231952 requested ,ptr  0x5140000
[   14.500000] chunk 5 len 249744 requested ,ptr  0x5180000
[   14.510000] chunk 6 len 251636 requested ,ptr  0x51c0000
[   14.510000] chunk 7 len 251636 requested ,ptr  0x5200000
[   14.520000] chunk 8 len 251636 requested ,ptr  0x5240000
[   14.550000] wmi_ready_event_rx:  WMI UNIFIED READY event
[   14.550000] ol_ath_connect_htc() WMI is ready
[   14.560000] target uses HTT version 2.2; host uses 2.2
[   14.570000] ol_ath_attach() connect HTC.
[   14.570000] bypasswmi : 0
[   14.570000] ol_regdmn_start: reg-domain param: regdmn=0, countryName=, wModeSelect=FFFFFFFF, netBand=FFFFFFFF, extendedChanMode=0.
[   14.590000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x2) flags 0x2150
[   14.590000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x4) flags 0xa0
[   14.600000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x8) flags 0xc0
[   14.610000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x20) flags 0xd0
[   14.620000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x40) flags 0x150
[   14.620000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x800) flags 0x10080
[   14.630000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x2000) flags 0x20080
[   14.640000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x4000) flags 0x40080
[   14.650000] Add VHT80 channel: 5210
[   14.650000] Add VHT80 channel: 5290
[   14.650000] Add VHT80 channel: 5530
[   14.660000] Add VHT80 channel: 5610
[   14.660000] Add VHT80 channel: 5690
[   14.660000] Add VHT80 channel: 5775
[   14.670000] Skipping VHT80 channel 5825
[   14.670000] OL Resmgr Init-ed
[   14.680000] rate power table override is only supported for AR98XX
[   14.690000] ol_ath_attach() UMAC attach .
[   14.690000]
[   14.690000]  BURSTING enabled by default
[   14.700000] __ol_ath_attach: needed_headroom reservation 44
[   14.700000] ol_ath_thermal_mitigation_attach: --
Invalid command : enable_ol_stats
[   14.940000] wlan_vap_create : enter. devhandle=0x872d0380, opmode=IEEE80211_M_HOSTAP, flags=0x1
[   14.940000]
[   14.950000] ieee80211_mbo_vattach:MBO Initialized
[   14.960000] wlan_vap_create : exit. devhandle=0x872d0380, opmode=IEEE80211_M_HOSTAP, flags=0x1.
[   14.960000]
[   14.970000] VAP device ath0 created osifp: (850b5380) os_if: (85fa8000)
ath0
[   15.170000] [wifi1] FWLOG: [20935] WAL_DBGID_TX_AC_BUFFER_SET ( 0x3, 0x1e, 0x94c, 0x94c, 0x0 )
[   15.180000] [wifi1] FWLOG: [20935] WAL_DBGID_TX_AC_BUFFER_SET ( 0x12, 0x1e, 0x94c, 0x94c, 0x0 )
[   15.180000] [wifi1] FWLOG: [20935] WAL_DBGID_TX_AC_BUFFER_SET ( 0x45, 0x1e, 0x94c, 0x94c, 0x0 )
[   15.190000] [wifi1] FWLOG: [20935] WAL_DBGID_TX_AC_BUFFER_SET ( 0x67, 0x1e, 0x94c, 0x94c, 0x0 )
[   15.200000] [wifi1] FWLOG: [20935] WAL_DBGID_TX_AC_BUFFER_SET ( 0x100, 0x11e1a300 )
[   15.990000] wlan_vap_create : enter. devhandle=0x872d0380, opmode=IEEE80211_M_STA, flags=0x3
[   15.990000]
[   16.000000] wlan_vap_create : exit. devhandle=0x872d0380, opmode=IEEE80211_M_STA, flags=0x3.
[   16.000000]
[   16.010000] VAP device ath1 created osifp: (850b7380) os_if: (850bc000)
ath1
[   17.040000] ieee80211_extap_detect_stop: stop.
[   17.050000] wlan_vap_create : enter. devhandle=0x872d0380, opmode=IEEE80211_M_HOSTAP, flags=0x1
[   17.050000]
[   17.060000] ieee80211_mbo_vattach:MBO Initialized
[   17.060000] wlan_vap_create : exit. devhandle=0x872d0380, opmode=IEEE80211_M_HOSTAP, flags=0x1.
[   17.060000]
[   17.070000] VAP device ath2 created osifp: (85f91380) os_if: (85f8c000)
ath2
[   17.150000]
[   17.150000]  DES SSID SET=TP-Link_149D
[   17.230000] siwfreq
[   17.230000] Set freq vap 0 stop send + 85fa8000
[   17.240000] Set freq vap 0 stop send -85fa8000
[   17.270000] Set wait done --85fa8000
[   17.270000] Set freq vap 0 stop send + 85f8c000
[   17.270000] Set freq vap 0 stop send -85f8c000
[   17.310000] Set wait done --85f8c000
[   17.380000] WARNING: Fragmentation with HT mode NOT ALLOWED!!
Error for wireless request "Set Fragmentation Threshold" (8B24) :
    SET failed on device ath0 ; Invalid argument.
Sorry, rule does not exist.
[   17.440000] Setting Max Stations:32
[   17.490000]
[   17.490000]  DES SSID SET=TP-Link_Guest_149D
[   17.540000] Switching to Tx Mode-0
[   17.560000] WARNING: Fragmentation with HT mode NOT ALLOWED!!
Error for wireless request "Set Fragmentation Threshold" (8B24) :
    SET failed on device ath2 ; Invalid argument.
[   17.600000] Setting Max Stations:32
Reading topology file /var/Wireless/2_4G_topology.conf ...
417.455: Reading radio configuration file /var/Wireless/2_4G_80211g.ap_radio ...

417.455: Reading bss configuration file /var/Wireless/ath0.ap_bss ...

[   17.920000]  ieee80211_ioctl_siwmode: imr.ifm_active=131712, new mode=3, valid=1
Using interface ath0 with hwaddr 70:4f:57:42:14:9d and ssid 'TP-Link_149D'
[   18.040000]
[   18.040000]  DES SSID SET=TP-Link_149D
[   18.050000] Warning: node not in table 0x85072000
417.642: upnp_wps_device_init called
l2_packet_receive - recvfrom: Network is down
Invalid command : vap_ind
[   18.720000] registe callback function for ath0
atheros_wireless[   18.750000] 8021q: adding VLAN 0 to HW filter on device ath0
_event_receive:Malformed netlink message: len=1000 left=512 plen=984
512 extra bytes in the end of netlink message
[   18.780000] registe callback function for ath0
[   21.520000] ieee80211_extap_detect_stop: stop.
[   21.590000] device ath0 entered promiscuous mode
[   21.590000] br0: port 1(ath0) entered forwarding state
[   21.600000] br0: port 1(ath0) entered forwarding state
atheros_wireless_event_receive:Malformed netlink message: len=996 left=512 plen=[   21.610000] device ath1 entered promiscuous mode
980
512 extra bytes in the end of netlink message
[   21.620000] device ath2 entered promiscuous mode
*****The first two bytes of 2.4G caldata: 02 02*****
*****The first two bytes of 5.0G caldata: 20 2f*****
atheros_wireless_event_receive:Malformed netlink message: len=1004 left=512 plen=988
512 extra bytes in the end of netlink message
[   21.690000] wmi_unified_vdev_create_send: ID = 0 Type = 1, Subtype = 0 VAP Addr = 70:4f:57:42:14:9f:
[   21.700000] ieee80211_mbo_vattach:MBO Initialized
[   21.700000] VAP device ath5 created osifp: (85f93b80) os_if: (852cc000)
atheros_wireless_event_receive:Malformed netlink message: len=1000 left=512 plen=984
512 extra bytes in the end of netlink message
ath5
[   22.170000] [wifi1] FWLOG: [28224] WAL_DBGID_DEV_RESET ( 0xc01d, 0x42b )
[   22.720000] wmi_unified_vdev_create_send: ID = 1 Type = 2, Subtype = 0 VAP Addr = 76:4f:57:42:14:9f:
[   22.730000] wmi_unified_set_psmode:set psmode=1
[   22.730000] VAP device ath6 created osifp: (852e5b80) os_if: (852e0000)
ath6
atheros_wireless_event_receive:Malformed netlink message: len=1000 left=512 plen=984
512 extra bytes in the end of netlink message
[   23.750000] wmi_unified_set_psmode:set psmode=0
[   23.760000] wmi_unified_set_psmode:set psmode=0
[   23.770000] ieee80211_extap_detect_stop: stop.
[   23.770000] wmi_unified_set_psmode:set psmode=0
[   23.780000] wmi_unified_set_psmode:set psmode=0
[   23.790000] wmi_unified_vdev_create_send: ID = 2 Type = 1, Subtype = 0 VAP Addr = 7a:4f:57:42:14:9f:
[   23.800000] ieee80211_mbo_vattach:MBO Initialized
[   23.810000] VAP device ath7 created osifp: (852f8380) os_if: (852fc000)
ath7
atheros_wireless_event_receive:Malformed netlink message: len=1000 left=512 plen=984
512 extra bytes in the end of netlink message
[   23.830000]
[   23.830000]  DES SSID SET=TP-Link_149D_5G
atheros_wireless_event_receive:Malformed netlink message: len=1004 left=512 plen[   23.850000] [ol_ath_iw_setcountry][1680] *p=44, *(p+1)=45
=988
512 extra [   23.860000] isCountryCodeValid: EEPROM regdomain 0x0
bytes in the end[   23.870000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x2) flags 0x2150
 of netlink mess[   23.880000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x4) flags 0xa0
age
[   23.880000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x8) flags 0xc0
[   23.890000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x20) flags 0xd0
[   23.900000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x40) flags 0x150
[   23.910000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x800) flags 0x10080
[   23.910000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x2000) flags 0x20080
[   23.920000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x4000) flags 0x40080
[   23.930000] Add VHT80 channel: 5210
[   23.930000] Add VHT80 channel: 5290
[   23.940000] Add VHT80 channel: 5530
[   23.940000] Add VHT80 channel: 5610
[   23.940000] Skipping VHT80 channel 5660
[   23.950000] Skipping VHT80 channel 5680
[   23.950000] Skipping VHT80 channel 5700
atheros_wireless_event_receive:Malformed netlink message: len=1004 left=512 plen=988
512 extra bytes in the end of netlink message
List Flushed
Following channels are blocked from Channel selection algorithm
[52] [56] [60[   24.020000] siwfreq
] [64] [100] [10[   24.030000] Set freq vap 0 stop send + 852cc000
4] [108] [112] [[   24.030000] Set freq vap 0 stop send -852cc000
116] [120] [124] [128] [132] [136] [140] [149] [153] [157] [161] [165]
[   24.070000] Set wait done --852cc000
[   24.070000] Set freq vap 0 stop send + 852fc000
[   24.070000] Set freq vap 0 stop send -852fc000
[   24.110000] Set wait done --852fc000
[   24.140000] ME Pool succesfully initialized vaddr - 85320000 paddr - 0
[   24.140000] num_elems = 1424 buf_size - 64 pool_size = 102528
[   24.160000] Enable MCAST_TO_UCAST
[   24.170000] su bfee 1 mu bfee 0 su bfer 1 mu bfer 1 impl bf 0 sounding dim 1
[   24.180000] su bfee 1 mu bfee 0 su bfer 1 mu bfer 1 impl bf 0 sounding dim 1
[   24.190000] su bfee 1 mu bfee 0 su bfer 1 mu bfer 1 impl bf 0 sounding dim 1
[   24.210000] su bfee 1 mu bfee 0 su bfer 1 mu bfer 1 impl bf 0 sounding dim 1
[   24.240000] WARNING: Fragmentation with HT mode NOT ALLOWED!!
Error for wireless request "Set Fragmentation Threshold" (8B24) :
    SET failed on device ath5 ; Invalid argument.
Sorry, rule does not exist.
[   24.280000] Setting Max Stations:32
[   24.340000]
[   24.340000]  DES SSID SET=TP-Link_Guest_149D_5G
[   24.400000] WARNING: Fragmentation with HT mode NOT ALLOWED!!
Error for wireless request "Set Fragmentation Threshold" (8B24) :
    SET failed on device ath7 ; Invalid argument.
[   24.440000] Setting Max Stations:32
Reading topology file /var/Wirel[   24.520000]  ieee80211_ioctl_siwmode: imr.ifm_active=66176, new mode=3, valid=1
ess/5G_topology.conf ...
424.110: Reading radio configuration file /var/Wireless/5G_80211g.ap_radio ...

424.110: Reading bss configuration file /var/Wireless/ath5.ap_bss ...

Using interface ath5 with hwaddr 70:4f:57:42:14:9f and ssid 'TP-Link_149D_5G'
[   24.650000]
[   24.650000]  DES SSID SET=TP-Link_149D_5G
424.245: upnp_wps_device_init called
l2_packet_receive - recvfrom: Network is down
[   25.170000] [wifi1] FWLOG: [31289] WAL_DBGID_SECURITY_ENCR_EN (  )
[   25.180000] [wifi1] FWLOG: [31289] WAL_DBGID_SECURITY_MCAST_KEY_SET ( 0x1 )
Invalid command : vap_ind
[   25.560000] registe callback function for ath5
atheros_wireless[   25.590000] 8021q: adding VLAN 0 to HW filter on device ath5
_event_receive:Malformed netlink message: len=1000 left=512 plen=984
512 extra bytes in the end of netlink message
atheros_wir[   25.600000] device ath5 entered promiscuous mode
eless_event_rece[   25.610000] br0: port 8(ath5) entered forwarding state
ive:Malformed ne[   25.620000] br0: port 8(ath5) entered forwarding state
tlink message: len=1000 left=512 plen=984
512 extra bytes in the end of netlink[   25.630000] device ath6 entered promiscuous mode
 message
[   25.640000] device ath7 entered promiscuous mode
[src/cloud_downloadHandler.c:cloud_initPthreadDownloadHandler:241] init download handler success!

[src/cloud_downloadHandler.c:downloadHandler:104] Enter download handler, download firmware from cloud...

[src/cloud_downloadHandler.c:downloadHandler:108] wait semaphore to download firmware to device...

mmmInit():Total mem size=51364, addr=0x0x69c008.
*************************************************************
*************************MMM TABLE DUMP**********************
-------------------------------------------------------------
sendto /var/tmp/8 msg 2030 error No such file or directory ,pid 503
 poolhead(40)  poolnum  dynamictimes  chainhead  poolend
-------------------------------------------------------------
 0x69c008        8          0         (nil)     0x6a88ac
-------------------------------------------------------------
 index  poolhead(20)    size    blocks    free     usage
-------------------------------------------------------------
  1     0x69c030        32          256       256       0
  2     0x69e448        64          128       128       0
  3     0x6a0660        128         64        64        0
  4     0x6a2778        256         32        32        0
  5     0x6a4810        512         8         8         0
  6     0x6a5848        1024        4         4         0
  7     0x6a6870        2048        2         2         0
  8     0x6a7890        4096        1         1         0
-------------------------------------------------------------
 index  chainnode(16)   magic    length    prev    next
-------------------------------------------------------------
(nil)
*************************************************************
[   26.170000] [wifi1] FWLOG: [32242] WAL channel change freq=5180, mode=0 flags=0 rx_ok=1 tx_ok=1
[   26.180000] [wifi1] FWLOG: [32556] WAL channel change freq=5200, mode=0 flags=0 rx_ok=1 tx_ok=1
sendto /var/tmp/9 msg 2004 error No such file or directory ,pid 503
sendto /var/tmp/9 msg 2004 error No such file or directory ,pid 503
sendto /var/tmp/9 msg 2004 error No such file or directory ,pid 503
[ ipsecEntry ] 357:  ipsec mkdir error

iptables: Bad rule (does a matching rule exist in that chain?).
iptables: Bad rule (does a matching rule exist in that chain?).
radvd starting
[ modifyL2BridgingFromLantoWan ] 155:  Fail to get LANDevice object (eth1), ret = 9806
[ rsl_initEwanObj ] 307:  Initialize EWAN failed!
[   26.940000] [ag71xx_rings_cleanup:348]ag71xx_rings_cleanup
atheros_wireless_event_receive:Malformed netlink message: len=1004 left=512 plen=988
512 extra [   26.950000] ADDRCONF(NETDEV_UP): eth1: link is not ready
bytes in the end of netlink message
atheros_wireless_event_receive:Malformed netlink message: len=1004 left=512 plen=988
512 extra bytes in the end of netlink message
atheros_wireless_event_receive:Malformed netlink message: len=1004 left=512 plen=988
512 extra bytes in the end of netlink message
atheros_wireless_event_receive:Malformed netlink message: len=1004 left=512 plen=988
512 extra bytes in the end of netlink message
atheros_wireless_event_receive:Malformed netlink message: len=1004 left=512 plen=988
512 extra bytes in the end of netlink message
atheros_wireless_event_receive:Malformed netlink message: len=1004 left=512 plen=988
512 extra bytes in the end of netlink message
[ rsl_initWanIpConnObj ] 752:  This connType(dhcp_USB_4G) is not up in current mode!
[ rsl_initWanPppConnObj ] 286:  This connType(ppp_USB_3G) is not up in current mode!
[   27.170000] [wifi1] FWLOG: [32871] WAL channel change freq=5220, mode=0 flags=0 rx_ok=1 tx_ok=1
[   27.180000] [wifi1] FWLOG: [33185] WAL channel change freq=5240, mode=0 flags=0 rx_ok=1 tx_ok=1
[   27.190000] [wifi1] FWLOG: [33499] WAL channel change freq=5260, mode=0 flags=0 rx_ok=1 tx_ok=1
[   27.200000] [wifi1] FWLOG: [33812] WAL channel change freq=5280, mode=0 flags=0 rx_ok=1 tx_ok=1
[ getPidFromPidFile ] 112:  Cann't open file: /var/run/zebra.pid.
[ getPidFromPidFile ] 112:  Cann't open file: /var/run/ripd.pid.
iptables: Bad rule (does a matching rule exist in that chain?).
insmod: can't insert '/lib/modules/kmdir/kernel/net/netfilter/nf_conntrack_proto_gre.ko': File exists
insmod: can't insert '/lib/modules/kmdir/kernel/net/netfilter/nf_conntrack_pptp.ko': File exists
iptables: Bad rule (does a matching rule exist in that chain?).
iptables: Bad rule (does a matching rule exist in that chain?).
ip6tables v1.4.17: Couldn't find target `FWRULE'

Try `ip6tables -h' or 'ip6tables --help' for more information.
ip6tables v1.4.17: Couldn't find target `INPUT_FWRULE'

Try `ip6tables -h' or 'ip6tables --help' for more information.
ip6tables: No chain/target/match by that name.
ip6tables: No chain/target/match by that name.
ip6tables: No chain/target/match by that name.
ip6tables: No chain/target/match by that name.
ip6tables: No chain/target/match by that name.
ip6tables: No chain/target/match by that name.
iptables: Bad rule (does a matching rule exist in that chain?).
iptables: Bad rule (does a matching rule exist in that chain?).
iptables: Bad rule (does a matching rule exist in that chain?).
ip6tables: Bad rule (does a matching rule exist in that chain?).
[src/cloud_client.c:initSigIntHandler:104] init signal handler success!

[src/cloud_client.c:cloudClientInit:148] Init cloud-client environment successful.

[src/cloud_localMsgHandler.c:cloud_localMsgTask:96] Start cloud local message observer...

ip6tables: Bad rule (does a matching rule exist in that chain?).
ip6tables: Bad rule (does a matching rule exist in that chain?).
Sorry, rule does not exist.
iptables: Bad rule (does a matching rule exist in that chain?).
[   28.170000] [wifi1] FWLOG: [34127] WAL channel change freq=5300, mode=0 flags=0 rx_ok=1 tx_ok=1
[   28.180000] [wifi1] FWLOG: [34441] WAL channel change freq=5320, mode=0 flags=0 rx_ok=1 tx_ok=1
[   28.190000] [wifi1] FWLOG: [34754] WAL channel change freq=5500, mode=0 flags=0 rx_ok=1 tx_ok=1
ip6tables: Bad rule (does a matching rule exist in that chain?).
ip6tables: Bad rule (does a matching rule exist in that chain?).
[ rsl_setStorageServiceObj ] 1394:  mountFlag is 3,We start usb server

killall: minidlnad: no process killed
[   29.170000] [wifi1] FWLOG: [35068] WAL channel change freq=5520, mode=0 flags=0 rx_ok=1 tx_ok=1
[   29.180000] [wifi1] FWLOG: [35383] WAL channel change freq=5540, mode=0 flags=0 rx_ok=1 tx_ok=1
[   29.190000] [wifi1] FWLOG: [35697] WAL channel change freq=5560, mode=0 flags=0 rx_ok=1 tx_ok=1
[   30.170000] [wifi1] FWLOG: [36011] WAL channel change freq=5580, mode=0 flags=0 rx_ok=1 tx_ok=1
[   30.180000] [wifi1] FWLOG: [36325] WAL channel change freq=5600, mode=0 flags=0 rx_ok=1 tx_ok=1
[   30.190000] [wifi1] FWLOG: [36638] WAL channel change freq=5620, mode=0 flags=0 rx_ok=1 tx_ok=1
iptables: Bad rule (does a matching rule exist in that chain?).
iptables: Bad rule (does a matching rule exist in that chain?).
ip6tables: Bad rule (does a matching rule exist in that chain?).
[   30.820000] kcg 333 :GPL NetUSB up!
[   30.920000] kc  227 : init_DebugD end
[   30.920000] INFO18D9: NetUSB 1.02.95, 00030308 : Mar 27 2017 11:28:05
[   30.930000] INFO18DB: 7437: TL-MR3620 :TL-MR3620
[   30.940000] INFO18DC:  AUTH ISOC
[   30.940000] INFO18DD:  filterAudio
[   30.940000] kc   90 : run_telnetDBGDServer start
[   30.950000] usbcore: registered new interface driver KC NetUSB General Driver
[   30.960000] INFO01F9:  init proc : PAGE_SIZE 4096
[   30.970000] INFO17E8:  infomap 84e0d47c
[   30.970000] INFO17EC:  bndev : br0
[   30.980000] INFO17F1:  sleep to wait br0 to wake up
[   30.980000] INFO1610: tcpConnector() started... : br0
[   31.170000] [wifi1] FWLOG: [36953] WAL channel change freq=5640, mode=0 flags=0 rx_ok=1 tx_ok=1
[   31.180000] [wifi1] FWLOG: [37267] WAL channel change freq=5660, mode=0 flags=0 rx_ok=1 tx_ok=1
[   31.190000] [wifi1] FWLOG: [37581] WAL channel change freq=5680, mode=0 flags=0 rx_ok=1 tx_ok=1
[   31.200000] [wifi1] FWLOG: [37895] WAL channel change freq=5700, mode=0 flags=0 rx_ok=1 tx_ok=1
[   31.410000] wmi_unified_vdev_down_send for vap 0 (86020000)
[   31.420000] ieee80211_extap_detect_stop: stop.
[   31.430000] OL vap_start +
[   31.430000] wmi_unified_vdev_start_send for vap 0 (86020000)
[   31.430000] OL vap_start -
[   31.440000] ol_ath_vap_set_param: Now supported MGMT RATE is 6000(kbps) and rate code: 0x3
[   31.620000] ol_vdev_start_resp_ev for vap 0 (86020000)
[   31.630000] su bfee 1 mu bfee 0 su bfer 1 mu bfer 1 impl bf 0 sounding dim 1
[   31.640000] wmi_unified_vdev_up_send for vap 0 (86020000)
[   32.170000] [wifi1] FWLOG: [38214] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 )
[   32.180000] [wifi1] FWLOG: [38214] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 )
[   32.180000] [wifi1] FWLOG: [38228] vap-0 VDEV_MGR_VDEV_START ( 0x143c, 0x2, 0x0, 0x0 )
[   32.190000] [wifi1] FWLOG: [38228] WAL channel change freq=5180, mode=10 flags=0 rx_ok=1 tx_ok=1
[   32.200000] [wifi1] FWLOG: [38442] VDEV_MGR_HP_START_TIME ( 0x0, 0x143c, 0x1068000 )
[   32.210000] [wifi1] FWLOG: [38442] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x1 )
[   32.220000] [wifi1] FWLOG: [38442] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 )
[   32.220000] [wifi1] FWLOG: [38442] VDEV_MGR_AP_TBTT_CONFIG ( 0x0, 0x143c, 0x0, 0x0 )
[   34.050000] INFO15C0: Bind to br0
Will output 1024 bit rsa secret key to '/var/tmp/dropbear/dropbear_rsa_host_key'
Generating key, this may take a while...
Public key portion is:
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgnW/hwg0CvEL5aj5fDAeylCiYYmxHRY6YdEdAxNvjOWcej6jHvPPh5Ad3bly5FlWIxGTEH2+qn8E7MMxx+KuSdKSKGaSOu7H6/CXz/G2IEmLc7wh0YeZrb8fgmsvWxWCsqHEsrbPX+S2UDSsr/AIKhOESpPAJelgyM/wca6sTyF7UBE= admin@TL-MR3620
Fingerprint: md5 94:cf:9c:36:ef:ac:e0:34:fb:9e:06:62:18:26:90:98
Will output 1024 bit dss secret key to '/var/tmp/dropbear/dropbear_dss_host_key'
Generating key, this may take a while...
[   38.950000] sched: RT throttling activated
Public key portion is:
ssh-dss AAAAB3NzaC1kc3MAAACBAMv3zgAIEYaphnYFkShqgLlyte/aMu/45I1CSjRSMoXsd+Ds9NyJhCVaTN6spRStUU4xc4XzNnbZpce68I3aCScGs6XxJIaXznmXFBE06jD0r06ROID+oJ3EXOc2O/FSTCfWQo3LA+tgnWzuF/Mb/kii+47OVSdKombqSEGO9GMpAAAAFQDEyvnseBk1viSIZdUmvcSYHKdzdQAAAIAbjCK45HDsJoxA9PnmNxGinpBUhU2z6iZwzzR2C9B0C0TBkpWDaK6cd0TZdkCa5VKGEoRcYTxlkAs3HdEn5zF1YxA6qMAHOtABElOiG6zyxt7fwlhutDTmyGoR6Xl7fKh0HTgTM4asbQ1xkgfTIilfqlbko14BtNU6oTZ2ugriwAAAAIAGi/nItnzFMcALEHmXTmnWEWAmqWt+UyX2RpWKKbHsjPVFxmQLZy7M7BEyWjm4I3HcKSSav+0XDIrvMoSxRj0StqR5WHgD8bsA5ExD4Vf1157e+uuRfplpkb9JFEd1thu88TIG9ippk5Ahsdvb5iE8jvuNhL/o00Gr2gznWrnmaw== admin@TL-MR3620
Fingerprint: md5 ae:84:71:19:07:56:b1:8f:18:43:03:93:a7:15:e5:28
451.183: ath0: STA 70:4f:57:42:14:9d IEEE 802.11: disassociated






Blockquote

NEEDS OPEN-WRT SUPPORT FOR TP-LINK TL-MR3620 (EU) V1.0
(AC1350 3G/4G WIRELESS DUAL BAND ROUTER)

JUST DISASSEMBLED THE DEVICE, REMOVED RF SHIELD.

SOC IS QUALCOMM ATHEROS QCA9561
16MB FLASH (DIFFICULT TO APPROACH WITH A SOP8/SOIC8 TEST CLIP & PROGRAMMER)
128 MB RAM (SPECS SEAMS SIMILAR TO ARCHER C59)
1X USB 2.0

2ND RADIO CHIP WAS COVERED WITH STICK-ON HEATSINK, SO I DIDN'T REMOVED THAT.

UNFORTUNATELY, TX & RX ARE NOT CONNECTED TO THE UART TERMINALS,

TP4 WILL BE TX (CONFIRMED WITH MULTIMETER 2.5V-2.9V VARYING)
TP5 WILL BE RX (0V)
(X VALUE RESISTORS ARE MISSING - CAN BE CONNECTED WITH A SOLDER BLOB OR 0-OHM)

& WILL NEED THIN JUMPER WIRE TO THE UART TERMINAL WHICH ARE NOT CONNECTED (NC).

THERE IS AN IC 74HC595 WHICH I AM NOT FAMILIAR WITH. (ANYONE CAN COMMENT ON ITS FUNCTION PLEASE).

I HAVE SAVED THE BOOT-LOG AS BELOW. FROM TP4 (TX)

U-BOOT IS ON WEIRD BAUD RATE 120000 (SIMILAR TO TL-WR941N (CN) V6) (OTHERWISE SHOWS GARBLED CHARACTERS)
KERNEL IS ON 115200
REST OF THE SETTING ARE SAME AS OTHER TP-LINK DEVICES. USING PUTTY (LATEST)

PLEASE GUIDE ME, CAN I DUMP/COPY ITS FULL FLASH DUMP FILE WHILE ON STOCK FIRMWRE USING SSC/SSH??? (FOR BACKUP REASON TOO, MOST IMPORTANTLY. BEFORE TRYING TESTFILE) SO I CAN SHARE IT HERE TOO.

REQUEST TO DEVELOPERS, FOR DEVICE SUPPORT.

Still waiting for someone's response.

Can anyone help me please. Or should I try to build my own custom build??? (Needs guidance if it is possible)
I am sure the hardware is fully compatible, being 16/128 Atheros device.
I don't know why nobody replies, or are not interested in such a simple device for which all the drivers are already available. It is just the matter of firmware compilation. I have given most of the details. I'll try the test image on my device & will update the progress.

Reminder for this "possible to support" device.
No reply from anyone even after a week.
Should I wait & hope for the support or dump this nice hardware 16/128?
Request to the Openwrt developers for support & guidance.

In all likelihood, the only person who could reasonably add support for your device is yourself simply because you have one. It might be desirable to you, but nowadays a fast ethernet (100Mbps) router is not attractive to most OpenWrt developers.

At the very least, to be supported you will need to be able to get a replacement firmware onto the device. In the absence of being able to confirm the ability to upload an alternative firmware through the factory web interface, you need to be able to confirm that you can use TFTP to install a firmware. Many TP-Link devices support TFTP recovery, so just being able to TFTP a factory firmware file to the device using this recover mechanism is a good start. That the device uses Uboot as the bootloader at least gives the possibility of TFTP support...

Then follows a lot of work to be able to build an OpenWrt image for your device, including (but not limited to):

  • mapping the flash partitions
  • determining how to structure the firmware image along with the necessary identifying information to get past whatever checks the bootloader makes or the OEM firmware might apply while uploading an image via the web UI
  • building a device tree to map all hardware into the structures needed by the Linux kernel to have drivers connect device hardware

A basic initial goal would be to get an initramfs image running via TFTP (without flashing) because that then permits testing all the core functionality without risking bricking the device.

It is curious that the boot log you've posted references the MR400. This MR400 related post links some developer support information. There are also these existing QCA9561 devices with information in OpenWrt's wiki.

You will also need to make extensive use of search engines to gather info in order to make progress, unless you can find someone else interested in your device with applicable knowledge and skills to assist.

1 Like