Hi all,
I'm new to openwrt and need your help to port openwrt to my tp-link access point. I have connected the serail port to the tp-link and recorded the boot log.
U-Boot 1.1.3 (Sep 25 2023 - 16:50:15)
Board: Ralink APSoC DRAM: 128 MB
relocate_code Pointer at: 87f50000
Config XHCI 40M PLL
flash manufacture id: 20, device id 40 18
Warning: un-recognized chip ID, please update bootloader!
*** Warning - bad CRC, using default environment
============================================
Ralink UBoot Version: 5.0.0.0
--------------------------------------------
ASIC MT7621A DualCore (MAC to MT7530 Mode)
DRAM_CONF_FROM: Auto-Detection
DRAM_TYPE: DDR3
DRAM bus: 16 bit
Xtal Mode=3 OCP Ratio=1/3
Flash component: SPI Flash
Date:Sep 25 2023 Time:16:50:15
============================================
THIS IS uboot
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:256, ways:4, linesz:32 ,total:32768
##### The CPU freq = 880 MHZ ####
estimate memory size =128 Mbytes
Press '4' or 't' to break the booting process
Press 'x' to enter recovery web server
0
nm_init:791
nm_initFwupPtnStruct:291
nm_lib_readPtnTable:738
[NM_Debug](nm_lib_readPtnTable) 00743: NM_PTN_TABLE_BASE = 0xfe0000
[NM_Debug](nm_lib_readPtnFromNvram) 00569: partition_used_len = 1366, requried len = 8192
[NM_Debug](nm_lib_readPtnTable) 00751: Reading Partition Table from NVRAM ... OK
[NM_Debug](nm_lib_readPtnTable) 00759: Parsing Partition Table ... OK
[NM_Debug](nm_lib_readPtnFromNvram) 00569: partition_used_len = 2, requried len = 3
factory boot check integer ok.
3: System Boot system code via Flash.
## Booting image at bc040000 ...
Image Name: Linux Kernel Image
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 3203654 Bytes = 3.1 MB
Load Address: 81001000
Entry Point: 8171f1a0
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
No initrd
[NM_Debug](nm_lib_readPtnFromNvram) 00569: partition_used_len = 2, requried len = 3
[NM_Error](nm_api_checkTestMode) 00417: factory boot check testmode flag is not 1.
### test_mode=disable,boot_args:console=ttyS1,115200 root=/dev/mtdblock2 rootfstype=squashfs init=/etc/preinit mtdparts=raspi:256k(uboot),3584k(uImage),11968k@0x3c0000(rootfs),64k@0xff0000(ART) mem=128M test_mode=disable
## Transferring control to Linux (at address 8171f1a0) ...
## Giving linux memsize in MB, 128
Starting kernel ...
LINUX started...
THIS IS ASIC
SDK 5.0.S.0
Linux version 3.10.108 (tp@ubuntu_1404_32) (gcc version 4.6.3 (Buildroot 2012.11.1-00079-gd8a6930-dirty) ) #1 SMP Mon Sep 25 16:15:05 CST 2023
The CPU feqenuce set to 880 MHz
GCMP present
CPU0 revision is: 0001992f (MIPS 1004Kc)
Software DMA cache coherency
Determined physical RAM map:
memory: 08000000 @ 00000000 (usable)
User-defined physical RAM map:
memory: 08000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone ranges:
DMA [mem 0x00000000-0x00ffffff]
Normal [mem 0x01000000-0x07ffffff]
Movable zone start for each node
Early memory node ranges
node 0: [mem 0x00000000-0x07ffffff]
Detected 3 available secondary CPU(s)
Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
PERCPU: Embedded 7 pages/cpu @81bf9000 s6144 r8192 d14336 u32768
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
Kernel command line: console=ttyS1,115200 root=/dev/mtdblock2 rootfstype=squashfs init=/etc/preinit mtdparts=raspi:256k(uboot),3584k(uImage),11968k@0x3c0000(rootfs),64k@0xff0000(ART) mem=128M test_mode=disable
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Writing ErrCtl register=00018e72
Readback ErrCtl register=00018e72
Memory: 118588k/131072k available (7331k kernel code, 12484k reserved, 3323k data, 284k init, 0k highmem)
Hierarchical RCU implementation.
NR_IRQS:128
console [ttyS1] enabled
Calibrating delay loop... 574.46 BogoMIPS (lpj=1148928)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
launch: starting cpu1
launch: cpu1 gone!
Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
CPU1 revision is: 0001992f (MIPS 1004Kc)
Synchronize counters for CPU 1: done.
launch: starting cpu2
launch: cpu2 gone!
Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
CPU2 revision is: 0001992f (MIPS 1004Kc)
Synchronize counters for CPU 2: done.
launch: starting cpu3
launch: cpu3 gone!
Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
CPU3 revision is: 0001992f (MIPS 1004Kc)
Synchronize counters for CPU 3: done.
Brought up 4 CPUs
NET: Registered protocol family 16
release PCIe RST: RALINK_RSTCTRL = 7000004
PCIE PHY initialize
***** Xtal 40MHz *****
start MT7621 PCIe register access
RALINK_RSTCTRL = 7000004
RALINK_CLKCFG1 = 77ffeff8
*************** MT7621 PCIe RC mode *************
PCIE2 no card, disable it(RST&CLK)
pcie_link status = 0x3
RALINK_RSTCTRL= 3000004
*** Configure Device number setting of Virtual PCI-PCI bridge ***
RALINK_PCI_PCICFG_ADDR = 21007f2 -> 21007f2
PCIE0 enabled
PCIE1 enabled
interrupt enable status: 300000
Port 1 N_FTS = 1b105000
Port 0 N_FTS = 1b105000
config reg done
init_rt2880pci done
bio: create slab <bio-0> at 0
vgaarb: loaded
SCSI subsystem initialized
PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
pci_bus 0000:00: root bus resource [io 0x1e160000-0x1e16ffff]
pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
pci 0000:00:00.0: BAR 0: can't assign mem (size 0x80000000)
pci 0000:00:01.0: BAR 0: can't assign mem (size 0x80000000)
pci 0000:00:00.0: BAR 9: assigned [mem 0x60000000-0x601fffff pref]
pci 0000:00:01.0: BAR 9: assigned [mem 0x60200000-0x603fffff pref]
pci 0000:00:00.0: BAR 1: assigned [mem 0x60400000-0x6040ffff]
pci 0000:00:01.0: BAR 1: assigned [mem 0x60410000-0x6041ffff]
pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit pref]
pci 0000:01:00.0: BAR 2: assigned [mem 0x60100000-0x60103fff 64bit pref]
pci 0000:01:00.0: BAR 4: assigned [mem 0x60104000-0x60104fff 64bit pref]
pci 0000:00:00.0: PCI bridge to [bus 01]
pci 0000:00:00.0: bridge window [mem 0x60000000-0x601fffff pref]
pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff 64bit pref]
pci 0000:02:00.0: BAR 2: assigned [mem 0x60300000-0x60303fff 64bit pref]
pci 0000:02:00.0: BAR 4: assigned [mem 0x60304000-0x60304fff 64bit pref]
pci 0000:00:01.0: PCI bridge to [bus 02]
pci 0000:00:01.0: bridge window [mem 0x60200000-0x603fffff pref]
PCI: Enabling device 0000:00:00.0 (0004 -> 0006)
PCI: Enabling device 0000:00:01.0 (0004 -> 0006)
BAR0 at slot 0 = 0
bus=0x0, slot = 0x0
BAR0 at slot 1 = 0
bus=0x0, slot = 0x1
bus=0x1, slot = 0x0, irq=0x4
bus=0x2, slot = 0x1, irq=0x18
Switching to clocksource Ralink Systick timer
NET: Registered protocol family 2
Clockevents: could not switch to one-shot mode:
Clockevents: could not switch to one-shot mode:
Clockevents: could not switch to one-shot mode:
MIPS is not functional.
MIPS is not functional.
Clockevents: could not switch to one-shot mode: MIPS is not functional.
Could not switch to high resolution mode on CPU 1
Could not switch to high resolution mode on CPU 2
Could not switch to high resolution mode on CPU 3
MIPS is not functional.
Could not switch to high resolution mode on CPU 0
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP: reno registered
UDP hash table entries: 256 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
NET: Registered protocol family 1
Load Kernel WDG Timer Module
Load Ralink Timer0 Module
Load Ralink Timer2 Module
squashfs: version 4.0 (2009/01/31) Phillip Lougher
exFAT: Version 1.2.9
NTFS driver 2.1.30 [Flags: R/W].
msgmni has been set to 231
io scheduler noop registered (default)
reg_int_mask=0, INT_MASK= 0
HSDMA_init
hsdma_phy_tx_ring0 = 0x00c00000, hsdma_tx_ring0 = 0xa0c00000
hsdma_phy_rx_ring0 = 0x00c04000, hsdma_rx_ring0 = 0xa0c04000
TX_CTX_IDX0 = 0
TX_DTX_IDX0 = 0
RX_CRX_IDX0 = 3ff
RX_DRX_IDX0 = 0
set_fe_HSDMA_glo_cfg
HSDMA_GLO_CFG = 465
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x1e000d00 (irq = 27) is a 16550A
serial8250: ttyS1 at MMIO 0x1e000c00 (irq = 26) is a 16550A
Ralink gpio driver initialized
brd: module loaded
flash manufacture id: 20, device id 40 18
Warning: un-recognized chip ID, please update SPI driver!
N25Q128A13ESE40F(20 ba181000) (16384 Kbytes)
mtd .name = raspi, .size = 0x01000000 (16M) .erasesize = 0x00010000 (64K) .numeraseregions = 0
4 cmdlinepart partitions found on MTD device raspi
Creating 4 MTD partitions on "raspi":
0x000000000000-0x000000040000 : "uboot"
0x000000040000-0x0000003c0000 : "uImage"
0x0000003c0000-0x000000f70000 : "rootfs"
0x000000ff0000-0x000001000000 : "ART"
Register flash device:flash_chrdev
PPP generic driver version 2.4.2
PPP BSD Compression module registered
PPP Deflate Compression module registered
register mt_drv
<--mt7916_hif_init()
pci_data_init: DATA RxRing[0] use DYNAMIC_SLAB_ALLOC buf type
Rx[0] Ring: total 24576 bytes allocated
Rx[1] Ring: total 16384 bytes allocated
<-- pci_alloc_tx_rx_ring_mem, Status=0
=== pAd = c0301000, size = 6433600 ===
<-- RTMPAllocAdapterBlock, Status=0
PCI CSRBaseAddress =0xc0200000, csr_addr=0xc0200000!
RTMPInitPCIeDevice():device_id=0x7915
mt7915_init()-->
Use 0st /etc/MT7915_EEPROM.bin default bin.
Use 1st iPAiLNA default bin.
<--mt7915_init()
get_wdev_by_idx: invalid idx(0)
get_wdev_by_idx: invalid idx(0)
get_wdev_by_idx: invalid idx(0)
get_wdev_by_idx: invalid idx(0)
pci_data_init: DATA RxRing[0] use DYNAMIC_SLAB_ALLOC buf type
pci_data_init: DATA RxRing[1] use DYNAMIC_SLAB_ALLOC buf type
Rx[0] Ring: total 24576 bytes allocated
Rx[1] Ring: total 24576 bytes allocated
Rx[2] Ring: total 8192 bytes allocated
Rx[3] Ring: total 16384 bytes allocated
Rx[4] Ring: total 8192 bytes allocated
<-- pci_alloc_tx_rx_ring_mem, Status=0
get_wdev_by_idx: invalid idx(0)
get_wdev_by_idx: invalid idx(0)
get_wdev_by_idx: invalid idx(0)
rdm_major = 253
u32 classifier
input device check on
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (1852 buckets, 7408 max)
ctnetlink v0.93: registering with nfnetlink.
xt_time: kernel timezone is -0000
ipip: IPv4 over IPv4 tunneling driver
ip_tables: (C) 2000-2006 Netfilter Core Team
Type=Linux
TCP: cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 10
ip6_tables: (C) 2000-2006 Netfilter Core Team
sit: IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
NET: Registered protocol family 15
l2tp_core: L2TP core driver, V2.0
l2tp_ip: L2TP IP encapsulation support (L2TPv3)
l2tp_netlink: L2TP netlink interface
l2tp_eth: L2TP ethernet pseudowire support (L2TPv3)
l2tp_ip6: L2TP IP encapsulation support for IPv6 (L2TPv3)
8021q: 802.1Q VLAN Support v1.8
VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Freeing unused kernel memory: 284K
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
jffs2 not ready yet; using ramdisk
- init -
Please press Enter to activate this console. liblog: module license 'unspecified' taints kernel.
Disabling lock debugging due to kernel taint
GMAC1_MAC_ADRH -- : 0x0000000c
GMAC1_MAC_ADRL -- : 0xxxxxxxxx
Ralink APSoC Ethernet Driver Initilization. v3.1 1024 rx/tx descriptors allocated, mtu = 1500!
GMAC1_MAC_ADRH -- : 0x0000000c
GMAC1_MAC_ADRL -- : 0xxxxxxxxx
PROC INIT OK!
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
PPP MPPE Compression module registered
gre: GRE over IPv4 demultiplexor driver
ip_gre: GRE over IPv4 tunneling driver
hyfi_bridging: Unknown symbol tp_hyfi_reg_flwstat_cb (err 0)
hyfi_bridging: Unknown symbol tp_hyfi_get_fc_flwstats (err 0)
NET: Registered protocol family 24
l2tp_ppp: PPPoL2TP kernel driver, V2.0
PPTP driver version 0.8.5
fuse init (API version 7.22)
-------------------------------------------------------------------------------------
reloadprofile() begin
reloadprofile() end
-------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------
reloadconfig() begin
................................load openvpn cert.........................
................................start of merge user and default........................
................................parse userconf to get mode.............................
................................end of parse userconf..................................
................................mode : client...............................
................................remodel defaulconfig: TL-WA1801 1.0.0..........
................................end of merge user and default..........................
................................new configs merged.....................................
reloadconfig() end
-------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------
D:FFFFFF86:FFFFFFB8:FFFFFFE1:1B:FFFFFFC0
Raeth v3.1 (Tasklet)
set CLK_CFG_0 = 0x40a00020!!!!!!!!!!!!!!!!!!1
phy_tx_ring = 0x00c48000, tx_ring = 0xa0c48000
phy_rx_ring0 = 0x00c4c000, rx_ring[0] = 0xa0c4c000
phy_rx_ring0 = 0x00c4c000, rx_ring[0] = 0xa0c4c000
MT7530 Reset Timeout!!
change HW-TRAP to 0x117c8f
set TPlink LAN/WAN Partition LLLLW
not turn on phy in gsw ,flag = 0
GMAC1_MAC_ADRH -- : 0x0000000c
GMAC1_MAC_ADRL -- : 0xxxxxxxxx
GDMA2_MAC_ADRH -- : 0x0000000c
GDMA2_MAC_ADRL -- : 0xxxxxxxxx
eth1: ===> VirtualIF_open
MT7621 GE2 link rate to 1G
CDMA_CSG_CFG = 81000000
GDMA1_FWD_CFG = 20710000
GDMA2_FWD_CFG = 20710000
1 and 00 and 840
gmtoff: 1:00 and tz: -1:00
GMT-1:00DST-2:00,M3.4.0/1,M10.5.0/1
no need to generate onemesh group id
wireless is starting...
init_all_vif_name
DEVICES=wifi0 wifi1
dev=wifi0
dev=wifi1
wifi_init
config_profile_set, MacAddress=40:AE:30:xx:xx:xx>>/etc/wireless/RT2860AP/RT2860_2G.dat
config_profile_set, WscManufacturer=TP-LINK>>/etc/wireless/RT2860AP/RT2860_2G.dat
config_profile_set, WscDeviceName=TL-WA1801 1.0.0>>/etc/wireless/RT2860AP/RT2860_2G.dat
config_profile_set, WscModelName=TL-WA1801>>/etc/wireless/RT2860AP/RT2860_2G.dat
config_profile_set, WscModelNumber=1.0.0>>/etc/wireless/RT2860AP/RT2860_2G.dat
config_profile_set, WscSerialNumber=1.0.0>>/etc/wireless/RT2860AP/RT2860_2G.dat
cancel phy_read_schedule
ra2880stop()...Done
eth1: ===> VirtualIF_close
Free TX/RX Ring Memory!
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
D:FFFFFF86:FFFFFFB8:FFFFFFE1:1B:FFFFFFC0
Raeth v3.1 (Tasklet)
set CLK_CFG_0 = 0x40a00020!!!!!!!!!!!!!!!!!!1
phy_tx_ring = 0x00c48000, tx_ring = 0xa0c48000
phy_rx_ring0 = 0x00c4c000, rx_ring[0] = 0xa0c4c000
phy_rx_ring0 = 0x00c4c000, rx_ring[0] = 0xa0c4c000
MT7530 Reset Completed!!
change HW-TRAP to 0x117c8f
set TPlink LAN/WAN Partition LLLLW
not turn on phy in gsw ,flag = 0
GMAC1_MAC_ADRH -- : 0x000040ae
GMAC1_MAC_ADRL -- : 0xxxxxxxxx
eth1: ===> VirtualIF_open
MT7621 GE2 link rate to 1G
CDMA_CSG_CFG = 81000000
GDMA1_FWD_CFG = 20710000
GDMA2_FWD_CFG = 20710000
IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
GDMA2_MAC_ADRH -- : 0x000040ae
GDMA2_MAC_ADRL -- : 0xxxxxxxxx
IPv6: ADDRCONF(NETDEV_UP): lo: link is not ready
device eth0.2 entered promiscuous mode
device eth0 entered promiscuous mode
br-lan: port 1(eth0.2) entered forwarding state
br-lan: port 1(eth0.2) entered forwarding state
get_wdev_by_idx: invalid idx(0)
config_profile_set, IEEE8021X=0>>/etc/wireless/RT2860AP/RT2860_2G.dat
config_profile_set, AuthMode=WPA2PSK;OPEN;OPEN;OPEN;>>/etc/wireless/RT2860AP/RT2860_2G.dat
config_profile_set, EncrypType=AES;NONE;NONE;NONE;>>/etc/wireless/RT2860AP/RT2860_2G.dat
config_profile_set, RekeyInterval=0;86400;86400;86400;>>/etc/wireless/RT2860AP/RT2860_2G.dat
config_profile_set, RADIUS_Server=0;0;0;0;>>/etc/wireless/RT2860AP/RT2860_2G.dat
config_profile_set, RADIUS_Port=1812;1812;1812;1812;>>/etc/wireless/RT2860AP/RT2860_2G.dat
config_profile_set, RADIUS_Key=;;;;>>/etc/wireless/RT2860AP/RT2860_2G.dat
config_profile_set, EAPifname=br-lan;br-lan;br-lan;br-lan;>>/etc/wireless/RT2860AP/RT2860_2G.dat
config_profile_set, SSID1=TP-Link_064A>>/etc/wireless/RT2860AP/RT2860_2G.dat
config_profile_set, SSID2=TP-Link_Guest_064A>>/etc/wireless/RT2860AP/RT2860_2G.dat
config_profile_set, MacAddress=40:AE:xx:xx:xx:xx>>/etc/wireless/RT2860AP/RT2860_5G.dat
br-lan: port 1(eth0.2) entered forwarding state
config_profile_set, WscManufacturer=TP-LINK>>/etc/wireless/RT2860AP/RT2860_5G.dat
config_profile_set, WscDeviceName=TL-WA1801 1.0.0>>/etc/wireless/RT2860AP/RT2860_5G.dat
config_profile_set, WscModelName=TL-WA1801>>/etc/wireless/RT2860AP/RT2860_5G.dat
config_profile_set, WscModelNumber=1.0.0>>/etc/wireless/RT2860AP/RT2860_5G.dat
config_profile_set, WscSerialNumber=1.0.0>>/etc/wireless/RT2860AP/RT2860_5G.dat
config_profile_set, IEEE8021X=0>>/etc/wireless/RT2860AP/RT2860_5G.dat
config_profile_set, AuthMode=WPA2PSK;OPEN;OPEN;OPEN;>>/etc/wireless/RT2860AP/RT2860_5G.dat
config_profile_set, EncrypType=AES;NONE;NONE;NONE;>>/etc/wireless/RT2860AP/RT2860_5G.dat
Lan Domain: tplinklogin.net
Lan Domain: www.tplinklogin.net
config_profile_set, RekeyInterval=0;86400;86400;86400;>>/etc/wireless/RT2860AP/RT2860_5G.dat
config_profile_set, RADIUS_Server=0;0;0;0;>>/etc/wireless/RT2860AP/RT2860_5G.dat
config_profile_set, RADIUS_Port=1812;1812;1812;1812;>>/etc/wireless/RT2860AP/RT2860_5G.dat
config_profile_set, RADIUS_Key=;;;;>>/etc/wireless/RT2860AP/RT2860_5G.dat
get_wdev_by_idx: invalid idx(0)
config_profile_set, EAPifname=br-lan;br-lan;br-lan;br-lan;>>/etc/wireless/RT2860AP/RT2860_5G.dat
config_profile_set, SSID1=TP-Link_064A_5G>>/etc/wireless/RT2860AP/RT2860_5G.dat
config_profile_set, SSID2=TP-Link_Guest_064A_5G>>/etc/wireless/RT2860AP/RT2860_5G.dat
phy schedule try eth1 carrier off reg=0
config_profile_set, CountryRegion=1>>/etc/wireless/RT2860AP/RT2860_2G.dat
config_profile_set, CountryNum=276>>/etc/wireless/RT2860AP/RT2860_2G.dat
config_profile_set, CountryCode=DE>>/etc/wireless/RT2860AP/RT2860_2G.dat
config_profile_set, AutoChannelSkipList=1;11;12;13>>/etc/wireless/RT2860AP/RT2860_2G.dat
config_profile_set, SkuTableIdx=0>>/etc/wireless/RT2860AP/RT2860_2G.dat
config_profile_set, CountryNum=276>>/etc/wireless/RT2860AP/RT2860_5G.dat
config_profile_set, CountryCode=DE>>/etc/wireless/RT2860AP/RT2860_5G.dat
config_profile_set, CountryRegionABand=6>>/etc/wireless/RT2860AP/RT2860_5G.dat
config_profile_set, AutoChannelSkipList=>>/etc/wireless/RT2860AP/RT2860_5G.dat
config_profile_set, SkuTableIdx=0>>/etc/wireless/RT2860AP/RT2860_5G.dat
config_profile_set, RDRegion=CE>>/etc/wireless/RT2860AP/RT2860_5G.dat
config_profile_set, DfsEnable=0>>/etc/wireless/RT2860AP/RT2860_5G.dat
config_profile_set, IEEE80211H=0>>/etc/wireless/RT2860AP/RT2860_5G.dat
config_profile_set, DfsZeroWait=0>>/etc/wireless/RT2860AP/RT2860_5G.dat
config_profile_set, DfsDedicatedZeroWait=0>>/etc/wireless/RT2860AP/RT2860_5G.dat
config_profile_set, DfsZeroWaitDefault=0>>/etc/wireless/RT2860AP/RT2860_5G.dat
wifi_reload
wifi_reload , configuration of first-on vif is off, should first on and then off
wifi_radio wifi0
wifi_shutdown_interface wifi0
ifconfig ra0 down
wifi_config_profile wifi0
wifi_config_profile dbdc mode and return
wifi_start_interface wifi0
wifi_vap ra0
gp_id_rand =
random_suffix = 5789
wifi_vap , ra0 action up.
ifconfig ra0 up
ra0: ===> main_virtual_if_open
get_wdev_by_idx: invalid idx(0)
RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_INIT
get_wdev_by_idx: invalid idx(0)
get_wdev_by_idx: invalid idx(0)
get_wdev_by_idx: invalid idx(0)
Open file "/etc/wireless/l1profile.dat" Succeed!
load l1profile succeed!
mt_service_open: wlan service opens successfully!
[multi_profile_merge_5g_only] DBDC_MODE=1
multi-profile merge success, en:1,pf1_num:4,pf2_num:4,total:8
Open file "/etc/wireless/RT2860AP/DBDC_card0.dat" to store DBDC cfg! (23)
Write file "/etc/wireless/RT2860AP/DBDC_card0.dat" success (size=10013)!
BssidNum=8
Pf2MbssIdxMap:
0 1 2 3 4 5 6 7
MacAddress4 = 00:00:00:00:00:00
E2pAccessMode=2
SSID[0]=TP-Link_064A, EdcaIdx=0
SSID[1]=TP-Link_Guest_064A, EdcaIdx=0
SSID[2]=, EdcaIdx=0
SSID[3]=, EdcaIdx=0
SSID[4]=TP-Link_064A_5G, EdcaIdx=0
SSID[5]=TP-Link_Guest_064A_5G, EdcaIdx=0
SSID[6]=, EdcaIdx=0
SSID[7]=, EdcaIdx=0
RTMPSetProfileParameters(): DBDC Mode=1, eDBDC_mode = 1
cfg_mode=16
cfg_mode=16
cfg_mode=16
wmode_band_equal(): Band Equal!
cfg_mode=16
cfg_mode=16
cfg_mode=16
cfg_mode=16
cfg_mode=16
cfg_mode=16
cfg_mode=16
cfg_mode=17
cfg_mode=17
cfg_mode=17
cfg_mode=17
cfg_mode=17
cfg_mode=17
cfg_mode=17
cfg_mode=17
BandSteering=0
BndStrgBssIdx=1;0;0;0;1;0;0;0
[TxPower] BAND0: 100, BAND1: 100
[SKUenable] BAND0: 1, BAND1: 1
[SkuTableIdx]: 0
[CCKTxStream] BAND0: 2, BAND1: 0
[PERCENTAGEenable] BAND0: 1, BAND1: 1
[BFBACKOFFenable] BAND0: 0, BAND1: 0
profile: FragThreshold[0]=2346
profile: FragThreshold[1]=2346
profile: FragThreshold[2]=2346
profile: FragThreshold[3]=2346
profile: FragThreshold[4]=2346
profile: FragThreshold[5]=2346
profile: FragThreshold[6]=2346
profile: FragThreshold[7]=2346
TxBurst=1
APEdca0
Valid=1
APAifsn[0]=3
APAifsn[1]=7
APAifsn[2]=1
APAifsn[3]=1
APEdca1
Valid=1
APAifsn[0]=3
APAifsn[1]=7
APAifsn[2]=1
APAifsn[3]=1
APEdca2
APEdca3
APAifsn[0]=3
APAifsn[1]=7
APAifsn[2]=1
APAifsn[3]=1
APCwmin[0]=4
APCwmin[1]=4
APCwmin[2]=3
APCwmin[3]=2
APCwmax[0]=6
APCwmax[1]=10
APCwmax[2]=4
APCwmax[3]=3
APTxop[0]=0
APTxop[1]=0
APTxop[2]=94
APTxop[3]=47
BSSAifsn[0]=3
BSSAifsn[1]=7
BSSAifsn[2]=2
BSSAifsn[3]=2
BSSAifsn[0]=3
BSSAifsn[1]=7
BSSAifsn[2]=2
BSSAifsn[3]=2
BSSAifsn[0]=3
BSSAifsn[1]=7
BSSAifsn[2]=2
BSSAifsn[3]=2
BSSAifsn[0]=3
BSSAifsn[1]=7
BSSAifsn[2]=2
BSSAifsn[3]=2
BSSAifsn[0]=3
BSSAifsn[1]=7
BSSAifsn[2]=2
BSSAifsn[3]=2
BSSAifsn[0]=3
BSSAifsn[1]=7
BSSAifsn[2]=2
BSSAifsn[3]=2
BSSAifsn[0]=3
BSSAifsn[1]=7
BSSAifsn[2]=2
BSSAifsn[3]=2
BSSAifsn[0]=3
BSSAifsn[1]=7
BSSAifsn[2]=2
BSSAifsn[3]=2
APSDCapable[0]=0
APSDCapable[1]=0
default ApCliAPSDCapable[0]=0
default ApCliAPSDCapable[1]=0
DfsZeroWait Support=0/0
DfsZeroWaitCacTime=1/1
read_itxbf: ITxBfEn = 1
read_itxbf: BSSID[0]
read_itxbf: MBSS[0] ITxBfEn = 1
read_itxbf: ITxBfEn = 1
read_itxbf: BSSID[1]
read_itxbf: MBSS[1] ITxBfEn = 1
read_itxbf: ITxBfEn = 1
read_itxbf: BSSID[2]
read_itxbf: MBSS[2] ITxBfEn = 1
read_itxbf: ITxBfEn = 1
read_itxbf: BSSID[3]
read_itxbf: MBSS[3] ITxBfEn = 1
read_itxbf: ITxBfEn = 1
read_itxbf: BSSID[4]
read_itxbf: MBSS[4] ITxBfEn = 1
read_itxbf: ITxBfEn = 1
read_itxbf: BSSID[5]
read_itxbf: MBSS[5] ITxBfEn = 1
read_itxbf: ITxBfEn = 1
read_itxbf: BSSID[6]
read_itxbf: MBSS[6] ITxBfEn = 1
read_itxbf: ITxBfEn = 1
read_itxbf: BSSID[7]
read_itxbf: MBSS[7] ITxBfEn = 1
read_itxbf: Common.ITxBfEn = 1
read_etxbf: ETxBfEnCond = 1
read_etxbf: BSSID[0]
read_etxbf: MBSS[0] ETxBfEnCond = 1
read_etxbf: ETxBfEnCond = 1
read_etxbf: BSSID[1]
read_etxbf: MBSS[1] ETxBfEnCond = 1
read_etxbf: ETxBfEnCond = 1
read_etxbf: BSSID[2]
read_etxbf: MBSS[2] ETxBfEnCond = 1
read_etxbf: ETxBfEnCond = 1
read_etxbf: BSSID[3]
read_etxbf: MBSS[3] ETxBfEnCond = 1
read_etxbf: ETxBfEnCond = 1
read_etxbf: BSSID[4]
read_etxbf: MBSS[4] ETxBfEnCond = 1
read_etxbf: ETxBfEnCond = 1
read_etxbf: BSSID[5]
read_etxbf: MBSS[5] ETxBfEnCond = 1
read_etxbf: ETxBfEnCond = 1
read_etxbf: BSSID[6]
read_etxbf: MBSS[6] ETxBfEnCond = 1
read_etxbf: ETxBfEnCond = 1
read_etxbf: BSSID[7]
read_etxbf: MBSS[7] ETxBfEnCond = 1
MBSS[0] MuOfdmaDlEnable = 0
MBSS[1] MuOfdmaDlEnable = 0
MBSS[2] MuOfdmaDlEnable = 0
MBSS[3] MuOfdmaDlEnable = 0
MBSS[4] MuOfdmaDlEnable = 0
MBSS[5] MuOfdmaDlEnable = 0
MBSS[6] MuOfdmaDlEnable = 0
MBSS[7] MuOfdmaDlEnable = 0
MBSS[0] MuOfdmaUlEnable = 0
MBSS[1] MuOfdmaUlEnable = 0
MBSS[2] MuOfdmaUlEnable = 0
MBSS[3] MuOfdmaUlEnable = 0
MBSS[4] MuOfdmaUlEnable = 0
MBSS[5] MuOfdmaUlEnable = 0
MBSS[6] MuOfdmaUlEnable = 0
MBSS[7] MuOfdmaUlEnable = 0
MBSS[0] MuMimoDlEnable = 0
MBSS[1] MuMimoDlEnable = 0
MBSS[2] MuMimoDlEnable = 0
MBSS[3] MuMimoDlEnable = 0
MBSS[4] MuMimoDlEnable = 0
MBSS[5] MuMimoDlEnable = 0
MBSS[6] MuMimoDlEnable = 0
MBSS[7] MuMimoDlEnable = 0
MBSS[0] MuMimoUlEnable = 0
MBSS[1] MuMimoUlEnable = 0
MBSS[2] MuMimoUlEnable = 0
MBSS[3] MuMimoUlEnable = 0
MBSS[4] MuMimoUlEnable = 0
MBSS[5] MuMimoUlEnable = 0
MBSS[6] MuMimoUlEnable = 0
MBSS[7] MuMimoUlEnable = 0
[RTMPSetProfileParameters]Disable DFS/Zero wait=0/0
I/F(ra0) GroupKey ReKeyInterval=0 seconds
I/F(ra1) GroupKey ReKeyInterval=86400 seconds
I/F(ra2) GroupKey ReKeyInterval=86400 seconds
I/F(ra3) GroupKey ReKeyInterval=86400 seconds
I/F(ra4) GroupKey ReKeyInterval=0 seconds
I/F(ra5) GroupKey ReKeyInterval=86400 seconds
I/F(ra6) GroupKey ReKeyInterval=86400 seconds
I/F(ra7) GroupKey ReKeyInterval=86400 seconds
[PMF]Set_PMFMFPC_Proc:: apidx=0, Desired MFPC=0
[PMF]Set_PMFMFPC_Proc:: apidx=1, Desired MFPC=0
[PMF]Set_PMFMFPC_Proc:: apidx=2, Desired MFPC=0
[PMF]Set_PMFMFPC_Proc:: apidx=3, Desired MFPC=0
[PMF]Set_PMFMFPC_Proc:: apidx=4, Desired MFPC=0
[PMF]Set_PMFMFPC_Proc:: apidx=5, Desired MFPC=0
[PMF]Set_PMFMFPC_Proc:: apidx=6, Desired MFPC=0
[PMF]Set_PMFMFPC_Proc:: apidx=7, Desired MFPC=0
[PMF]Set_PMFMFPR_Proc:: apidx=0, Desired MFPR=0
[PMF]Set_PMFMFPR_Proc:: apidx=1, Desired MFPR=0
[PMF]Set_PMFMFPR_Proc:: apidx=2, Desired MFPR=0
[PMF]Set_PMFMFPR_Proc:: apidx=3, Desired MFPR=0
[PMF]Set_PMFMFPR_Proc:: apidx=4, Desired MFPR=0
[PMF]Set_PMFMFPR_Proc:: apidx=5, Desired MFPR=0
[PMF]Set_PMFMFPR_Proc:: apidx=6, Desired MFPR=0
[PMF]Set_PMFMFPR_Proc:: apidx=7, Desired MFPR=0
[PMF]Set_PMFSHA256_Proc:: apidx=0, Desired PMFSHA256=0
[PMF]Set_PMFSHA256_Proc:: apidx=1, Desired PMFSHA256=0
[PMF]Set_PMFSHA256_Proc:: apidx=2, Desired PMFSHA256=0
[PMF]Set_PMFSHA256_Proc:: apidx=3, Desired PMFSHA256=0
[PMF]Set_PMFSHA256_Proc:: apidx=4, Desired PMFSHA256=0
[PMF]Set_PMFSHA256_Proc:: apidx=5, Desired PMFSHA256=0
[PMF]Set_PMFSHA256_Proc:: apidx=6, Desired PMFSHA256=0
[PMF]Set_PMFSHA256_Proc:: apidx=7, Desired PMFSHA256=0
MAP_MODE=0
ApMWDS[0]=0
ApMWDS[1]=0
ApMWDS[2]=0
ApMWDS[3]=0
ApMWDS[4]=0
ApMWDS[5]=0
ApMWDS[6]=0
ApMWDS[7]=0
ApCliMWDS[0]=0
ApCliMWDS[1]=0
APCLI[0] ApCliMuOfdmaDlEnable = 0
APCLI[1] ApCliMuOfdmaDlEnable = 0
APCLI[0] ApCliMuOfdmaUlEnable = 0
APCLI[1] ApCliMuOfdmaUlEnable = 0
APCLI[0] ApCliMuMimoDlEnable = 0
APCLI[1] ApCliMuMimoDlEnable = 0
APCLI[0] ApCliMuMimoUlEnable = 0
APCLI[1] ApCliMuMimoUlEnable = 0
IGMP deny list [0]-th entry =224.0.0.1
IGMP deny list [1]-th entry =224.0.0.2
IGMP deny list [2]-th entry =224.0.0.4
IGMP deny list [3]-th entry =224.0.0.5
IGMP deny list [4]-th entry =224.0.0.6
IGMP deny list [5]-th entry =224.0.0.7
IGMP deny list [6]-th entry =224.0.0.8
IGMP deny list [7]-th entry =224.0.0.9
IGMP deny list [8]-th entry =224.0.0.12
IGMP deny list [9]-th entry =224.0.0.16
IGMP deny list [10]-th entry =224.0.0.17
IGMP deny list [11]-th entry =224.0.0.251
IGMP deny list [12]-th entry =224.0.0.252
IGMP deny list [13]-th entry =232.0.0.100
IGMP deny list [14]-th entry =239.255.12.42
IGMP deny list [15]-th entry =239.255.255.250
HT_BAWinSize: wdev[0]: (TX=256, RX=256)
HT_BAWinSize: wdev[1]: (TX=256, RX=256)
HT_BAWinSize: wdev[2]: (TX=256, RX=256)
HT_BAWinSize: wdev[3]: (TX=256, RX=256)
HT_BAWinSize: wdev[4]: (TX=256, RX=256)
HT_BAWinSize: wdev[5]: (TX=256, RX=256)
HT_BAWinSize: wdev[6]: (TX=256, RX=256)
HT_BAWinSize: wdev[7]: (TX=256, RX=256)
HT: WDEV[0] Ext Channel = ABOVE
HT: WDEV[1] Ext Channel = ABOVE
HT: WDEV[2] Ext Channel = ABOVE
HT: WDEV[3] Ext Channel = ABOVE
HT: WDEV[4] Ext Channel = ABOVE
HT: WDEV[5] Ext Channel = ABOVE
HT: WDEV[6] Ext Channel = ABOVE
HT: WDEV[7] Ext Channel = ABOVE
ChipID=7915, TWTSupport in profile=0
ICapMode = 0
BandIdx = 0, tpcDutyInitFlag=1
BandIdx = 1, tpcDutyInitFlag=1
BandIdx = 0, tpcnitFlag=1
BandIdx = 1, tpcnitFlag=1
BandIdx = 0, tpcDuty=100-70-40-20
BandIdx = 1, tpcDuty=100-70-40-20
BandIdx = 0, thermalHighEn=1
BandIdx = 1, thermalHighEn=1
BandIdx = 0, thermalHighCritera=115
BandIdx = 1, thermalHighCritera=115
BandIdx = 0, thermalLowEn=1
BandIdx = 1, thermalLowEn=1
BandIdx = 0, thermalLowCritera=110
BandIdx = 1, thermalLowCritera=110
BandIdx = 0, thermalRecheckTime=5
BandIdx = 1, thermalRecheckTime=5
BandIdx = 0, thermalRFOffEn=0
BandIdx = 1, thermalRFOffEn=0
BandIdx = 0, thermalRFOffCriteria=125
BandIdx = 1, thermalRFOffCriteria=125
BandIdx = 0, thermalUcType=1
BandIdx = 1, thermalUcType=1
WtcSetMaxStaNum: MaxStaNum:278, BssidNum:8, WdsNum:0, MSTANum:1, MaxNumChipRept:0, MinMcastWcid:279
Top Init Done!
Use alloc_skb
token_tx_two_queues_init(): ct sw token(0) number = 2048
token_tx_two_queues_init(): token que(0) inited done!id_head/tail=0/2048
token_tx_two_queues_init(): 867a5404,867a5404
token_tx_two_queues_init(): ct sw token(1) number = 6144
token_tx_two_queues_init(): token que(1) inited done!id_head/tail=0/6144
token_tx_two_queues_init(): 867a54ac,867a54ac
TxRing[0]: attr:0, total 2048 entry initialized
TxRing[1]: attr:0, total 2048 entry initialized
TxRing[2]: attr:0, total 2048 entry initialized
RX[0] DESC a0c10000 size = 24576
RX[1] DESC a0c18000 size = 16384
RX[2] DESC a0c30000 size = 24576
RX[3] DESC a0c38000 size = 24576
RX[4] DESC a0c40000 size = 8192
RX[5] DESC a0c44000 size = 16384
RX[6] DESC a0c42000 size = 8192
-->TX_RING_0[0xd9330]: Attr:0, Base=0xc08000, Cnt=2048!
-->TX_RING_1[0xd5420]: Attr:0, Base=0xc20000, Cnt=2048!
-->TX_RING_2[0xd5430]: Attr:0, Base=0xc28000, Cnt=2048!
-->TX_RING_3[0xd5400]: Attr:3, Base=0xc1c000, Cnt=128!
-->TX_RING_4[0xd5410]: Attr:2, Base=0xc1d000, Cnt=256!
-->TX_RING_5[0xd5440]: Attr:1, Base=0xc1e000, Cnt=256!
-->RX_RING0[0xd8510]: Base=0xc10000, Cnt=1536
-->RX_RING1[0xd9520]: Base=0xc18000, Cnt=1024
-->RX_RING2[0xd4500]: Base=0xc30000, Cnt=1536
-->RX_RING3[0xd4510]: Base=0xc38000, Cnt=10
-->RX_RING4[0xd5500]: Base=0xc40000, Cnt=512
-->RX_RING5[0xd5510]: Base=0xc44000, Cnt=1024
-->RX_RING6[0xd5520]: Base=0xc42000, Cnt=512
Hif Init Done!
pci_driver_own_by_port: success to clear p=0 fw own, from(1): 1 is interrupt mode, 2 is polling mode.
pci_driver_own_by_port: success to clear p=1 fw own, from(1): 1 is interrupt mode, 2 is polling mode.
fw_prepare():using E2 ROM patch
fw_prepare():using E2 RAM
os_load_code_from_bin:
Is there a way to extract the original device tree file to get the needed informations? (LED settings and so on..)
Thanks in advance.