OpenWRT support for TP-Link TL-WDR7400

Hello!

I got my hands on TP-Link TL-WDR7400 Ver1.0.
Here are some pictures:

It seems it has the following chips:

  • QCA9880-BR4A
  • QCA9563-AL3A
  • M14D5121632A
  • RTL8367S

I saw there are some supported routers with similar hardware. Would be possible to make an image for this?

It also has a serial interface. What other information are necessary?

OEM boot log? (set max log level power off on, check in web)

Where do you download OEM fw upgrades?
Is there no-serial official vendor sw recovery like tftp, web,ftp?

Qualcomm wifi with no discrete chips - presuming some qca platform - which exactly? realtek switch

J1 looks like serial even suitable for 3 br#adboard pins without soldering

bootconsole disabled
[    0.250000] console [ttyS0] enabled, bootconsole disabled
[    0.260000] m25p80 spi0.0: found gd25q64CSIG, expected m25p80
[    0.270000] m25p80 spi0.0: gd25q64CSIG (8192 Kbytes)
[    0.270000] Searching for RedBoot partition table
[    0.280000] 9 RedBoot partitions found on MTD device spi0.0
[    0.280000] Creating 9 MTD partitions on "spi0.0":
[    0.290000] 0x000000000000-0x00000001d800 : "factory_boot"
[    0.290000] mtd: partition "factory_boot" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.310000] 0x00000001d800-0x00000001e000 : "factory_info"
[    0.320000] 0x00000001e000-0x000000020000 : "art"
[    0.320000] 0x000000020000-0x000000030000 : "config"
[    0.330000] 0x000000030000-0x000000040000 : "normal_boot"
[    0.330000] 0x000000040000-0x00000013fecc : "kernel"
[    0.340000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.350000] 0x00000013fecc-0x000000680000 : "rootfs"
[    0.360000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.370000] mtd: partition "rootfs" set to be root filesystem
[    0.380000] 0x000000680000-0x000000800000 : "rootfs_data"
[    0.390000] 0x000000040000-0x000000800000 : "firmware"
[    0.390000] Registered character driver slp_flash_chrdev
[    0.400000] u32 classifier
[    0.400000]     Performance counters on
[    0.400000]     input device check on
[    0.410000]     Actions configured
[    0.410000] nf_conntrack version 0.5.0 (959 buckets, 3836 max)
[    0.420000] TCP cubic registered
[    0.420000] NET: Registered protocol family 17
[    0.430000] 8021q: 802.1Q VLAN Support v1.8
[    0.440000] Flash UID signiture check OK.
[    0.440000] ### of_selftest(): No testcase data in device tree; not running tests
[    0.450000] VFS: Mounted root (squashfs filesystem) readonly on device 31:6.
[    0.460000] Freeing unused kernel memory: 180k freed
- preinit -
- regular preinit -
[    2.500000] JFFS2 notice: (338) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
switching to jffs2
- init -

Please press Enter to activate this console. Mon Jul 10 02:55:00 UTC 2017
2+0 records in
2+0 records out
[    5.340000] ag71xx_mdio: probed
[    5.350000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[    6.020000] set green ethernet is 1
[    6.020000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.0:1d [uid=001cc942, driver=Realtek 8367S]
[    6.260000] PPP generic driver version 2.4.2
[    6.290000] asf: module license 'Proprietary' taints kernel.
[    6.290000] Disabling lock debugging due to kernel taint
[    6.370000] ****Address of trace_timer :83bea5c0
[    6.640000] ath_hal: 0.9.17.1 (AR5416, AR9380, REGOPS_FUNC, WRITE_EEPROM, TX_DATA_SWAP, RX_DATA_SWAP, 11D)
[    6.720000] ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved
[    6.790000] ath_tx99: Version 2.0
[    6.790000] Copyright (c) 2010 Atheros Communications, Inc, All Rights Reserved
[    6.950000] ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved
[    8.500000]
[    8.500000] -----------------2G Caldata--------------------
[    8.500000] 02 02 00 02 03 04 05 06 00 00 00 00 00 00 00 00
[    8.510000] -----------------------------------------------
[    8.510000]
[    8.520000]
[    8.520000] -----------------5G Caldata--------------------
[    8.520000] 44 08 BA 81 02 0D 00 03 7F 12 34 56 00 00 1F 00
[    8.530000] -----------------------------------------------
[    8.530000]
[    8.540000] __ath_attach: Set global_scn[0]
[    8.540000] *** All the minfree values should be <= ATH_TXBUF-32, otherwise default value will be used instead ***
[    8.550000] ACBKMinfree = 48
[    8.560000] ACBEMinfree = 32
[    8.560000] ACVIMinfree = 16
[    8.560000] ACVOMinfree = 0
[    8.560000] CABMinfree = 48
[    8.570000] UAPSDMinfree = 0
[    8.570000] ATH_TXBUF=512
[    8.580000] Enterprise mode: 0x03bda000
[    8.590000] Restoring Cal data from Flash
[    8.590000] ath_get_caps[6160] rx chainmask mismatch actual 7 sc_chainmak 0
[    8.600000] ath_get_caps[6135] tx chainmask mismatch actual 7 sc_chainmak 0
[    8.620000] ath_tx_paprd_init sc 83bf8000 PAPRD Enabled
[    8.620000] wifi0: Atheros 956X: mem=0xb8100000, irq=47
[    8.630000] ath_pci: 10.2.3.31 (Atheros/multi-bss)
[    8.630000] ath_pci_probe
[    8.640000] PCI device id is 003c :003c
[    8.640000] ath_pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[    8.650000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[    8.660000] ath_pci 0000:00:00.0: ath DEBUG: sc=0x83bd7000
[    8.660000]
[    8.660000]  ol_ath_pci_configure : num_desired MSI set to 0
[    8.670000]
[    8.670000]  Using PCI Legacy Interrupt
[    9.670000] CE_per_engine_handler_adjust, base=83bd7000 offset=57400
[    9.670000] CE_per_engine_handler_adjust, base=83bd7000 offset=57800
[    9.690000] __ol_ath_attach: ath_attach TODO
[    9.690000] __ol_ath_attach: dev name wifi1
[    9.700000] ol_ath_set_default_tgt_config : AC Minfree buffer allocation through module param (umac.ko)
[    9.710000]  OL_ACBKMinfree : 0
[    9.710000]  OL_ACBEMinfree : 0
[    9.720000]  OL_ACVIMinfree : 0
[    9.720000]  OL_ACVOMinfree : 0
[    9.720000] ol_ath_attach() BMI inited.
[    9.730000] ol_ath_attach() BMI Get Target Info.
[    9.740000] ol_ath_attach() TARGET TYPE: 7 Vers 0x4100016c
[    9.740000] NUM_DEV=1 FWMODE=0x2 FWSUBMODE=0x0 FWBR_BUF 0
[    9.750000] ol_ath_attach() configure Target .
[    9.750000] qc98xx_verify_checksum: flash checksum passed: 0x81ba
[    9.760000] ol_transfer_bin_file 2211: Download Flash data len 2116
[    9.770000] ol_transfer_bin_file 2125: Download Firmware data len 230896
[   10.770000] ol_ath_attach() Download FW.
[   10.770000] ol_ath_attach() HT Create .
[   10.780000] ol_ath_attach() HIF Claim.
[   10.780000] ol_ath_attach() BMI Done.
[   10.790000] ol_ath_attach() WMI attached. wmi_handle 832a0000
[   10.790000] +HWT
[   10.790000] SOC_RESET_CONTROL_ADDRESS : 800
[   10.800000] CPU_INTR_ADDRESS = [0]
[   10.800000] SOC_GLOBAL_RESET_ADDRESS = [0]
[   10.810000] Rx_Filter : [0]
[   10.810000] CE_per_engine_handler_adjust, base=83bd7000 offset=57400
[   10.820000] CE_per_engine_handler_adjust, base=83bd7000 offset=57800
[   10.820000] CE_per_engine_handler_adjust, base=83bd7000 offset=57c00
[   10.830000] CE_per_engine_handler_adjust, base=83bd7000 offset=58000
[   10.840000] CE_per_engine_handler_adjust, base=83bd7000 offset=58400
[   10.840000] CE_per_engine_handler_adjust, base=83bd7000 offset=58800
[   10.850000] CE_recv_buf_enqueue 653 Populate last entry 512 for CE 5
[   10.860000] CE_recv_buf_enqueue 662 CE 5 wi 511 dest_ptr 0x21b1820 nbytes 0 recv_ctxt 0x82194c00
[   10.870000] -HWT
[   10.870000] HTC Service:0x0300 ep:1 TX flow control disabled
[   10.880000] CE_pkt_dl_len_set CE 4 Pkt download length 64
[   10.890000] ol_txrx_pdev_attach: 1424 tx desc's allocated ; range starts from 81df0000
[   10.890000] HTC Service:0x0100 ep:2 TX flow control disabled
[   10.900000] wmi_service_ready_event_rx:  WMI UNIFIED SERVICE READY event
[   10.910000] num_rf_chain : 00000003
[   10.910000] ht_cap_info: : 0000085b
[   10.920000] vht_cap_info : 338001b2
[   10.920000] vht_supp_mcs : 0000ffea
[   10.920000] LARGE_AP enabled. num_peers 144, num_vdevs 16, num_tids 256
[   10.930000] idx 0 req 1  num_units 0 num_unit_info 2 unit size 444 actual units 145
[   10.940000] chunk 0 len 64380 requested ,ptr  0x1e00000
[   10.950000] FIRMWARE:P 145 V 16 T 443
[   10.950000]
[   10.960000] FIRMWARE:_wlan_rtt_enable
[   10.960000] wmi_ready_event_rx:  WMI UNIFIED READY event
[   10.970000] ol_ath_connect_htc() WMI is ready
[   10.970000] ol_ath_set_host_app_area TODO
[   10.980000] target uses HTT version 2.1; host uses 2.1
[   10.990000] ol_ath_attach() connect HTC.
[   10.990000] bypasswmi : 0
[   10.990000] ol_regdmn_start: reg-domain param: regdmn=0, countryName=, wModeSelect=FFFFFFFF, netBand=FFFFFFFF, extendedChanMode=0.
[   11.010000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2) flags 0x2150
[   11.010000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4) flags 0xa0
[   11.020000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x8) flags 0xc0
[   11.030000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x20) flags 0xd0
[   11.040000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x40) flags 0x150
[   11.040000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x800) flags 0x10080
[   11.050000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2000) flags 0x20080
[   11.060000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4000) flags 0x40080
[   11.070000] Add VHT80 channel: 5210
[   11.070000] Add VHT80 channel: 5290
[   11.070000] Add VHT80 channel: 5530
[   11.080000] Add VHT80 channel: 5610
[   11.080000] Add VHT80 channel: 5690
[   11.080000] Add VHT80 channel: 5775
[   11.090000] Skipping VHT80 channel 5825
[   11.090000] ol_ath_phyerr_attach: called
[   11.100000] OL Resmgr Init-ed
[   11.100000] ol_ath_rtt_meas_report_attach: called
[   11.100000] ol_ath_attach() UMAC attach .
[   11.110000] __ol_ath_attach: init tx/rx TODO
[   11.110000] __ol_ath_attach: hard_header_len reservation 58
[   11.160000] GRE over IPv4 demultiplexor driver
[   11.190000] GRE over IPv4 tunneling driver
[   11.200000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   11.360000] xt_time: kernel timezone is -0000
[   11.440000] NET: Registered protocol family 24
[   11.790000] [wifi1] FWLOG: [14530] WAL_DBGID_TX_AC_BUFFER_SET ( 0x3, 0x1e, 0x460, 0x460, 0x0 )
[   11.800000] [wifi1] FWLOG: [14530] WAL_DBGID_TX_AC_BUFFER_SET ( 0x12, 0x1e, 0x460, 0x460, 0x0 )
[   11.810000] [wifi1] FWLOG: [14530] WAL_DBGID_TX_AC_BUFFER_SET ( 0x45, 0x1e, 0x460, 0x460, 0x0 )
[   11.820000] [wifi1] FWLOG: [14530] WAL_DBGID_TX_AC_BUFFER_SET ( 0x67, 0x1e, 0x460, 0x460, 0x0 )
[   11.820000] [wifi1] FWLOG: [14535] WHAL_ERROR_RECV_STOPPCU ( 0x110298a, 0x3 )
[   11.830000] [wifi1] FWLOG: [14535] WHAL_ERROR_RESET_PM (  )
[   11.840000] [wifi1] FWLOG: [14691] ANI Enable:  1
[   12.020000] nf_conntrack_rtsp v0.6.21 loading
[   12.040000] nf_nat_rtsp v0.6.21 loading
[   12.080000] Registered character driver slp_gpio_chrdev
qca_calculate_check is a shell function
[   13.340000] lan ip is 0xc0a80101
wifi-freq
interface
interface
wifi-freq
interface
interface
[CFG_MAC]user did not configured wan mac, use default.
wifi-freq
wifi-freq
Command failed: Not found
Command failed: Not found
Command failed: Not found
[   16.450000] device eth0 entered promiscuous mode
[   16.460000] device eth0.1 entered promiscuous mode
ethreg: eth1: No such device
ethreg: eth1: No such device
ethreg: eth1: No such device
[   17.130000] br-lan: port 1(eth0.1) entered forwarding state
[   17.130000] br-lan: port 1(eth0.1) entered forwarding state
uci: Entry not found (module_spec.module_spec.wifison_role)
uci: Entry not found (wireless.freq2.device)
convert_cfg src_cfg wireless dst_cfg wireless
[   19.130000] br-lan: port 1(eth0.1) entered forwarding state
Interface sync_uci_and_dat not supported
uci: Entry not found (module_spec.module_spec.wifison_role)
uci: Entry not found (wireless.freq2.device)
convert_cfg src_cfg /tmp/etc/tmp_wireless dst_cfg /tmp/etc/private_wireless
convert_cfg src_cfg guest_network dst_cfg /tmp/etc/private_wireless
Interface sync_uci_and_dat not supported
Interface sync_uci_and_dat not supported
No offload chipsets found.
cat: can't open '1': No such file or directory
Enable device[wifi0] all_vifs[ath0 guest0 wdscli0] enabled_vifs[ath0]
[   26.410000] set maxsta of phy: 32
Invalid command : txbf_snd_int
Invalid command : obss_rssi_th
Invalid command : obss_rx_rssi_th
Invalid command : discon_time
Invalid command : reconfig_time
[   26.550000] wlan_vap_create : enter. devhandle=0x831d0380, opmode=IEEE80211_M_HOSTAP, flags=0x1
[   26.560000] wlan_vap_create : exit. devhandle=0x831d0380, opmode=IEEE80211_M_HOSTAP, flags=0x1.
[   26.570000] VAP device ath0 created osifp: (8185ab80) os_if: (81814000)
[   26.610000] Set freq vap stop send + 81814000
[   26.610000] Set freq vap stop send -81814000
[   26.750000] Set wait done --81814000
[   26.770000] Setting Max Stations:32
Invalid command : vhtsubfer
Invalid command : vhtsubfee
Invalid command : vhtmubfer
set encryption with driver
[   26.820000] set IEEE80211_IOC_WPA to WPA and RSN
[   26.830000] set Key Mgmt Algs to PSK!
[   26.840000] set cipher as AES
[   26.850000] set psksecret AnaNuAre2Mere!, length = 14
[   26.860000] set rekey period 86400
[   26.900000]
[   26.900000]  DES SSID SET=
[   27.120000]
[   27.120000]  DES SSID SET=Hackerman
sh: 0: unknown operand
sh: 0: unknown operand
[   27.630000] wlan_vap_create : enter. devhandle=0x831d0380, opmode=IEEE80211_M_HOSTAP, flags=0x1
[   27.640000] wlan_vap_create : exit. devhandle=0x831d0380, opmode=IEEE80211_M_HOSTAP, flags=0x1.
[   27.650000] VAP device guest0 created osifp: (81888380) os_if: (8182c000)
[   27.690000] Set freq vap stop send + 81814000
[   27.690000] Set freq vap stop send -81814000
[   27.830000] Set wait done --81814000
[   27.830000] Set freq vap stop send + 8182c000
[   27.830000] Set freq vap stop send -8182c000
[   27.970000] Set wait done --8182c000
[   27.990000] Setting Max Stations:31
Invalid command : vhtsubfer
Invalid command : vhtsubfee
Invalid command : vhtmubfer
[   28.090000]
[   28.090000]  DES SSID SET=
[   28.100000]
[   28.100000]  DES SSID SET=TPGuest_CA08
sh: 0: unknown operand
sh: 0: unknown operand
[   28.610000] wlan_vap_create : enter. devhandle=0x831d0380, opmode=IEEE80211_M_STA, flags=0x1
[   28.610000] wlan_vap_create : exit. devhandle=0x831d0380, opmode=IEEE80211_M_STA, flags=0x1.
[   28.620000] VAP device wdscli0 created osifp: (81889b80) os_if: (818e0000)
Invalid command : vhtsubfer
Invalid command : vhtsubfee
Invalid command : vhtmubfee
sh: 0: unknown operand
sh: 0: unknown operand
[   29.240000] 74-125-46-124-202-9
[   29.460000] 8021q: adding VLAN 0 to HW filter on device ath0
[   30.280000] device ath0 entered promiscuous mode
[   30.280000] br-lan: port 2(ath0) entered forwarding state
[   30.290000] br-lan: port 2(ath0) entered forwarding state
[   30.480000] 8021q: adding VLAN 0 to HW filter on device guest0
[   31.280000] device guest0 entered promiscuous mode
[   31.290000] br-lan: port 3(guest0) entered forwarding state
[   31.300000] br-lan: port 3(guest0) entered forwarding state
[   31.330000] 8021q: adding VLAN 0 to HW filter on device wdscli0
[   32.140000] device wdscli0 entered promiscuous mode
[   32.140000] br-lan: port 4(wdscli0) entered forwarding state
[   32.150000] br-lan: port 4(wdscli0) entered forwarding state
[   32.290000] br-lan: port 2(ath0) entered forwarding state
[   33.190000] br-lan: port 3(guest0) entered disabled state
[   33.210000] br-lan: port 4(wdscli0) entered disabled state
Enable device[wifi1] all_vifs[ath1 wdscli1] enabled_vifs[]
[   33.410000] isCountryCodeValid: EEPROM regdomain 0x0
[   33.420000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2) flags 0x2150
[   33.420000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4) flags 0xa0
[   33.430000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x8) flags 0xc0
[   33.440000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x20) flags 0xd0
[   33.450000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x40) flags 0x150
[   33.450000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x800) flags 0x10080
[   33.460000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2000) flags 0x20080
[   33.470000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4000) flags 0x40080
[   33.480000] Add VHT80 channel: 5210
[   33.480000] Add VHT80 channel: 5775
[   33.480000] Skipping VHT80 channel 5825
[   33.530000] set maxsta of phy: 32
Invalid command : txbf_snd_int
Invalid command : obss_rssi_th
Invalid command : obss_rx_rssi_th
Invalid command : discon_time
Invalid command : reconfig_time
[   33.630000] ath_ioctl: SIOC80211IFCREATE CALLED
[   33.640000] wmi_unified_vdev_create_send: ID = 0 VAP Addr = 48:7d:2e:7c:ca:0a:
[   33.650000] Setting dscp for vap id: 0
[   33.650000] VAP device ath1 created osifp: (818aab80) os_if: (8197c000)
[   33.700000] Following channels are blocked from Channel selection algorithm
[   33.710000] [36] [40] [44] [48]
[   33.720000] Set freq vap stop send + 8197c000
[   33.730000] OL vap_stop +
[   33.730000] wmi_unified_vdev_stop_send for vap 0 (832a0000)
[   33.740000] OL vap_stop -
[   33.740000] STOPPED EVENT for vap 0 (832a0000)
[   33.740000] Set freq vap stop send -8197c000
[   33.880000] Set wait done --8197c000
[   33.900000] Setting Max Stations:32
Invalid command : vhtsubfer
Invalid command : vhtsubfee
Invalid command : vhtmubfer
set encryption with driver
[   33.950000] set IEEE80211_IOC_WPA to WPA and RSN
[   33.960000] set Key Mgmt Algs to PSK!
[   33.970000] set cipher as AES
[   33.980000] set psksecret AnaNuAre2Mere1!, length = 15
[   33.990000] set rekey period 86400
[   34.000000] ol_ath_desc_alloc_and_mark_for_mcast_clone: VAP Mcast to Unicast buffer allocated: 400
[   34.010000] ol_ath_vap_set_param: VAP param is now supported param:66 value:2
[   34.050000]
[   34.050000]  DES SSID SET=
[   34.270000]
[   34.270000]  DES SSID SET=Hackerman_5G
sh: 0: unknown operand
sh: 0: unknown operand
[   34.780000] ath_ioctl: SIOC80211IFCREATE CALLED
[   34.790000] wmi_unified_vdev_create_send: ID = 1 VAP Addr = 4a:7d:2e:7c:ca:0a:
[   34.800000] wmi_unified_set_psmode:set psmode=1
[   34.800000] Setting dscp for vap id: 1
[   34.800000] VAP device wdscli1 created osifp: (81988b80) os_if: (8198c000)
Invalid command : vhtsubfer
Invalid command : vhtsubfee
Invalid command : vhtmubfee
[   34.940000] ol_ath_vap_set_param: VAP param is now supported param:66 value:2
sh: 0: unknown operand
sh: 0: unknown operand
[   35.430000] 74-125-46-124-202-9
[   35.440000] wmi_unified_set_psmode:set psmode=0
[   35.440000] wmi_unified_set_psmode:set psmode=0
[   35.520000] OL vap_stop +
[   35.530000] wmi_unified_vdev_stop_send for vap 0 (832a0000)
[   35.530000] OL vap_stop -
[   35.530000] STOPPED EVENT for vap 0 (832a0000)
[   35.670000] wmi_unified_scan_start_send for vap 0 (832a0000)
[   35.670000] 8021q: adding VLAN 0 to HW filter on device ath1
[   36.480000] device ath1 entered promiscuous mode
[   36.480000] br-lan: port 5(ath1) entered forwarding state
[   36.490000] br-lan: port 5(ath1) entered forwarding state
[   36.520000] 8021q: adding VLAN 0 to HW filter on device wdscli1
[   37.330000] device wdscli1 entered promiscuous mode
[   37.330000] br-lan: port 6(wdscli1) entered forwarding state
[   37.340000] br-lan: port 6(wdscli1) entered forwarding state
[   37.790000] [wifi1] FWLOG: [41513] WAL_DBGID_BB_WDOG_TRIGGERED ( 0xa229, 0x3300000a, 0x0, 0x86 )
[   38.370000] OL vap_start +
[   38.380000] wmi_unified_vdev_start_send for vap 0 (832a0000)
[   38.380000] OL vap_start -
[   38.390000] ol_vdev_start_resp_ev for vap 0 (832a0000)
[   38.390000] ol_ath_vap_join: join operation is only for STA/IBSS mode
[   38.400000] ol_ath_wmm_update:
[   38.400000] wmi_unified_vdev_up_send for vap 0 (832a0000)
[   38.410000] Notification to UMAC VAP layer
[   38.420000] wmi_unified_vdev_stop_send for vap 0 (832a0000)
[   38.420000] STOPPED EVENT for vap 0 (832a0000)
[   38.430000] br-lan: port 5(ath1) entered disabled state
[   38.450000] br-lan: port 6(wdscli1) entered disabled state
[   38.580000] [stat]Lan ip: C0A80101, Lan mask: FFFFFF00
[   38.580000] [stat]wan dev name: eth0.2
[   38.790000] ----IGMP init begin------
[   38.790000] wan_dev_index = 255 lan_dev_name=br-lan wan_dev_name=eth0.2
[   38.800000] ----IGMP has been loaded------
[   38.800000] [wifi1] FWLOG: [42641] WAL_DBGID_SECURITY_ENCR_EN (  )
[   38.810000] [wifi1] FWLOG: [42641] WAL_DBGID_SECURITY_MCAST_KEY_SET ( 0x1 )
[   38.810000] [wifi1] FWLOG: [42665] WAL_DBGID_SECURITY_MCAST_KEY_SET ( 0x1 )
wlan has already started in etc/init.d/network script.
Loading redirects
Loading dmz
Loading forbidhost
Loading localmanage
Loading hostctrl
Loading includes
RTNETLINK answers: No such file or directory
RTNETLINK answers: No such file or directory
RTNETLINK answers: No such file or directory
uci: Entry not found (guest_network.@guest_rule_2g[0])
uci: Entry not found (guest_network.@guest_rule_5g[0])
uci: Entry not found (guest_network.@guest_rule_2g[0])
uci: Entry not found (guest_network.@guest_rule_5g[0])
[   45.500000] SFE IPv4 init
[   45.570000] SFE Fast-Classifier init


Here is the boot log. Also there is menu.


starting pid 431, tty '/dev/ttyS0': '/bin/login'
SLP login:

Firmware: https://www.zhiwanyuzhou.com/download/Firmware/Router/TP-Link/cn/WDR/

Can anyone help me with the right compilation setup?

Redboot is not nowadays standard uboot, you have to break into it, may even be at different tty speed than main system. Usually like hold x key at boot or so.
https://doc.ecoscentric.com/ref/redboot-commands-and-examples.html
For login - no password, password you have for oem web ui, something along lines of 12345678 or admin or tech.

1 Like

Thanks. Do you have any idea what make config is? I tried some stuff the web ui is refusing the file

That is far away, check github for pull requests "add support for" - basically add device config to build tree.

at this moment we need to figure out netboot or boot via serial to get some linux to explore hardware further.

Flash is shown as 8MB , absolute minimum for v24, unlikely to survive in next release.
try booting at different speed, the first 1/4s should contain RAM size