タグ: WN-DX1200GR

WN-DX1200GR stock -> OpenWrt

ひとまずおおよそ組み上がったのでfactoryとしてのinitramfsイメージのテスト。
この機種においても既にサポート済みのWN-DX1167R, WN-AX1167GR2, WN-AX2033GRと同様の構造となっているため、initramfsイメージをstockのWebUIから投入したうえでsysupgradeイメージによりsysupgradeを実施する必要がある。

initramfsイメージからのsysupgrade時にbootnumとdebugflagのチェックを行い、bootnumが “2” である場合は “1” に、debugflagが “0” である場合は “1” に自動的に変更する。

### DO NOT set cfgapply ###
### Checksum is the same but commit does not change anything! Do nothing! ###
[  510.424000] led=9, on=1, off=1, blinks,=1, reset=0, time=4000 low_trigger=0
update cfg_1_chksum
Unlocking persist ...
update cfg_2_chksum
Unlocking persist ...
update cfg_1_size
Unlocking persist ...
update cfg_2_size
Unlocking persist ...
Unlocking firmware_2 ...

Writing from /tmp/fw.bin to firmware_2 ...
Header checksum OK.
Data checksum OK
Unlocking persist ...
### Switch to bank 2 on next boot! ###
procd: - shutdown -
[  517.052000] br-lan: port 3(rai0) entered disabled state
[  517.064000] br-lan: port 2(ra0) entered disabled state
[  517.076000] br-lan: port 1(eth0) entered disabled state
[  517.084000] device eth0 left promiscuous mode
[  517.096000] br-lan: port 1(eth0) entered disabled state
[  517.104000] ra2880stop()...Done
[  517.112000] eth1: ===> VirtualIF_close
[  517.120000] Free TX/RX Ring Memory!
[  517.128000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[  517.140000] device ra0 left promiscuous mode
[  517.148000] br-lan: port 2(ra0) entered disabled state
[  517.160000] device rai0 left promiscuous mode
[  517.168000] br-lan: port 3(rai0) entered disabled state
[  517.236000] eth1: ===> VirtualIF_close
[  517.244000] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[  518.572000] MTPciPollTxRxEmpty
[  519.196000] AsicSetPreTbtt(): bss_idx=0, PreTBTT timeout = 0x0
[  519.204000] RTMPSetPiggyBack(957): Not support for HIF_MT yet!
[  519.224000] RT28xxPciAsicRadioOff(): Not support for HIF_MT yet!
[  519.236000] RTMPDrvClose call RT28xxPciAsicRadioOff fail !!
[  519.248000] tx_kickout_fail_count = 0
[  519.252000] tx_timeout_fail_count = 0
[  519.260000] rx_receive_fail_count = 0
[  519.268000] alloc_cmd_msg = 96
[  519.276000] free_cmd_msg = 96
[  520.648000] Device Instance
[  520.656000]  WDEV 00:
Name:rai0
[  520.664000]          Wdev(list) Idx:0
[  520.668000]           Idx:13
[  520.672000]  WDEV 01:
Name:rai1
[  520.680000]          Wdev(list) Idx:1
[  520.688000]           Idx:14
[  520.692000]  WDEV 02:
Name:rai2
[  520.696000]          Wdev(list) Idx:2
[  520.704000]           Idx:15
[  520.708000]  WDEV 03:
Name:rai3
[  520.716000]          Wdev(list) Idx:3
[  520.720000]           Idx:16
[  520.728000]  WDEV 04:
Name:apclii0
[  520.732000]          Wdev(list) Idx:4
[  520.740000]           Idx:17
[  520.744000]  WDEV 05:
Name:wdsi0
[  520.752000]          Wdev(list) Idx:5
[  520.756000]           Idx:18
[  520.760000]  WDEV 06:
Name:wdsi1
[  520.768000]          Wdev(list) Idx:6
[  520.776000]           Idx:19
[  520.780000]  WDEV 07:
Name:wdsi2
[  520.784000]          Wdev(list) Idx:7
[  520.792000]           Idx:20
[  520.796000]  WDEV 08:
Name:wdsi3
[  520.804000]          Wdev(list) Idx:8
[  520.808000]           Idx:21
[  520.816000]  WDEV 09:
[  520.820000]  WDEV 10:
[  520.824000]  WDEV 11:
[  520.828000]  WDEV 12:
[  520.832000]  WDEV 13:
[  520.836000]  WDEV 14:
[  520.840000]  WDEV 15:
[  520.844000]  WDEV 16:
[  520.852000]  WDEV 17:
[  520.856000]  WDEV 18:
[  520.860000]  WDEV 19:
[  520.864000]  WDEV 20:
[  520.868000]  WDEV 21:
[  520.876000] rai0: ===> main_virtual_if_close
[  520.888000] wifi_sys_linkdown(), wdev idx = 0
[  520.896000] ExtEventBeaconLostHandler::FW LOG, Beacon lost (50:41:b9:**:**:09), Reason 0x10
[  520.912000]   Beacon lost - AP disabled!!!
[  520.924000] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
[  520.948000] wifi_sys_close(), wdev idx = 0
[  520.956000] APStop(), oper(0) bssid(0)=50:41:b9:**:**:09
[  520.968000] AsicSetPreTbtt(): NotSupportedFunc for this arch(HIF_MT)!
[  520.980000] MtAsicSetPiggyBack(590): Not support for HIF_MT yet!
[  520.992000] AsicDisableSync(): NotSupportedFunc for this arch(HIF_MT)!
[  521.004000] asic_bss_beacon_exit(): NotSupportedFunc for this arch(HIF_MT)!
[  521.020000] wifi_sys_close(), wdev idx = 0
[  521.028000] ap_ftkd> Release FT KDP Module...
[  521.036000] AsicDisableBeacon(): NotSupportedFunc for this arch(HIF_MT)!
[  521.036000] AsicSetPreTbtt(): NotSupportedFunc for this arch(HIF_MT)!
[  521.036000] MtAsicSetPiggyBack(590): Not support for HIF_MT yet!
[  521.036000] AsicDisableSync(): NotSupportedFunc for this arch(HIF_MT)!
[  521.036000] asic_bss_beacon_exit(): NotSupportedFunc for this arch(HIF_MT)!
[  521.040000] wifi_sys_close(), wdev idx = 1
[  521.040000] AsicSetPreTbtt(): NotSupportedFunc for this arch(HIF_MT)!
[  521.040000] MtAsicSetPiggyBack(590): Not support for HIF_MT yet!
[  521.040000] AsicDisableSync(): NotSupportedFunc for this arch(HIF_MT)!
[  521.040000] asic_bss_beacon_exit(): NotSupportedFunc for this arch(HIF_MT)!
[  521.044000] wifi_sys_close(), wdev idx = 2
[  521.044000] AsicSetPreTbtt(): NotSupportedFunc for this arch(HIF_MT)!
[  521.044000] MtAsicSetPiggyBack(590): Not support for HIF_MT yet!
[  521.044000] AsicDisableSync(): NotSupportedFunc for this arch(HIF_MT)!
[  521.044000] asic_bss_beacon_exit(): NotSupportedFunc for this arch(HIF_MT)!
[  521.048000] wifi_sys_close(), wdev idx = 3
[  521.048000] AsicDisableSync(): NotSupportedFunc for this arch(HIF_MT)!
[  521.056000] CmdReStartDLRsp: WiFI FW Download Success
[  521.068000] RT28xxPciAsicRadioOff(): Not support for HIF_MT yet!
[  521.068000] RTMPDrvClose call RT28xxPciAsicRadioOff fail !!
[  521.068000] tx_kickout_fail_count = 0
[  521.068000] tx_timeout_fail_count = 0
[  521.068000] rx_receive_fail_count = 0
[  521.068000] alloc_cmd_msg = 2192
[  521.068000] free_cmd_msg = 2192
[  521.068000] cut_through_token_list_destroy(): 86092d08,86092d08
[  521.072000] cut_through_token_list_destroy(): 86092d18,86092d18
[  521.072000] AsicResetWPDMA(): NotSupportedFunc for this arch(HIF_MT)!
[  521.072000] fw_own(): Write 1 to MT_CONN_HIF_ON_LPCTL bit 0 to set FW own
[  521.076000] RTMP_AllTimerListRelease: Size=36
[  521.076000] RTMP_AllTimerListRelease: Cancel timer obj c373b8b8!
[  521.076000] RTMP_AllTimerListRelease: Timer is allocated by scan_partial_init+0x48/0x58 [mt7663e],Valid:1,Lock:c37ebd4c,State:0
[  521.076000] RTMP_AllTimerListRelease: Cancel timer obj c373b878!
[  521.076000] RTMP_AllTimerListRelease: Timer is allocated by sync_fsm_init+0x248/0x2d8 [mt7663e],Valid:1,Lock:c37ebd4c,State:0
[  521.076000] RTMP_AllTimerListRelease: Cancel timer obj c34ef020!
[  521.076000] RTMP_AllTimerListRelease: Timer is allocated by WscInitClientTimers+0x5c/0xb8 [mt7663e],Valid:1,Lock:c37ebd4c,State:0
[  521.076000] RTMP_AllTimerListRelease: Cancel timer obj c348dce8!
[  521.076000] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x7c/0x168 [mt7663e],Valid:1,Lock:c37ebd4c,State:0
[  521.080000] RTMP_AllTimerListRelease: Cancel timer obj c348dd1c!
[  521.080000] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x94/0x168 [mt7663e],Valid:1,Lock:c37ebd4c,State:0
[  521.080000] RTMP_AllTimerListRelease: Cancel timer obj c3492654!
[  521.080000] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x7c/0x168 [mt7663e],Valid:1,Lock:c37ebd4c,State:0
[  521.080000] RTMP_AllTimerListRelease: Cancel timer obj c3492688!
[  521.080000] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x94/0x168 [mt7663e],Valid:1,Lock:c37ebd4c,State:0
[  521.080000] RTMP_AllTimerListRelease: Cancel timer obj c3496fc0!
[  521.080000] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x7c/0x168 [mt7663e],Valid:1,Lock:c37ebd4c,State:0
[  521.080000] RTMP_AllTimerListRelease: Cancel timer obj c3496ff4!
[  521.080000] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x94/0x168 [mt7663e],Valid:1,Lock:c37ebd4c,State:0
[  521.080000] RTMP_AllTimerListRelease: Cancel timer obj c349b92c!
[  521.080000] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x7c/0x168 [mt7663e],Valid:1,Lock:c37ebd4c,State:0
[  521.080000] RTMP_AllTimerListRelease: Cancel timer obj c349b960!
[  521.080000] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x94/0x168 [mt7663e],Valid:1,Lock:c37ebd4c,State:0
[  521.080000] RTMP_AllTimerListRelease: Cancel timer obj c34a0298!
[  521.080000] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x7c/0x168 [mt7663e],Valid:1,Lock:c37ebd4c,State:0
[  521.080000] RTMP_AllTimerListRelease: Cancel timer obj c34a02cc!
[  521.080000] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x94/0x168 [mt7663e],Valid:1,Lock:c37ebd4c,State:0
[  521.080000] RTMP_AllTimerListRelease: Cancel timer obj c34a4c04!
[  521.080000] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x7c/0x168 [mt7663e],Valid:1,Lock:c37ebd4c,State:0
[  521.080000] RTMP_AllTimerListRelease: Cancel timer obj c34a4c38!
[  521.080000] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x94/0x168 [mt7663e],Valid:1,Lock:c37ebd4c,State:0
[  521.080000] RTMP_AllTimerListRelease: Cancel timer obj c34a9570!
[  521.080000] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x7c/0x168 [mt7663e],Valid:1,Lock:c37ebd4c,State:0
[  521.080000] RTMP_AllTimerListRelease: Cancel timer obj c34a95a4!
[  521.080000] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x94/0x168 [mt7663e],Valid:1,Lock:c37ebd4c,State:0
[  521.080000] RTMP_AllTimerListRelease: Cancel timer obj c34adedc!
[  521.084000] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x7c/0x168 [mt7663e],Valid:1,Lock:c37ebd4c,State:0
[  521.084000] RTMP_AllTimerListRelease: Cancel timer obj c34adf10!
[  521.084000] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x94/0x168 [mt7663e],Valid:1,Lock:c37ebd4c,State:0
[  521.084000] RTMP_AllTimerListRelease: Cancel timer obj c34b2848!
[  521.084000] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x7c/0x168 [mt7663e],Valid:1,Lock:c37ebd4c,State:0
[  521.084000] RTMP_AllTimerListRelease: Cancel timer obj c34b287c!
[  521.084000] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x94/0x168 [mt7663e],Valid:1,Lock:c37ebd4c,State:0
[  521.084000] RTMP_AllTimerListRelease: Cancel timer obj c34b71b4!
[  521.084000] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x7c/0x168 [mt7663e],Valid:1,Lock:c37ebd4c,State:0
[  521.084000] RTMP_AllTimerListRelease: Cancel timer obj c34b71e8!
[  521.084000] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x94/0x168 [mt7663e],Valid:1,Lock:c37ebd4c,State:0
[  521.084000] RTMP_AllTimerListRelease: Cancel timer obj c34bbb20!
[  521.084000] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x7c/0x168 [mt7663e],Valid:1,Lock:c37ebd4c,State:0
[  521.084000] RTMP_AllTimerListRelease: Cancel timer obj c34bbb54!
[  521.084000] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x94/0x168 [mt7663e],Valid:1,Lock:c37ebd4c,State:0
[  521.084000] RTMP_AllTimerListRelease: Cancel timer obj c34c048c!
[  521.084000] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x7c/0x168 [mt7663e],Valid:1,Lock:c37ebd4c,State:0
[  521.084000] RTMP_AllTimerListRelease: Cancel timer obj c34c04c0!
[  521.084000] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x94/0x168 [mt7663e],Valid:1,Lock:c37ebd4c,State:0
[  521.084000] RTMP_AllTimerListRelease: Cancel timer obj c34c4df8!
[  521.084000] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x7c/0x168 [mt7663e],Valid:1,Lock:c37ebd4c,State:0
[  521.084000] RTMP_AllTimerListRelease: Cancel timer obj c34c4e2c!
[  521.084000] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x94/0x168 [mt7663e],Valid:1,Lock:c37ebd4c,State:0
[  521.084000] RTMP_AllTimerListRelease: Cancel timer obj c34c9764!
[  521.084000] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x7c/0x168 [mt7663e],Valid:1,Lock:c37ebd4c,State:0
[  521.084000] RTMP_AllTimerListRelease: Cancel timer obj c34c9798!
[  521.084000] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x94/0x168 [mt7663e],Valid:1,Lock:c37ebd4c,State:0
[  521.084000] RTMP_AllTimerListRelease: Cancel timer obj c34ce0d0!
[  521.088000] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x7c/0x168 [mt7663e],Valid:1,Lock:c37ebd4c,State:0
[  521.088000] RTMP_AllTimerListRelease: Cancel timer obj c34ce104!
[  521.088000] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x94/0x168 [mt7663e],Valid:1,Lock:c37ebd4c,State:0
[  521.088000] RTMP_AllTimerListRelease: Cancel timer obj c34d2a3c!
[  521.088000] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x7c/0x168 [mt7663e],Valid:1,Lock:c37ebd4c,State:0
[  521.088000] RTMP_AllTimerListRelease: Cancel timer obj c34d2a70!
[  521.088000] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x94/0x168 [mt7663e],Valid:1,Lock:c37ebd4c,State:0
[  521.088000] RTMP_AllTimerListRelease: Cancel timer obj c37eb540!
[  521.088000] RTMP_AllTimerListRelease: Timer is allocated by RedInit+0x114/0x210 [mt7663e],Valid:1,Lock:c37ebd4c,State:0
[  521.088000] fw_own(): Write 1 to MT_CONN_HIF_ON_LPCTL bit 0 to set FW own
[  522.604000] <---HwCtrlThread
[  522.612000] EXIT REDUCE TCP ACK, rai0
procd: - reboot [  522.800000] Stopped WatchDog Timer.
-
[  522.812000] Restarting system.

U-Boot 1.1.3 (Jun  3 2019 - 10:14:35)

Board: Ralink APSoC DRAM:  128 MB
relocate_code Pointer at: 87f98000

Config XHCI 40M PLL
******************************
Software System Reset Occurred
******************************
Allocate 16 byte aligned buffer: 87fcb030
Enable NFI Clock
# MTK NAND # : Use HW ECC
NAND ID [C2 F1 80 95 02]
Device found in MTK table, ID: c2f1, EXT_ID: 809502
Support this Device in MTK table! c2f1
select_chip
[NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
Signature matched and data read!
load_fact_bbt success 1023
load fact bbt success
[mtk_nand] probe successfully!
mtd->writesize=2048 mtd->oobsize=64,    mtd->erasesize=131072  devinfo.iowidth=8
....============================================
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: NAND Flash
Date:Jun  3 2019  Time:10:14:35
============================================
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
#Reset_MT7530
set LAN/WAN WLLLL
.## Starting application at 0x81E00000 ...

Z-LOADER V1.29 | 06/03/2019 10:14:38

...
Checking image 2...
Image Name:   3.10(XIQ.0)b20
Image Type:   MIPS Linux Kernel Image (lzma compressed)
Data Size:    6119705 Bytes =  5.8 MB
Load Address: 80001000
Entry Point:  80001000
..............................................................................................   Verifying Combo Checksum ... ..............................................................................................## Booting image at bf700000 ...
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80001000) ...
## Giving linux memsize in MB, 128

Starting kernel ...

OpenWrt kernel loader for MIPS based SoC
Copyright (C) 2011 Gabor Juhos
Decompressing kernel... done!
Starting kernel at 80001000...

[    0.000000] Linux version 5.4.92 ([email protected]) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r0+15625-24d5ef8757)) #0 SMP Thu Jan 28 04:11:26 2021
[    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] MIPS: machine is I-O DATA WN-DX1200GR
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] VPE topology {2,2} total 4
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] percpu: Embedded 14 pages/cpu s26736 r8192 d22416 u57344
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32480
[    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Writing ErrCtl register=00030800
[    0.000000] Readback ErrCtl register=00030800
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 117260K/131072K available (5799K kernel code, 201K rwdata, 1244K rodata, 4776K init, 230K bss, 13812K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] NR_IRQS: 256
[    0.000000] random: get_random_bytes called from start_kernel+0x340/0x558 with crng_init=0
[    0.000000] CPU Clock: 880MHz
[    0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
[    0.000009] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns
[    0.015478] Calibrating delay loop... 583.68 BogoMIPS (lpj=1167360)
[    0.055830] pid_max: default: 32768 minimum: 301
[    0.065177] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.079584] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.097681] rcu: Hierarchical SRCU implementation.
[    0.107786] smp: Bringing up secondary CPUs ...
[    0.143182] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.143192] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.143204] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.143306] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.144962] Synchronize counters for CPU 1: done.
[    0.234245] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.234253] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.234261] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.234324] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.243495] Synchronize counters for CPU 2: done.
[    0.329468] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.329476] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.329484] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.329548] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.331096] Synchronize counters for CPU 3: done.
[    0.390706] smp: Brought up 1 node, 4 CPUs
[    0.403220] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.422512] futex hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.436337] pinctrl core: initialized pinctrl subsystem
[    0.448099] NET: Registered protocol family 16
[    0.482706] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.503332] clocksource: Switched to clocksource GIC
[    0.515000] NET: Registered protocol family 2
[    0.524218] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.540739] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.555924] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.569914] TCP: Hash tables configured (established 1024 bind 1024)
[    0.582651] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.595540] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.609599] NET: Registered protocol family 1
[    0.618155] PCI: CLS 0 bytes, default 32
[    4.735306] 4 CPUs re-calibrate udelay(lpj = 1163264)
[    4.746757] random: fast init done
[    4.753511] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    4.777917] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    4.789405] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    4.811827] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    4.823097] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    4.834391] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    4.846103] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    4.859965] printk: console [ttyS0] disabled
[    4.868406] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[    4.886337] printk: console [ttyS0] enabled
[    4.886337] printk: console [ttyS0] enabled
[    4.902890] printk: bootconsole [early0] disabled
[    4.902890] printk: bootconsole [early0] disabled
[    4.923748] mt7621-nand 1e003000.nand: Using programmed access timing: 31c07388
[    4.938566] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xf1
[    4.951222] nand: Macronix MX30LF1G189C
[    4.958863] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    4.973945] mt7621-nand 1e003000.nand: ECC strength adjusted to 4 bits
[    4.986984] mt7621-nand 1e003000.nand: Using programmed access timing: 21005134
[    5.001564] mt7621-nand 1e003000.nand: Using programmed access timing: 21005134
[    5.016126] nand: timing mode 1 not acknowledged by the NAND chip
[    5.028267] mt7621-nand 1e003000.nand: Using programmed access timing: 31c07388
[    5.042834] Scanning device for bad blocks
[    6.350379] 11 fixed-partitions partitions found on MTD device mt7621-nand
[    6.364077] Creating 11 MTD partitions on "mt7621-nand":
[    6.374664] 0x000000000000-0x000000100000 : "u-boot"
[    6.385837] 0x000000100000-0x000000200000 : "u-boot-env"
[    6.397703] 0x000000200000-0x000000400000 : "factory"
[    6.409048] 0x000000400000-0x000000800000 : "kernel"
[    6.420142] 0x000000800000-0x000003600000 : "ubi"
[    6.430876] 0x000003600000-0x000003700000 : "Config"
[    6.441882] 0x000003700000-0x000006900000 : "firmware_2"
[    6.453837] 0x000006900000-0x000006a00000 : "Config_2"
[    6.465195] 0x000006a00000-0x000006b00000 : "persist"
[    6.476418] 0x000006b00000-0x000006c00000 : "idmkey"
[    6.487626] 0x000006c00000-0x000007f80000 : "Backup"
[    6.500132] libphy: Fixed MDIO Bus: probed
[    6.533706] libphy: mdio: probed
[    6.540399] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    6.556801] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 20
[    6.575490] mt7621-pci 1e140000.pcie: Parsing DT failed
[    6.588446] NET: Registered protocol family 10
[    6.598680] Segment Routing with IPv6
[    6.606106] NET: Registered protocol family 17
[    6.615370] 8021q: 802.1Q VLAN Support v1.8
[    6.625672] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    6.713159] libphy: dsa slave smi: probed
[    6.721607] mt7530 mdio-bus:1f wan (uninitialized): PHY [dsa-0.0:00] driver [Generic PHY]
[    6.739473] mt7530 mdio-bus:1f lan4 (uninitialized): PHY [dsa-0.0:01] driver [Generic PHY]
[    6.757392] mt7530 mdio-bus:1f lan3 (uninitialized): PHY [dsa-0.0:02] driver [Generic PHY]
[    6.775360] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [dsa-0.0:03] driver [Generic PHY]
[    6.793255] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [dsa-0.0:04] driver [Generic PHY]
[    6.811402] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode
[    6.829022] DSA: tree 0 setup
[    6.835303] rt2880-pinmux pinctrl: pcie is already enabled
[    6.846244] mt7621-pci 1e140000.pcie: Error applying setting, reverse things back
[    6.861300] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port = 1)
[    6.876220] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port = 0)
[    6.990736] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 40MHz
[    7.001853] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 40MHz
[    7.112667] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK)
[    7.126534] mt7621-pci 1e140000.pcie: PCIE0 enabled
[    7.136254] mt7621-pci 1e140000.pcie: PCIE1 enabled
[    7.145974] mt7621-pci 1e140000.pcie: PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    7.164695] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[    7.177372] pci_bus 0000:00: root bus resource [io  0x1e160000-0x1e16ffff]
[    7.191067] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    7.204765] pci_bus 0000:00: root bus resource [bus 00-ff]
[    7.215735] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    7.227739] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    7.240231] pci 0000:00:00.0: reg 0x14: [mem 0x60300000-0x6030ffff]
[    7.252781] pci 0000:00:00.0: supports D1
[    7.260765] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    7.272618] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    7.284622] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    7.297114] pci 0000:00:01.0: reg 0x14: [mem 0x60310000-0x6031ffff]
[    7.309654] pci 0000:00:01.0: supports D1
[    7.317638] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    7.330602] pci 0000:01:00.0: [14c3:7603] type 00 class 0x028000
[    7.342630] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[    7.355252] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    7.368711] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    7.379137] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    7.391293] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    7.404824] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    7.418231] pci 0000:02:00.0: [14c3:7663] type 00 class 0x000280
[    7.430259] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit pref]
[    7.444663] pci 0000:02:00.0: reg 0x18: [mem 0x00000000-0x00003fff 64bit pref]
[    7.459066] pci 0000:02:00.0: reg 0x20: [mem 0x00000000-0x00000fff 64bit pref]
[    7.473569] pci 0000:02:00.0: supports D1 D2
[    7.482074] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    7.495313] pci 0000:02:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x1 link at 0000:00:01.0 (capable of 4.000 Gb/s with 5 GT/s x1 link)
[    7.524152] pci 0000:00:01.0: PCI bridge to [bus 02-ff]
[    7.534569] pci 0000:00:01.0:   bridge window [io  0x0000-0x0fff]
[    7.546714] pci 0000:00:01.0:   bridge window [mem 0x60100000-0x602fffff pref]
[    7.561109] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    7.574331] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    7.587508] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    7.601380] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    7.614552] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    7.628430] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    7.641957] pci 0000:00:01.0: BAR 9: assigned [mem 0x60100000-0x602fffff pref]
[    7.656351] pci 0000:00:00.0: BAR 1: assigned [mem 0x60300000-0x6030ffff]
[    7.669879] pci 0000:00:01.0: BAR 1: assigned [mem 0x60310000-0x6031ffff]
[    7.683407] pci 0000:00:00.0: BAR 7: assigned [io  0x1e160000-0x1e160fff]
[    7.696933] pci 0000:00:01.0: BAR 7: assigned [io  0x1e161000-0x1e161fff]
[    7.710461] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff]
[    7.723989] pci 0000:00:00.0: PCI bridge to [bus 01]
[    7.733877] pci 0000:00:00.0:   bridge window [io  0x1e160000-0x1e160fff]
[    7.747405] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    7.760946] pci 0000:02:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit pref]
[    7.776388] pci 0000:02:00.0: BAR 2: assigned [mem 0x60200000-0x60203fff 64bit pref]
[    7.791832] pci 0000:02:00.0: BAR 4: assigned [mem 0x60204000-0x60204fff 64bit pref]
[    7.807265] pci 0000:00:01.0: PCI bridge to [bus 02]
[    7.817172] pci 0000:00:01.0:   bridge window [io  0x1e161000-0x1e161fff]
[    7.830692] pci 0000:00:01.0:   bridge window [mem 0x60100000-0x602fffff pref]
[    7.846462] UBI error: no valid UBI magic found inside mtd4
[    7.857650] hctosys: unable to open rtc device (rtc0)
[    7.868406] mt7530 mdio-bus:1f: Link is Up - 1Gbps/Full - flow control off
[    7.888098] Freeing unused kernel memory: 4776K
[    7.897143] This architecture does not have kernel memory protection.
[    7.909963] Run /init as init process
[    8.252153] init: Console is alive
[    8.259170] init: - watchdog -
[    8.276690] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    8.295229] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    8.315660] init: - preinit -
[    8.455237] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[    8.471363] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    8.488228] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    8.557171] random: jshn: uninitialized urandom read (4 bytes read)
[    8.625601] random: jshn: uninitialized urandom read (4 bytes read)
[    8.668872] random: jshn: uninitialized urandom read (4 bytes read)
[    8.884506] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[    8.898103] 8021q: adding VLAN 0 to HW filter on device lan1
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[   13.049917] procd: - early -
[   13.055780] procd: - watchdog -
[   13.599459] procd: - watchdog -
[   13.606158] procd: - ubus -
[   13.665165] procd: - init -
Please press Enter to activate this console.
[   13.984949] kmodloader: loading kernel modules from /etc/modules.d/*
[   14.051077] Loading modules backported from Linux version v5.8.18-0-gab435ce49bd1
[   14.066031] Backport generated by backports.git v5.8.18-1-0-ga630fd46
[   14.126328] xt_time: kernel timezone is -0000
[   14.136863] urngd: v1.0.2 started.
[   14.178248] mt7621-pci 1e140000.pcie: bus=1 slot=0 irq=22
[   14.189062] pci 0000:00:00.0: enabling device (0006 -> 0007)
[   14.200345] mt7603e 0000:01:00.0: enabling device (0000 -> 0002)
[   14.212506] mt7603e 0000:01:00.0: ASIC revision: 76030010
[   14.283230] random: crng init done
[   14.290030] random: 7 urandom warning(s) missed due to ratelimiting
[   14.840222] mt7603e 0000:01:00.0: Firmware Version: ap_pcie
[   14.851378] mt7603e 0000:01:00.0: Build Time: 20160107100755
[   14.887314] mt7603e 0000:01:00.0: firmware init done
[   15.074355] mt7621-pci 1e140000.pcie: bus=2 slot=1 irq=23
[   15.085288] pci 0000:00:01.0: enabling device (0006 -> 0007)
[   15.096607] mt7615e 0000:02:00.0: enabling device (0000 -> 0002)
[   15.118995] mt7615e 0000:02:00.0: use otp data only for mt7615e driver
[   15.132084] mt7615e 0000:02:00.0: Invalid MAC address, using random address a2:dd:39:cd:5d:66
[   15.175527] PPP generic driver version 2.4.2
[   15.185576] NET: Registered protocol family 24
[   15.234938] kmodloader: done loading kernel modules from /etc/modules.d/*
[   15.776744] mt7615e 0000:02:00.0: mediatek/mt7663pr2h.bin not found, switching to mediatek/mt7663pr2h_rebb.bin
[   15.798851] mt7615e 0000:02:00.0: HW/SW Version: 0x65322d31, Build Time: 19091404338b809
[   15.798851]
[   15.824921] mt7615e 0000:02:00.0: N9 Firmware Version: 7663mp1827, Build Time: 20190914043434
[   15.841994] mt7615e 0000:02:00.0: Region number: 0x3
[   15.851966] mt7615e 0000:02:00.0: Parsing tailer Region: 0
[   15.865675] mt7615e 0000:02:00.0: Region 0, override_addr = 0x00112c00
[   15.878732] mt7615e 0000:02:00.0: Parsing tailer Region: 1
[   15.890485] mt7615e 0000:02:00.0: Parsing tailer Region: 2
[   15.901832] mt7615e 0000:02:00.0: override_addr = 0x00112c00, option = 3
[   27.520336] mtk_soc_eth 1e100000.ethernet eth0: Link is Down
[   27.532762] mtk_soc_eth 1e100000.ethernet: PPE table busy
[   27.552221] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[   27.568198] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   27.570704] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[   27.598845] 8021q: adding VLAN 0 to HW filter on device lan1
[   27.613457] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   27.627005] br-lan: port 1(lan1) entered blocking state
[   27.637547] br-lan: port 1(lan1) entered disabled state
[   27.648700] device lan1 entered promiscuous mode
[   27.657948] device eth0 entered promiscuous mode
[   27.686636] mt7530 mdio-bus:1f lan2: configuring for phy/gmii link mode
[   27.700698] 8021q: adding VLAN 0 to HW filter on device lan2
[   27.715262] br-lan: port 2(lan2) entered blocking state
[   27.725865] br-lan: port 2(lan2) entered disabled state
[   27.737539] device lan2 entered promiscuous mode
[   27.758013] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[   27.771828] 8021q: adding VLAN 0 to HW filter on device lan3
[   27.787162] br-lan: port 3(lan3) entered blocking state
[   27.797700] br-lan: port 3(lan3) entered disabled state
[   27.809564] device lan3 entered promiscuous mode
[   27.828601] mt7530 mdio-bus:1f lan4: configuring for phy/gmii link mode
[   27.842391] 8021q: adding VLAN 0 to HW filter on device lan4
[   27.856955] br-lan: port 4(lan4) entered blocking state
[   27.867413] br-lan: port 4(lan4) entered disabled state
[   27.879478] device lan4 entered promiscuous mode
[   27.904540] mt7530 mdio-bus:1f wan: configuring for phy/gmii link mode
[   27.918357] 8021q: adding VLAN 0 to HW filter on device wan
[   31.815811] mt7530 mdio-bus:1f lan2: Link is Up - 1Gbps/Full - flow control off
[   31.830439] br-lan: port 2(lan2) entered blocking state
[   31.840899] br-lan: port 2(lan2) entered forwarding state
[   31.852507] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   32.007823] mt7530 mdio-bus:1f wan: Link is Up - 1Gbps/Full - flow control off
[   32.022269] IPv6: ADDRCONF(NETDEV_CHANGE): wan: link becomes ready

BusyBox v1.31.1 () built-in shell (ash)

_______                     ________        __
|       |.-----.-----.-----.|  |  |  |.----.|  |_
|   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
|_______||   __|_____|__|__||________||__|  |____|
|__| W I R E L E S S   F R E E D O M
-----------------------------------------------------
OpenWrt SNAPSHOT, r0+15639-63ba99c5ea
-----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:/# cd /tmp
root@OpenWrt:/tmp# wget https://taiha.net/jenkins/job/OpenWrt-master-IODATA-WN-D
X1200GR/lastSuccessfulBuild/artifact/bin/targets/ramips/mt7621/openwrt-ramips-mt
7621-iodata_wn-dx1200gr-squashfs-sysupgrade.bin
Downloading 'https://taiha.net/jenkins/job/OpenWrt-master-IODATA-WN-DX1200GR/lastSuccessfulBuild/artifact/bin/targets/ramips/mt7621/openwrt-ramips-mt7621-iodata_wn-dx1200gr-squashfs-sysupgrade.bin'
Connecting to 240b:12:500:65f0::88a:443
Writing to 'openwrt-ramips-mt7621-iodata_wn-dx1200gr-squashfs-sysupgrade.bin'
openwrt-ramips-mt762 100% |*******************************|  6001k  0:00:00 ETA
Download completed (6145094 bytes)
root@OpenWrt:/tmp# sysupgrade openwrt-ramips-mt7621-iodata_wn-dx1200gr-squashfs-
sysupgrade.bin
Cannot save config while running from ramdisk.
Thu Jan 28 09:59:27 UTC 2021 upgrade: Commencing upgrade. Closing all shell sessions.
Watchdog handover: fd=3
- watchdog -
killall: telnetd: no process killed
Thu Jan 28 09:59:28 UTC 2021 upgrade: Sending TERM to remaining processes ... logd hostapd wpa_supplicant netifd odhcpd ntpd dnsmasq ubusd urngdsh: S: out of range
sh: S: out of range

Thu Jan 28 09:59:31 UTC 2021 upgrade: Sending KILL to remaining processes ...sh: S: out of range
sh: S: out of range

[   85.147735] sh (2713): drop_caches: 3
Thu Jan 28 09:59:32 UTC 2021 upgrade: Switching to ramdisk...
Thu Jan 28 09:59:34 UTC 2021 upgrade: Performing system upgrade...
current: bootnum => 2, debugflag => 0
### switch to 1st os-image on next boot ###
### enable debug ###
Unlocking kernel ...

Writing from  to kernel ...
[   89.118408] ubi0: attaching mtd4
[   89.388823] ubi0: scanning is finished
[   89.396341] ubi0 error: ubi_read_volume_table: the layout volume was not found
[   89.410858] ubi0 error: ubi_attach_mtd_dev: failed to attach mtd4, error -22
ubiattach: error!: cannot attach mtd4
error 22 (Invalid argument)
ubiformat: mtd4 (nand), size 48234496 bytes (46.0 MiB), 368 eraseblocks of 131072 bytes (128.0 KiB), min. I/O size 2048 bytes
libscan: scanning eraseblock 367 -- 100 % complete
ubiformat: 324 eraseblocks are supposedly empty
ubiformat: warning!: 44 of 368 eraseblocks contain non-UBI data
ubiformat: warning!: only 0 of 368 eraseblocks have valid erase counter
ubiformat: erase counter 0 will be used for all eraseblocks
ubiformat: note, arbitrary erase counter value may be specified using -e option
ubiformat: use erase counter 0 for all eraseblocks
ubiformat: formatting eraseb[   96.174691] ubi0: attaching mtd4
ubiformat: formatting eraseblock 367 -- 100 % complete
[   96.653821] ubi0: scanning is finished
[   96.677449] ubi0: attached mtd4 (name "ubi", size 46 MiB)
[   96.688262] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[   96.701959] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[   96.715484] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[   96.729351] ubi0: good PEBs: 368, bad PEBs: 0, corrupted PEBs: 0
[   96.741318] ubi0: user volume: 0, internal volumes: 1, max. volumes count: 128
[   96.755785] ubi0: max/mean erase counter: 0/0, WL threshold: 4096, image sequence number: 700913185
[   96.773857] ubi0: available PEBs: 344, total reserved PEBs: 24, PEBs reserved for bad PEB handling: 20
[   96.792435] ubi0: background thread "ubi_bgt0d" started, PID 3326
UBI device number 0, total 368 LEBs (46727168 bytes, 44.5 MiB), available 344 LEBs (43679744 bytes, 41.6 MiB), LEB size 126976 bytes (124.0 KiB)
Volume ID 0, size 30 LEBs (3809280 bytes, 3.6 MiB), LEB size 126976 bytes (124.0 KiB), dynamic, name "rootfs", alignment 1
Set volume size to 39870464
Volume ID 1, size 314 LEBs (39870464 bytes, 38.0 MiB), LEB size 126976 bytes (124.0 KiB), dynamic, name "rootfs_data", alignment 1
sysupgrade successful
umount: can't unmount /dev: Resource busy
umount: can't unmount /tmp: Resource busy
[   98.719748] reboot: Restarting system

U-Boot 1.1.3 (Jun  3 2019 - 10:14:35)

Board: Ralink APSoC DRAM:  128 MB
relocate_code Pointer at: 87f98000

Config XHCI 40M PLL
******************************
Software System Reset Occurred
******************************
Allocate 16 byte aligned buffer: 87fcb030
Enable NFI Clock
# MTK NAND # : Use HW ECC
NAND ID [C2 F1 80 95 02]
Device found in MTK table, ID: c2f1, EXT_ID: 809502
Support this Device in MTK table! c2f1
select_chip
[NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
Signature matched and data read!
load_fact_bbt success 1023
load fact bbt success
[mtk_nand] probe successfully!
mtd->writesize=2048 mtd->oobsize=64,    mtd->erasesize=131072  devinfo.iowidth=8
....============================================
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: NAND Flash
Date:Jun  3 2019  Time:10:14:35
============================================
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
#Reset_MT7530
set LAN/WAN WLLLL
.## Starting application at 0x81E00000 ...

Z-LOADER V1.29 | 06/03/2019 10:14:38

...Hit ESC key to stop autoboot: 1

Checking image 1...
Image Name:   MIPS OpenWrt Linux-5.4.9
Image Type:   MIPS Linux Kernel Image (lzma compressed)
Data Size:    2435168 Bytes =  2.3 MB
Load Address: 80001000
Entry Point:  80001000
......................................   Verifying Checksum ... ## Booting image at bc400000 ...
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80001000) ...
## Giving linux memsize in MB, 128

Starting kernel ...

OpenWrt kernel loader for MIPS based SoC
Copyright (C) 2011 Gabor Juhos
Decompressing kernel... done!
Starting kernel at 80001000...

[    0.000000] Linux version 5.4.92 ([email protected]) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r0+15625-24d5ef8757)) #0 SMP Thu Jan 28 04:11:26 2021
[    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] MIPS: machine is I-O DATA WN-DX1200GR
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] VPE topology {2,2} total 4
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] percpu: Embedded 14 pages/cpu s26736 r8192 d22416 u57344
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32480
[    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Writing ErrCtl register=00030800
[    0.000000] Readback ErrCtl register=00030800
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 120780K/131072K available (5799K kernel code, 205K rwdata, 1240K rodata, 1256K init, 230K bss, 10292K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] NR_IRQS: 256
[    0.000000] random: get_random_bytes called from start_kernel+0x340/0x558 with crng_init=0
[    0.000000] CPU Clock: 880MHz
[    0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
[    0.000009] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns
[    0.015477] Calibrating delay loop... 583.68 BogoMIPS (lpj=1167360)
[    0.055830] pid_max: default: 32768 minimum: 301
[    0.065178] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.079584] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.097687] rcu: Hierarchical SRCU implementation.
[    0.107791] smp: Bringing up secondary CPUs ...
[    4.462762] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    4.462772] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    4.462784] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    4.462884] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.144965] Synchronize counters for CPU 1: done.
[    4.553785] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    4.553794] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    4.553801] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    4.553866] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.239409] Synchronize counters for CPU 2: done.
[    4.644923] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    4.644931] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    4.644939] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    4.645003] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.327008] Synchronize counters for CPU 3: done.
[    0.386613] smp: Brought up 1 node, 4 CPUs
[    0.399159] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.418451] futex hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.432274] pinctrl core: initialized pinctrl subsystem
[    0.444083] NET: Registered protocol family 16
[    0.478436] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.499135] clocksource: Switched to clocksource GIC
[    0.510855] NET: Registered protocol family 2
[    0.520085] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.536617] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.551795] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.565786] TCP: Hash tables configured (established 1024 bind 1024)
[    0.578521] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.591416] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.605475] NET: Registered protocol family 1
[    0.614041] PCI: CLS 0 bytes, default 32
[    0.711096] 4 CPUs re-calibrate udelay(lpj = 1167360)
[    0.722648] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    0.745927] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.757432] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.779586] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.790863] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.802113] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.813425] random: fast init done
[    0.817706] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    0.833858] printk: console [ttyS0] disabled
[    0.842314] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[    0.860242] printk: console [ttyS0] enabled
[    0.860242] printk: console [ttyS0] enabled
[    0.876788] printk: bootconsole [early0] disabled
[    0.876788] printk: bootconsole [early0] disabled
[    0.897578] mt7621-nand 1e003000.nand: Using programmed access timing: 31c07388
[    0.912423] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xf1
[    0.925077] nand: Macronix MX30LF1G189C
[    0.932717] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    0.947801] mt7621-nand 1e003000.nand: ECC strength adjusted to 4 bits
[    0.960838] mt7621-nand 1e003000.nand: Using programmed access timing: 21005134
[    0.975424] mt7621-nand 1e003000.nand: Using programmed access timing: 21005134
[    0.989987] nand: timing mode 1 not acknowledged by the NAND chip
[    1.002128] mt7621-nand 1e003000.nand: Using programmed access timing: 31c07388
[    1.016695] Scanning device for bad blocks
[    2.321604] 11 fixed-partitions partitions found on MTD device mt7621-nand
[    2.335302] Creating 11 MTD partitions on "mt7621-nand":
[    2.345887] 0x000000000000-0x000000100000 : "u-boot"
[    2.356920] 0x000000100000-0x000000200000 : "u-boot-env"
[    2.368570] 0x000000200000-0x000000400000 : "factory"
[    2.379812] 0x000000400000-0x000000800000 : "kernel"
[    2.390796] 0x000000800000-0x000003600000 : "ubi"
[    2.401519] 0x000003600000-0x000003700000 : "Config"
[    2.412518] 0x000003700000-0x000006900000 : "firmware_2"
[    2.424476] 0x000006900000-0x000006a00000 : "Config_2"
[    2.435906] 0x000006a00000-0x000006b00000 : "persist"
[    2.447162] 0x000006b00000-0x000006c00000 : "idmkey"
[    2.458215] 0x000006c00000-0x000007f80000 : "Backup"
[    2.470431] libphy: Fixed MDIO Bus: probed
[    2.505521] libphy: mdio: probed
[    2.512184] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    2.528382] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 20
[    2.547152] mt7621-pci 1e140000.pcie: Parsing DT failed
[    2.559996] NET: Registered protocol family 10
[    2.570261] Segment Routing with IPv6
[    2.577708] NET: Registered protocol family 17
[    2.586881] 8021q: 802.1Q VLAN Support v1.8
[    2.597142] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    2.619011] libphy: dsa slave smi: probed
[    2.627483] mt7530 mdio-bus:1f wan (uninitialized): PHY [dsa-0.0:00] driver [Generic PHY]
[    2.645223] mt7530 mdio-bus:1f lan4 (uninitialized): PHY [dsa-0.0:01] driver [Generic PHY]
[    2.663164] mt7530 mdio-bus:1f lan3 (uninitialized): PHY [dsa-0.0:02] driver [Generic PHY]
[    2.681079] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [dsa-0.0:03] driver [Generic PHY]
[    2.698954] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [dsa-0.0:04] driver [Generic PHY]
[    2.716971] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode
[    2.734590] DSA: tree 0 setup
[    2.740829] rt2880-pinmux pinctrl: pcie is already enabled
[    2.751780] mt7621-pci 1e140000.pcie: Error applying setting, reverse things back
[    2.766825] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port = 1)
[    2.781751] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port = 0)
[    2.896581] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 40MHz
[    2.907699] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 40MHz
[    3.018814] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK)
[    3.032687] mt7621-pci 1e140000.pcie: PCIE0 enabled
[    3.042401] mt7621-pci 1e140000.pcie: PCIE1 enabled
[    3.052127] mt7621-pci 1e140000.pcie: PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    3.070825] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[    3.083500] pci_bus 0000:00: root bus resource [io  0x1e160000-0x1e16ffff]
[    3.097197] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    3.110900] pci_bus 0000:00: root bus resource [bus 00-ff]
[    3.121868] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    3.133868] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    3.146360] pci 0000:00:00.0: reg 0x14: [mem 0x60300000-0x6030ffff]
[    3.158914] pci 0000:00:00.0: supports D1
[    3.166904] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    3.178709] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    3.190719] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    3.203215] pci 0000:00:01.0: reg 0x14: [mem 0x60310000-0x6031ffff]
[    3.215762] pci 0000:00:01.0: supports D1
[    3.223749] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    3.236610] pci 0000:01:00.0: [14c3:7603] type 00 class 0x028000
[    3.248640] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[    3.261263] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    3.274650] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    3.285082] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    3.297225] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    3.310756] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    3.324132] pci 0000:02:00.0: [14c3:7663] type 00 class 0x000280
[    3.336164] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit pref]
[    3.350568] pci 0000:02:00.0: reg 0x18: [mem 0x00000000-0x00003fff 64bit pref]
[    3.364980] pci 0000:02:00.0: reg 0x20: [mem 0x00000000-0x00000fff 64bit pref]
[    3.379483] pci 0000:02:00.0: supports D1 D2
[    3.387990] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    3.401199] pci 0000:02:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x1 link at 0000:00:01.0 (capable of 4.000 Gb/s with 5 GT/s x1 link)
[    3.429972] pci 0000:00:01.0: PCI bridge to [bus 02-ff]
[    3.440409] pci 0000:00:01.0:   bridge window [io  0x0000-0x0fff]
[    3.452553] pci 0000:00:01.0:   bridge window [mem 0x60100000-0x602fffff pref]
[    3.466944] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    3.480171] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    3.493354] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    3.507228] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    3.520405] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    3.534275] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    3.547806] pci 0000:00:01.0: BAR 9: assigned [mem 0x60100000-0x602fffff pref]
[    3.562195] pci 0000:00:00.0: BAR 1: assigned [mem 0x60300000-0x6030ffff]
[    3.575730] pci 0000:00:01.0: BAR 1: assigned [mem 0x60310000-0x6031ffff]
[    3.589258] pci 0000:00:00.0: BAR 7: assigned [io  0x1e160000-0x1e160fff]
[    3.602784] pci 0000:00:01.0: BAR 7: assigned [io  0x1e161000-0x1e161fff]
[    3.616321] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff]
[    3.629853] pci 0000:00:00.0: PCI bridge to [bus 01]
[    3.639748] pci 0000:00:00.0:   bridge window [io  0x1e160000-0x1e160fff]
[    3.653272] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    3.666806] pci 0000:02:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit pref]
[    3.682250] pci 0000:02:00.0: BAR 2: assigned [mem 0x60200000-0x60203fff 64bit pref]
[    3.697696] pci 0000:02:00.0: BAR 4: assigned [mem 0x60204000-0x60204fff 64bit pref]
[    3.713135] pci 0000:00:01.0: PCI bridge to [bus 02]
[    3.723026] pci 0000:00:01.0:   bridge window [io  0x1e161000-0x1e161fff]
[    3.736554] pci 0000:00:01.0:   bridge window [mem 0x60100000-0x602fffff pref]
[    3.751519] mt7530 mdio-bus:1f: Link is Up - 1Gbps/Full - flow control off
[    3.752643] UBI: auto-attach mtd4
[    3.771907] ubi0: attaching mtd4
[    4.245806] ubi0: scanning is finished
[    4.269645] ubi0: attached mtd4 (name "ubi", size 46 MiB)
[    4.280422] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    4.294109] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    4.307627] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    4.321486] ubi0: good PEBs: 368, bad PEBs: 0, corrupted PEBs: 0
[    4.333444] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    4.347828] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 700913185
[    4.365838] ubi0: available PEBs: 0, total reserved PEBs: 368, PEBs reserved for bad PEB handling: 20
[    4.384220] ubi0: background thread "ubi_bgt0d" started, PID 464
[    4.386006] block ubiblock0_0: created from ubi0:0(rootfs)
[    4.407128] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    4.420996] hctosys: unable to open rtc device (rtc0)
[    4.437555] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    4.455983] Freeing unused kernel memory: 1256K
[    4.465029] This architecture does not have kernel memory protection.
[    4.477851] Run /sbin/init as init process
[    5.015463] init: Console is alive
[    5.022488] init: - watchdog -
[    5.651755] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    5.747644] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    5.771435] init: - preinit -
[    6.415784] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[    6.431845] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    6.448697] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    6.577430] random: jshn: uninitialized urandom read (4 bytes read)
[    6.645474] random: jshn: uninitialized urandom read (4 bytes read)
[    6.687961] random: jshn: uninitialized urandom read (4 bytes read)
[    6.900879] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[    6.914485] 8021q: adding VLAN 0 to HW filter on device lan1
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[   11.097808] UBIFS (ubi0:1): default file-system created
[   11.109641] UBIFS (ubi0:1): Mounting in unauthenticated mode
[   11.121183] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 578
[   11.246043] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[   11.261718] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   11.281482] UBIFS (ubi0:1): FS size: 38600704 bytes (36 MiB, 304 LEBs), journal size 1904640 bytes (1 MiB, 15 LEBs)
[   11.302273] UBIFS (ubi0:1): reserved for root: 1823206 bytes (1780 KiB)
[   11.315460] UBIFS (ubi0:1): media format: w5/r0 (latest is w5/r0), UUID 4EC6A2FB-37FD-4826-B555-FFC3EE7DE706, small LPT model
[   11.341101] mount_root: overlay filesystem has not been fully initialized yet
[   11.355729] mount_root: switching to ubifs overlay
[   11.371981] urandom-seed: Seed file not found (/etc/urandom.seed)
[   11.519013] procd: - early -
[   11.524903] procd: - watchdog -
[   12.115261] procd: - watchdog -
[   12.122182] procd: - ubus -
[   12.181128] procd: - init -
Please press Enter to activate this console.
[   12.637331] kmodloader: loading kernel modules from /etc/modules.d/*
[   12.704497] Loading modules backported from Linux version v5.8.18-0-gab435ce49bd1
[   12.719478] Backport generated by backports.git v5.8.18-1-0-ga630fd46
[   12.793037] xt_time: kernel timezone is -0000
[   12.849779] mt7621-pci 1e140000.pcie: bus=1 slot=0 irq=22
[   12.860610] pci 0000:00:00.0: enabling device (0006 -> 0007)
[   12.871912] mt7603e 0000:01:00.0: enabling device (0000 -> 0002)
[   12.884136] mt7603e 0000:01:00.0: ASIC revision: 76030010
[   12.918654] urngd: v1.0.2 started.
[   13.062879] random: crng init done
[   13.069674] random: 7 urandom warning(s) missed due to ratelimiting
[   13.512377] mt7603e 0000:01:00.0: Firmware Version: ap_pcie
[   13.523508] mt7603e 0000:01:00.0: Build Time: 20160107100755
[   13.559119] mt7603e 0000:01:00.0: firmware init done
[   13.745565] mt7621-pci 1e140000.pcie: bus=2 slot=1 irq=23
[   13.756371] pci 0000:00:01.0: enabling device (0006 -> 0007)
[   13.767671] mt7615e 0000:02:00.0: enabling device (0000 -> 0002)
[   13.788158] mt7615e 0000:02:00.0: use otp data only for mt7615e driver
[   13.801310] mt7615e 0000:02:00.0: Invalid MAC address, using random address 2a:c1:a4:a3:78:c1
[   13.850508] PPP generic driver version 2.4.2
[   13.861052] NET: Registered protocol family 24
[   13.958474] kmodloader: done loading kernel modules from /etc/modules.d/*
[   14.758144] mt7615e 0000:02:00.0: mediatek/mt7663pr2h.bin not found, switching to mediatek/mt7663pr2h_rebb.bin
[   14.888011] mt7615e 0000:02:00.0: HW/SW Version: 0x65322d31, Build Time: 19091404338b809
[   14.888011]
[   15.050594] mt7615e 0000:02:00.0: N9 Firmware Version: 7663mp1827, Build Time: 20190914043434
[   15.067660] mt7615e 0000:02:00.0: Region number: 0x3
[   15.077605] mt7615e 0000:02:00.0: Parsing tailer Region: 0
[   15.091405] mt7615e 0000:02:00.0: Region 0, override_addr = 0x00112c00
[   15.104443] mt7615e 0000:02:00.0: Parsing tailer Region: 1
[   15.116186] mt7615e 0000:02:00.0: Parsing tailer Region: 2
[   15.127515] mt7615e 0000:02:00.0: override_addr = 0x00112c00, option = 3
[   39.105441] mtk_soc_eth 1e100000.ethernet eth0: Link is Down
[   39.117850] mtk_soc_eth 1e100000.ethernet: PPE table busy
[   39.136917] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[   39.152985] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   39.156569] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[   39.183609] 8021q: adding VLAN 0 to HW filter on device lan1
[   39.197985] br-lan: port 1(lan1) entered blocking state
[   39.208586] br-lan: port 1(lan1) entered disabled state
[   39.220079] device lan1 entered promiscuous mode
[   39.229333] device eth0 entered promiscuous mode
[   39.243786] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   39.269584] mt7530 mdio-bus:1f lan2: configuring for phy/gmii link mode
[   39.283873] 8021q: adding VLAN 0 to HW filter on device lan2
[   39.298674] br-lan: port 2(lan2) entered blocking state
[   39.309287] br-lan: port 2(lan2) entered disabled state
[   39.321319] device lan2 entered promiscuous mode
[   39.341318] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[   39.355149] 8021q: adding VLAN 0 to HW filter on device lan3
[   39.369855] br-lan: port 3(lan3) entered blocking state
[   39.380406] br-lan: port 3(lan3) entered disabled state
[   39.392342] device lan3 entered promiscuous mode
[   39.412350] mt7530 mdio-bus:1f lan4: configuring for phy/gmii link mode
[   39.426509] 8021q: adding VLAN 0 to HW filter on device lan4
[   39.441121] br-lan: port 4(lan4) entered blocking state
[   39.451619] br-lan: port 4(lan4) entered disabled state
[   39.463838] device lan4 entered promiscuous mode
[   39.487168] mt7530 mdio-bus:1f wan: configuring for phy/gmii link mode
[   39.500771] 8021q: adding VLAN 0 to HW filter on device wan
[   43.383621] mt7530 mdio-bus:1f lan2: Link is Up - 1Gbps/Full - flow control off
[   43.398249] br-lan: port 2(lan2) entered blocking state
[   43.408707] br-lan: port 2(lan2) entered forwarding state
[   43.420427] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   43.609505] mt7530 mdio-bus:1f wan: Link is Up - 1Gbps/Full - flow control off
[   43.623980] IPv6: ADDRCONF(NETDEV_CHANGE): wan: link becomes ready
[   58.743391] mt7530 mdio-bus:1f lan2: Link is Down
[   58.752899] br-lan: port 2(lan2) entered disabled state

BusyBox v1.31.1 () built-in shell (ash)

_______                     ________        __
|       |.-----.-----.-----.|  |  |  |.----.|  |_
|   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
|_______||   __|_____|__|__||________||__|  |____|
|__| W I R E L E S S   F R E E D O M
-----------------------------------------------------
OpenWrt SNAPSHOT, r0+15639-63ba99c5ea
-----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:/#

WN-DX1200GR OpenWrt書き込みメモ (Z-LOADER)

commit: 24d5ef8757171948332a53b49253d3bb16023174

U-Boot 1.1.3 (Jun  3 2019 - 10:14:35)

Board: Ralink APSoC DRAM:  128 MB
relocate_code Pointer at: 87f98000

Config XHCI 40M PLL
Allocate 16 byte aligned buffer: 87fcb030
Enable NFI Clock
# MTK NAND # : Use HW ECC
NAND ID [C2 F1 80 95 02]
Device found in MTK table, ID: c2f1, EXT_ID: 809502
Support this Device in MTK table! c2f1
select_chip
[NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
Signature matched and data read!
load_fact_bbt success 1023
load fact bbt success
[mtk_nand] probe successfully!
mtd->writesize=2048 mtd->oobsize=64,    mtd->erasesize=131072  devinfo.iowidth=8
....============================================
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: NAND Flash
Date:Jun  3 2019  Time:10:14:35
============================================
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
#Reset_MT7530
set LAN/WAN WLLLL
.## Starting application at 0x81E00000 ...

Z-LOADER V1.29 | 06/03/2019 10:14:38

...Hit ESC key to stop autoboot: 1
ZLB>
ATGO              boot up the whole system
ATGU              go back to U-Boot command line
ATNR    x,y       upgrade image by TFTP (x=type[1:ras, 2:bootloader, 3:config, 4:romd 6:factory], y=filename)
ATBT    x         block0 write enable (1=enable, 0=disable)
ATEN    x,(y)     set BootExtension Debug Flag (y=password)
ATSE    x         show the seed of password generator
ATWZ    a,(b,c,d) write MAC , Country code, EngDbgFlag, MAC Quantity to FLASH
ATSH              dump manufacturer related data in FLASH
ATBU              dump manufacturer related data in working buffer
ATCB              copy FLASH MRD to working buffer
ATSN    x         set serial number to flash
ATSB              save working buffer to FLASH
ATQY    x         set MAC Quantity to working buffer
ATFL    x         set EngDebugFlag to working buffer
ATCO    x         set country code to working buffer
ATSR              reset
ATRT    (x,y,z,u) RAM read/write test (x=level, y=start addr, z=end addr, u=interations)
ATRM              restore default MRD
ATBR              reset to default Romfile
ATER              erase ROM-D data
ATHV    x         set hardware version to flash
ATGP    x,y       led control
ZLB> ATNR 1,test.bin

NetLoop,call eth_halt !

NetLoop,call eth_init !
Trying Eth0 (10/100-M)

Waitting for RX_DMA_BUSY status Start... done

ETH_STATE_ACTIVE!!
Using Eth0 (10/100-M) device
TFTP from server 10.10.10.3; our IP address is 10.10.10.123
Filename 'test.bin'.

TIMEOUT_COUNT=10,Load address: 0x84000000
Loading: checksum bad
checksum bad
checksum bad
checksum bad
checksum bad
checksum bad
checksum bad
checksum bad
checksum bad
Got ARP REPLY, set server/gtwy eth addr (50:7b:9d:d7:f0:15)
Got it
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
##########################
done
Bytes transferred = 6118556 (5d5c9c hex)
LoadAddr=84000000 NetBootFileXferSize= 005d5c9c
receive langth = 6118556

!!Upgrade File @84000000, length 6118556, type 1, offset 0x400000.  !!
__ranand_erase: start:400000, len:20000
..__ranand_erase: start:420000, len:20000
..__ranand_erase: start:440000, len:20000
..__ranand_erase: start:460000, len:20000
..__ranand_erase: start:480000, len:20000
..__ranand_erase: start:4a0000, len:20000
..__ranand_erase: start:4c0000, len:20000
..__ranand_erase: start:4e0000, len:20000
..__ranand_erase: start:500000, len:20000
..__ranand_erase: start:520000, len:20000
..__ranand_erase: start:540000, len:20000
..__ranand_erase: start:560000, len:20000
..__ranand_erase: start:580000, len:20000
..__ranand_erase: start:5a0000, len:20000
..__ranand_erase: start:5c0000, len:20000
..__ranand_erase: start:5e0000, len:20000
..__ranand_erase: start:600000, len:20000
..__ranand_erase: start:620000, len:20000
..__ranand_erase: start:640000, len:20000
..__ranand_erase: start:660000, len:20000
..__ranand_erase: start:680000, len:20000
..__ranand_erase: start:6a0000, len:20000
..__ranand_erase: start:6c0000, len:20000
..__ranand_erase: start:6e0000, len:20000
..__ranand_erase: start:700000, len:20000
..__ranand_erase: start:720000, len:20000
..__ranand_erase: start:740000, len:20000
..__ranand_erase: start:760000, len:20000
..__ranand_erase: start:780000, len:20000
..__ranand_erase: start:7a0000, len:20000
..__ranand_erase: start:7c0000, len:20000
..__ranand_erase: start:7e0000, len:20000
..__ranand_erase: start:800000, len:20000
..__ranand_erase: start:820000, len:20000
..__ranand_erase: start:840000, len:20000
..__ranand_erase: start:860000, len:20000
..__ranand_erase: start:880000, len:20000
..__ranand_erase: start:8a0000, len:20000
..__ranand_erase: start:8c0000, len:20000
..__ranand_erase: start:8e0000, len:20000
..__ranand_erase: start:900000, len:20000
..__ranand_erase: start:920000, len:20000
..__ranand_erase: start:940000, len:20000
..__ranand_erase: start:960000, len:20000
..__ranand_erase: start:980000, len:20000
..__ranand_erase: start:9a0000, len:20000
....__ranand_erase: start:9c0000, len:20000
.(5230)offs=0x9c0000 piece=0x0 piece_size=0x15c9c rc=0x0
Done!
ZLB> ATGO

Checking image 1...
Image Name:   3.10(XIQ.0)b20
Image Type:   MIPS Linux Kernel Image (lzma compressed)
Data Size:    6118492 Bytes =  5.8 MB
Load Address: 80001000
Entry Point:  80001000
..............................................................................................   Verifying Combo Checksum ... ..............................................................................................## Booting image at bc400000 ...
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80001000) ...
## Giving linux memsize in MB, 128

Starting kernel ...

OpenWrt kernel loader for MIPS based SoC
Copyright (C) 2011 Gabor Juhos 
Decompressing kernel... done!
Starting kernel at 80001000...

[    0.000000] Linux version 5.4.92 ([email protected]) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r0+15625-24d5ef8757)) #0 SMP Wed Jan 27 09:20:42 2021
[    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] MIPS: machine is I-O DATA WN-DX1200GR
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] VPE topology {2,2} total 4
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] percpu: Embedded 14 pages/cpu s26736 r8192 d22416 u57344
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32480
[    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Writing ErrCtl register=00030801
[    0.000000] Readback ErrCtl register=00030801
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 117260K/131072K available (5799K kernel code, 201K rwdata, 1244K rodata, 4776K init, 230K bss, 13812K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] NR_IRQS: 256
[    0.000000] random: get_random_bytes called from start_kernel+0x340/0x558 with crng_init=0
[    0.000000] CPU Clock: 880MHz
[    0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
[    0.000009] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns
[    0.015477] Calibrating delay loop... 583.68 BogoMIPS (lpj=1167360)
[    0.055829] pid_max: default: 32768 minimum: 301
[    0.065177] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.079583] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.097686] rcu: Hierarchical SRCU implementation.
[    0.107789] smp: Bringing up secondary CPUs ...
[    0.947448] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.947458] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.947470] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.947571] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.144964] Synchronize counters for CPU 1: done.
[    1.038473] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    1.038481] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    1.038489] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    1.038554] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.239408] Synchronize counters for CPU 2: done.
[    1.129609] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    1.129617] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    1.129625] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    1.129688] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.327006] Synchronize counters for CPU 3: done.
[    0.386612] smp: Brought up 1 node, 4 CPUs
[    0.399156] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.418446] futex hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.432271] pinctrl core: initialized pinctrl subsystem
[    0.444057] NET: Registered protocol family 16
[    0.480210] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.499346] random: fast init done
[    0.507661] clocksource: Switched to clocksource GIC
[    0.519310] NET: Registered protocol family 2
[    0.528541] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.545076] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.560255] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.574256] TCP: Hash tables configured (established 1024 bind 1024)
[    0.586997] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.599890] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.613952] NET: Registered protocol family 1
[    0.622516] PCI: CLS 0 bytes, default 32
[    4.735628] 4 CPUs re-calibrate udelay(lpj = 1167360)
[    4.747297] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    4.771696] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    4.783172] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    4.805551] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    4.816869] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    4.828116] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    4.839972] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    4.853841] printk: console [ttyS0] disabled
[    4.862278] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[    4.880214] printk: console [ttyS0] enabled
[    4.880214] printk: console [ttyS0] enabled
[    4.896763] printk: bootconsole [early0] disabled
[    4.896763] printk: bootconsole [early0] disabled
[    4.917714] mt7621-nand 1e003000.nand: Using programmed access timing: 31c07388
[    4.932567] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xf1
[    4.945216] nand: Macronix MX30LF1G189C
[    4.952852] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    4.967928] mt7621-nand 1e003000.nand: ECC strength adjusted to 4 bits
[    4.980964] mt7621-nand 1e003000.nand: Using programmed access timing: 21005134
[    4.995540] mt7621-nand 1e003000.nand: Using programmed access timing: 21005134
[    5.010100] nand: timing mode 1 not acknowledged by the NAND chip
[    5.022235] mt7621-nand 1e003000.nand: Using programmed access timing: 31c07388
[    5.036810] Scanning device for bad blocks
[    6.341383] 11 fixed-partitions partitions found on MTD device mt7621-nand
[    6.355074] Creating 11 MTD partitions on "mt7621-nand":
[    6.365659] 0x000000000000-0x000000100000 : "u-boot"
[    6.376782] 0x000000100000-0x000000200000 : "u-boot-env"
[    6.388510] 0x000000200000-0x000000400000 : "factory"
[    6.399781] 0x000000400000-0x000000800000 : "kernel"
[    6.410798] 0x000000800000-0x000003600000 : "ubi"
[    6.421532] 0x000003600000-0x000003700000 : "Config"
[    6.432554] 0x000003700000-0x000006900000 : "firmware_2"
[    6.444533] 0x000006900000-0x000006a00000 : "Config_2"
[    6.455981] 0x000006a00000-0x000006b00000 : "persist"
[    6.467152] 0x000006b00000-0x000006c00000 : "idmkey"
[    6.478229] 0x000006c00000-0x000007f80000 : "Backup"
[    6.490649] libphy: Fixed MDIO Bus: probed
[    6.526041] libphy: mdio: probed
[    6.532703] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    6.548940] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 20
[    6.567775] mt7621-pci 1e140000.pcie: Parsing DT failed
[    6.580838] NET: Registered protocol family 10
[    6.591078] Segment Routing with IPv6
[    6.598498] NET: Registered protocol family 17
[    6.607680] 8021q: 802.1Q VLAN Support v1.8
[    6.617923] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    6.705260] libphy: dsa slave smi: probed
[    6.713696] mt7530 mdio-bus:1f wan (uninitialized): PHY [dsa-0.0:00] driver [Generic PHY]
[    6.731503] mt7530 mdio-bus:1f lan4 (uninitialized): PHY [dsa-0.0:01] driver [Generic PHY]
[    6.749429] mt7530 mdio-bus:1f lan3 (uninitialized): PHY [dsa-0.0:02] driver [Generic PHY]
[    6.767359] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [dsa-0.0:03] driver [Generic PHY]
[    6.785275] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [dsa-0.0:04] driver [Generic PHY]
[    6.803249] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode
[    6.820878] DSA: tree 0 setup
[    6.827147] rt2880-pinmux pinctrl: pcie is already enabled
[    6.838094] mt7621-pci 1e140000.pcie: Error applying setting, reverse things back
[    6.853146] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port = 1)
[    6.868063] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port = 0)
[    6.982809] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 40MHz
[    6.993921] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 40MHz
[    7.104970] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK)
[    7.118836] mt7621-pci 1e140000.pcie: PCIE0 enabled
[    7.128547] mt7621-pci 1e140000.pcie: PCIE1 enabled
[    7.138262] mt7621-pci 1e140000.pcie: PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    7.156982] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[    7.169659] pci_bus 0000:00: root bus resource [io  0x1e160000-0x1e16ffff]
[    7.183352] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    7.197047] pci_bus 0000:00: root bus resource [bus 00-ff]
[    7.208011] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    7.220012] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    7.232496] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[    7.245046] pci 0000:00:00.0: supports D1
[    7.253029] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    7.264885] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    7.276886] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    7.289370] pci 0000:00:01.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[    7.301909] pci 0000:00:01.0: supports D1
[    7.309891] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    7.322612] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    7.338569] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    7.354749] pci 0000:01:00.0: [14c3:7603] type 00 class 0x028000
[    7.366766] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[    7.379383] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    7.392845] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    7.403266] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    7.415403] pci 0000:00:00.0:   bridge window [mem 0x00000000-0x000fffff]
[    7.428926] pci 0000:00:00.0:   bridge window [mem 0x00000000-0x000fffff pref]
[    7.443313] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    7.456724] pci 0000:02:00.0: [14c3:7663] type 00 class 0x000280
[    7.468755] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit pref]
[    7.483161] pci 0000:02:00.0: reg 0x18: [mem 0x00000000-0x00003fff 64bit pref]
[    7.497561] pci 0000:02:00.0: reg 0x20: [mem 0x00000000-0x00000fff 64bit pref]
[    7.512060] pci 0000:02:00.0: supports D1 D2
[    7.520562] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    7.533765] pci 0000:02:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x1 link at 0000:00:01.0 (capable of 4.000 Gb/s with 5 GT/s x1 link)
[    7.562567] pci 0000:00:01.0: PCI bridge to [bus 02-ff]
[    7.572990] pci 0000:00:01.0:   bridge window [io  0x0000-0x0fff]
[    7.585125] pci 0000:00:01.0:   bridge window [mem 0x00000000-0x000fffff]
[    7.598643] pci 0000:00:01.0:   bridge window [mem 0x00000000-0x000fffff pref]
[    7.613040] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    7.626258] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    7.639430] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    7.653299] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    7.666471] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    7.680340] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    7.693862] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref]
[    7.708249] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff]
[    7.721771] pci 0000:00:01.0: BAR 9: assigned [mem 0x60300000-0x604fffff pref]
[    7.736164] pci 0000:00:00.0: BAR 1: assigned [mem 0x60500000-0x6050ffff]
[    7.749695] pci 0000:00:01.0: BAR 1: assigned [mem 0x60510000-0x6051ffff]
[    7.763217] pci 0000:00:00.0: BAR 7: assigned [io  0x1e160000-0x1e160fff]
[    7.776740] pci 0000:00:01.0: BAR 7: assigned [io  0x1e161000-0x1e161fff]
[    7.790268] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff]
[    7.803794] pci 0000:00:00.0: PCI bridge to [bus 01]
[    7.813680] pci 0000:00:00.0:   bridge window [io  0x1e160000-0x1e160fff]
[    7.827198] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    7.840720] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    7.855111] pci 0000:02:00.0: BAR 0: assigned [mem 0x60300000-0x603fffff 64bit pref]
[    7.870548] pci 0000:02:00.0: BAR 2: assigned [mem 0x60400000-0x60403fff 64bit pref]
[    7.885991] pci 0000:02:00.0: BAR 4: assigned [mem 0x60404000-0x60404fff 64bit pref]
[    7.901424] pci 0000:00:01.0: PCI bridge to [bus 02]
[    7.911310] pci 0000:00:01.0:   bridge window [io  0x1e161000-0x1e161fff]
[    7.924832] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff]
[    7.938350] pci 0000:00:01.0:   bridge window [mem 0x60300000-0x604fffff pref]
[    7.954082] UBI error: no valid UBI magic found inside mtd4
[    7.965255] hctosys: unable to open rtc device (rtc0)
[    7.976026] mt7530 mdio-bus:1f: Link is Up - 1Gbps/Full - flow control off
[    7.995750] Freeing unused kernel memory: 4776K
[    8.004795] This architecture does not have kernel memory protection.
[    8.017616] Run /init as init process
[    8.361655] init: Console is alive
[    8.369126] init: - watchdog -
[    8.386461] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    8.404724] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    8.424006] init: - preinit -
[    8.564669] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[    8.580749] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    8.597638] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    8.666784] random: jshn: uninitialized urandom read (4 bytes read)
[    8.735010] random: jshn: uninitialized urandom read (4 bytes read)
[    8.778131] random: jshn: uninitialized urandom read (4 bytes read)
[    8.993451] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[    9.007049] 8021q: adding VLAN 0 to HW filter on device lan1
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[   13.158409] procd: - early -
[   13.164330] procd: - watchdog -
[   13.707800] procd: - watchdog -
[   13.714509] procd: - ubus -
[   13.773468] procd: - init -
Please press Enter to activate this console.
[   14.090486] kmodloader: loading kernel modules from /etc/modules.d/*
[   14.159369] Loading modules backported from Linux version v5.8.18-0-gab435ce49bd1
[   14.174322] Backport generated by backports.git v5.8.18-1-0-ga630fd46
[   14.234119] xt_time: kernel timezone is -0000
[   14.246207] urngd: v1.0.2 started.
[   14.285967] mt7621-pci 1e140000.pcie: bus=1 slot=0 irq=22
[   14.296796] pci 0000:00:00.0: enabling device (0004 -> 0007)
[   14.308086] mt7603e 0000:01:00.0: enabling device (0000 -> 0002)
[   14.320253] mt7603e 0000:01:00.0: ASIC revision: 76030010
[   14.389613] random: crng init done
[   14.396411] random: 7 urandom warning(s) missed due to ratelimiting
[   14.948563] mt7603e 0000:01:00.0: Firmware Version: ap_pcie
[   14.959738] mt7603e 0000:01:00.0: Build Time: 20160107100755
[   14.995644] mt7603e 0000:01:00.0: firmware init done
[   15.183306] mt7621-pci 1e140000.pcie: bus=2 slot=1 irq=23
[   15.194201] pci 0000:00:01.0: enabling device (0004 -> 0007)
[   15.205524] mt7615e 0000:02:00.0: enabling device (0000 -> 0002)
[   15.227436] mt7615e 0000:02:00.0: Invalid MAC address, using random address 12:e3:7d:89:9e:bb
[   15.271326] PPP generic driver version 2.4.2
[   15.281314] NET: Registered protocol family 24
[   15.316146] kmodloader: done loading kernel modules from /etc/modules.d/*
[   15.885787] mt7615e 0000:02:00.0: mediatek/mt7663pr2h.bin not found, switching to mediatek/mt7663pr2h_rebb.bin
[   15.907827] mt7615e 0000:02:00.0: HW/SW Version: 0x65322d31, Build Time: 19091404338b809
[   15.907827]
[   15.933355] mt7615e 0000:02:00.0: N9 Firmware Version: 7663mp1827, Build Time: 20190914043434
[   15.950399] mt7615e 0000:02:00.0: Region number: 0x3
[   15.960312] mt7615e 0000:02:00.0: Parsing tailer Region: 0
[   15.973925] mt7615e 0000:02:00.0: Region 0, override_addr = 0x00112c00
[   15.986977] mt7615e 0000:02:00.0: Parsing tailer Region: 1
[   15.998714] mt7615e 0000:02:00.0: Parsing tailer Region: 2
[   16.010040] mt7615e 0000:02:00.0: override_addr = 0x00112c00, option = 3
[   28.356477] mtk_soc_eth 1e100000.ethernet eth0: Link is Down
[   28.368685] mtk_soc_eth 1e100000.ethernet: PPE table busy
[   28.388626] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[   28.404737] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   28.410639] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[   28.435495] 8021q: adding VLAN 0 to HW filter on device lan1
[   28.450159] br-lan: port 1(lan1) entered blocking state
[   28.460703] br-lan: port 1(lan1) entered disabled state
[   28.472080] device lan1 entered promiscuous mode
[   28.481374] device eth0 entered promiscuous mode
[   28.494224] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   28.522227] mt7530 mdio-bus:1f lan2: configuring for phy/gmii link mode
[   28.536444] 8021q: adding VLAN 0 to HW filter on device lan2
[   28.551003] br-lan: port 2(lan2) entered blocking state
[   28.561538] br-lan: port 2(lan2) entered disabled state
[   28.573111] device lan2 entered promiscuous mode
[   28.592940] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[   28.606697] 8021q: adding VLAN 0 to HW filter on device lan3
[   28.621205] br-lan: port 3(lan3) entered blocking state
[   28.631690] br-lan: port 3(lan3) entered disabled state
[   28.643520] device lan3 entered promiscuous mode
[   28.661730] mt7530 mdio-bus:1f lan4: configuring for phy/gmii link mode
[   28.675783] 8021q: adding VLAN 0 to HW filter on device lan4
[   28.690470] br-lan: port 4(lan4) entered blocking state
[   28.700989] br-lan: port 4(lan4) entered disabled state
[   28.713005] device lan4 entered promiscuous mode
[   28.737575] mt7530 mdio-bus:1f wan: configuring for phy/gmii link mode
[   28.751437] 8021q: adding VLAN 0 to HW filter on device wan
[   32.780167] mt7530 mdio-bus:1f lan4: Link is Up - 1Gbps/Full - flow control rx/tx
[   32.795138] br-lan: port 4(lan4) entered blocking state
[   32.805571] br-lan: port 4(lan4) entered forwarding state
[   32.817258] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready

BusyBox v1.31.1 () built-in shell (ash)

_______                     ________        __
|       |.-----.-----.-----.|  |  |  |.----.|  |_
|   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
|_______||   __|_____|__|__||________||__|  |____|
|__| W I R E L E S S   F R E E D O M
-----------------------------------------------------
OpenWrt SNAPSHOT, r0+15625-24d5ef8757
-----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:/#

WN-DX1200GR bootnum, debugflagメモ

bootnum は格納場所がサポート済みのWN-DX1167R, WN-AX1167GR2と同じであるものの、debugflag は2機種とは位置が異なっており、後ろに 0x10000 ズレている

root@WN-DX1200GR:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 07f80000 00020000 "ALL"
mtd1: 00100000 00020000 "Bootloader"
mtd2: 00100000 00020000 "Ubootenv"
mtd3: 00200000 00020000 "Factory"
mtd4: 03200000 00020000 "firmware"
mtd5: 0307f2a1 00020000 "rootfs"
mtd6: 00100000 00020000 "Config"
mtd7: 03200000 00020000 "firmware_2"
mtd8: 00100000 00020000 "Config_2"
mtd9: 00100000 00020000 "persist"
mtd10: 00100000 00020000 "idmkey"
mtd11: 01380000 00020000 "Backup"

bootnum

0x4 (persist)

root@WN-DX1200GR:~# mstc_persist read bootnum
1
root@WN-DX1200GR:~# hexdump -n 128 -C /dev/mtd9
00000000  1b 05 ce 17 01 00 00 00  53 50 00 00 22 9b 65 66  |........SP..".ef|
00000010  53 50 00 00 22 9b 65 66  00 00 00 00 00 00 00 00  |SP..".ef........|
00000020  00 00 00 00 00 00 00 00  ff ff ff ff ff ff ff ff  |................|
00000030  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
*
00000080
root@WN-DX1200GR:~# mstc_persist write bootnum 2
Unlocking persist ...
root@WN-DX1200GR:~# hexdump -n 128 -C /dev/mtd9
00000000  1b 05 ce 17 02 00 00 00  53 50 00 00 22 9b 65 66  |........SP..".ef|
00000010  53 50 00 00 22 9b 65 66  00 00 00 00 00 00 00 00  |SP..".ef........|
00000020  00 00 00 00 00 00 00 00  ff ff ff ff ff ff ff ff  |................|
00000030  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
*
00000080

debugflag

0x1FE75 (Factory)

root@WN-DX1200GR:~# sys debugflag
DebugFlag: 0
root@WN-DX1200GR:~# hexdump -n $((0x100)) -v -C -s $((0x1FE00)) /dev/mtd3
0001fe00  4d 69 74 72 61 73 74 61  72 00 54 65 63 68 6e 6f  |Mitrastar.Techno|
0001fe10  6c 6f 67 79 20 43 6f 72  70 2e 00 00 00 00 00 00  |logy Corp.......|
0001fe20  4d 69 43 41 50 2d 33 33  32 36 43 76 32 00 00 00  |MiCAP-3326Cv2...|
0001fe30  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
0001fe40  31 39 35 36 30 35 32 37  00 00 00 00 00 00 00 00  |19560527........|
0001fe50  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
0001fe60  31 31 38 52 30 32 38 31  36 38 32 4f 00 00 50 41  |118R0281682O..PA|
0001fe70  b9 13 b8 08 04 00 ea ea  00 00 00 ff 00 ca 00 00  |................| <--
0001fe80  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
0001fe90  00 00 00 00 00 00 00 00  00 01 1d 01 06 03 20 19  |.............. .|
0001fea0  10 14 38 4d 69 43 41 50  2d 33 33 32 36 43 76 32  |..8MiCAP-3326Cv2|
0001feb0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
0001fec0  00 00 00 41 30 42 00 00  00 00 00 00 00 00 00 00  |...A0B..........|
0001fed0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
0001fee0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
0001fef0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
0001ff00
root@WN-DX1200GR:~# sys debugflag 1
PASS
root@WN-DX1200GR:~# hexdump -n $((0x100)) -v -C -s $((0x1FE00)) /dev/mtd3
0001fe00  4d 69 74 72 61 73 74 61  72 00 54 65 63 68 6e 6f  |Mitrastar.Techno|
0001fe10  6c 6f 67 79 20 43 6f 72  70 2e 00 00 00 00 00 00  |logy Corp.......|
0001fe20  4d 69 43 41 50 2d 33 33  32 36 43 76 32 00 00 00  |MiCAP-3326Cv2...|
0001fe30  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
0001fe40  31 39 35 36 30 35 32 37  00 00 00 00 00 00 00 00  |19560527........|
0001fe50  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
0001fe60  31 31 38 52 30 32 38 31  36 38 32 4f 00 00 50 41  |118R0281682O..PA|
0001fe70  b9 13 b8 08 04 01 ea ea  00 00 00 ff 00 ca 00 00  |................| <--
0001fe80  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
0001fe90  00 00 00 00 00 00 00 00  00 01 1d 01 06 03 20 19  |.............. .|
0001fea0  10 14 38 4d 69 43 41 50  2d 33 33 32 36 43 76 32  |..8MiCAP-3326Cv2|
0001feb0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
0001fec0  00 00 00 41 30 42 00 00  00 00 00 00 00 00 00 00  |...A0B..........|
0001fed0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
0001fee0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
0001fef0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
0001ff00

WN-DX1200GR

最近比較的中古価格が落ちてきており、しばらく悩んだ末に購入したもの。
某フリマアプリを利用したが、一度目は相手方の反応が2週間以上無くキャンセルとなり、二度目でようやく購入できた。
弄っていくのでメモ。なお、技適の番号はWN-DX1167GRと同じ。

Switch

zone WAN LAN
port
(WN-DX1200GR)
インターネット (LAN番号刻印無し)
port
(MT7530)
port0 port1 port2 port3 port4

MAC

  • LAN: 50:41:B9:xx:xx:08 (Ubootenv, ethaddr (text) / Factory, 0x1E000 (hex))
  • WAN: 50:41:B9:xx:xx:0A (Factory, 0x1E006 (hex))
  • 2.4G: 50:41:B9:xx:xx:08 (Factory, 0x4 (hex))
  • 5G: 50:41:B9:xx:xx:09 (Factory, 0x8004 (hex))

U-Boot

5chの情報を参考に強引にKernelへログインしたうえでブート時のmtdロックを回避、
sys debugflag 1
を設定してデバッグモードを有効化しZ-Loaderを停止できるように変更。再度ブート時にZ-Loaderに入り、
ATGU
でU-Bootへ移動する

help
ヘルプコマンド潰されているのに “ヘルプ見ろ” と言われるのはネタっぽい

MSTC # help
Unknown command 'help' - try 'help'

version

MSTC # version
Unknown command 'version' - try 'help'

printenv

MSTC # printenv
bootcmd=tftp
ipaddr=10.10.10.123
serverip=10.10.10.3
serialnum=************
countrycode=EA
ethaddr=50:41:B9:**:**:08
wifi1ssid1=IODATA-****08-2G
wifi1ssid2=IO-Guest-****08-2G
wifi2ssid1=IODATA-****08-5G
wifi2ssid2=IO-Guest-****08-5G
wifiwpapsk=*************
wifiwpspin=********
stdin=serial
stdout=serial
stderr=serial
ethact=Eth0 (10/100-M)
BootType=3

Environment size: 353/131068 bytes

tftp

MSTC # tftp

NetLoop,call eth_halt !

NetLoop,call eth_init !
Trying Eth0 (10/100-M)

Waitting for RX_DMA_BUSY status Start... done

ETH_STATE_ACTIVE!!
*** Warning: no boot file name; using 'test.bin'
Using Eth0 (10/100-M) device
TFTP from server 10.10.10.3; our IP address is 10.10.10.123
Filename 'test.bin'.

TIMEOUT_COUNT=10,Load address: 0x84000000
Loading: *

Kernel

パスワードが設定されており、ログイン不可。
5chの情報を基に強引にログインし、情報を引き出し。

uname -a

root@WN-DX1200GR:~# uname -a
Linux WN-DX1200GR 3.10.14 #1 SMP Wed Jun 3 17:24:51 CST 2020 mips GNU/Linux

cat /proc/version

root@WN-DX1200GR:~# cat /proc/version
Linux version 3.10.14 (*****@srv**) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 unknown) ) #1 SMP Wed Jun 3 17:24:51 CST 2020

cat /proc/cpuinfo

root@WN-DX1200GR:~# cat /proc/cpuinfo
system type             : MT7621
machine                 : Unknown
processor               : 0
cpu model               : MIPS 1004Kc V2.15
BogoMIPS                : 583.68
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 32
extra interrupt vector  : yes
hardware watchpoint     : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa                     : mips1 mips2 mips32r1 mips32r2
ASEs implemented        : mips16 dsp mt
shadow register sets    : 1
kscratch registers      : 0
core                    : 0
VPE                     : 0
VCED exceptions         : not available
VCEI exceptions         : not available

processor               : 1
cpu model               : MIPS 1004Kc V2.15
BogoMIPS                : 583.68
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 32
extra interrupt vector  : yes
hardware watchpoint     : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa                     : mips1 mips2 mips32r1 mips32r2
ASEs implemented        : mips16 dsp mt
shadow register sets    : 1
kscratch registers      : 0
core                    : 0
VPE                     : 1
VCED exceptions         : not available
VCEI exceptions         : not available

processor               : 2
cpu model               : MIPS 1004Kc V2.15
BogoMIPS                : 583.68
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 32
extra interrupt vector  : yes
hardware watchpoint     : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa                     : mips1 mips2 mips32r1 mips32r2
ASEs implemented        : mips16 dsp mt
shadow register sets    : 1
kscratch registers      : 0
core                    : 1
VPE                     : 0
VCED exceptions         : not available
VCEI exceptions         : not available

processor               : 3
cpu model               : MIPS 1004Kc V2.15
BogoMIPS                : 583.68
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 32
extra interrupt vector  : yes
hardware watchpoint     : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa                     : mips1 mips2 mips32r1 mips32r2
ASEs implemented        : mips16 dsp mt
shadow register sets    : 1
kscratch registers      : 0
core                    : 1
VPE                     : 1
VCED exceptions         : not available
VCEI exceptions         : not available

cat /proc/meminfo

root@WN-DX1200GR:~# cat /proc/meminfo
MemTotal:         125304 kB
MemFree:           61956 kB
Buffers:            5964 kB
Cached:            20164 kB
SwapCached:            0 kB
Active:             8568 kB
Inactive:          19604 kB
Active(anon):       3052 kB
Inactive(anon):     1236 kB
Active(file):       5516 kB
Inactive(file):    18368 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Dirty:                 0 kB
Writeback:             0 kB
AnonPages:          2032 kB
Mapped:             2516 kB
Shmem:              2240 kB
Slab:              15140 kB
SReclaimable:       1740 kB
SUnreclaim:        13400 kB
KernelStack:         552 kB
PageTables:          228 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:       62652 kB
Committed_AS:       9092 kB
VmallocTotal:    1048372 kB
VmallocUsed:       16256 kB
VmallocChunk:     983532 kB

cat /proc/mtd

root@WN-DX1200GR:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 07f80000 00020000 "ALL"
mtd1: 00100000 00020000 "Bootloader"
mtd2: 00100000 00020000 "Ubootenv"
mtd3: 00200000 00020000 "Factory"
mtd4: 03200000 00020000 "firmware"
mtd5: 0307f2a1 00020000 "rootfs"
mtd6: 00100000 00020000 "Config"
mtd7: 03200000 00020000 "firmware_2"
mtd8: 00100000 00020000 "Config_2"
mtd9: 00100000 00020000 "persist"
mtd10: 00100000 00020000 "idmkey"
mtd11: 01380000 00020000 "Backup"

ubus call system board

root@WN-DX1200GR:~# ubus call system board
{
"kernel": "3.10.14",
"hostname": "WN-DX1200GR",
"system": "MT7621",
"model": "MiCAP-3326C",
"release": {
"distribution": "OpenWrt",
"version": "1.00.000",
"revision": "unknown",
"codename": "barrier_breaker",
"target": "ramips\/generic",
"description": "OpenWrt Barrier Breaker 1.00.000"
}
}

switch –help

root@WN-DX1200GR:~# switch --help
Usage:
switch acl etype add [ethtype] [portmap]              - drop etherytype packets
switch acl dip add [dip] [portmap]                    - drop dip packets
switch acl dip meter [dip] [portmap][meter:kbps]      - rate limit dip packets
switch acl dip trtcm [dip] [portmap][CIR:kbps][CBS][PIR][PBS] - TrTCM dip packets
switch acl port add [sport] [portmap]           - drop src port packets
switch acl L4 add [2byes] [portmap]             - drop L4 packets with 2bytes payload
switch add [mac] [portmap]                  - add an entry to switch table
switch add [mac] [portmap] [vlan id]        - add an entry to switch table
switch add [mac] [portmap] [vlan id] [age]  - add an entry to switch table
switch clear                                - clear switch table
switch del [mac]                            - delete an entry from switch table
switch del [mac] [fid]                  - delete an entry from switch table
switch dip add [dip] [portmap]                  - add a dip entry to switch table
switch dip del [dip]                        - del a dip entry to switch table
switch dip dump                                 - dump switch dip table
switch dip clear                                - clear switch dip table
switch dump            - dump switch table
switch ingress-rate on [port] [Kbps]        - set ingress rate limit on port 0~4
switch egress-rate on [port] [Kbps]         - set egress rate limit on port 0~4
switch ingress-rate off [port]              - del ingress rate limit on port 0~4
switch egress-rate off [port]               - del egress rate limit on port 0~4
switch filt [mac]                           - add a SA filtering entry (with portmap 1111111) to switch table
switch filt [mac] [portmap]                 - add a SA filtering entry to switch table
switch filt [mac] [portmap] [vlan id]       - add a SA filtering entry to switch table
switch filt [mac] [portmap] [vlan id] [age] - add a SA filtering entry to switch table
switch igmpsnoop on [Query Interval] [default router portmap] - turn on IGMP snoop and  router port learning (Query Interval 1~255)
switch igmpsnoop off                                  - turn off IGMP snoop and router port learning
switch igmpsnoop enable [port#]                       - enable IGMP HW leave/join/Squery/Gquery
switch igmpsnoop disable [port#]                      - disable IGMP HW leave/join/Squery/Gquery
switch mymac [mac] [portmap]                  - add a mymac entry to switch table
switch mirror monitor [portnumber]            - enable port mirror and indicate monitor port number
switch mirror target [portnumber] [0:off, 1:rx, 2:tx, 3:all]  - set port mirror target
switch phy [phy_addr]                   - dump phy register of specific port
switch phy mt7530                       - dump mt7530 phy registers
switch phy                                      - dump all phy registers
switch pvid [port] [pvid]                - set pvid on port 0~4
switch reg r [offset]                       - register read from offset
switch reg w [offset] [value]               - register write value to offset
switch reg d [offset]                       - register dump
switch sip add [sip] [dip] [portmap]            - add a sip entry to switch table
switch sip del [sip] [dip]                          - del a sip entry to switch table
switch sip dump                                 - dump switch sip table
switch sip clear                                - clear switch sip table
switch tag on [port]                        - keep vlan tag for egress packet on prot 0~4
switch tag off [port]                       - remove vlan tag for egress packet on port 0~4
switch vlan dump                            - dump switch table
switch vlan set [vlan idx (NULL)][vid] [portmap]  - set vlan id and associated member

switch vlan dump

root@WN-DX1200GR:~# switch vlan dump
vid  fid  portmap    s-tag
1    0  -1111-11       0
2    0  1----1--       0
3    0  invalid
4    0  invalid
5    0  invalid
6    0  invalid
7    0  invalid
8    0  invalid
9    0  invalid
10    0  invalid
11    0  invalid
12    0  invalid
13    0  invalid
14    0  invalid
15    0  invalid
16    0  invalid

sys –help

root@WN-DX1200GR:~# sys --help
Usage:
sys atsh
sys atwz  []
sys debugflag <debugflag []>
sys ledctl <0: all LED off | 1: all LED on(main color)| 2: all LED on(the other color)>
sys loadrom
sys mrd [0:Check default MRD(default option) | 1:Reset default MRD]
sys pspeed
sys romreset <0: no reboot | 1: reboot>

sys atsh

root@WN-DX1200GR:~# sys atsh
Firmware Version              : V3.10(XIQ.0)b16
Boot Version                  : 1.29.01 | 06/03/2019 10:14:38
Product Model                 : WN-DX1200GR
First MAC Address             : 50:41:B9:**:**:08
MAC Quantity                  : 4
Serial Number                 : ************
firmware Checksum             : 95cde687
Kernel Checksum               : d4c257c3
RomFile Checksum              : 66659b22
Country Code                  : EA
Boot Number                   : 1

mstc_persist –help

root@WN-DX1200GR:~# mstc_persist --help
Usage: mstc_persist read  ; mstc_persist write  

mstc_persist read/write recognizes these parameters in persist partition:
magic_num          magic num
bootnum            boot from which partition
cfgapply           config apply flag
fwapply            firmware apply flag
padding            padding
cfg1Size           configuration 1 size
cfg1Chksum         configuration 1 checksum
cfg2Size           configuration 2 size
cfg2Chksum         configuration 2 checksum
fw1Size            firmware 1 size
fw1Chksum          firmware 1 checksum
fw2Size            firmware 2 size
fw2Chksum          firmware 2 checksum

Example: Read bootnum from persist partition.
mstc_persist read bootnum

Example: Write bootnum with value 2 to persist partition.
mstc_persist write bootnum 2

mstc_persist read bootnum

root@WN-DX1200GR:~# mstc_persist read bootnum
1

cat /etc/kernel.config | grep “CONFIG_MSTC_UBOOT_COMBO_MAGIC”

root@WN-DX1200GR:~# cat /etc/kernel.config | grep "CONFIG_MSTC_UBOOT_COMBO_MAGIC"
CONFIG_MSTC_UBOOT_COMBO_MAGIC=0x434F4D43

bootlog


U-Boot 1.1.3 (Jun  3 2019 - 10:14:35)

Board: Ralink APSoC DRAM:  128 MB
relocate_code Pointer at: 87f98000

Config XHCI 40M PLL
Allocate 16 byte aligned buffer: 87fcb030
Enable NFI Clock
# MTK NAND # : Use HW ECC
NAND ID [C2 F1 80 95 02]
Device found in MTK table, ID: c2f1, EXT_ID: 809502
Support this Device in MTK table! c2f1
select_chip
[NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
Signature matched and data read!
load_fact_bbt success 1023
load fact bbt success
[mtk_nand] probe successfully!
mtd->writesize=2048 mtd->oobsize=64,    mtd->erasesize=131072  devinfo.iowidth=8
....============================================
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: NAND Flash
Date:Jun  3 2019  Time:10:14:35
============================================
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
#Reset_MT7530
set LAN/WAN WLLLL
.## Starting application at 0x81E00000 ...

Z-LOADER V1.29 | 06/03/2019 10:14:38

...
Checking image 1...
Image Name:   3.10(XIQ.0)b16
Image Type:   MIPS Linux Kernel Image (lzma compressed)
Data Size:    1576223 Bytes =  1.5 MB
Load Address: 80001000
Entry Point:  80001000
.........................   Verifying Combo Checksum ... .......................................................................................................................................................## Booting image at bc400000 ...
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80001000) ...
## Giving linux memsize in MB, 128

Starting kernel ...

LINUX started...

THIS IS ASIC

SDK 5.0.S.0
[    0.000000] Linux version 3.10.14 (*****@srv**) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 unknown) ) #1 SMP Wed Jun 3 17:24:51 CST 2020
[    0.000000]
[    0.000000]  The CPU feqenuce set to 880 MHz
[    0.000000] GCMP present
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] Software DMA cache coherency
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x07ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x07ffffff]
[    0.000000] Detected 3 available secondary CPU(s)
[    0.000000] Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.000000] PERCPU: Embedded 7 pages/cpu @81103000 s6464 r8192 d14016 u32768
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS1,57600n8 BootImage=1 root=/dev/mtdblock5 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Writing ErrCtl register=00070853
[    0.000000] Readback ErrCtl register=00070853
[    0.000000] Memory: 125072k/131072k available (3465k kernel code, 6000k reserved, 838k data, 232k init, 0k highmem)
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:128
[    0.000000] console [ttyS1] enabled
[    0.116000] Calibrating delay loop... 562.17 BogoMIPS (lpj=1124352)
[    0.148000] pid_max: default: 32768 minimum: 301
[    0.152000] Mount-cache hash table entries: 512
[    0.156000] launch: starting cpu1
[    0.160000] launch: cpu1 gone!
[    0.160000] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.160000] Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
[    0.160000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.160000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.192000] Synchronize counters for CPU 1: done.
[    0.200000] launch: starting cpu2
[    0.204000] launch: cpu2 gone!
[    0.204000] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.204000] Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
[    0.204000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.204000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.232000] Synchronize counters for CPU 2: done.
[    0.240000] launch: starting cpu3
[    0.244000] launch: cpu3 gone!
[    0.244000] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.244000] Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
[    0.244000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.244000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.272000] Synchronize counters for CPU 3: done.
[    0.280000] Brought up 4 CPUs
[    0.284000] NET: Registered protocol family 16
[    0.576000] release PCIe RST: RALINK_RSTCTRL = 7000000
[    0.580000] PCIE PHY initialize
[    0.584000] ***** Xtal 40MHz *****
[    0.588000] start MT7621 PCIe register access
[    1.164000] RALINK_RSTCTRL = 7000000
[    1.168000] RALINK_CLKCFG1 = 77ffeff8
[    1.172000]
[    1.172000] *************** MT7621 PCIe RC mode *************
[    1.652000] PCIE2 no card, disable it(RST&CLK)
[    1.656000] pcie_link status = 0x3
[    1.660000] RALINK_RSTCTRL= 3000000
[    1.664000] *** Configure Device number setting of Virtual PCI-PCI bridge ***
[    1.668000] RALINK_PCI_PCICFG_ADDR = 21007f2 -> 21007f2
[    1.672000] PCIE0 enabled
[    1.676000] PCIE1 enabled
[    1.680000] interrupt enable status: 300000
[    1.684000] Port 1 N_FTS = 1b105000
[    1.688000] Port 0 N_FTS = 1b105000
[    1.692000] config reg done
[    1.696000] init_rt2880pci done
[    1.716000] bio: create slab  at 0
[    1.720000] SCSI subsystem initialized
[    1.724000] usbcore: registered new interface driver usbfs
[    1.728000] usbcore: registered new interface driver hub
[    1.732000] usbcore: registered new device driver usb
[    1.736000] PCI host bridge to bus 0000:00
[    1.740000] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    1.744000] pci_bus 0000:00: root bus resource [io  0x1e160000-0x1e16ffff]
[    1.748000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    1.752000] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.756000] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.760000] pci 0000:00:00.0: BAR 0: can't assign mem (size 0x80000000)
[    1.764000] pci 0000:00:01.0: BAR 0: can't assign mem (size 0x80000000)
[    1.768000] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    1.772000] pci 0000:00:01.0: BAR 9: assigned [mem 0x60100000-0x602fffff pref]
[    1.776000] pci 0000:00:00.0: BAR 1: assigned [mem 0x60300000-0x6030ffff]
[    1.780000] pci 0000:00:01.0: BAR 1: assigned [mem 0x60310000-0x6031ffff]
[    1.784000] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff]
[    1.788000] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.792000] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    1.796000] pci 0000:02:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit pref]
[    1.800000] pci 0000:02:00.0: BAR 2: assigned [mem 0x60200000-0x60203fff 64bit pref]
[    1.804000] pci 0000:02:00.0: BAR 4: assigned [mem 0x60204000-0x60204fff 64bit pref]
[    1.808000] pci 0000:00:01.0: PCI bridge to [bus 02]
[    1.812000] pci 0000:00:01.0:   bridge window [mem 0x60100000-0x602fffff pref]
[    1.816000] PCI: Enabling device 0000:00:00.0 (0004 -> 0006)
[    1.820000] PCI: Enabling device 0000:00:01.0 (0004 -> 0006)
[    1.824000] BAR0 at slot 0 = 0
[    1.828000] bus=0x0, slot = 0x0
[    1.832000] res[0]->start = 0
[    1.836000] res[0]->end = 0
[    1.840000] res[1]->start = 60300000
[    1.844000] res[1]->end = 6030ffff
[    1.848000] res[2]->start = 0
[    1.852000] res[2]->end = 0
[    1.856000] res[3]->start = 0
[    1.860000] res[3]->end = 0
[    1.864000] res[4]->start = 0
[    1.868000] res[4]->end = 0
[    1.872000] res[5]->start = 0
[    1.876000] res[5]->end = 0
[    1.880000] BAR0 at slot 1 = 0
[    1.884000] bus=0x0, slot = 0x1
[    1.888000] res[0]->start = 0
[    1.892000] res[0]->end = 0
[    1.896000] res[1]->start = 60310000
[    1.900000] res[1]->end = 6031ffff
[    1.904000] res[2]->start = 0
[    1.908000] res[2]->end = 0
[    1.912000] res[3]->start = 0
[    1.916000] res[3]->end = 0
[    1.920000] res[4]->start = 0
[    1.924000] res[4]->end = 0
[    1.928000] res[5]->start = 0
[    1.932000] res[5]->end = 0
[    1.936000] bus=0x1, slot = 0x0, irq=0x4
[    1.940000] res[0]->start = 60000000
[    1.944000] res[0]->end = 600fffff
[    1.948000] res[1]->start = 0
[    1.952000] res[1]->end = 0
[    1.956000] res[2]->start = 0
[    1.960000] res[2]->end = 0
[    1.964000] res[3]->start = 0
[    1.968000] res[3]->end = 0
[    1.972000] res[4]->start = 0
[    1.976000] res[4]->end = 0
[    1.980000] res[5]->start = 0
[    1.984000] res[5]->end = 0
[    1.988000] bus=0x2, slot = 0x1, irq=0x18
[    1.992000] res[0]->start = 60100000
[    1.996000] res[0]->end = 601fffff
[    2.000000] res[1]->start = 0
[    2.004000] res[1]->end = 0
[    2.008000] res[2]->start = 60200000
[    2.012000] res[2]->end = 60203fff
[    2.016000] res[3]->start = 0
[    2.020000] res[3]->end = 0
[    2.024000] res[4]->start = 60204000
[    2.028000] res[4]->end = 60204fff
[    2.032000] res[5]->start = 0
[    2.036000] res[5]->end = 0
[    2.040000] Switching to clocksource MIPS
[    2.044000] NET: Registered protocol family 2
[    2.052000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    2.068000] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    2.080000] TCP: Hash tables configured (established 1024 bind 1024)
[    2.092000] TCP: reno registered
[    2.100000] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    2.112000] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    2.124000] NET: Registered protocol family 1
[    2.220000] 4 CPUs re-calibrate udelay(lpj = 1167360)
[    2.232000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.244000] jffs2: version 2.2. (NAND) (SUMMARY)  (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    2.268000] io scheduler noop registered (default)
[    2.276000] reg_int_mask=0, INT_MASK= 0
[    2.284000] HSDMA_init
[    2.288000]
[    2.288000]  hsdma_phy_tx_ring0 = 0x0fd78000, hsdma_tx_ring0 = 0xafd78000
[    2.304000]
[    2.304000]  hsdma_phy_rx_ring0 = 0x0fd74000, hsdma_rx_ring0 = 0xafd74000
[    2.324000] TX_CTX_IDX0 = 0
[    2.328000] TX_DTX_IDX0 = 0
[    2.332000] RX_CRX_IDX0 = 3ff
[    2.340000] RX_DRX_IDX0 = 0
[    2.344000] set_fe_HSDMA_glo_cfg
[    2.352000] HSDMA_GLO_CFG = 465
[    2.364000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    2.376000] serial8250: ttyS0 at MMIO 0x1e000d00 (irq = 27) is a 16550A
[    2.388000] serial8250: ttyS1 at MMIO 0x1e000c00 (irq = 26) is a 16550A
[    2.404000] Ralink gpio driver initialized
[    2.412000] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
[    2.424000] Allocate 16 byte aligned buffer: 80481c20
[    2.436000] Enable NFI Clock
[    2.440000] # MTK NAND # : Use HW ECC
[    2.448000] NAND ID [C2 F1 80 95 02, 00809502]
[    2.456000] Device found in MTK table, ID: c2f1, EXT_ID: 809502
[    2.468000] Support this Device in MTK table! c2f1
[    2.480000] NAND device: Manufacturer ID: 0xc2, Chip ID: 0xf1 (Macronix NAND 128MiB 3,3V 8-bit), 128MiB, page size: 2048, OOB size: 64
[    2.504000] [NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
[    2.516000] Scanning device for bad blocks
[    2.760000] Signature matched and data read!
[    2.768000] load_fact_bbt success 1023
[    2.776000] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[    2.796000] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[    2.816000] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[    2.836000] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[    2.856000] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[    2.876000] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[    2.896000] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[    2.916000] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[    2.936000] Creating 11 MTD partitions on "MT7621-NAND":
[    2.944000] 0x000000000000-0x000007f80000 : "ALL"
[    2.956000] 0x000000000000-0x000000100000 : "Bootloader"
[    2.968000] 0x000000100000-0x000000200000 : "Ubootenv"
[    2.980000] 0x000000200000-0x000000400000 : "Factory"
[    2.988000] 0x000000400000-0x000003600000 : "firmware"
[    3.004000] 0x000000580d5f-0x000003600000 : "rootfs"
[    3.012000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    3.048000] 0x000003600000-0x000003700000 : "Config"
[    3.056000] 0x000003700000-0x000006900000 : "firmware_2"
[    3.068000] 0x000006900000-0x000006a00000 : "Config_2"
[    3.080000] 0x000006a00000-0x000006b00000 : "persist"
[    3.092000] 0x000006b00000-0x000006c00000 : "idmkey"
[    3.104000] 0x000006c00000-0x000007f80000 : "Backup"
[    3.112000] [mtk_nand] probe successfully!
[    3.120000] rootfs = 580d5f to d80000
[    3.128000] PPP generic driver version 2.4.2
[    3.136000] NET: Registered protocol family 24
[    3.148000] PPTP driver version 0.8.5
[    3.156000] rdm_major = 253
[    3.160000] GMAC1_MAC_ADRH -- : 0x00005041
[    3.168000] GMAC1_MAC_ADRL -- : 0xb9****08
[    3.176000] Ralink APSoC Ethernet Driver Initilization. v3.1  1024 rx/tx descriptors allocated, mtu = 1500!
[    3.196000] GMAC1_MAC_ADRH -- : 0x00005041
[    3.204000] GMAC1_MAC_ADRL -- : 0xb9****08
[    3.212000] register mt7530
[    3.220000] PROC INIT OK!
[    3.224000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.236000] ehci-pci: EHCI PCI platform driver
[    3.248000] *****run project phy.
[    3.260000] FM_OUT value: u4FmOut = 0(0x00000000)
[    3.276000] FM_OUT value: u4FmOut = 0(0x00000000)
[    3.292000] FM_OUT value: u4FmOut = 0(0x00000000)
[    3.308000] FM_OUT value: u4FmOut = 0(0x00000000)
[    3.324000] FM_OUT value: u4FmOut = 0(0x00000000)
[    3.340000] FM_OUT value: u4FmOut = 0(0x00000000)
[    3.356000] FM_OUT value: u4FmOut = 0(0x00000000)
[    3.372000] FM_OUT value: u4FmOut = 0(0x00000000)
[    3.388000] FM_OUT value: u4FmOut = 0(0x00000000)
[    3.404000] FM_OUT value: u4FmOut = 0(0x00000000)
[    3.436000] FM_OUT value: u4FmOut = 0(0x00000000)
[    3.452000] FM_OUT value: u4FmOut = 0(0x00000000)
[    3.468000] FM_OUT value: u4FmOut = 0(0x00000000)
[    3.484000] FM_OUT value: u4FmOut = 0(0x00000000)
[    3.500000] FM_OUT value: u4FmOut = 0(0x00000000)
[    3.516000] FM_OUT value: u4FmOut = 0(0x00000000)
[    3.532000] FM_OUT value: u4FmOut = 0(0x00000000)
[    3.548000] FM_OUT value: u4FmOut = 0(0x00000000)
[    3.564000] FM_OUT value: u4FmOut = 0(0x00000000)
[    3.580000] FM_OUT value: u4FmOut = 0(0x00000000)
[    3.708000] xhci-hcd xhci-hcd: xHCI Host Controller
[    3.716000] xhci-hcd xhci-hcd: new USB bus registered, assigned bus number 1
[    3.732000] xhci-hcd xhci-hcd: irq 22, io mem 0x1e1c0000
[    3.744000] hub 1-0:1.0: USB hub found
[    3.752000] hub 1-0:1.0: 2 ports detected
[    3.760000] xhci-hcd xhci-hcd: xHCI Host Controller
[    3.768000] xhci-hcd xhci-hcd: new USB bus registered, assigned bus number 2
[    3.784000] hub 2-0:1.0: USB hub found
[    3.792000] hub 2-0:1.0: 1 port detected
[    3.800000] usbcore: registered new interface driver usb-storage
[    3.812000] gre: GRE over IPv4 demultiplexor driver
[    3.820000] TCP: cubic registered
[    3.828000] NET: Registered protocol family 10
[    3.836000] NET: Registered protocol family 17
[    3.848000] Bridge firewalling registered
[    3.856000] 8021q: 802.1Q VLAN Support v1.8
[    3.872000] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    3.888000] Freeing unused kernel memory: 232K (80436000 - 80470000)
procd: Console is alive
procd: - preinit -
[    5.324000] 50:41:FFFFFFB9:**:FFFFFF**: 8
[    5.332000] Raeth v3.1 (Tasklet)
[    5.340000] set CLK_CFG_0 = 0x40a00020!!!!!!!!!!!!!!!!!!1
[    5.356000] phy_free_head is 0xf70e000!!!
[    5.364000] phy_free_tail_phy is 0xf70fff0!!!
[    5.372000] txd_pool=af740000 phy_txd_pool=0F740000
[    5.380000] ei_local->skb_free start address is 0x87eca6dc.
[    5.392000] free_txd: 0f740010, ei_local->cpu_ptr: 0F740000
[    5.404000]  POOL  HEAD_PTR | DMA_PTR | CPU_PTR
[    5.412000] ----------------+---------+--------
[    5.420000]      0xaf740000 0x0F740000 0x0F740000
[    5.432000]
[    5.432000] phy_qrx_ring = 0x0f70d000, qrx_ring = 0xaf70d000
[    5.448000]
[    5.448000] phy_rx_ring0 = 0x0f748000, rx_ring0 = 0xaf748000
[    5.484000] MT7530 Reset Completed!!
[    5.496000] change HW-TRAP to 0x117c8f
[    5.504000] set LAN/WAN WLLLL
[    5.516000] GMAC1_MAC_ADRH -- : 0x00005041
[    5.524000] GMAC1_MAC_ADRL -- : 0xb9****08
[    5.532000] GDMA2_MAC_ADRH -- : 0x00005041
[    5.540000] GDMA2_MAC_ADRL -- : 0xb9****0a
[    5.548000] eth1: ===> VirtualIF_open
[    5.556000] MT7621 GE2 link rate to 1G
[    5.556000] CDMA_CSG_CFG = 81000000
[    5.556000] GDMA1_FWD_CFG = 20710000
[    5.556000] GDMA2_FWD_CFG = 20710000
[    5.672000] led=9, on=1, off=1, blinks,=1, reset=1, time=4000 low_trigger=1
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    8.788000] led=9, on=1, off=1, blinks,=1, reset=1, time=4000 low_trigger=1
Could not open mtd device: /dev/mtd5
reading ro[    8.892000] ra2880stop()...otfs failed
mouDone
[    8.900000] eth1: ===> VirtualIF_close

[    8.912000] Free TX/RX Ring Memory!
procd: - early -
procd: - ubus -
procd: - init -
Please press Enter to activate this console.
[   10.804000] jffs2: notice: (732) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   10.936000] jffs2: notice: (735) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
##### Skip Checking Config. #####
Mode Switch: Router/AP
[   11.432000] sbdev driver(major: 254) installed.
[   11.440000] wpdev driver(major: 250) installed.
[   11.456000] ip_gre: GRE over IPv4 tunneling driver
[   11.476000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   11.484000] Type=Restricted Cone
[   11.496000] nf_conntrack version 0.5.0 (1957 buckets, 7828 max)
[   11.512000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   11.544000] ebt_time: kernel timezone is -0000
[   11.556000] Ebtables v2.0 registered
[   11.656000] Netfilter messages via NETLINK v0.30.
[   11.672000] PPP MPPE Compression module registered
[   11.684000] Ralink APSoC Hardware Watchdog Timer
[   11.712000] xt_time: kernel timezone is -0000
[   11.736000] ctnetlink v0.93: registering with nfnetlink.
[   14.728000] mtd: ALL locked
[   14.732000] mtd: Bootloader locked
[   14.740000] mtd: Ubootenv locked
[   14.748000] mtd: Factory locked
[   14.752000] mtd_locked init
[   15.656000] 50:41:FFFFFFB9:**:FFFFFF**: 8
[   15.664000] Raeth v3.1 (Tasklet)
[   15.676000] set CLK_CFG_0 = 0x40a00020!!!!!!!!!!!!!!!!!!1
[   15.688000] phy_free_head is 0xeec4000!!!
[   15.696000] phy_free_tail_phy is 0xeec5ff0!!!
[   15.708000] txd_pool=aeec8000 phy_txd_pool=0EEC8000
[   15.716000] ei_local->skb_free start address is 0x87eca6dc.
[   15.728000] free_txd: 0eec8010, ei_local->cpu_ptr: 0EEC8000
[   15.740000]  POOL  HEAD_PTR | DMA_PTR | CPU_PTR
[   15.748000] ----------------+---------+--------
[   15.756000]      0xaeec8000 0x0EEC8000 0x0EEC8000
[   15.768000]
[   15.768000] phy_qrx_ring = 0x0ec64000, qrx_ring = 0xaec64000
[   15.784000]
[   15.784000] phy_rx_ring0 = 0x0eed4000, rx_ring0 = 0xaeed4000
[   15.820000] MT7530 Reset Completed!!
[   15.836000] change HW-TRAP to 0x117c8f
[   15.844000] set LAN/WAN WLLLL
[   15.856000] GMAC1_MAC_ADRH -- : 0x00005041
[   15.864000] GMAC1_MAC_ADRL -- : 0xb9****08
[   15.872000] eth1: ===> VirtualIF_open
[   15.880000] CDMA_CSG_CFG = 81000000
[   15.880000] MT7621 GE2 link rate to 1G
[   15.896000] GDMA1_FWD_CFG = 20710000
[   15.900000] GDMA2_FWD_CFG = 20710000
[   15.912000] device eth0 entered promiscuous mode
[   15.920000] br-lan: port 1(eth0) entered forwarding state
[   15.932000] br-lan: port 1(eth0) entered forwarding state
[   15.948000] eth1: ===> VirtualIF_open
[   17.584000] Ebtables v2.0 unregistered
[   17.936000] br-lan: port 1(eth0) entered forwarding state
start daemon
[   22.504000] register rlt_drv
[   22.516000]
[   22.516000]
[   22.516000] === pAd = c1b81000, size = 1321904 ===
[   22.516000]
[   22.536000] <-- RTMPAllocTxRxRingMemory, Status=0, ErrorValue=0x
[   22.548000] <-- RTMPAllocAdapterBlock, Status=0
[   22.556000] pAd->CSRBaseAddress =0xc1a80000, csr_addr=0xc1a80000!
[   22.568000] device_id =0x7603
[   22.576000] RtmpChipOpsHook(474): Not support for HIF_MT yet!
[   22.588000] mt7603_init()-->
[   22.592000] mt_bcn_buf_init(224): Not support for HIF_MT yet!
[   22.604000] <--mt7603_init()
[   22.608000] load_dev_l1profile()-->
[   22.616000] match_index_by_chipname() MT7603 found as INDEX0
[   22.628000] l1set_profile_path() profile remain /etc/wireless/mt7603e/mt7603e.dat
[   22.644000] l1set_eeprom_offset() eeprom offset update from 0x40000 to 0x0
[   22.656000] l1set_eeprom_size() eeprom size update from 0x200 to 0x600
[   22.672000] l1set_ifname() ifname rename from ra0 to ra
[   22.680000] l1set_ifname() ifname remain ra
[   22.688000] l1set_ifname() ifname remain ra
[   22.696000] l1set_ifname() ifname remain apcli
[   22.708000] l1set_single_sku_path() sku path update from /etc/Wireless/RT2860AP/SingleSKU.dat to /etc/wireless/mediatek/mt7603e-sku.dat
[   22.752000] load_dev_l1profile()-->
[   22.760000] l1set_profile_path() profile remain /etc/wireless/mt7603e/mt7603e.dat
[   22.776000] l1set_eeprom_offset() eeprom offset remain 0x0
[   22.784000] l1set_eeprom_size() eeprom size remain 0x600
[   22.796000] l1set_ifname() ifname rename from ra0 to ra
[   22.808000] l1set_ifname() ifname remain ra
[   22.816000] l1set_ifname() ifname remain ra
[   22.824000] l1set_ifname() ifname remain apcli
[   22.832000] l1set_single_sku_path() profile remain /etc/wireless/mediatek/mt7603e-sku.dat
[   22.852000] TX_BCN DESC ae704000 size = 320
[   22.860000] RX[0] DESC ae4b8000 size = 2048
[   22.868000] RX[1] DESC ae4b9000 size = 2048
[   22.880000] led=8, on=0, off=4000, blinks,=0, reset=0, time=1 low_trigger=1
[   22.884000] RT_CfgSetMacAddress : invalid length (0)
[   22.884000] E2pAccessMode=2
[   22.888000] cfg_mode=9
[   22.888000] cfg_mode=9
[   22.888000] wmode_band_equal(): Band Equal!
[   22.888000] APSDCapable[0]=1
[   22.888000] APSDCapable[1]=1
[   22.888000] APSDCapable[2]=1
[   22.888000] APSDCapable[3]=1
[   22.888000] APSDCapable[4]=1
[   22.888000] APSDCapable[5]=1
[   22.888000] APSDCapable[6]=1
[   22.888000] APSDCapable[7]=1
[   22.888000] APSDCapable[8]=1
[   22.888000] APSDCapable[9]=1
[   22.888000] APSDCapable[10]=1
[   22.888000] APSDCapable[11]=1
[   22.888000] APSDCapable[12]=1
[   22.888000] APSDCapable[13]=1
[   22.888000] APSDCapable[14]=1
[   22.888000] APSDCapable[15]=1
[   22.888000] default ApCliAPSDCapable[0]=1
[   23.128000] led=8, on=0, off=4000, blinks,=0, reset=0, time=1 low_trigger=1
[   23.212000] led=8, on=0, off=4000, blinks,=0, reset=0, time=1 low_trigger=1
[   23.496000] Key1Str is Invalid key length(0) or Type(0)
[   23.504000] Key1Str is Invalid key length(0) or Type(0)
[   23.516000] Key1Str is Invalid key length(0) or Type(0)
[   23.528000] Key1Str is Invalid key length(0) or Type(0)
[   23.536000] Key2Str is Invalid key length(0) or Type(0)
[   23.548000] Key2Str is Invalid key length(0) or Type(0)
[   23.560000] Key2Str is Invalid key length(0) or Type(0)
[   23.568000] Key2Str is Invalid key length(0) or Type(0)
[   23.580000] Key3Str is Invalid key length(0) or Type(0)
[   23.588000] Key3Str is Invalid key length(0) or Type(0)
[   23.600000] Key3Str is Invalid key length(0) or Type(0)
[   23.612000] Key3Str is Invalid key length(0) or Type(0)
[   23.620000] Key4Str is Invalid key length(0) or Type(0)
[   23.632000] Key4Str is Invalid key length(0) or Type(0)
[   23.644000] Key4Str is Invalid key length(0) or Type(0)
[   23.652000] Key4Str is Invalid key length(0) or Type(0)
[   23.672000] [PMF]RTMPMakeRsnIeCap: RSNIE Capability MFPC=0, MFPR=0
[   23.684000] [PMF]RTMPMakeRsnIeCap: RSNIE Capability MFPC=0, MFPR=0
[   23.724000] [PMF]Set_PMFMFPC_Proc:: apidx=0, Desired MFPC=0
[   23.736000] [PMF]Set_PMFMFPC_Proc:: apidx=1, Desired MFPC=0
[   23.748000] [PMF]Set_PMFMFPC_Proc:: apidx=2, Desired MFPC=0
[   23.760000] [PMF]Set_PMFMFPC_Proc:: apidx=3, Desired MFPC=0
[   23.768000] [PMF]Set_PMFMFPR_Proc:: apidx=0, Desired MFPR=0
[   23.780000] [PMF]Set_PMFMFPR_Proc:: apidx=1, Desired MFPR=0
[   23.792000] [PMF]Set_PMFMFPR_Proc:: apidx=2, Desired MFPR=0
[   23.804000] [PMF]Set_PMFMFPR_Proc:: apidx=3, Desired MFPR=0
[   23.816000] [PMF]Set_PMFSHA256_Proc:: apidx=0, Desired PMFSHA256=0
[   23.828000] [PMF]Set_PMFSHA256_Proc:: apidx=1, Desired PMFSHA256=0
[   23.840000] [PMF]Set_PMFSHA256_Proc:: apidx=2, Desired PMFSHA256=0
[   23.852000] [PMF]Set_PMFSHA256_Proc:: apidx=3, Desired PMFSHA256=0
[   23.864000] FW Version:dbg-off
[   23.872000] FW Build Date:20190520103456
[   23.880000] CmdAddressLenReq:(ret = 0)
[   23.888000] CmdFwStartReq: override = 1, address = 1048576
[   23.900000] CmdStartDLRsp: WiFI FW Download Success
[   23.920000] AsicDMASchedulerInit(): DMA Scheduler Mode=0(LMAC)
[   23.932000] efuse_probe: efuse = 10000002
[   23.940000] RtmpChipOpsEepromHook::e2p_type=2, inf_Type=5
[   23.948000] RtmpEepromGetDefault::e2p_dafault=1
[   23.960000] RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 2, E2P default = 1
[   23.972000] NVM is FLASH mode, flash_offset = 0x0
[   23.984000] 1. Phy Mode = 14
[   24.092000] @@@  NICReadEEPROMParameters : pAd->FWLoad=0
[   24.132000] Country Region from e2p = ffff
[   24.140000] tssi_1_target_pwr_g_band = 31
[   24.148000] 2. Phy Mode = 14
[   24.156000] 3. Phy Mode = 14
[   24.160000] NICInitPwrPinCfg(14): Not support for HIF_MT yet!
[   24.172000] NICInitializeAsic(588): Not support rtmp_mac_sys_reset () for HIF_MT yet!
[   24.188000] mt_mac_init()-->
[   24.192000] mt7603_init_mac_cr()-->
[   24.200000] AsicSetMacMaxLen(1921): Set the Max RxPktLen=1024!
[   24.212000] <--mt_mac_init()
[   24.216000]  WTBL Segment 1 info:
[   24.224000]          MemBaseAddr/FID:0x28000/0
[   24.232000]          EntrySize/Cnt:32/128
[   24.240000]  WTBL Segment 2 info:
[   24.244000]          MemBaseAddr/FID:0x40000/0
[   24.252000]          EntrySize/Cnt:64/128
[   24.260000]  WTBL Segment 3 info:
[   24.268000]          MemBaseAddr/FID:0x42000/64
[   24.276000]          EntrySize/Cnt:64/128
[   24.280000]  WTBL Segment 4 info:
[   24.288000]          MemBaseAddr/FID:0x44000/128
[   24.296000]          EntrySize/Cnt:32/128
[   24.304000] AntCfgInit(2702): Not support for HIF_MT yet!
[   24.312000] RTMPSetPhyMode(): channel out of range, use first ch=0
[   24.324000] MCS Set = ff ff 00 00 01
[   24.332000] Read from E2P 0xBF: 0xff03
[   24.340000] CmdLoadTXIQDataFromFlash:
[   24.348000] CmdLoadRXIQDataFromFlash:
[   24.356000] [BuildAcsScanChList] Support channel: PrimCh=1, CentCh=255, DFS=0, skip 0
[   24.372000] [BuildAcsScanChList] Support channel: PrimCh=2, CentCh=0, DFS=0, skip 0
[   24.388000] [BuildAcsScanChList] Support channel: PrimCh=3, CentCh=1, DFS=0, skip 0
[   24.404000] [BuildAcsScanChList] Support channel: PrimCh=4, CentCh=2, DFS=0, skip 0
[   24.420000] [BuildAcsScanChList] Support channel: PrimCh=5, CentCh=3, DFS=0, skip 0
[   24.432000] [BuildAcsScanChList] Support channel: PrimCh=6, CentCh=4, DFS=0, skip 0
[   24.448000] [BuildAcsScanChList] Support channel: PrimCh=7, CentCh=5, DFS=0, skip 0
[   24.464000] [BuildAcsScanChList] Support channel: PrimCh=8, CentCh=6, DFS=0, skip 0
[   24.480000] [BuildAcsScanChList] Support channel: PrimCh=9, CentCh=7, DFS=0, skip 0
[   24.496000] [BuildAcsScanChList] Support channel: PrimCh=10, CentCh=8, DFS=0, skip 0
[   24.512000] [BuildAcsScanChList] Support channel: PrimCh=11, CentCh=9, DFS=0, skip 0
[   24.524000] [BuildAcsScanChList] Support channel: PrimCh=12, CentCh=10, DFS=0, skip 0
[   24.540000] [BuildAcsScanChList] Support channel: PrimCh=13, CentCh=11, DFS=0, skip 0
[   26.456000] mt7603_switch_channel(): Switch to Ch#1(2T2R), BBP_BW=0
[   28.564000] mt7603_switch_channel(): Switch to Ch#2(2T2R), BBP_BW=0
[   30.680000] mt7603_switch_channel(): Switch to Ch#3(2T2R), BBP_BW=0
[   30.892000] mt7603_switch_channel(): Switch to Ch#4(2T2R), BBP_BW=0
[   31.104000] mt7603_switch_channel(): Switch to Ch#5(2T2R), BBP_BW=0
[   31.316000] mt7603_switch_channel(): Switch to Ch#6(2T2R), BBP_BW=0
[   31.528000] mt7603_switch_channel(): Switch to Ch#7(2T2R), BBP_BW=0
[   31.740000] mt7603_switch_channel(): Switch to Ch#8(2T2R), BBP_BW=0
[   31.952000] mt7603_switch_channel(): Switch to Ch#9(2T2R), BBP_BW=0
[   32.164000] mt7603_switch_channel(): Switch to Ch#10(2T2R), BBP_BW=0
[   32.376000] mt7603_switch_channel(): Switch to Ch#11(2T2R), BBP_BW=0
[   32.588000] mt7603_switch_channel(): Switch to Ch#12(2T2R), BBP_BW=0
[   32.800000] mt7603_switch_channel(): Switch to Ch#13(2T2R), BBP_BW=0
[   33.012000] [PMF]ap_pmf_init:: apidx=0, MFPC=0, MFPR=0, SHA256=0
[   33.140000] [PMF]RTMPMakeRsnIeCap: RSNIE Capability MFPC=0, MFPR=0
[   33.152000] [PMF]ap_pmf_init:: apidx=1, MFPC=0, MFPR=0, SHA256=0
[   33.280000] [PMF]RTMPMakeRsnIeCap: RSNIE Capability MFPC=0, MFPR=0
[   33.292000] [PMF]ap_pmf_init:: apidx=2, MFPC=0, MFPR=0, SHA256=0
[   33.420000] [PMF]RTMPMakeRsnIeCap: RSNIE Capability MFPC=0, MFPR=0
[   33.432000] [PMF]ap_pmf_init:: apidx=3, MFPC=0, MFPR=0, SHA256=0
[   33.560000] [PMF]RTMPMakeRsnIeCap: RSNIE Capability MFPC=0, MFPR=0
[   33.572000] AsicSetRalinkBurstMode(4339): Not support for HIF_MT yet!
[   33.588000] RTMPSetPiggyBack(957): Not support for HIF_MT yet!
[   33.604000] reload DPD from flash , 0x9F = [c6c0] doReload bit7[1]
[   33.616000] CmdLoadDPDDataFromFlash: Channel = 1, DoReload = 1
[   33.628000] mt7603_switch_channel(): Switch to Ch#3(2T2R), BBP_BW=1
[   33.640000] AsicSetTxPreamble(4326): Not support for HIF_MT yet!
[   33.656000] AsicAddSharedKeyEntry(2087): Not support for HIF_MT yet!
[   33.668000] AsicAddSharedKeyEntry(2087): Not support for HIF_MT yet!
[   33.684000] AsicAddSharedKeyEntry(2087): Not support for HIF_MT yet!
[   33.700000] AsicAddSharedKeyEntry(2087): Not support for HIF_MT yet!
[   33.712000] AsicSetPreTbtt(): bss_idx=0, PreTBTT timeout = 0xa0
[   33.724000] Main bssid = 50:41:b9:**:**:08
[   33.732000] <==== rt28xx_init, Status=0
[   33.748000] first MBSSID is 50 41 b9 13 b8 08
[   33.760000] first MBSSID is 50 41 b9 13 b8 08
[   33.768000] first MBSSID is 50 41 b9 13 b8 08
[   33.780000] first MBSSID is 50 41 b9 13 b8 08
[   33.788000] first MBSSID is 50 41 b9 13 b8 08
[   33.796000] @@@ ed_monitor_exit : ===>
[   33.804000] @@@ ed_monitor_exit : <===
[   33.812000] mt7603_set_ed_cca: TURN OFF EDCCA  mac 0x10618 = 0x8564267c, EDCCA_Status=0
[   33.828000] mt7603_set_ed_cca: pAd->CommonCfg.CountryCode = JP
[   33.840000] mt7603_set_ed_cca: TURN OFF NBID mac 0x10610 = 0x36a1282a
[   33.852000] WiFi Startup Cost (ra0): 11.100s
procd: - init complete -
[   34.416000] device ra0 entered promiscuous mode
[   34.428000] br-lan: port 2(ra0) entered forwarding state
[   34.436000] br-lan: port 2(ra0) entered forwarding state
[   36.440000] br-lan: port 2(ra0) entered forwarding state
[   37.236000] mt7663e: module license 'Proprietary' taints kernel.
[   37.248000] Disabling lock debugging due to kernel taint
[   37.356000] register mt_drv
[   37.372000]
[   37.372000]
[   37.372000] === pAd = c3381000, size = 4632768 ===
[   37.372000]
[   37.392000] <-- RTMPAllocAdapterBlock, Status=0
[   37.404000] pAd->PciHif.CSRBaseAddress =0xc3280000, csr_addr=0xc3280000!
[   37.416000] RTMPInitPCIeDevice():device_id=0x7663
[   37.424000] mt_pci_chip_cfg(): HWVer=0x8a10, FWVer=0x8a01, pAd->ChipID=0x7663
[   37.440000] mt7663_init()-->
[   37.444000] <--mt7663_init()
[   37.456000] <-- RTMPAllocTxRxRingMemory, Status=0
[   37.464000] get_wdev_by_idx: invalid idx(0)
[   37.472000] get_wdev_by_idx: invalid idx(0)
[   37.480000] get_wdev_by_idx: invalid idx(0)
[   37.488000] get_wdev_by_idx: invalid idx(0)
[   37.496000] get_wdev_by_idx: invalid idx(0)
[   37.504000] get_wdev_by_idx: invalid idx(0)
[   37.516000] get_wdev_by_idx: invalid idx(0)
[   37.536000] rai0: ===> main_virtual_if_open
[   37.544000] get_wdev_by_idx: invalid idx(0)
[   37.552000] get_wdev_by_idx: invalid idx(0)
[   37.560000] get_wdev_by_idx: invalid idx(0)
[   37.568000] get_wdev_by_idx: invalid idx(0)
[   37.580000] load l1profile succeed!
[   37.584000] get_wdev_by_idx: invalid idx(0)
[   37.592000] get_wdev_by_idx: invalid idx(0)
[   37.604000] driver_own()::Try to Clear FW Own...
[   40.612000] driver_own()::Success to clear FW Own
[   40.624000] APWdsInitialize():WdsEntry[0]
[   40.632000] APWdsInitialize():WdsEntry[1]
[   40.640000] APWdsInitialize():WdsEntry[2]
[   40.648000] APWdsInitialize():WdsEntry[3]
[   40.664000] RtmpOSFileOpen(): Error 2 opening /etc/Wireless/iNIC/iNIC_ap_2G.dat
[   40.676000] Open file "/etc/Wireless/iNIC/iNIC_ap_2G.dat" failed!
[   40.688000] RT_CfgSetMacAddress : invalid length (0)
[   40.700000] RT_CfgSetMacAddress : invalid length (0)
[   40.708000] RT_CfgSetMacAddress : invalid length (0)
[   40.720000] RT_CfgSetMacAddress : invalid length (0)
[   40.728000] E2pAccessMode=2
[   40.736000] SSID[0]=IODATA-13b808-5G, EdcaIdx=0
[   40.744000] SSID[1]=, EdcaIdx=0
[   40.752000] SSID[2]=, EdcaIdx=0
[   40.756000] SSID[3]=, EdcaIdx=0
[   40.764000] cfg_mode=14
[   40.768000] cfg_mode=14
[   40.772000] cfg_mode=14
[   40.780000] wmode_band_equal(): Band Equal!
[   40.788000] [TxPower] BAND0: 100
[   40.796000] [SKUenable] BAND0: 1
[   40.804000] [PERCENTAGEenable] BAND0: 1
[   40.808000] [BFBACKOFFenable] BAND0: 0
[   40.820000] profile: FragThreshold[0]=2346
[   40.828000] APEdca0
[   40.832000] APEdca1
[   40.836000] APEdca2
[   40.840000] APEdca3
[   40.848000] APSDCapable[0]=1
[   40.856000] APSDCapable[1]=1
[   40.860000] APSDCapable[2]=1
[   40.864000] APSDCapable[3]=1
[   40.872000] APSDCapable[4]=1
[   40.876000] APSDCapable[5]=1
[   40.884000] APSDCapable[6]=1
[   40.888000] APSDCapable[7]=1
[   40.896000] APSDCapable[8]=1
[   40.900000] APSDCapable[9]=1
[   40.904000] APSDCapable[10]=1
[   40.912000] APSDCapable[11]=1
[   40.916000] APSDCapable[12]=1
[   40.924000] APSDCapable[13]=1
[   40.928000] APSDCapable[14]=1
[   40.936000] APSDCapable[15]=1
[   40.940000] default ApCliAPSDCapable[0]=1
[   40.952000] DfsZeroWait Support=0/0
[   40.960000] read_itxbf: ITxBfEn = 1
[   40.964000] read_itxbf: BSSID[0]
[   40.972000] read_itxbf: MBSS[0] ITxBfEn = 1
[   40.980000] read_itxbf: More BSSID[1]
[   40.988000] read_itxbf: More MBSS[1] ITxBfEn = 1
[   40.996000] read_itxbf: More BSSID[2]
[   41.004000] read_itxbf: More MBSS[2] ITxBfEn = 1
[   41.012000] read_itxbf: More BSSID[3]
[   41.020000] read_itxbf: More MBSS[3] ITxBfEn = 1
[   41.028000] read_itxbf: Common.ITxBfEn = 1
[   41.040000] read_etxbf: ETxBfEnCond = 1
[   41.044000] read_etxbf: BSSID[0]
[   41.052000] read_etxbf: MBSS[0] ETxBfEnCond = 1
[   41.060000] read_etxbf: More BSSID[1]
[   41.068000] read_etxbf: More MBSS[1] ETxBfEnCond = 1
[   41.080000] read_etxbf: More BSSID[2]
[   41.084000] read_etxbf: More MBSS[2] ETxBfEnCond = 1
[   41.096000] read_etxbf: More BSSID[3]
[   41.104000] read_etxbf: More MBSS[3] ETxBfEnCond = 1
[   41.128000] [PMF]Set_PMFMFPC_Proc:: apidx=0, Desired MFPC=0
[   41.140000] [PMF]Set_PMFMFPC_Proc:: apidx=1, Desired MFPC=0
[   41.152000] [PMF]Set_PMFMFPC_Proc:: apidx=2, Desired MFPC=0
[   41.164000] [PMF]Set_PMFMFPC_Proc:: apidx=3, Desired MFPC=0
[   41.172000] [PMF]Set_PMFMFPR_Proc:: apidx=0, Desired MFPR=0
[   41.184000] [PMF]Set_PMFMFPR_Proc:: apidx=1, Desired MFPR=0
[   41.196000] [PMF]Set_PMFMFPR_Proc:: apidx=2, Desired MFPR=0
[   41.208000] [PMF]Set_PMFMFPR_Proc:: apidx=3, Desired MFPR=0
[   41.220000] [PMF]Set_PMFSHA256_Proc:: apidx=0, Desired PMFSHA256=0
[   41.232000] [PMF]Set_PMFSHA256_Proc:: apidx=1, Desired PMFSHA256=0
[   41.244000] [PMF]Set_PMFSHA256_Proc:: apidx=2, Desired PMFSHA256=0
[   41.256000] [PMF]Set_PMFSHA256_Proc:: apidx=3, Desired PMFSHA256=0
[   41.276000] rtmp_read_wds_from_file(): WDS Profile
[   41.288000] APWdsInitialize():WdsEntry[0]
[   41.296000] APWdsInitialize():WdsEntry[1]
[   41.304000] APWdsInitialize():WdsEntry[2]
[   41.312000] APWdsInitialize():WdsEntry[3]
[   41.320000] WDS-Enable mode=0
[   41.328000] HT: WDEV[0] Ext Channel = BELOW
[   41.336000] HT: greenap_cap = 0
[   41.376000] WtcSetMaxStaNum: MaxStaNum:108, BssidNum:4, WdsNum:4, ApcliNum:1, MaxNumChipRept:16, MinMcastWcid:130
[   41.396000] Top Init Done!
[   41.404000] Use alloc_skb
[   41.412000] RX[0] DESC ac7b2000 size = 8192
[   41.420000] RX[1] DESC ad128000 size = 8192
[   41.428000] cut_through_init(): ct sw token number = 4095
[   41.440000] cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
[   41.456000] cut_through_token_list_init(): 86654708,86654708
[   41.468000] cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
[   41.484000] cut_through_token_list_init(): 86654718,86654718
[   41.496000] Hif Init Done!
[   41.500000] ctl->txq = c37e60f4
[   41.508000] ctl->rxq = c37e6100
[   41.512000] ctl->ackq = c37e610c
[   41.520000] ctl->kickq = c37e6118
[   41.528000] ctl->tx_doneq = c37e6124
[   41.532000] ctl->rx_doneq = c37e6130
[   41.540000] mt7663_fw_prepare():using E2 ROM patch
[   41.548000] mt7663_fw_prepare():using E2 firmware
[   41.560000] Parsing patch header
[   41.564000]  Built date: 191231123533622
[   41.572000]
[   41.576000]  Platform: 7663
[   41.584000]  HW/SW version: 0x6d702d31
[   41.588000]  Patch version: 0x3830328a
[   41.596000]  Target address: 0xdc000, length: 204096
[   41.608000] patch is not ready && get semaphore success
[   41.616000] Start address = 0xdc000, DL length = 204096, Data mode = 0x80000000
[   41.632000] EventGenericEventHandler: CMD Success
[   41.640000] MtCmdAddressLenReq:(ret = 0)
[   41.652000] MtCmdPatchFinishReq
[   41.660000] EventGenericEventHandler: CMD Success
[   41.668000] release patch semaphore
[   41.676000] WfMcuHwInit: Before NICLoadFirmware, check ICapMode = 0
[   41.688000] Parsing CPU 0 fw tailer
[   41.696000]  Chip ID: 0x08
[   41.700000]  Eco version: 0x01
[   41.708000]  Region number: 0x03
[   41.712000]  Format version: 0x02
[   41.720000]  Format flag: 0x01
[   41.724000]  Ram version: 7663mp1827
[   41.732000]  Built date: 20191231123608
[   41.740000]  Common crc: 0xb2e95779
[   41.748000] Parsing tailer region 0
[   41.756000]  Decomp crc: 0x0
[   41.760000]  Decomp size: 0x0
[   41.764000]  Decomp block size: 0x0
[   41.772000]  Target address: 0x112c00
[   41.780000]  Download size: 277776
[   41.788000]  Feature set: 0x27
[   41.792000] Parsing tailer region 1
[   41.800000]  Decomp crc: 0x0
[   41.804000]  Decomp size: 0x0
[   41.812000]  Decomp block size: 0x0
[   41.820000]  Target address: 0x2018400
[   41.824000]  Download size: 70848
[   41.832000]  Feature set: 0x07
[   41.840000] Parsing tailer region 2
[   41.844000]  Decomp crc: 0x0
[   41.852000]  Decomp size: 0x0
[   41.856000]  Decomp block size: 0x0
[   41.864000]  Target address: 0x40100000
[   41.872000]  Download size: 14720
[   41.880000]  Feature set: 0x07
[   41.884000]  Release info: header tag = 0, total length = 0
[   41.896000] Start address = 0x112c00, DL length = 277776, Data mode = 0x8000000f
[   41.912000] EventGenericEventHandler: CMD Success
[   41.920000] MtCmdAddressLenReq:(ret = 0)
[   41.928000] Start address = 0x2018400, DL length = 70848, Data mode = 0x8000000f
[   41.944000] EventGenericEventHandler: CMD Success
[   41.956000] MtCmdAddressLenReq:(ret = 0)
[   41.964000] Start address = 0x40100000, DL length = 14720, Data mode = 0x8000000f
[   41.976000] EventGenericEventHandler: CMD Success
[   41.988000] MtCmdAddressLenReq:(ret = 0)
[   41.996000] MtCmdFwStartReq: override = 0x1, address = 0x112c00
[   42.048000] EventGenericEventHandler: CMD Success
[   42.060000] MCU Init Done!
[   42.064000] efuse_probe: efuse = 511161
[   42.072000] RtmpChipOpsEepromHook::e2p_type=2, inf_Type=5
[   42.084000] RtmpEepromGetDefault::e2p_dafault=1
[   42.092000] RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 2, E2P default = 1
[   42.108000] NVM is FLASH mode. dev_idx [1] FLASH OFFSET [0x8000]
[   42.120000] validFlashEepromID(): eeFlashId=7663, pAd->ChipID=7663
[   42.132000] NICReadEEPROMParameters: EEPROM 0x52 7
[   42.144000] MtCmdSetGroupPreCal_7663:(ret = 0)
[   42.152000] MtCmdSetGroupPreCal_7663:(ret = 0)
[   42.160000] MtCmdSetGroupPreCal_7663:(ret = 0)
[   42.168000] MtCmdSetGroupPreCal_7663:(ret = 0)
[   42.176000] MtCmdSetGroupPreCal_7663:(ret = 0)
[   42.188000] MtCmdSetGroupPreCal_7663:(ret = 0)
[   42.212000] Country Region from e2p = 1
[   42.216000] mt7663_antenna_default_reset() todo
[   42.228000] RTMPReadTxPwrPerRate(444): Don't Support this now!
[   42.240000] RcRadioInit(): DbdcMode=0, ConcurrentBand=1
[   42.248000] RcRadioInit(): pRadioCtrl=859c8e38,Band=0,rfcap=3,channel=1,PhyMode=2 extCha=0xf
[   42.264000] AntCfgInit(2920): Not support for HIF_MT yet!
[   42.276000] MtReadPwrLimitTable: RF_LOCKDOWN Feature OFF !!!
[   42.288000] MtReadPwrLimitTable: RF_LOCKDOWN Feature OFF !!!
[   42.304000] EEPROM Init Done!
[   42.312000] mt_mac_init()-->
[   42.316000] mt_mac_pse_init(2958): Don't Support this now!
[   42.328000] mt7663_init_mac_cr()-->
[   42.332000] mt7663_init_mac_cr(): TMAC_TRCR0=0x82783c92
[   42.344000] MtAsicSetMacMaxLen(1073): Not support for HIF_MT yet!
[   42.356000] <--mt_mac_init()
[   42.368000] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
[   42.380000] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
[   42.396000] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
[   42.408000] MAC Init Done!
[   42.416000] MT7663BBPInit():BBP Initialization.....
[   42.424000]  Band 0: valid=1, isDBDC=0, Band=2, CBW=1, CentCh/PrimCh=1/1, prim_ch_idx=0, txStream=2
[   42.444000]  Band 1: valid=0, isDBDC=0, Band=0, CBW=0, CentCh/PrimCh=0/0, prim_ch_idx=0, txStream=0
[   42.460000] MT7663BBPInit() todo
[   42.468000] PHY Init Done!
[   42.472000] RtmpOSFileOpen(): Error 2 opening /etc/Wireless/iNIC/iNIC_ap_2G.dat
[   42.488000] Open file "/etc/Wireless/iNIC/iNIC_ap_2G.dat" failed!
[   42.500000] RT_CfgSetMacAddress : invalid length (0)
[   42.508000] RT_CfgSetMacAddress : invalid length (0)
[   42.520000] RT_CfgSetMacAddress : invalid length (0)
[   42.528000] RT_CfgSetMacAddress : invalid length (0)
[   42.540000] E2pAccessMode=2
[   42.544000] SSID[0]=IODATA-13b808-5G, EdcaIdx=0
[   42.552000] SSID[1]=, EdcaIdx=0
[   42.560000] SSID[2]=, EdcaIdx=0
[   42.568000] SSID[3]=, EdcaIdx=0
[   42.572000] cfg_mode=14
[   42.580000] cfg_mode=14
[   42.584000] cfg_mode=14
[   42.588000] wmode_band_equal(): Band Equal!
[   42.600000] [TxPower] BAND0: 100
[   42.604000] [SKUenable] BAND0: 1
[   42.612000] [PERCENTAGEenable] BAND0: 1
[   42.620000] [BFBACKOFFenable] BAND0: 0
[   42.628000] profile: FragThreshold[0]=2346
[   42.636000] APEdca0
[   42.640000] APEdca1
[   42.644000] APEdca2
[   42.648000] APEdca3
[   42.656000] APSDCapable[0]=1
[   42.664000] APSDCapable[1]=1
[   42.668000] APSDCapable[2]=1
[   42.676000] APSDCapable[3]=1
[   42.680000] APSDCapable[4]=1
[   42.688000] APSDCapable[5]=1
[   42.692000] APSDCapable[6]=1
[   42.696000] APSDCapable[7]=1
[   42.704000] APSDCapable[8]=1
[   42.708000] APSDCapable[9]=1
[   42.716000] APSDCapable[10]=1
[   42.720000] APSDCapable[11]=1
[   42.728000] APSDCapable[12]=1
[   42.732000] APSDCapable[13]=1
[   42.740000] APSDCapable[14]=1
[   42.744000] APSDCapable[15]=1
[   42.752000] default ApCliAPSDCapable[0]=1
[   42.760000] DfsZeroWait Support=0/0
[   42.768000] read_itxbf: ITxBfEn = 1
[   42.776000] read_itxbf: BSSID[0]
[   42.780000] read_itxbf: MBSS[0] ITxBfEn = 1
[   42.788000] read_itxbf: More BSSID[1]
[   42.796000] read_itxbf: More MBSS[1] ITxBfEn = 1
[   42.808000] read_itxbf: More BSSID[2]
[   42.812000] read_itxbf: More MBSS[2] ITxBfEn = 1
[   42.824000] read_itxbf: More BSSID[3]
[   42.828000] read_itxbf: More MBSS[3] ITxBfEn = 1
[   42.840000] read_itxbf: Common.ITxBfEn = 1
[   42.848000] read_etxbf: ETxBfEnCond = 1
[   42.856000] read_etxbf: BSSID[0]
[   42.860000] read_etxbf: MBSS[0] ETxBfEnCond = 1
[   42.872000] read_etxbf: More BSSID[1]
[   42.876000] read_etxbf: More MBSS[1] ETxBfEnCond = 1
[   42.888000] read_etxbf: More BSSID[2]
[   42.896000] read_etxbf: More MBSS[2] ETxBfEnCond = 1
[   42.904000] read_etxbf: More BSSID[3]
[   42.912000] read_etxbf: More MBSS[3] ETxBfEnCond = 1
[   42.940000] [PMF]Set_PMFMFPC_Proc:: apidx=0, Desired MFPC=0
[   42.948000] [PMF]Set_PMFMFPC_Proc:: apidx=1, Desired MFPC=0
[   42.960000] [PMF]Set_PMFMFPC_Proc:: apidx=2, Desired MFPC=0
[   42.972000] [PMF]Set_PMFMFPC_Proc:: apidx=3, Desired MFPC=0
[   42.984000] [PMF]Set_PMFMFPR_Proc:: apidx=0, Desired MFPR=0
[   42.996000] [PMF]Set_PMFMFPR_Proc:: apidx=1, Desired MFPR=0
[   43.004000] [PMF]Set_PMFMFPR_Proc:: apidx=2, Desired MFPR=0
[   43.016000] [PMF]Set_PMFMFPR_Proc:: apidx=3, Desired MFPR=0
[   43.028000] [PMF]Set_PMFSHA256_Proc:: apidx=0, Desired PMFSHA256=0
[   43.040000] [PMF]Set_PMFSHA256_Proc:: apidx=1, Desired PMFSHA256=0
[   43.052000] [PMF]Set_PMFSHA256_Proc:: apidx=2, Desired PMFSHA256=0
[   43.064000] [PMF]Set_PMFSHA256_Proc:: apidx=3, Desired PMFSHA256=0
[   43.084000] rtmp_read_wds_from_file(): WDS Profile
[   43.096000] APWdsInitialize():WdsEntry[0]
[   43.104000] APWdsInitialize():WdsEntry[1]
[   43.112000] APWdsInitialize():WdsEntry[2]
[   43.120000] APWdsInitialize():WdsEntry[3]
[   43.128000] WDS-Enable mode=0
[   43.136000] HT: WDEV[0] Ext Channel = BELOW
[   43.144000] HT: greenap_cap = 0
[   43.188000] tx_pwr_comp_init():NotSupportYet!
[   43.200000] MtCmdSetMacTxRx:(ret = 0)
[   43.208000] asic_bss_beacon_init(): NotSupportedFunc for this arch(HIF_MT)!
[   43.220000] MtAsicSetChBusyStat(646): Not support for HIF_MT yet!
[   43.232000] AsicDisableSync(): NotSupportedFunc for this arch(HIF_MT)!
[   43.244000] MtAsicSetRalinkBurstMode(2219): Not support for HIF_MT yet!
[   43.260000] MtAsicSetPiggyBack(590): Not support for HIF_MT yet!
[   43.272000] WifiFwdSet::disabled=0
[   43.276000] AsicSetPreTbtt(): NotSupportedFunc for this arch(HIF_MT)!
[   43.292000] ap_ftkd> Initialize FT KDP Module...
[   43.300000] Main bssid = 00:00:00:00:00:00
[   43.308000] AsicSetRxFilter(): NotSupportedFunc for this arch(HIF_MT)!
[   43.320000] MtCmdSetMacTxRx:(ret = 0)
[   43.328000] AsicSetRxFilter(): NotSupportedFunc for this arch(HIF_MT)!
[   43.340000] MtCmdSetMacTxRx:(ret = 0)
[   43.348000] INIT REDUCE TCP ACK, rai0
[   43.356000] <==== mt_wifi_init, Status=0
[   43.364000] TxBfModuleEnCtrl:It's not DBDC mode
[   43.372000] MtCmdEDCCACtrl: BandIdx: 0, EDCCACtrl: 1
[   43.388000] MSTA_Init (1) ---> ApCli
[   43.396000] Register MSTA IF (apclii0) , pAd->MSTANum = 1
[   43.408000] Caller: SetCommonHT+0xd8/0x198 [mt7663e]
[   43.416000]
[   43.416000] phy_mode=49, ch=0, wdev_type=2
[   43.428000] ht_cap: ht_cap->HtCapInfo,
[   43.436000] ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=0
[   43.452000] ht_cap: ht_cap->HtCapParm,
[   43.460000] mdpu_density=0, ampdu_factor=3
[   43.468000] WDS_Init():
[   43.472000] The new WDS interface MAC = 00:00:00:00:00:00
[   43.484000]   MacTabMatchWCID = 0
[   43.492000] Caller: SetCommonHT+0xd8/0x198 [mt7663e]
[   43.500000]
[   43.500000] phy_mode=49, ch=0, wdev_type=8
[   43.512000] ht_cap: ht_cap->HtCapInfo,
[   43.520000] ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=0
[   43.536000] ht_cap: ht_cap->HtCapParm,
[   43.544000] mdpu_density=0, ampdu_factor=3
[   43.552000] The new WDS interface MAC = 00:00:00:00:00:00
[   43.564000]   MacTabMatchWCID = 0
[   43.572000] Caller: SetCommonHT+0xd8/0x198 [mt7663e]
[   43.580000]
[   43.580000] phy_mode=49, ch=0, wdev_type=8
[   43.592000] ht_cap: ht_cap->HtCapInfo,
[   43.600000] ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=0
[   43.616000] ht_cap: ht_cap->HtCapParm,
[   43.624000] mdpu_density=0, ampdu_factor=3
[   43.632000] The new WDS interface MAC = 00:00:00:00:00:00
[   43.644000]   MacTabMatchWCID = 0
[   43.652000] Caller: SetCommonHT+0xd8/0x198 [mt7663e]
[   43.660000]
[   43.660000] phy_mode=49, ch=0, wdev_type=8
[   43.672000] ht_cap: ht_cap->HtCapInfo,
[   43.680000] ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=0
[   43.696000] ht_cap: ht_cap->HtCapParm,
[   43.704000] mdpu_density=0, ampdu_factor=3
[   43.712000] The new WDS interface MAC = 00:00:00:00:00:00
[   43.724000]   MacTabMatchWCID = 0
[   43.732000] Caller: SetCommonHT+0xd8/0x198 [mt7663e]
[   43.740000]
[   43.740000] phy_mode=49, ch=0, wdev_type=8
[   43.752000] ht_cap: ht_cap->HtCapInfo,
[   43.760000] ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=0
[   43.776000] ht_cap: ht_cap->HtCapParm,
[   43.784000] mdpu_density=0, ampdu_factor=3
[   43.792000] Total allocated 4 WDS interfaces!
[   43.804000] WtcSetMaxStaNum: MaxStaNum:108, BssidNum:4, WdsNum:4, ApcliNum:1, MaxNumChipRept:16, MinMcastWcid:130
[   44.760000] RedInit: set Driver/N9 RED Enable to 1.
[   44.768000] RedInit: RED Initiailize Done.
[   44.776000] cp_support_is_enabled: set Driver CP_SUPPORT to Mode 2.
[   44.788000] RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
[   44.800000] wifi_sys_open(), wdev idx = 0
[   44.808000] wdev_attr_update(): wdevId0 = 50:41:b9:**:**:09
[   44.820000] [RcGetHdevByPhyMode]-- channel 0 fix for rdev fetching
[   44.832000] [BuildChannelList] BandIdx = 0, PhyMode = 49, ChListNum = 19:
[   44.848000]  [RadarStateCheck] RD_NORMAL_MODE
[   44.856000] phy_freq_adjust : no prim_ch value for adjust!
[   44.868000] Caller: wlan_operate_init+0x108/0x178 [mt7663e]
[   44.880000]
[   44.880000] phy_mode=49, ch=0, wdev_type=1
[   44.892000] ht_cap: ht_cap->HtCapInfo,
[   44.900000] ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=0
[   44.916000] ht_cap: ht_cap->HtCapParm,
[   44.920000] mdpu_density=5, ampdu_factor=3
[   44.932000] AP inf up for ra_0(func_idx) OmacIdx=0
[   44.940000] AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
[   44.952000] ApAutoChannelAtBootUp----------------->
[   44.964000] ApAutoChannelAtBootUp: AutoChannelBootup[0] = 1
[   44.972000] AsicSetRxFilter(): NotSupportedFunc for this arch(HIF_MT)!
[   44.988000] MtCmdSetMacTxRx:(ret = 0)
[   44.996000] [AutoChSelBuildChannelListFor5G] ChListNum5G = 19
[   45.004000] AsicSwitchChannel(): 5G Channel:36, then must be Channel_Band:1 !!
[   45.020000] MtCmdSetDpdFlatnessCal_7663:(ret = 0)
[   45.236000] AsicSwitchChannel(): 5G Channel:40, then must be Channel_Band:1 !!
[   45.248000] MtCmdSetDpdFlatnessCal_7663:(ret = 0)
[   45.464000] AsicSwitchChannel(): 5G Channel:44, then must be Channel_Band:1 !!
[   45.476000] MtCmdSetDpdFlatnessCal_7663:(ret = 0)
[   45.692000] AsicSwitchChannel(): 5G Channel:48, then must be Channel_Band:1 !!
[   45.704000] MtCmdSetDpdFlatnessCal_7663:(ret = 0)
[   45.920000] ApAutoChannelAtBootUp : Auto channel selection: Selected channel = 40, IsAband = 1
[   45.936000]  AutoChSelUpdateChannel(): Update channel for wdev for this band PhyMode = 49, Channel = 40
[   45.956000]  [RadarStateCheck] RD_NORMAL_MODE
[   45.968000] AsicSwitchChannel(): 5G Channel:42, then must be Channel_Band:1 !!
[   45.984000] MtCmdSetDpdFlatnessCal_7663:(ret = 0)
[   46.000000] ApAutoChannelAtBootUp<-----------------
[   46.008000] [PMF]APPMFInit:: apidx=0, MFPC=0, MFPR=0, SHA256=0
[   46.020000] Caller: SetCommonHT+0xd8/0x198 [mt7663e]
[   46.032000]
[   46.032000] phy_mode=49, ch=40, wdev_type=1
[   46.040000] ht_cap: ht_cap->HtCapInfo,
[   46.048000] ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=0
[   46.064000] ht_cap: ht_cap->HtCapParm,
[   46.072000] mdpu_density=5, ampdu_factor=3
[   46.080000] wifi_sys_linkup(), wdev idx = 0
[   46.088000] wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:135 for WDEV_TYPE:1
[   46.088000]  LinkToOmacIdx = 0, LinkToWdevType = 1
[   46.232000] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 8192, CmdBssInfoBmcRate.u2McTransmit = 8196
[   46.268000] UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 0
[   46.280000] MtCmdTxPowerSKUCtrl: fgTxPowerSKUEn: 1, BandIdx: 0
[   46.288000] MtCmdTxBfBackoffCtrl: fgTxBFBackoffEn: 0, BandIdx: 0
[   46.300000] MtCmdTxPowerPercentCtrl: fgTxPowerPercentEn: 1, BandIdx: 0
[   46.316000] AsicSetTxStream(): NotSupportedFunc for this arch(HIF_MT)!
[   46.328000] AsicSetRxStream(): NotSupportedFunc for this arch(HIF_MT)!
[   46.348000] apidx 0 for WscUUIDInit
[   46.356000] Generate UUID for apidx(0)
[   46.364000] first MBSSID is 50 41 b9 13 b8 08
[   46.728000] device rai0 entered promiscuous mode
[   46.736000] br-lan: port 3(rai0) entered forwarding state
[   46.748000] br-lan: port 3(rai0) entered forwarding state
[   47.088000] Device Instance
[   47.092000]  WDEV 00:
Name:rai0
[   47.100000]          Wdev(list) Idx:0
[   47.108000]           Idx:13
[   47.112000]  WDEV 01:
Name:rai1
[   47.116000]          Wdev(list) Idx:1
[   47.124000]           Idx:14
[   47.128000]  WDEV 02:
Name:rai2
[   47.136000]          Wdev(list) Idx:2
[   47.140000]           Idx:15
[   47.144000]  WDEV 03:
Name:rai3
[   47.152000]          Wdev(list) Idx:3
[   47.160000]           Idx:16
[   47.164000]  WDEV 04:
Name:apclii0
[   47.172000]          Wdev(list) Idx:4
[   47.176000]           Idx:17
[   47.180000]  WDEV 05:
Name:wdsi0
[   47.188000]          Wdev(list) Idx:5
[   47.196000]           Idx:18
[   47.200000]  WDEV 06:
Name:wdsi1
[   47.204000]          Wdev(list) Idx:6
[   47.212000]           Idx:19
[   47.216000]  WDEV 07:
Name:wdsi2
[   47.224000]          Wdev(list) Idx:7
[   47.228000]           Idx:20
[   47.232000]  WDEV 08:
Name:wdsi3
[   47.240000]          Wdev(list) Idx:8
[   47.248000]           Idx:21
[   47.252000]  WDEV 09:
[   47.256000]  WDEV 10:
[   47.260000]  WDEV 11:
[   47.264000]  WDEV 12:
[   47.268000]  WDEV 13:
[   47.272000]  WDEV 14:
[   47.280000]  WDEV 15:
[   47.284000]  WDEV 16:
[   47.288000]  WDEV 17:
[   47.292000]  WDEV 18:
[   47.296000]  WDEV 19:
[   47.300000]  WDEV 20:
[   47.304000]  WDEV 21:
[   48.752000] br-lan: port 3(rai0) entered forwarding state
switch_val: 1
ifce_automode:
wan_link_stat: 0
[   57.736000] led=9, on=4000, off=0, blinks,=0, reset=0, time=1 low_trigger=0
[   92.112000] mtd_isr,::E  R  , status=0x00000005
[   92.120000] RTMPHandleInterruptSerDump,::E  R        , MCU_COM_REG1=0x00000000
[   92.132000] RTMPHandleInterruptSerDump,::E  R        , 0x820681e4=0x00000004
[   92.148000] RTMPHandleInterruptSerDump,::E  R        , 0x820681e8=0x00000000
[   92.160000] RTMPHandleInterruptSerDump,::E  R        , 0x820682e8=0x00000000
[   92.172000] RTMPHandleInterruptSerDump,::E  R        , 0x820682ec=0x00000000
[   92.184000] RTMPHandleInterruptSerDump,::E  R        , 0x820f20fc=0x00000000
[   92.196000] ====Bnad0 Enable = 1====
[   92.204000] Channel Busy Time = 332914
[   92.212000] Primary Channel Busy Time = 328038
[   92.220000] OBSS Air Time = 429447
[   92.228000] My Tx Air Time = 5009
[   92.236000] My Rx Air Time = 0
[   92.240000] EDCCA Time = 12216
[   92.248000] PD count = 1a840000
[   92.252000] MDRDY Count = 11e0000
[   92.260000] Ser                       ,::E  R  , stat=0x00000000
[   92.276000] mtd_isr,::E  R  , status=0x00000008
[   92.284000] RTMPHandleInterruptSerDump,::E  R        , MCU_COM_REG1=0x00000000
[   92.300000] RTMPHandleInterruptSerDump,::E  R        , 0x820681e4=0x00000004
[   92.312000] RTMPHandleInterruptSerDump,::E  R        , 0x820681e8=0x00000000
[   92.324000] RTMPHandleInterruptSerDump,::E  R        , 0x820682e8=0x00000000
[   92.336000] RTMPHandleInterruptSerDump,::E  R        , 0x820682ec=0x00000000
[   92.348000] RTMPHandleInterruptSerDump,::E  R        , 0x820f20fc=0x00000000
[   92.364000] ====Bnad0 Enable = 1====
[   92.368000] Channel Busy Time = 332914
[   92.376000] Primary Channel Busy Time = 328038
[   92.384000] OBSS Air Time = 429447
[   92.392000] My Tx Air Time = 5009
[   92.400000] My Rx Air Time = 0
[   92.404000] EDCCA Time = 12216
[   92.412000] PD count = 1a840000
[   92.416000] MDRDY Count = 11e0000
[   92.520000] Ser                       ,::E  R  , stat=0x00000003
[   92.532000] Ser                       ,::E  R  , stat=0x00000001
[   92.544000] cut_through_token_list_destroy(): 86654708,86654708
[   92.560000] cut_through_token_list_destroy(): 86654718,86654718
[   92.572000] Use alloc_skb
[   92.580000] RX[0] DESC ac7b2000 size = 8192
[   92.588000] RX[1] DESC ad128000 size = 8192
[   92.600000] cut_through_init(): ct sw token number = 4095
[   92.608000] cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
[   92.624000] cut_through_token_list_init(): 86654708,86654708
[   92.636000] cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
[   92.652000] cut_through_token_list_init(): 86654718,86654718
[   92.968000] mtd_isr,::E  R  , status=0x00000010
[   92.980000] RTMPHandleInterruptSerDump,::E  R        , MCU_COM_REG1=0x00000000
[   92.992000] RTMPHandleInterruptSerDump,::E  R        , 0x820681e4=0x00000004
[   93.004000] RTMPHandleInterruptSerDump,::E  R        , 0x820681e8=0x00000000
[   93.016000] RTMPHandleInterruptSerDump,::E  R        , 0x820682e8=0x00000000
[   93.032000] RTMPHandleInterruptSerDump,::E  R        , 0x820682ec=0x00000000
[   93.044000] RTMPHandleInterruptSerDump,::E  R        , 0x820f20fc=0x00000000
[   93.056000] ====Bnad0 Enable = 1====
[   93.064000] Channel Busy Time = 438800
[   93.072000] Primary Channel Busy Time = 434181
[   93.080000] OBSS Air Time = 266569
[   93.088000] My Tx Air Time = 4505
[   93.092000] My Rx Air Time = 0
[   93.100000] EDCCA Time = 14661
[   93.104000] PD count = 1fcb0000
[   93.112000] MDRDY Count = 1780000
[   93.116000] Ser                       ,::E  R  , stat=0x00000002
[   93.132000] mtd_isr,::E  R  , status=0x00000020
[   93.140000] RTMPHandleInterruptSerDump,::E  R        , MCU_COM_REG1=0x00000000
[   93.156000] RTMPHandleInterruptSerDump,::E  R        , 0x820681e4=0x00000004
[   93.168000] RTMPHandleInterruptSerDump,::E  R        , 0x820681e8=0x00000000
[   93.180000] RTMPHandleInterruptSerDump,::E  R        , 0x820682e8=0x00000000
[   93.192000] RTMPHandleInterruptSerDump,::E  R        , 0x820682ec=0x00000000
[   93.204000] RTMPHandleInterruptSerDump,::E  R        , 0x820f20fc=0x00000000
[   93.220000] ====Bnad0 Enable = 1====
[   93.224000] Channel Busy Time = 438800
[   93.232000] Primary Channel Busy Time = 434181
[   93.244000] OBSS Air Time = 266569
[   93.248000] My Tx Air Time = 4505
[   93.256000] My Rx Air Time = 0
[   93.260000] EDCCA Time = 14661
[   93.268000] PD count = 1fcb0000
[   93.272000] MDRDY Count = 1780000
[   93.280000] Ser                       ,::E  R  , stat=0x00000004
[   93.292000] SerTimeLogDump,::E  R  , Time[0](us)=54656446
[   93.304000] SerTimeLogDump,::E  R  , Time[1](us)=54916600
[   93.316000] BeaconTransmitRequired():Bcn Tx is blocked, wdev_type=2, ATE_ON=0
[   93.316000] SerTimeLogDump,::E  R  , Time[2](us)=54928554
[   93.316000] SerTimeLogDump,::E  R  , Time[3](us)=55351476
[   93.316000] SerTimeLogDump,::E  R  , Time[4](us)=55515139
[   93.316000] SerTimeLogDump,::E  R  , Time[5](us)=55515139
[   93.316000] SerTimeLogDump,::E  R  , Time[6](us)=55677848
[   93.316000] SerTimeLogDump,::E  R  , Time[7](us)=55677873
[   93.316000] SerTimeLogDump,::E  R  , T1 - T0(us)=260154
[   93.316000] SerTimeLogDump,::E  R  , T2 - T1(us)=11954
[   93.316000] SerTimeLogDump,::E  R  , T3 - T2(us)=422922
[   93.316000] SerTimeLogDump,::E  R  , T4 - T3(us)=163663
[   93.316000] SerTimeLogDump,::E  R  , T5 - T4(us)=0
[   93.316000] SerTimeLogDump,::E  R  , T6 - T5(us)=162709
[   93.316000] SerTimeLogDump,::E  R  , T7 - T6(us)=25
[   93.316000] SerTimeLogDump,::E  R  , Total Time(us)=1021427
[   93.476000] BeaconTransmitRequired():Bcn Tx is blocked, wdev_type=8, ATE_ON=0
[   93.488000] BeaconTransmitRequired():Bcn Tx is blocked, wdev_type=8, ATE_ON=0
[   93.504000] BeaconTransmitRequired():Bcn Tx is blocked, wdev_type=8, ATE_ON=0
[   93.516000] BeaconTransmitRequired():Bcn Tx is blocked, wdev_type=8, ATE_ON=0
[  318.100000] mtd_isr,::E  R  , status=0x00000005
[  318.108000] RTMPHandleInterruptSerDump,::E  R        , MCU_COM_REG1=0x00000000
[  318.120000] RTMPHandleInterruptSerDump,::E  R        , 0x820681e4=0x00000004
[  318.136000] RTMPHandleInterruptSerDump,::E  R        , 0x820681e8=0x00000000
[  318.148000] RTMPHandleInterruptSerDump,::E  R        , 0x820682e8=0x00000000
[  318.160000] RTMPHandleInterruptSerDump,::E  R        , 0x820682ec=0x00000000
[  318.172000] RTMPHandleInterruptSerDump,::E  R        , 0x820f20fc=0x00000000
[  318.184000] ====Bnad0 Enable = 1====
[  318.192000] Channel Busy Time = 434631
[  318.200000] Primary Channel Busy Time = 429633
[  318.208000] OBSS Air Time = 551932
[  318.216000] My Tx Air Time = 5009
[  318.224000] My Rx Air Time = 0
[  318.228000] EDCCA Time = 14680
[  318.236000] PD count = 1fc50000
[  318.240000] MDRDY Count = 19a0000
[  318.248000] Ser                       ,::E  R  , stat=0x00000000
[  318.264000] mtd_isr,::E  R  , status=0x00000008
[  318.272000] RTMPHandleInterruptSerDump,::E  R        , MCU_COM_REG1=0x00000000
[  318.288000] RTMPHandleInterruptSerDump,::E  R        , 0x820681e4=0x00000004
[  318.300000] RTMPHandleInterruptSerDump,::E  R        , 0x820681e8=0x00000000
[  318.312000] RTMPHandleInterruptSerDump,::E  R        , 0x820682e8=0x00000000
[  318.324000] RTMPHandleInterruptSerDump,::E  R        , 0x820682ec=0x00000000
[  318.336000] RTMPHandleInterruptSerDump,::E  R        , 0x820f20fc=0x00000000
[  318.352000] ====Bnad0 Enable = 1====
[  318.356000] Channel Busy Time = 434631
[  318.364000] Primary Channel Busy Time = 429633
[  318.376000] OBSS Air Time = 551932
[  318.380000] My Tx Air Time = 5009
[  318.388000] My Rx Air Time = 0
[  318.392000] EDCCA Time = 14680
[  318.400000] PD count = 1fc50000
[  318.404000] MDRDY Count = 19a0000
[  318.508000] Ser                       ,::E  R  , stat=0x00000003
[  318.520000] Ser                       ,::E  R  , stat=0x00000001
[  318.532000] cut_through_token_list_destroy(): 86654708,86654708
[  318.548000] cut_through_token_list_destroy(): 86654718,86654718
[  318.560000] Use alloc_skb
[  318.568000] RX[0] DESC ac7b2000 size = 8192
[  318.576000] RX[1] DESC ad128000 size = 8192
[  318.588000] cut_through_init(): ct sw token number = 4095
[  318.596000] cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
[  318.612000] cut_through_token_list_init(): 86654708,86654708
[  318.624000] cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
[  318.640000] cut_through_token_list_init(): 86654718,86654718
[  318.956000] mtd_isr,::E  R  , status=0x00000010
[  318.968000] RTMPHandleInterruptSerDump,::E  R        , MCU_COM_REG1=0x00000000
[  318.980000] RTMPHandleInterruptSerDump,::E  R        , 0x820681e4=0x00000004
[  318.992000] RTMPHandleInterruptSerDump,::E  R        , 0x820681e8=0x00000000
[  319.004000] RTMPHandleInterruptSerDump,::E  R        , 0x820682e8=0x00000000
[  319.016000] RTMPHandleInterruptSerDump,::E  R        , 0x820682ec=0x00000000
[  319.032000] RTMPHandleInterruptSerDump,::E  R        , 0x820f20fc=0x00000000
[  319.044000] ====Bnad0 Enable = 1====
[  319.052000] Channel Busy Time = 535527
[  319.056000] Primary Channel Busy Time = 532905
[  319.068000] OBSS Air Time = 501698
[  319.072000] My Tx Air Time = 2503
[  319.080000] My Rx Air Time = 0
[  319.084000] EDCCA Time = 16599
[  319.092000] PD count = 23d60000
[  319.100000] MDRDY Count = 19f0000
[  319.104000] Ser                       ,::E  R  , stat=0x00000002
[  319.120000] mtd_isr,::E  R  , status=0x00000020
[  319.128000] RTMPHandleInterruptSerDump,::E  R        , MCU_COM_REG1=0x00000000
[  319.140000] RTMPHandleInterruptSerDump,::E  R        , 0x820681e4=0x00000004
[  319.156000] RTMPHandleInterruptSerDump,::E  R        , 0x820681e8=0x00000000
[  319.168000] RTMPHandleInterruptSerDump,::E  R        , 0x820682e8=0x00000000
[  319.180000] RTMPHandleInterruptSerDump,::E  R        , 0x820682ec=0x00000000
[  319.192000] RTMPHandleInterruptSerDump,::E  R        , 0x820f20fc=0x00000000
[  319.204000] ====Bnad0 Enable = 1====
[  319.212000] Channel Busy Time = 535527
[  319.220000] Primary Channel Busy Time = 532905
[  319.228000] OBSS Air Time = 501698
[  319.236000] My Tx Air Time = 2503
[  319.244000] My Rx Air Time = 0
[  319.248000] EDCCA Time = 16599
[  319.256000] PD count = 23d60000
[  319.260000] MDRDY Count = 19f0000
[  319.268000] Ser                       ,::E  R  , stat=0x00000004
[  319.280000] SerTimeLogDump,::E  R  , Time[0](us)=280644029
[  319.292000] SerTimeLogDump,::E  R  , Time[1](us)=280903882
[  319.300000] SerTimeLogDump,::E  R  , Time[2](us)=280915839
[  319.300000] BeaconTransmitRequired():Bcn Tx is blocked, wdev_type=2, ATE_ON=0
[  319.300000] BeaconTransmitRequired():Bcn Tx is blocked, wdev_type=8, ATE_ON=0
[  319.300000] BeaconTransmitRequired():Bcn Tx is blocked, wdev_type=8, ATE_ON=0
[  319.300000] BeaconTransmitRequired():Bcn Tx is blocked, wdev_type=8, ATE_ON=0
[  319.300000] BeaconTransmitRequired():Bcn Tx is blocked, wdev_type=8, ATE_ON=0
[  319.384000] SerTimeLogDump,::E  R  , Time[3](us)=281338940
[  319.396000] SerTimeLogDump,::E  R  , Time[4](us)=281501662
[  319.404000] SerTimeLogDump,::E  R  , Time[5](us)=281501662
[  319.416000] SerTimeLogDump,::E  R  , Time[6](us)=281664139
[  319.428000] SerTimeLogDump,::E  R  , Time[7](us)=281664159
[  319.436000] SerTimeLogDump,::E  R  , T1 - T0(us)=259853
[  319.448000] SerTimeLogDump,::E  R  , T2 - T1(us)=11957
[  319.460000] SerTimeLogDump,::E  R  , T3 - T2(us)=423101
[  319.468000] SerTimeLogDump,::E  R  , T4 - T3(us)=162722
[  319.480000] SerTimeLogDump,::E  R  , T5 - T4(us)=0
[  319.488000] SerTimeLogDump,::E  R  , T6 - T5(us)=162477
[  319.500000] SerTimeLogDump,::E  R  , T7 - T6(us)=20
[  319.508000] SerTimeLogDump,::E  R  , Total Time(us)=1020130
[  542.172000] mtd_isr,::E  R  , status=0x00000005
[  542.180000] RTMPHandleInterruptSerDump,::E  R        , MCU_COM_REG1=0x00000000
[  542.196000] RTMPHandleInterruptSerDump,::E  R        , 0x820681e4=0x00000004
[  542.208000] RTMPHandleInterruptSerDump,::E  R        , 0x820681e8=0x00000000
[  542.220000] RTMPHandleInterruptSerDump,::E  R        , 0x820682e8=0x00000000
[  542.232000] RTMPHandleInterruptSerDump,::E  R        , 0x820682ec=0x00000000
[  542.248000] RTMPHandleInterruptSerDump,::E  R        , 0x820f20fc=0x00000000
[  542.260000] ====Bnad0 Enable = 1====
[  542.268000] Channel Busy Time = 465485
[  542.272000] Primary Channel Busy Time = 460531
[  542.284000] OBSS Air Time = 554879
[  542.288000] My Tx Air Time = 5007
[  542.296000] My Rx Air Time = 0
[  542.300000] EDCCA Time = 15485
[  542.308000] PD count = 21940000
[  542.316000] MDRDY Count = 17f0000
[  542.320000] Ser                       ,::E  R  , stat=0x00000000
[  542.336000] mtd_isr,::E  R  , status=0x00000008
[  542.348000] RTMPHandleInterruptSerDump,::E  R        , MCU_COM_REG1=0x00000000
[  542.360000] RTMPHandleInterruptSerDump,::E  R        , 0x820681e4=0x00000004
[  542.372000] RTMPHandleInterruptSerDump,::E  R        , 0x820681e8=0x00000000
[  542.384000] RTMPHandleInterruptSerDump,::E  R        , 0x820682e8=0x00000000
[  542.400000] RTMPHandleInterruptSerDump,::E  R        , 0x820682ec=0x00000000
[  542.412000] RTMPHandleInterruptSerDump,::E  R        , 0x820f20fc=0x00000000
[  542.424000] ====Bnad0 Enable = 1====
[  542.432000] Channel Busy Time = 465485
[  542.440000] Primary Channel Busy Time = 460531
[  542.448000] OBSS Air Time = 554879
[  542.456000] My Tx Air Time = 5007
[  542.460000] My Rx Air Time = 0
[  542.468000] EDCCA Time = 15485
[  542.472000] PD count = 21940000
[  542.480000] MDRDY Count = 17f0000
[  542.580000] Ser                       ,::E  R  , stat=0x00000003
[  542.592000] Ser                       ,::E  R  , stat=0x00000001
[  542.608000] cut_through_token_list_destroy(): 86654708,86654708
[  542.620000] cut_through_token_list_destroy(): 86654718,86654718
[  542.632000] Use alloc_skb
[  542.640000] RX[0] DESC ac7b2000 size = 8192
[  542.652000] RX[1] DESC ad128000 size = 8192
[  542.660000] cut_through_init(): ct sw token number = 4095
[  542.672000] cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
[  542.688000] cut_through_token_list_init(): 86654708,86654708
[  542.700000] cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
[  542.712000] cut_through_token_list_init(): 86654718,86654718
[  543.032000] mtd_isr,::E  R  , status=0x00000010
[  543.040000] RTMPHandleInterruptSerDump,::E  R        , MCU_COM_REG1=0x00000000
[  543.052000] RTMPHandleInterruptSerDump,::E  R        , 0x820681e4=0x00000004
[  543.064000] RTMPHandleInterruptSerDump,::E  R        , 0x820681e8=0x00000000
[  543.076000] RTMPHandleInterruptSerDump,::E  R        , 0x820682e8=0x00000000
[  543.092000] RTMPHandleInterruptSerDump,::E  R        , 0x820682ec=0x00000000
[  543.104000] RTMPHandleInterruptSerDump,::E  R        , 0x820f20fc=0x00000000
[  543.116000] ====Bnad0 Enable = 1====
[  543.124000] Channel Busy Time = 465485
[  543.132000] Primary Channel Busy Time = 460531
[  543.140000] OBSS Air Time = 554879
[  543.148000] My Tx Air Time = 5007
[  543.152000] My Rx Air Time = 0
[  543.160000] EDCCA Time = 15485
[  543.164000] PD count = 21940000
[  543.172000] MDRDY Count = 17f0000
[  543.180000] Ser                       ,::E  R  , stat=0x00000002
[  543.192000] mtd_isr,::E  R  , status=0x00000020
[  543.200000] RTMPHandleInterruptSerDump,::E  R        , MCU_COM_REG1=0x00000000
[  543.216000] RTMPHandleInterruptSerDump,::E  R        , 0x820681e4=0x00000004
[  543.228000] RTMPHandleInterruptSerDump,::E  R        , 0x820681e8=0x00000000
[  543.240000] RTMPHandleInterruptSerDump,::E  R        , 0x820682e8=0x00000000
[  543.252000] RTMPHandleInterruptSerDump,::E  R        , 0x820682ec=0x00000000
[  543.268000] RTMPHandleInterruptSerDump,::E  R        , 0x820f20fc=0x00000000
[  543.280000] ====Bnad0 Enable = 1====
[  543.288000] Channel Busy Time = 597831
[  543.292000] Primary Channel Busy Time = 596259
[  543.304000] OBSS Air Time = 496188
[  543.308000] My Tx Air Time = 1503
[  543.316000] My Rx Air Time = 0
[  543.320000] EDCCA Time = 20519
[  543.328000] PD count = 2c6d0000
[  543.332000] MDRDY Count = 2100000
[  543.340000] Ser                       ,::E  R  , stat=0x00000004
[  543.352000] SerTimeLogDump,::E  R  , Time[0](us)=504716742
[  543.364000] SerTimeLogDump,::E  R  , Time[1](us)=504976758
[  543.376000] SerTimeLogDump,::E  R  , Time[2](us)=504988716
[  543.376000] BeaconTransmitRequired():Bcn Tx is blocked, wdev_type=2, ATE_ON=0
[  543.376000] BeaconTransmitRequired():Bcn Tx is blocked, wdev_type=8, ATE_ON=0
[  543.376000] BeaconTransmitRequired():Bcn Tx is blocked, wdev_type=8, ATE_ON=0
[  543.376000] BeaconTransmitRequired():Bcn Tx is blocked, wdev_type=8, ATE_ON=0
[  543.376000] BeaconTransmitRequired():Bcn Tx is blocked, wdev_type=8, ATE_ON=0
[  543.456000] SerTimeLogDump,::E  R  , Time[3](us)=505411536
[  543.468000] SerTimeLogDump,::E  R  , Time[4](us)=505574244
[  543.480000] SerTimeLogDump,::E  R  , Time[5](us)=505574244
[  543.488000] SerTimeLogDump,::E  R  , Time[6](us)=505736678
[  543.500000] SerTimeLogDump,::E  R  , Time[7](us)=505736695
[  543.512000] SerTimeLogDump,::E  R  , T1 - T0(us)=260016
[  543.520000] SerTimeLogDump,::E  R  , T2 - T1(us)=11958
[  543.532000] SerTimeLogDump,::E  R  , T3 - T2(us)=422820
[  543.544000] SerTimeLogDump,::E  R  , T4 - T3(us)=162708
[  543.552000] SerTimeLogDump,::E  R  , T5 - T4(us)=0
[  543.564000] SerTimeLogDump,::E  R  , T6 - T5(us)=162434
[  543.572000] SerTimeLogDump,::E  R  , T7 - T6(us)=17
[  543.584000] SerTimeLogDump,::E  R  , Total Time(us)=1019953