AML2-17GPファームウェア投入メモ

WebUIからOpenWrtのsysupgradeイメージを投入できるよう仕立てたが、Flashに書き込み終わって再起動された際にmtdsplitが機能せずrootfsパーティションが作られず、その結果RootFSを見つけられずpanicしてbootloopを起こした。

...
[    0.970338] Initializing rtl838x_nor_driver
[    0.975193] SPI resource base is b8001200
[    0.979777] Address mode is 4 bytes
[    0.983749] rtl838x_nor_init called
[    0.991205] rtl838x-nor b8001200.spi: mx25l25635e (32768 Kbytes)
[    0.998149] 7 fixed-partitions partitions found on MTD device rtl838x_nor
[    1.005833] Creating 7 MTD partitions on "rtl838x_nor":
[    1.011779] 0x000000000000-0x000000080000 : "u-boot"
[    1.019751] 0x000000080000-0x000000090000 : "u-boot-env"
[    1.028148] 0x000000090000-0x0000000a0000 : "u-boot-env2"
[    1.036732] 0x0000000a0000-0x0000004a0000 : "jffs2_cfg"
[    1.045112] 0x0000004a0000-0x0000005a0000 : "jffs2_log"
[    1.053442] 0x0000005a0000-0x0000012d0000 : "firmware"
[    1.084954] 0x0000012d0000-0x000002000000 : "runtime2"
...
[   11.629366] /dev/root: Can't open blockdev
[   11.634091] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[   11.642523] Please append a correct "root=" boot option; here are the available partitions:
[   11.651950] 0100            4096 ram0
[   11.651961]  (driver?)
[   11.658860] 0101            4096 ram1
[   11.658869]  (driver?)
[   11.665812] 0102            4096 ram2
[   11.665823]  (driver?)
[   11.672774] 0103            4096 ram3
[   11.672785]  (driver?)
[   11.679744] 0104            4096 ram4
[   11.679754]  (driver?)
[   11.686659] 0105            4096 ram5
[   11.686668]  (driver?)
[   11.693612] 0106            4096 ram6
[   11.693622]  (driver?)
[   11.700580] 0107            4096 ram7
[   11.700591]  (driver?)
[   11.707488] 0108            4096 ram8
[   11.707497]  (driver?)
[   11.714396] 0109            4096 ram9
[   11.714406]  (driver?)
[   11.721350] 010a            4096 ram10
[   11.721360]  (driver?)
[   11.728415] 010b            4096 ram11
[   11.728425]  (driver?)
[   11.735420] 010c            4096 ram12
[   11.735429]  (driver?)
[   11.742424] 010d            4096 ram13
[   11.742434]  (driver?)
[   11.749474] 010e            4096 ram14
[   11.749484]  (driver?)
[   11.756541] 010f            4096 ram15
[   11.756551]  (driver?)
[   11.763553] 1f00             512 mtdblock0
[   11.763563]  (driver?)
[   11.770954] 1f01              64 mtdblock1
[   11.770962]  (driver?)
[   11.778356] 1f02              64 mtdblock2
[   11.778365]  (driver?)
[   11.785802] 1f03            4096 mtdblock3
[   11.785812]  (driver?)
[   11.793263] 1f04            1024 mtdblock4
[   11.793273]  (driver?)
[   11.800717] 1f05           13504 mtdblock5
[   11.800727]  (driver?)
[   11.808171] 1f06           13504 mtdblock6
[   11.808181]  (driver?)
[   11.815571] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[   11.824795] Rebooting in 1 seconds..
[   12.824155] System restart.

恐らく、WebUIから投げ込まれた際uImageのプロパティをチェックしており、ヘッダ内に格納されているデータサイズに従ってそのサイズをFlashに書き込むと思われる。

realtek targetのu-boot-env関連メモ

現状realtek targetに存在するRealtek SoCを搭載するスイッチではU-Bootの環境変数用パーティションが二つ存在している。

  • “BDINFO”
  • “SYSINFO”

このうち1つ目は通常のramipsやath79など他と同様のU-Boot環境変数を抱えるパーティションであるが、2つ目はブートするパーティションを切り替える変数などを抱える、1つ目とは異なる環境変数用パーティションとなっている。
この記事を書いた時点では、OpenWrtでは1つ目を “u-boot-env”、2つ目を “u-boot-env2” と名付け、またfw_printenvのほかに2つ目のパーティション用に “fw_printsys” / “fw_setsys” コマンド(内部的にはconfigを指定してfw_printenv/fw_setenvを呼び出す)により設定の変更が行えるようにする方針の模様(commit)。また、1つ目のパーティションはread-onlyでも良いが、2つ目はブートするパーティションを切り替えられるようread-onlyは付けない方針の模様(commit)。

WF1200CR

東久留米のハードオフにふらっと行った際、偶然見つけたもの。ACアダプタ無しだったが安かったので衝動的に購入してしまった。
LANポートはどちらもFEまでであるものの、WG1200CRとの類似性などで興味はあった。
弄っていくのでメモ。

Switch

未確認

zone WAN LAN
port
(WF1200CR)
WAN LAN
port
(QCA9561)
port? (eth0) port1 (eth1)

MAC

  • LAN: 98:F1:99:xx:xx:64 (u-boot-env, lanmac (text))
  • WAN: 98:F1:99:xx:xx:65 (u-boot-env, wanmac (text))
  • 2.4G: 98:F1:99:xx:xx:66 (u-boot-env, wlan24mac (text))
  • 5G: 98:F1:99:xx:xx:67 (u-boot-env, wlan5mac (text))

U-Boot

WG1200CR同様、autobootをCtrl+Cで止めた場合、192.168.1.1でtelnetdがパスワード無しで開始される。ただし、利用できるコマンドは本来のコマンド群のうち3種類 (boot, bootm, tp) のみ。
SPI Flashライタでざっくり読み込んでU-Bootのパスワード取り出し。

  • help
    ath> help
    ?       - alias for 'help'
    autoscr - run script from memory
    base    - print or set address offset
    bdinfo  - print Board Info structure
    boot    - boot default, i.e., run 'bootcmd'
    bootd   - boot default, i.e., run 'bootcmd'
    bootelf - Boot from an ELF image in memory
    bootm   - boot application image from memory
    bootp   - boot image via network using BootP/TFTP protocol
    bootvx  - Boot vxWorks from an ELF image
    clearenv - clear environment variables to persistent storage
    cmp     - memory compare
    coninfo - print console devices and information
    cp      - memory copy
    crc32   - checksum calculation
    decrypt   - memory decrypt
    dhcp    - invoke DHCP client to obtain IP/boot params
    echo    - echo args to console
    erase   - erase FLASH memory
    ethreg  - Switch/PHY Reg rd/wr  utility
    exit    - exit script
    flinfo  - print FLASH memory information
    go      - start application at address 'addr'
    help    - print online help
    httpsvr - Start HTTP server to load image
    iminfo  - print header information for application image
    itest   - return true/false on integer compare
    loop    - infinite loop on address range
    mct   - simple RAM test
    md      - memory display
    mii     - MII utility commands
    mm      - memory modify (auto-incrementing)
    mtest   - simple RAM test
    mw      - memory write (fill)
    nfs     - boot image via network using NFS protocol
    nm      - memory modify (constant address)
    pci     - list and access PCI Configuration Space
    ping    - send ICMP ECHO_REQUEST to network host
    pll cpu-pll dither ddr-pll dither - Set to change CPU & DDR speed
    pll erase
    pll get
    printenv- print environment variables
    progmac - Set ethernet MAC addresses
    progmac2 - Set ethernet MAC addresses
    protect - enable or disable FLASH write protection
    rarpboot- boot image via network using RARP/TFTP protocol
    reset   - Perform RESET of the CPU
    run     - run commands in an environment variable
    saveenv - save environment variables to persistent storage
    setenv  - set environment variables
    sleep   - delay execution for some time
    stop_boot - stop boot test
    telnetd - start telnetd
    test    - minimal test like /bin/sh
    tftpboot- boot image via network using TFTP protocol
    tp      - test program
    version - print monitor version
    

  • version
    ath> version
    
    U-Boot 1.1.4 (Feb 23 2017 - 20:01:13)
    

  • ping $serverip
    ath> ping $serverip
    Trying eth0
    eth0 link down
    FAIL
    Trying eth1
    enet1 port4 up
    dup 1 speed 1000
    Using eth1 device
    host 192.168.1.10 is alive
    

  • tftpboot
    ath> tftpboot
    Trying eth0
    eth0 link down
    FAIL
    Trying eth1
    enet1 port4 up
    *** Warning: no boot file name; using '0101A8C0.img'
    Using eth1 device
    TFTP from server 192.168.1.10; our IP address is 192.168.1.1
    Filename '0101A8C0.img'.
    Load address: 0x81000000
    Loading: *
    Abort
    

  • printenv
    ath> printenv
    bootargs=console=ttyS0,115200 root=31:02 rootfstype=jffs2 init=/sbin/init mtdparts=ath-nor0:256k(u-boot),64k(u-boot-env),6336k(rootfs),1408k(uImage),64k(mib0),64k(ART)
    bootcmd=bootm 0x9f070040
    bootdelay=2
    baudrate=115200
    ethaddr=0x00:0xaa:0xbb:0xcc:0xdd:0xee
    ipaddr=192.168.1.1
    serverip=192.168.1.10
    seattle=setenv bootcmd 'bootm 0x9f070040' && saveenv
    bc=ap151-8M
    lof=tftp 0x80060000 openwrt-ar71xx-generic-${bc}-rootfs-squashfs.bin && erase 0x9f050000 +${filesize} && cp.b $fileaddr 0x9f050000 $filesize
    lok=tftp 0x80060000 openwrt-ar71xx-generic-${bc}-kernel.bin && erase 0x9f6e0000 +${filesize} && cp.b $fileaddr 0x9f6e0000 $filesize
    lqsdk=setenv bootcmd 'bootm 0x9f6e0000' && saveenv && run lof && run lok
    telnetd=1
    dir=
    lu=tftp 0x80060000 ${dir}u-boot.bin&&erase 0x9f000000 +$filesize&&cp.b $fileaddr 0x9f000000 $filesize
    lf=tftp 0x80060000 ${dir}ap151${bc}-jffs2&&erase 0x9f050000 +0x630000&&cp.b $fileaddr 0x9f050000 $filesize
    lk=tftp 0x80060000 ${dir}vmlinux${bc}.lzma.uImage&&erase 0x9f680000 +$filesize&&cp.b $fileaddr 0x9f680000 $filesize
    mfcmode=0
    calmode=0
    stdin=serial
    stdout=serial
    stderr=serial
    ethact=eth1
    
    Environment size: 1124/32764 bytes
    

  • bdinfo
    ath> bdinfo
    boot_params = 0x87F67FB0
    memstart    = 0x80000000
    memsize     = 0x08000000
    flashstart  = 0x9F000000
    flashsize   = 0x00800000
    flashoffset = 0x000379F8
    ethaddr     = 00:AA:BB:CC:DD:EE
    ip_addr     = 192.168.1.1
    baudrate    = 115200 bps
    

  • mii device
    ath> mii device
    MII devices: 'eth0' 'eth1'
    Current device: 'eth0'
    

  • md.l 0x18050048 1
    ath> md.l 0x18050048 1
    18050048: 03000101    ....
    

  • md.l 0x18070000 1
    ath> md.l 0x18070000 1
    18070000: 00003100    ..1.
    

  • tp ?
    ath> tp ?
    ?: Command not found.
    

  • tp btn wps
    ath> tp btn wps
    wps button released
    
    ath> tp btn wps
    wps button pressed
    

  • tp lan/wan
    ath> tp lan
    tp lan m=t    turn test
    [#ext | int]                   ... ext:external, int:phy
    [#p=4]                         ... lan port number
    [#pn9 | all0 | all1]           ... data pattern
    tp lan m=p    pulse test
    [#p=4]                         ... lan port number
    [sp={#auto | 100 | 10}]        ... speed
    [#full | half]                 ... duplex
    [#pn9 | all0 | all1]           ... data pattern
    (# is default value.)
    (send packet continually and telnet will disconnect)
    (ctrlc support for console to stop send packet)
    ath> tp wan
    tp wan m=t    turn test
    [#ext | int]                   ... ext:external, int:phy
    [#pn9 | all0 | all1]           ... data pattern
    tp wan m=p    pulse test
    [sp={#auto | 100 | 10}]        ... speed
    [#full | half]                 ... duplex
    [#pn9 | all0 | all1]           ... data pattern
    (# is default value.)
    (send packet continually and telnet will disconnect)
    (ctrlc support for console to stop send packet)
    

  • tp link
    ath> tp link
    WAN : not Link
    LAN : not Link
    LAN2 : not Link
    LAN3 : not Link
    LAN4 : 100Mbps Full Duplex
    

Kernel

コンソールにパスワードが掛けられており、failsafeも潰されているか元々無い為ログイン不可。
ファームウェアはseama形式に見えるがブートはuImage。

  • bootlog
    U-Boot 1.1.4 (Feb 23 2017 - 20:01:13)
    
    SVN revision: 1378
    ap151 - Dragonfly 1.0DRAM:
    sri
    ath_ddr_initial_config(278): (ddr2 init)
    ath_sys_frequency: cpu 775 ddr 650 ahb 258
    Tap values = (0xf, 0xf, 0xf, 0xf)
    128 MB
    Top of RAM usable for U-Boot at: 88000000
    Reserving 304k for U-Boot at: 87fb0000
    Reserving 160k for malloc() at: 87f88000
    Reserving 44 Bytes for Board Info at: 87f87fd4
    Reserving 36 Bytes for Global Data at: 87f87fb0
    Reserving 128k for boot params() at: 87f67fb0
    Stack Pointer at: 87f67f98
    Now running in RAM - U-Boot at: 87fb0000
    Flash Manuf Id 0xc2, DeviceId0 0x20, DeviceId1 0x17
    flash size 8MB, sector count = 128
    Flash:  8 MB
    Power up PLL with outdiv = 0 then switch to 3
    In:    serial
    Out:   serial
    Err:   serial
    Net:   ath_gmac_enet_initialize...
    No valid address in Flash. Using fixed address
    No valid address in Flash. Using fixed address
    ath_gmac_enet_initialize: reset mask:c02200
    Dragonfly----> S27 PHY *
    : cfg1 0x80000000 cfg2 0x7114
    eth0: 00:03:7f:09:0b:ad
    athrs27_phy_setup ATHR_PHY_CONTROL 0 :1000
    athrs27_phy_setup ATHR_PHY_SPEC_STAUS 0 :10
    eth0 up
    ATHRS27: resetting s27
    ATHRS27: s27 reset done
    : cfg1 0x800c0000 cfg2 0x7214
    eth1: 00:03:7f:09:0b:ad
    athrs27_phy_setup ATHR_PHY_CONTROL 1 :800
    athrs27_phy_setup ATHR_PHY_SPEC_STAUS 1 :50
    athrs27_phy_setup ATHR_PHY_CONTROL 2 :800
    athrs27_phy_setup ATHR_PHY_SPEC_STAUS 2 :10
    athrs27_phy_setup ATHR_PHY_CONTROL 3 :800
    athrs27_phy_setup ATHR_PHY_SPEC_STAUS 3 :50
    athrs27_phy_setup ATHR_PHY_CONTROL 4 :1000
    athrs27_phy_setup ATHR_PHY_SPEC_STAUS 4 :10
    eth1 up
    eth0, eth1
    Setting 0x181162c0 to 0x82
    Trying eth0
    eth0 link down
    FAIL
    Trying eth1
    eth1 link down
    FAIL
    Using eth0 device
    listen from server 192.168.1.10; our IP address is 192.168.1.1
    monitor_packet_result 0
    Hit any key to stop autoboot:  0
    ## Booting image at 9f070040 ...
    Image Name:   MIPS Seattle Linux-3.3.8
    Created:      2017-03-16  11:33:45 UTC
    Image Type:   MIPS Linux Multi-File Image (lzma compressed)
    Data Size:    1068004 Bytes =  1 MB
    Load Address: 80060000
    Entry Point:  80060000
    Contents:
    Image 0:  1067996 Bytes =  1 MB
    Verifying Checksum at 0x9f070080 ...OK
    Uncompressing Multi-File Image ... OK
    No initrd
    ## Transferring control to Linux (at address 80060000) ...
    ## Giving linux memsize in bytes, 134217728
    
    Starting kernel ...
    
    [    0.000000] Linux version 3.3.8 (kevin_huang@ub1204) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Thu Mar 16 19:16:17 CST 2017
    [    0.000000] bootconsole [early0] enabled
    [    0.000000] CPU revision is: 00019750 (MIPS 74Kc)
    [    0.000000] SoC: Qualcomm Atheros QCA956X rev 0
    [    0.000000] Clocks: CPU:775.000MHz, DDR:650.000MHz, AHB:258.333MHz, Ref:25.000MHz
    [    0.000000] Determined physical RAM map:
    [    0.000000]  memory: 08000000 @ 00000000 (usable)
    [    0.000000] Initrd not found or empty - disabling initrd
    [    0.000000] Zone PFN ranges:
    [    0.000000]   Normal   0x00000000 -> 0x00008000
    [    0.000000] Movable zone start PFN for each node
    [    0.000000] Early memory PFN ranges
    [    0.000000]     0: 0x00000000 -> 0x00008000
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
    [    0.000000] Kernel command line: board=AP151 console=ttyS0,115200 mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env),64k@256k(devdata),64k(devconf),64k(misc),7680k(upgrade),64k(art),8m@0(rootfs)ro,8m@0(firmware)ro root=/dev/mtdblock7 init=/sbin/init noinitrd crashkernel=10M@20M
    [    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] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
    [    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
    [    0.000000] Writing ErrCtl register=00000000
    [    0.000000] Readback ErrCtl register=00000000
    [    0.000000] Memory: 126280k/131072k available (2263k kernel code, 4792k reserved, 582k data, 188k init, 0k highmem)
    [    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] NR_IRQS:83
    [    0.000000] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
    [    0.060000] pid_max: default: 32768 minimum: 301
    [    0.060000] Mount-cache hash table entries: 512
    [    0.060000] Performance counters: mips/74K PMU enabled, 4 32-bit counters available to each CPU, irq 13
    [    0.070000] NET: Registered protocol family 16
    [    0.080000] gpiochip_add: registered GPIOs 0 to 22 on device: ath79
    [    0.080000] MIPS: machine is Qualcomm Atheros AP151 reference board
    [    0.090000] AP151 Reference Board Id is 18
    [    0.090000] registering PCI controller with io_map_base unset
    [    0.100000]
    [    0.100000] WLAN firmware dump buffer allocation of 2097152 bytes @ address 0x87a00000- SUCCESS !!!
    [    0.110000] ar71xx: invalid MDIO id 1
    [    0.510000] bio: create slab  at 0
    [    0.520000] PCI host bridge to bus 0000:00
    [    0.520000] pci_bus 0000:00: root bus resource [mem 0x12000000-0x13ffffff]
    [    0.530000] pci_bus 0000:00: root bus resource [io  0x0001]
    [    0.530000] pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
    [    0.540000] pci 0000:00:00.0: using irq 40 for pin 1
    [    0.540000] Switching to clocksource MIPS
    [    0.550000] NET: Registered protocol family 2
    [    0.550000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.550000] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    [    0.560000] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.560000] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.570000] TCP reno registered
    [    0.570000] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.580000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.580000] NET: Registered protocol family 1
    [    0.600000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.600000] msgmni has been set to 246
    [    0.610000] io scheduler noop registered
    [    0.610000] io scheduler deadline registered (default)
    [    0.720000] HDLC line discipline maxframe=4096
    [    0.720000] N_HDLC line discipline registered.
    [    0.730000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
    [    0.750000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
    [    0.760000] console [ttyS0] enabled, bootconsole disabled
    [    0.760000] console [ttyS0] enabled, bootconsole disabled
    [    0.770000] m25p80 spi0.0: found mx25l6405d, expected m25p80
    [    0.780000] m25p80 spi0.0: mx25l6405d (8192 Kbytes)
    [    0.780000] 9 cmdlinepart partitions found on MTD device spi0.0
    [    0.790000] spi0.0: the flash image has SEAMA header
    [    0.800000] spi0.0: squashfs filesystem found at offset 0x00180060
    [    0.800000] spi0.0: the flash image has SEAMA header
    [    0.810000] Creating 10 MTD partitions on "spi0.0":
    [    0.810000] 0x000000000000-0x000000040000 : "u-boot"
    [    0.820000] 0x000000040000-0x000000050000 : "u-boot-env"
    [    0.830000] 0x000000040000-0x000000050000 : "devdata"
    [    0.830000] 0x000000050000-0x000000060000 : "devconf"
    [    0.840000] 0x000000060000-0x000000070000 : "misc"
    [    0.840000] 0x000000070000-0x0000007f0000 : "upgrade"
    [    0.850000] 0x0000007f0000-0x000000800000 : "art"
    [    0.860000] 0x000000180060-0x0000006ce060 : "rootfs"
    [    0.860000] mtd: partition "rootfs" set to be root filesystem
    [    0.870000] 0x000000070040-0x0000006ce060 : "firmware"
    [    0.880000] 0x000000000000-0x000000800000 : "flash"
    [    0.900000] ag71xx_mdio: probed
    [    1.030000] ag71xx_mdio: probed
    [    1.030000] eth0: Atheros AG71xx at 0xb9000000, irq 4
    [    1.590000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.1:00 [uid=004dd042, driver=Generic PHY]
    [    1.600000] eth1: Atheros AG71xx at 0xba000000, irq 5
    [    2.150000] eth1: Found an AR934X built-in switch
    [    3.190000] PPP generic driver version 2.4.2
    [    3.190000] PPP BSD Compression module registered
    [    3.200000] PPP MPPE Compression module registered
    [    3.200000] NET: Registered protocol family 24
    [    3.210000] Netfilter messages via NETLINK v0.30.
    [    3.210000] nf_conntrack version 0.5.0 (1973 buckets, 7892 max)
    [    3.220000] xt_time: kernel timezone is -0000
    [    3.220000] ip_tables: (C) 2000-2006 Netfilter Core Team
    [    3.230000] TCP cubic registered
    [    3.230000] NET: Registered protocol family 17
    [    3.240000] Ebtables v2.0 registered
    [    3.240000] 8021q: 802.1Q VLAN Support v1.8
    [    3.240000] ### of_selftest(): No testcase data in device tree; not running tests
    [    3.260000] VFS: Mounted root (squashfs filesystem) readonly on device 31:7.
    [    3.270000] Freeing unused kernel memory: 188k freed
    starting pid 936, tty '': '/etc/init.d/rcS'
    [/etc/init.d/S10init.sh]
    [/etc/init.d/S15udevd.sh]
    [    4.050000] udevd (947): /proc/947/oom_adj is deprecated, please use /proc/947/oom_score_adj instead.
    [/etc/init.d/S19init.sh]
    [/etc/init.d/S19wifi.sh]
    System is starting
    377+0 records in
    377+0 records out
    377+0 records in
    377+0 records out
    [    5.010000] mem_manager: module license 'unspecified' taints kernel.
    [    5.020000] Disabling lock debugging due to kernel taint
    [    5.030000] __mm_init_module
    [    5.290000] ath_hal: 0.9.17.1 (AR9380, REGOPS_FUNC, PRIVATE_DIAG, WRITE_EEPROM, 11D)
    [    5.340000] ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved
    [    5.400000] ath_dfs: Version 2.0.0
    [    5.400000] Copyright (c) 2005-2006 Atheros Communications, Inc. All Rights Reserved
    [    5.420000] ath_spectral: Version 2.0.0
    [    5.420000] Copyright (c) 2005-2009 Atheros Communications, Inc. All Rights Reserved
    [    5.430000] SPECTRAL module built on Mar 16 2017 19:24:29
    [    5.460000] ath_tx99: Version 2.0
    [    5.460000] Copyright (c) 2010 Atheros Communications, Inc, All Rights Reserved
    [    5.650000] ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved
    [    6.910000] __ath_attach: Set global_scn[0]
    [    6.910000] *** All the minfree values should be <= ATH_TXBUF-32, otherwise default value will be used instead ***
    [    6.920000] ACBKMinfree = 48
    [    6.930000] ACBEMinfree = 32
    [    6.930000] ACVIMinfree = 16
    [    6.930000] ACVOMinfree = 0
    [    6.930000] CABMinfree = 48
    [    6.940000] UAPSDMinfree = 0
    [    6.940000] ATH_TXBUF=2700
    [    6.950000] Enterprise mode: 0x03bda000
    [    6.960000] Restoring Cal data from FS
    [    6.960000] __adf_os_fs_read[42], Open File /tmp/wifi0.caldata SUCCESS!!
    [    6.970000] file system magic:-2054924042
    [    6.970000] super blocksize:4096
    [    6.970000] inode 1211
    [    6.980000] file size:12064
    [    6.980000] __adf_os_fs_read[55]: caldata data size mismatch, fsize=12064, cal_size=1088
    [    6.990000]
    [    6.990000] ART Version : -48.0.0
    [    6.990000] SW Image Version : -48.0.0.0.0
    [    7.000000] Board Revision :
    [    7.000000] ar9300_attach: nf_2_nom -110 nf_2_max -60 nf_2_min -125
    [    7.010000] SPECTRAL : get_capability not registered
    [    7.010000] HAL_CAP_PHYDIAG : Capable
    [    7.020000] SPECTRAL : Need to fix the capablity check for RADAR (spectral_attach : 237)
    [    7.030000] SPECTRAL : get_capability not registered
    [    7.030000] HAL_CAP_RADAR   : Capable
    [    7.040000] SPECTRAL : Need to fix the capablity check for SPECTRAL
    [    7.040000]  (spectral_attach : 242)
    [    7.050000] SPECTRAL : get_capability not registered
    [    7.050000] HAL_CAP_SPECTRAL_SCAN : Capable
    [    7.060000] SPECTRAL : get_tsf64 not registered
    [    7.060000] spectral_init_netlink 78 NULL SKB
    [    7.060000] SPECTRAL : No ADVANCED SPECTRAL SUPPORT
    [    7.070000] SPECTRAL :----- module attached
    [    7.070000] Green-AP : Green-AP : Attached
    [    7.070000]
    [    7.080000] ath_get_caps[6328] rx chainmask mismatch actual 3 sc_chainmak 0
    [    7.090000] ath_get_caps[6303] tx chainmask mismatch actual 3 sc_chainmak 0
    [    7.100000] band steering initialized for direct attach hardware
    [    7.110000] ieee80211_bsteering_attach: Band steering initialized
    [    7.120000] acfg_attach: 3149: Netlink socket created:86967600
    [    7.120000] ath_net80211_attach_dfs: debug message
    [    7.130000] ath_attach_dfs[12926] debug message
    [    7.130000] ath_attach_dfs[12978] dfsdomain 3
    [    7.140000] dfs_attach: event log enabled by default
    [    7.150000] SPECTRAL : module already attached
    [    7.160000] ath_attach: Set global_ic[1]..gloabl_ic ptr:865e1890
    [    7.160000] osif_wrap_attach:434 osif wrap attached
    [    7.170000] osif_wrap_devt_init:395 osif wrap dev table init done
    [    7.170000]  Wrap Attached: Wrap_com =86967e00 ic->ic_wrap_com=86967e00 &wrap_com->wc_devt=86967e00
    [    7.190000] ath_tx_paprd_init sc 87220000 PAPRD Enabled
    [    7.200000] wifi0: Atheros 956X: mem=0xb8100000, irq=47
    [    7.200000] ath_pci:  (Atheros/multi-bss)
    [    7.210000] ol_ath_pci_probe: PCI device id 0056 :0056
    [    7.210000] ath_pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
    [    7.220000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
    [    7.230000]  *********** Besra *************
    [    7.230000]
    [    7.230000] __ol_ath_attach() Allocated scn 86a00380
    [    7.240000] ath_pci 0000:00:00.0: ath DEBUG: sc=0x871df400
    [    7.240000]
    [    7.240000]  ol_ath_pci_configure : num_desired MSI set to 0
    [    7.250000]
    [    7.250000]  Using PCI Legacy Interrupt
    [    7.260000] chip_id 0xc chip_revision 0x0
    [    7.270000]
    [    7.270000]  CLOCK PLL skipped
    [    7.280000] HIF_PCIDeviceProbed: setting the target pll frac ffffffff intval ffffffff
    [    7.280000] HIF_PCIDeviceProbed: no frac provided, skipping pre-configuring PLL
    [    7.290000] __ol_ath_attach: dev name wifi1
    [    7.300000] ol_ath_attach interface_id 1
    [    7.300000] ol_ath_attach() BMI inited.
    [    7.310000] ol_ath_attach() BMI Get Target Info.
    [    7.320000] Chip id: 0xc, chip version: 0x1000000
    [    7.320000]
    [    7.320000]  CE WAR Disabled
    [    7.330000] NUM_DEV=1 FWMODE=0x2 FWSUBMODE=0x0 FWBR_BUF 0
    [    7.330000] ol_ath_attach() configure Target .
    [    7.340000]
    [    7.340000]  Target Version is 1000000
    [    7.340000]
    [    7.340000]  Flash Download Address  c0000
    [    7.350000] ol_transfer_bin_file: flash data file defined
    [    7.350000] ol_transfer_bin_file[3431] Get Caldata for wifi1.
    [    7.360000] __adf_os_fs_read[42], Open File /tmp/wifi1.caldata SUCCESS!!
    [    7.370000] file system magic:-2054924042
    [    7.370000] super blocksize:4096
    [    7.370000] inode 1212
    [    7.380000] file size:12064
    [    7.380000] qc98xx_verify_checksum: flash checksum passed: 0xd522
    [    7.390000] ol_transfer_bin_file 3492: Download Flash data len 12064
    [    7.390000] Board extended Data download address: 0x0
    [    7.420000]
    [    7.420000]  Board data initialized
    [    7.430000] ol_ath_download_firmware: Download OTP, flash download ADDRESS 0xc0000
    [    7.430000]
    [    7.430000]  Selecting  OTP binary for CHIP Version 0
    [    7.440000]   target version: 12  ,target type: 0x1000000
    [    7.450000]   ath otp bin file download address =0x1234
    [    7.530000] debug_message: rfwst value:0
    [    7.530000] ol_transfer_bin_file 3312: downloading file 0, Download data len 8964
    [    7.570000]
    [    7.570000]  First OTP send param 8000
    [    7.820000] ol_ath_download_firmware :First OTP download and Execute is good address:0x4800 return param 4660
    [    7.830000] ol_ath_download_firmware:##Board Id 18 , CHIP Id 0
    [    7.840000] ol_ath_download_firmware: BOARDDATA DOWNLOAD TO address 0xc0000
    [    7.840000]
    [    7.840000]  wifi1: Selecting board data file name boardData_2_0_QCA9888_5G_Y9582.bin
    [    7.850000] ol_transfer_bin_file: Board Data File download to address=0xc0000 file name=QCA9888/hw.2/boardData_2_0_QCA9888_5G_Y9582.bin
    [    7.870000] debug_message: rfwst value:0
    [    7.880000] ol_transfer_bin_file 3312: downloading file 3, Download data len 12064
    [    7.890000] Board extended Data download address: 0x0
    [    7.910000] ol_ath_download_firmware: Using 0x1234 for the remainder of init
    [    7.920000]
    [    7.920000]  Selecting  OTP binary for CHIP Version 0
    [    7.930000]   target version: 12  ,target type: 0x1000000
    [    7.930000]   ath otp bin file download address =0x1234
    [    7.950000] debug_message: rfwst value:0
    [    7.950000] ol_transfer_bin_file 3312: downloading file 0, Download data len 8964
    [    7.990000]
    [    7.990000]  [Flash] : Ignore Module param
    [    8.000000]
    [    8.000000]  Second otp download Param 10000
    [    8.260000] ol_ath_download_firmware : Second OTP download and Execute is good, param=0x0
    [    8.260000]
    [    8.260000]  Mission mode: Firmware CHIP Version 0
    [    8.400000] ol_swap_seg_alloc: Successfully allocated memory for SWAP size=262144
    [    8.420000] Swap: bytes_left to copy: fw:16; dma_page:61485
    [    8.430000] Swap: wrong length read:0
    [    8.430000] ol_swap_wlan_memory_expansion: Swap total_bytes copied: 200659 Target address 419530
    [    8.440000] scn=86a00380  target_write_addr=419530 seg_info=871ca210
    [    8.450000] ol_transfer_swap_struct:Code swap structure successfully downloaded for bin type =2
    [    8.460000] bin_filename=QCA9888/hw.2/athwlan.bin swap_filename=/lib/firmware/QCA9888/hw.2/athwlan.codeswap.bin
    [    8.470000] ol_transfer_bin_file: Downloading firmware file: QCA9888/hw.2/athwlan.bin
    [    8.830000] debug_message: rfwst value:0
    [    8.840000] ol_transfer_bin_file 3312: downloading file 1, Download data len 354424
    [   10.210000] ol_ath_attach() Download FW done.
    [   10.220000] ol_ath_attach() HT Create .
    [   10.220000] ol_ath_attach() HIF Claim.
    [   10.220000] ol_ath_attach() BMI Done.
    [   10.230000] ol_ath_attach 7542 host_enable 0 nss_nwifi_offload 0
    [   10.230000] ol_ath_set_default_tgt_config : AC Minfree buffer allocation through module param (umac.ko)
    [   10.240000]  OL_ACBKMinfree : 0
    [   10.250000]  OL_ACBEMinfree : 0
    [   10.250000]  OL_ACVIMinfree : 0
    [   10.250000]  OL_ACVOMinfree : 0
    [   10.260000] ol_ath_attach() WMI attached. wmi_handle 86ab0000
    [   10.270000] CE_recv_buf_enqueue 877 Populate last entry 512 for CE 5
    [   10.270000] CE_recv_buf_enqueue 886 CE 5 wi 511 dest_ptr 0x5f7e020 nbytes 0 recv_ctxt 0x85ec4840
    [   10.280000] Startup Mode-0 set
    [   10.280000]
    [   10.280000] <=== cfg max peer id 1056 ====>
    [   10.290000] HTC Service:0x0300 ep:1 TX flow control disabled
    [   10.300000] htt_peer_map_timer_init Enter pdev 85808000 hrtimer 8580c880
    [   10.300000]
    [   10.300000]  htt_alloc_peer_map_mem : Alloc Success : host q vaddr 85890000 paddr 5890000
    [   10.310000]
    [   10.310000]  htt_alloc_peer_map_mem : Flush Interval Configured to 256 pkts
    [   10.330000] CE_pkt_dl_len_set CE 4 Pkt download length 64
    [   10.330000] ol_txrx_pdev_attach: 2500 tx desc's allocated ; range starts from 854c0000
    [   10.340000] HTC Service:0x0100 ep:2 TX flow control disabled
    [   10.350000] wmi_service_ready_event_rx:  WMI UNIFIED SERVICE READY event
    [   10.360000] Firmware_Build_Number:99
    [   10.360000] num_rf_chain:0x00000002  ht_cap_info:0x0000085b  vht_cap_info:0x339979f2  vht_supp_mcs:0x0000fffa
    [   10.370000]
    [   10.370000]  RES CFG Support wmi_service_bitmap 9778
    [   10.380000]
    [   10.380000]  Sending Ext resource cfg: HOST PLATFORM as 1 and fw_feature_bitmap as 50 to TGT
    [   10.390000] ol_ath_service_ready_event: tt_support: 1
    [   10.390000] ol_ath_service_ready_event: periodic_chan_stats: 0
    [   10.400000] Peer Caching Enabled ; num_peers = 530, num_active_peers = 52 num_tids = 104, num_vdevs = 17
    [   10.410000] idx 1 req 2  num_units 1 num_unit_info 12 unit size 256 actual units 53
    [   10.420000] ol_ath_alloc_host_mem_chunk req_id 2 idx 0 num_units 53 unit_len 256,
    [   10.420000] idx 2 req 3  num_units 1 num_unit_info 12 unit size 1024 actual units 53
    [   10.430000] ol_ath_alloc_host_mem_chunk req_id 3 idx 1 num_units 53 unit_len 1024,
    [   10.440000] idx 3 req 4  num_units 1 num_unit_info 12 unit size 4096 actual units 53
    [   10.450000] ol_ath_alloc_host_mem_chunk req_id 4 idx 2 num_units 53 unit_len 4096,
    [   10.460000] idx 0 req 1  num_units 0 num_unit_info 2 unit size 872 actual units 531
    [   10.470000] ol_ath_alloc_host_mem_chunk req_id 1 idx 3 num_units 531 unit_len 872,
    [   10.470000] idx 4 req 5  num_units 0 num_unit_info 2 unit size 1892 actual units 531
    [   10.490000] ol_ath_alloc_host_mem_chunk req_id 5 idx 4 num_units 531 unit_len 1892,
    [   10.490000] chunk 0 len 13568 requested ,ptr  0x54b8000
    [   10.500000] chunk 1 len 54272 requested ,ptr  0x5520000
    [   10.510000] chunk 2 len 217088 requested ,ptr  0x5540000
    [   10.510000] chunk 3 len 463032 requested ,ptr  0x5580000
    [   10.520000] chunk 4 len 1004652 requested ,ptr  0x5600000
    [   10.520000] ol_ath_service_ready_event[3963] WAPI MBSSID 2
    [   10.550000] wmi_ready_event_rx:  WMI UNIFIED READY event
    [   10.550000] ol_ath_connect_htc() WMI is ready
    [   10.560000] target uses HTT version 2.2; host uses 2.2
    [   10.570000] ol_ath_attach() connect HTC.
    [   10.570000] bypasswmi : 0
    [   10.570000] ol_regdmn_start: reg-domain param: regdmn=0, countryName=, wModeSelect=FFFFFFFF, netBand=FFFFFFFF, extendedChanMode=0.
    [   10.580000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x2) flags 0x2150
    [   10.590000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x4) flags 0xa0
    [   10.600000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x8) flags 0xc0
    [   10.610000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x20) flags 0xd0
    [   10.610000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x40) flags 0x150
    [   10.620000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x800) flags 0x10080
    [   10.630000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x2000) flags 0x20080
    [   10.640000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x4000) flags 0x40080
    [   10.640000] Add VHT80 channel: 5210
    [   10.650000] Add VHT80 channel: 5290
    [   10.650000] Add VHT80 channel: 5530
    [   10.650000] Add VHT80 channel: 5610
    [   10.660000] Skipping VHT80 channel 5660
    [   10.660000] Skipping VHT80 channel 5680
    [   10.670000] Skipping VHT80 channel 5700
    [   10.670000] OL Resmgr Init-ed
    [   10.680000] ieee80211_bsteering_attach: Band steering initialized
    [   10.680000] acfg_attach: using existing sock 86967600
    [   10.690000] SPECTRAL : get_capability not registered
    [   10.690000] HAL_CAP_PHYDIAG : Capable
    [   10.700000] SPECTRAL : Need to fix the capablity check for RADAR (spectral_attach : 237)
    [   10.700000] SPECTRAL : get_capability not registered
    [   10.710000] HAL_CAP_RADAR   : Capable
    [   10.710000] SPECTRAL : Need to fix the capablity check for SPECTRAL
    [   10.710000]  (spectral_attach : 242)
    [   10.720000] SPECTRAL : get_capability not registered
    [   10.730000] HAL_CAP_SPECTRAL_SCAN : Capable
    [   10.730000] SPECTRAL : get_tsf64 not registered
    [   10.740000] spectral_init_netlink 78 NULL SKB
    [   10.740000] Green-AP : Green-AP : Attached
    [   10.740000]
    [   10.750000] Green-AP : Attached
    [   10.750000] rate power table override is only supported for AR98XX
    [   10.760000] ol_ath_smart_ant_attach: Firmware doest not support Smart Antenna.
    [   10.760000] ol_ath_smart_ant_attach: Hardware doest not support Smart Antenna.
    [   10.770000] ieee80211com_init_netlink: 3477: Wifipos 1st Netlink socket created:872f5e00
    [   10.780000] ol_if_dfs_attach: called; ptr=85539974, radar_info=87351b18
    [   10.790000] dfs_attach: event log enabled by default
    [   10.790000] ol_ath_attach() UMAC attach .
    [   10.800000]
    [   10.800000]  BURSTING enabled by default
    [   10.800000] ol_ath_attach: Set global_ic[2] ..ptr:865e1890
    [   10.810000] osif_wrap_attach:434 osif wrap attached
    [   10.820000] osif_wrap_devt_init:395 osif wrap dev table init done
    [   10.820000]  Wrap Attached: Wrap_com =8695a200 ic->ic_wrap_com=8695a200 &wrap_com->wc_devt=8695a200
    [   10.830000] __ol_ath_attach: needed_headroom reservation 60
    [   10.840000] ol_ath_thermal_mitigation_attach: --
    [   10.880000]  pktlog_init: Initializing Pktlog for AR900B, pktlog_hdr_size = 16
    [   10.890000] __sa_init_module
    [   11.230000] [wifi1] FWLOG: [23482] WAL_DBGID_TX_AC_BUFFER_SET ( 0x3, 0x1e, 0x94c, 0x94c, 0x0 )
    [   11.240000] [wifi1] FWLOG: [23482] WAL_DBGID_TX_AC_BUFFER_SET ( 0x12, 0x1e, 0x94c, 0x94c, 0x0 )
    [   11.250000] [wifi1] FWLOG: [23482] WAL_DBGID_TX_AC_BUFFER_SET ( 0x45, 0x1e, 0x94c, 0x94c, 0x0 )
    [   11.260000] [wifi1] FWLOG: [23482] WAL_DBGID_TX_AC_BUFFER_SET ( 0x67, 0x1e, 0x94c, 0x94c, 0x0 )
    [   11.260000] [wifi1] FWLOG: [23482] WAL_DBGID_TX_AC_BUFFER_SET ( 0x100, 0x11e1a300 )
    [   11.760000] 2.4G OFF_LED
    [   11.760000] 5G OFF_LED
    [   11.900000] ath_net80211_attach_dfs: debug message
    [   11.910000] ath_attach_dfs[12926] debug message
    [   11.910000] ath_attach_dfs[12978] dfsdomain 3
    [   11.920000] dfs_attach: event log enabled by default
    [   11.940000] isCountryCodeValid: EEPROM regdomain 0x88
    [   11.950000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x2) flags 0x2150
    [   11.960000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x4) flags 0xa0
    [   11.960000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x8) flags 0xc0
    [   11.970000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x20) flags 0xd0
    [   11.980000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x40) flags 0x150
    [   11.990000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x800) flags 0x10080
    [   11.990000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x2000) flags 0x20080
    [   12.000000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x4000) flags 0x40080
    [   12.010000] Add VHT80 channel: 5210
    [   12.010000] Add VHT80 channel: 5290
    [   12.020000] Add VHT80 channel: 5530
    [   12.020000] Add VHT80 channel: 5610
    [   12.020000] Skipping VHT80 channel 5660
    [   12.030000] Skipping VHT80 channel 5680
    [   12.030000] Skipping VHT80 channel 5700
    [/etc/init.d/S20init.sh]
    DEFNODE[/etc/defnodes/S11devdata.sh]
    : not foundes/S11devdata.sh: line 2:
    : not foundes/S11devdata.sh: line 14:
    DEFNODE[/etc/defnodes/S12bootdata.sh]
    DEFNODE[/etc/defnodes/S12flashspeed.php]
    DEFNODE[/etc/defnodes/S13dfs.php]
    DEFNODE[/etc/defnodes/S14setchlist.php]
    DEFNODE[/etc/defnodes/S15wifi.sh]
    DEFNODE[/etc/defnodes/S20device.xml]
    DEFNODE[/etc/defnodes/S22timezone.php]
    [/etc/scripts/setdate.sh] 01/01/2017 ...
    Sun Jan  1 09:00:13 GMT 2017
    DEFNODE[/etc/defnodes/S30device.php]
    DEFNODE[/etc/defnodes/S30device.xml]
    DEFNODE[/etc/defnodes/S31diagnostic.xml]
    DEFNODE[/etc/defnodes/S31locale.php]
    DEFNODE[/etc/defnodes/S40device.xml]
    DEFNODE[/etc/defnodes/S40links.php]
    DEFNODE[/etc/defnodes/S90opendns.php]
    DEFNODE[/etc/defnodes/S90sessions.php]
    DEFNODE[/etc/defnodes/S90sessions_privatekey.php]
    DEFNODE[/etc/defnodes/S90upnpigd.php]
    [   13.540000] Switching to Tx Mode-0
    DEFNODE[/etc/defnodes/S90upnpwfa.php]
    SERVD: start service [LOGD]
    [/etc/init.d/S20interfaces.sh]
    [   14.250000] ssdk_plat_init start
    [   14.260000] chip_version:0x0
    [   14.260000] chip_version:0x2
    [   14.260000] Register QCA PHY driver
    [   14.270000] PHY ID is 0x4dd042
    [   14.310000] qca probe f2 phy driver succeeded!
    [   14.310000] qca-ssdk module init succeeded!
    [   14.350000] fast-classifier: starting up
    [   14.360000] fast-classifier: registered
    [/etc/init.d/S21setnode.sh]
    [/etc/init.d/S23udevd.sh]
    [/etc/init.d/S45gpiod.sh]
    [/etc/init.d/S49wlc.sh]
    [/etc/init.d/S50wzcm.sh]
    [/etc/init.d/S90wssctl.sh]
    WSS: starting wssctl
    [/etc/init.d/rcS] done!
    [/etc/init0.d/S21layout.sh]: start ...
    SERVD: start service [LAYOUT]
    [/etc/init0.d/S40event.sh]: start ...
    SERVD: event [SEALPAC.LOAD/default]
    [/etc/init0.d/S40gpioevent.sh]: start ...
    SEAMA: need meta for searching image.
    [/etc/init0.d/S41autowan.sh]: start ...
    [/etc/init0.d/S41event.sh]: start ...
    [/etc/init0.d/S41inf.sh]: start ...
    [/etc/init0.d/S42napt.sh]: start ...
    [/etc/init0.d/S42pthrough.sh]: start ...
    [/etc/init0.d/S43netchk.sh]: start ...
    [/etc/init0.d/S51wlan.sh]: start ...
    [/etc/init0.d/S53wlanpartation.sh]: start ...
    [/etc/init0.d/S65ddnsd.sh]: start ...
    /etc/init0.d/S65ddnsd.sh: line 7: ddnsd: not found
    [/etc/init0.d/S65logd.sh]: start ...
    [/etc/init0.d/S65user.sh]: start ...
    [/etc/init0.d/S91proclink.sh]: start ...
    [/etc/init0.d/S93cpuload.sh]: start ...
    [/etc/init0.d/S94aim.sh]: start ...
    AIM: starting aim
    [/etc/init0.d/S94dnsnquery.sh]: start ...
    [/etc/init0.d/S94watchdog.sh]: start ...
    [   16.170000] AR71XX_RESET_REG_WDOG_CTRL: 0x0
    [   16.170000]  [/etc/init0.d/S95password.sh]: start ...
    
    [   16.530000] device eth1 entered promiscuous mode
    SERVD: start service [BRIDGE]
    BRIDGE: The device is not in the bridge mode.
    SERVD: start service [LAN]
    SERVD: start service [WAN]
    SERVD: start service [DEVICE.NAPT]
    SERVD: start service [DEVICE.PASSTHROUGH]
    SERVD: start service [DEVICE.NETCHK]
    SERVD: start service [WIFI.PHYINF]
    SERVD: service [WIFI.PHYINF] return error 108.
    SERVD: start service [PHYINF.WIFI]
    [   17.200000] dfs_control ignore cac = 0xffffffff
    [   17.210000] dfs_control ignore cac = 0xffffffff
    [   17.230000] dfs_control ignore cac = 0xffffffff
    [   17.250000] dfs_control ignore cac = 0xffffffff
    SERVD: start service [WLANPARTATION]
    SERVD: stop service [LOGD]
    SERVD: start service [LOGD]
    SERVD: start service [DEVICE.ACCOUNT]
    Password for 'admin' has been updated
    Password for 'root' has been updated
    SERVD: start service [PHYINF.ETH-1]
    SERVD: start service [PHYINF.ETH-2]
    /var/servd/PHYINF.ETH-2_start.sh: line 2: slinktype: not found
    SERVD: start service [IPTABLES]
    CONNTRACK_MAX=30000
    CONNTRACK_MIN=15000
    SERVD: start service [IPTABLES]
    SERVD: service [IPTABLES] is already started.
    SERVD: start service [INET.LAN-1]
    [/var/servd/INET.LAN-1_start.sh]: starting LAN-1...
    [   19.950000] 2.4G OFF_LED
    [   19.980000] 5G OFF_LED
    SERVD: event [LAN-1.UP/default]
    /var/run/phpsh-1822.sh: line 6: can't create /proc/nf_accelerate_to_local: nonexistent directory
    [/var/servd/INET.LAN-1_start.sh]: starting LAN-1 done !!!
    SERVD: start service [INET.LAN-2]
    ifsetup: (LAN-2) not active.
    SERVD: service [INET.LAN-2] return error 8.
    SERVD: start service [INET.LAN-4]
    ifsetup: (LAN-4) not active.
    SERVD: service [INET.LAN-4] return error 8.
    SERVD: start service [INET.LAN-5]
    ifsetup: (LAN-5) not active.
    SERVD: service [INET.LAN-5] return error 8.
    SERVD: start service [INET.LAN-6]
    ifsetup: (LAN-6) not active.
    SERVD: service [INET.LAN-6] return error 8.
    SERVD: start service [ACCESSCTRL]
    SERVD: start service [IPTABLES]
    SERVD: service [IPTABLES] is already started.
    SERVD: start service [INET.WAN-1]
    [/var/servd/INET.WAN-1_start.sh]: starting WAN-1...
    [/var/servd/INET.WAN-1_start.sh]: starting WAN-1 done !!!
    SERVD: start service [INET.WAN-2]
    ifsetup: (WAN-2) not active.
    SERVD: service [INET.WAN-2] return error 8.
    SERVD: start service [INET.WAN-3]
    ifsetup: (WAN-3) not active.
    SERVD: service [INET.WAN-3] return error 8.
    SERVD: start service [INET.WAN-4]
    ifsetup: (WAN-4) not active.
    SERVD: service [INET.WAN-4] return error 8.
    SERVD: start service [INET.WAN-5]
    ifsetup: (WAN-5) not active.
    SERVD: service [INET.WAN-5] return error 8.
    SERVD: start service [IPTMASQ]
    SERVD: start service [IPTVSVR]
    iptables: No chain/target/match by that name.
    SERVD: start service [IPTPFWD]
    SERVD: start service [IPTPORTT]
    SERVD: start service [IPTDMZ]
    SERVD: start service [IPT.WAN-1]
    SERVD: start service [IPT.WAN-2]
    SERVD: start service [IPT.WAN-3]
    SERVD: start service [IPT.WAN-4]
    SERVD: start service [IPT.WAN-5]
    SERVD: service [IPT.WAN-5] return error 108.
    SERVD: stop service [IPT.LAN-1]
    SERVD: service [IPT.LAN-1] is already stopped.
    SERVD: start service [IPT.LAN-1]
    SERVD: stop service [IPT.LAN-2]
    SERVD: service [IPT.LAN-2] is already stopped.
    SERVD: start service [IPT.LAN-2]
    SERVD: stop service [IPT.LAN-3]
    SERVD: service [IPT.LAN-3] is already stopped.
    SERVD: start service [IPT.LAN-3]
    SERVD: service [IPT.LAN-3] return error 108.
    SERVD: stop service [IPT.LAN-4]
    SERVD: service [IPT.LAN-4] is already stopped.
    SERVD: start service [IPT.LAN-4]
    SERVD: service [IPT.LAN-4] return error 108.
    SERVD: stop service [IPT.LAN-5]
    SERVD: service [IPT.LAN-5] is already stopped.
    SERVD: start service [IPT.LAN-5]
    SERVD: service [IPT.LAN-5] return error 108.
    SERVD: stop service [IPT.LAN-6]
    SERVD: service [IPT.LAN-6] is already stopped.
    SERVD: start service [IPT.LAN-6]
    SERVD: service [IPT.LAN-6] return error 108.
    SERVD: start service [PHYINF.BAND24G-1.1]
    [   21.370000]  DCS for CW interference mitigation:   0
    [   21.370000]  DCS for WLAN interference mitigation: 0
    [   21.380000] 2.4G OFF_LED
    Invalid command : txbf_snd_int
    Invalid command : obss_rssi_th
    Invalid command : obss_rx_rssi_th
    Invalid command : fc_buf0_max
    Invalid command : fc_buf1_max
    Invalid command : fc_buf2_max
    Invalid command : fc_buf3_max
    [   21.450000] wlan_vap_create : enter. devhandle=0x87230380, opmode=IEEE80211_M_HOSTAP, flags=0x1
    [   21.450000]
    [   21.460000] ieee80211_mbo_vattach:MBO Initialized
    [   21.460000] In ieee80211_vap_setup, line:384, wifi-pos enabled vap:0
    [   21.470000] wlan_vap_create : exit. devhandle=0x87230380, opmode=IEEE80211_M_HOSTAP, flags=0x1.
    [   21.470000]
    [   21.480000] __ieee80211_smart_ant_init: Smart Antenna is not supported
    [   21.490000] VAP device ath0 created osifp: (85334380) os_if: (85398000)
    ath0
    [   21.570000] siwfreq
    [   21.570000] Set freq vap 0 stop send + 85398000
    [   21.570000] Set freq vap 0 stop send -85398000
    [   21.610000] Set wait done --85398000
    [   21.660000]  ss request "Set ESSID" (8B1B) :
    [   21.660000]  DES SSID SET=aterm-77b98b-g
    
    GET failed on device ath0 ; Argument list too long.
    [ephp.c read_cond_list 1203] PHP operator precedence issue at: /etc/scripts/wifirnodes.php, cond_qty: 3, and_qty: 1, or_qty: 1
    updatewifistats -s /etc/scripts/upwifistatshlper_G_band.sh -m QCA9563 -i ath0 -x /phyinf:4 -r /runtime/phyinf:3  &
    SERVD: event [WLAN.CONNECTED] not found!
    SERVD: start service [PHYINF.BAND24G-1.2]
    [   21.950000] wlan_vap_create : enter. devhandle=0x87230380, opmode=IEEE80211_M_HOSTAP, flags=0x1
    [   21.950000]
    [   21.960000] ieee80211_mbo_vattach:MBO Initialized
    [   21.970000] In ieee80211_vap_setup, line:388, wifi-pos disabled vap:1
    [   21.970000] wlan_vap_create : exit. devhandle=0x87230380, opmode=IEEE80211_M_HOSTAP, flags=0x1.
    [   21.970000]
    [   21.980000] __ieee80211_smart_ant_init: Smart Antenna is not supported
    [   21.990000] VAP device ath01 created osifp: (85335b80) os_if: (853a8000)
    ath01
    SERVD: start service [PHYINF.BAND5G-1.1]
    [   22.080000] 5G OFF_LED
    [   22.080000] dfs_control ignore cac = 0x0
    [   22.100000] set TXBF_SND_PERIOD: value 100 wmi_status 0
    [   22.130000] wmi_unified_vdev_create_send: ID = 0 Type = 1, Subtype = 0 VAP Addr = 98:f1:99:**:**:67:
    [   22.140000] ieee80211_mbo_vattach:MBO Initialized
    [   22.150000] In ieee80211_vap_setup, line:384, wifi-pos enabled vap:0
    [   22.150000] __ieee80211_smart_ant_init: Smart Antenna is not supported
    [   22.160000] Enabling TX checksum bit for the vap ath1 features 4000
    [   22.170000] Enabling SG bit for the vap ath1 features 4000
    [   22.170000] Enabling SG bit for the vap ath1 features 4000
    [   22.180000] Enabling TSO bit for the vap ath1 features 4000
    [   22.190000] Enabling LRO bit for the vap ath1 features 4000
    [   22.190000] VAP device ath1 created osifp: (85337380) os_if: (853e0000)
    ath1
    [   22.230000] De-authenticating all the nodes before channel change
    [   22.240000] Resetting spectral chainmask to Rx chainmask
    [   22.260000] Configuring MCAST RATE is deffered as channel is not yet set for VAP
    [   22.290000]  ss request "Set ESSID" (8B1B) :
    [   22.290000]  DES SSID SET=aterm-77b98b-a
    
    GET failed on device ath1 ; Argument list too long.
    [ephp.c read_cond_list 1203] PHP operator precedence issue at: /etc/scripts/wifirnodes.php, cond_qty: 3, and_qty: 1, or_qty: 1
    updatewifistats -s /etc/scripts/upwifistatshlper_A_band.sh -m QCA9563 -i ath1 -x /phyinf:6 -r /runtime/phyinf:4  &
    SERVD: event [WLAN.CONNECTED] not found!
    SERVD: start service [PHYINF.BAND5G-1.2]
    [   22.520000] wmi_unified_vdev_create_send: ID = 1 Type = 1, Subtype = 0 VAP Addr = 9e:f1:99:**:**:67:
    [   22.530000] ieee80211_mbo_vattach:MBO Initialized
    [   22.530000] In ieee80211_vap_setup, line:388, wifi-pos disabled vap:1
    [   22.540000] __ieee80211_smart_ant_init: Smart Antenna is not supported
    [   22.550000] Enabling TX checksum bit for the vap ath11 features 4000
    [   22.550000] Enabling SG bit for the vap ath11 features 4000
    [   22.560000] Enabling SG bit for the vap ath11 features 4000
    [   22.560000] Enabling TSO bit for the vap ath11 features 4000
    [   22.570000] Enabling LRO bit for the vap ath11 features 4000
    [   22.580000] VAP device ath11 created osifp: (868e3380) os_if: (84914000)
    ath11
    [   22.600000] Configuring MCAST RATE is deffered as channel is not yet set for VAP
    SERVD: start service [WIFI_ACTIVATE]
    [   23.080000] 8021q: adding VLAN 0 to HW filter on device ath0
    [   23.180000] ic channel number: 141
    [   23.180000] ieee80211_acs_get_cusmode_channels: cus mode: 0x0  phy mode:0x13
    [   23.190000] channels for acs select: mode:0x0 will add 4 channels
    [   23.190000] channel: 36 channel: 40 channel: 44 channel: 48
    [   23.200000] 8021q: adding VLAN 0 to HW filter on device ath1
    [   23.230000] [wifi1] FWLOG: [36442] WAL channel change freq=5180, mode=0 flags=0 rx_ok=1 tx_ok=1
    [   24.230000] [wifi1] FWLOG: [36756] WAL channel change freq=5200, mode=0 flags=0 rx_ok=1 tx_ok=1
    [   24.240000] [wifi1] FWLOG: [37071] WAL channel change freq=5220, mode=0 flags=0 rx_ok=1 tx_ok=1
    [   24.250000] [wifi1] FWLOG: [37385] WAL channel change freq=5240, mode=0 flags=0 rx_ok=1 tx_ok=1
    [   25.230000] [wifi1] FWLOG: [37699] WAL channel change freq=5260, mode=0 flags=0 rx_ok=1 tx_ok=1
    [   25.240000] [wifi1] FWLOG: [38012] WAL channel change freq=5280, mode=0 flags=0 rx_ok=1 tx_ok=1
    [   25.250000] [wifi1] FWLOG: [38326] WAL channel change freq=5300, mode=0 flags=0 rx_ok=1 tx_ok=1
    [   25.850000]
    [   25.850000] **************
    [   25.850000] acs select channel freq : 2462
    [   25.860000] **************
    [   25.860000] mlme_create_infra_bss : Overriding HT40 channel with HT20 channel
    [   25.920000] __ieee80211_smart_ant_init: Smart Antenna is not supported
    [/etc/scripts/upwifistatshlper_G_band.sh] CONNSTATUS ath0 1 ....
    not support [CONNSTATUS] ...
    [   26.230000] [wifi1] FWLOG: [38640] WAL channel change freq=5320, mode=0 flags=0 rx_ok=1 tx_ok=1
    [   26.240000] [wifi1] FWLOG: [38953] WAL channel change freq=5500, mode=0 flags=0 rx_ok=1 tx_ok=1
    [   26.250000] [wifi1] FWLOG: [39267] WAL channel change freq=5520, mode=0 flags=0 rx_ok=1 tx_ok=1
    [   27.230000] [wifi1] FWLOG: [39582] WAL channel change freq=5540, mode=0 flags=0 rx_ok=1 tx_ok=1
    [   27.240000] [wifi1] FWLOG: [39896] WAL channel change freq=5560, mode=0 flags=0 rx_ok=1 tx_ok=1
    [   27.250000] [wifi1] FWLOG: [40210] WAL channel change freq=5580, mode=0 flags=0 rx_ok=1 tx_ok=1
    [   27.260000] [wifi1] FWLOG: [40524] WAL channel change freq=5600, mode=0 flags=0 rx_ok=1 tx_ok=1
    [   28.230000] [wifi1] FWLOG: [40837] WAL channel change freq=5620, mode=0 flags=0 rx_ok=1 tx_ok=1
    [   28.240000] [wifi1] FWLOG: [41151] WAL channel change freq=5640, mode=0 flags=0 rx_ok=1 tx_ok=1
    [   28.250000] [wifi1] FWLOG: [41465] WAL channel change freq=5660, mode=0 flags=0 rx_ok=1 tx_ok=1
    [   29.020000] wmi_unified_vdev_down_send for vap 0 (86ab0000)
    [   29.030000] is_mode_need_select_acs_channel_list: mode 19 need select from acs list!
    [   29.040000] ieee80211_acs_find_best_11na_centerchan: find channel 36
    [   29.050000] random channel is 40
    [   29.060000] ******** ACS report ********
    [   29.060000]  Channel | BSS  | minrssi | maxrssi | NF | Ch load | spect load | sec_chan
    [   29.070000] ---------------------------------------------------------------------
    [   29.080000]  5180( 36)    2       18        60   -113       1           0          1
    [   29.080000]  5200( 40)    0        0         0   -112       1           0          1
    [   29.090000]  5220( 44)    0        0         0   -112       1           0          1
    [   29.100000]  5240( 48)    2       17        24   -113       1           0          1
    [   29.110000]  5260( 52)    0        0         0   -112       1           0          0
    [   29.120000]  5280( 56)    0        0         0   -113       1           0          0
    [   29.130000]  5300( 60)    0        0         0   -112       1           0          0
    [   29.130000]  5320( 64)    0        0         0   -112       1           0          0
    [   29.140000]  5500(100)    0        0         0   -112       1           0          0
    [   29.150000]  5520(104)    0        0         0   -112       1           0          0
    [   29.160000]  5540(108)    0        0         0   -111       1           0          0
    [   29.170000]  5560(112)    0        0         0   -111       1           0          0
    [   29.180000]  5580(116)    0        0         0   -112       0           0          0
    [   29.180000]  5600(120)    0        0         0   -112       0           0          0
    [   29.190000]  5620(124)    0        0         0   -112       0           0          0
    [   29.200000]  5640(128)    0        0         0   -111       1           0          0
    [   29.210000]  5660(132)    0        0         0   -111       1           0          0
    [   29.220000]  5680(136)    0        0         0   -111       0           0          0
    [   29.230000]  5700(140)    0        0         0   -112       0           0          0
    [   29.230000]
    [   29.230000] **************
    [   29.240000] acs select channel freq : 5200
    [   29.240000] **************
    [   29.250000] OL vap_start +
    [   29.250000] wmi_unified_vdev_start_send for vap 0 (86ab0000)
    [   29.250000] OL vap_start -
    [   29.260000] ol_ath_vap_set_param: Now supported MCAST RATE is 6000(kbps) and rate code: 0x3
    [   29.270000] ol_ath_vap_set_param: Now supported MGMT RATE is 6000(kbps) and rate code: 0x3
    [   29.270000] ol_ath_vap_set_param: Now supported MCAST RATE is 6000(kbps) and rate code: 0x3
    [   29.280000] [wifi1] FWLOG: [41779] WAL channel change freq=5680, mode=0 flags=0 rx_ok=1 tx_ok=1
    [   29.290000] [wifi1] FWLOG: [42093] WAL channel change freq=5700, mode=0 flags=0 rx_ok=1 tx_ok=1
    [   29.300000] [wifi1] FWLOG: [42412] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 )
    [   29.310000] [wifi1] FWLOG: [42412] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 )
    [   29.460000] ol_vdev_start_resp_ev for vap 0 (86ab0000)
    [   29.460000] su bfee 1 mu bfee 0 su bfer 1 mu bfer 1 impl bf 0 sounding dim 1
    [   29.470000] wmi_unified_vdev_up_send for vap 0 (86ab0000)
    [   29.480000] __ieee80211_smart_ant_init: Smart Antenna is not supported
    [/etc/scripts/upwifistatshlper_A_band.sh] CONNSTATUS ath1 1 ....
    not support [CONNSTATUS] ...
    [   30.230000] [wifi1] FWLOG: [42641] vap-0 VDEV_MGR_VDEV_START ( 0x1450, 0x2, 0x0, 0x0 )
    [   30.240000] [wifi1] FWLOG: [42641] WAL channel change freq=5200, mode=10 flags=0 rx_ok=1 tx_ok=1
    [   30.250000] [wifi1] FWLOG: [42868] VDEV_MGR_HP_START_TIME ( 0x0, 0x1450, 0x1211000 )
    [   30.260000] [wifi1] FWLOG: [42868] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x1 )
    [   30.260000] [wifi1] FWLOG: [42868] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 )
    [   30.270000] [wifi1] FWLOG: [42868] VDEV_MGR_AP_TBTT_CONFIG ( 0x0, 0x1450, 0x0, 0x0 )
    [   33.380000] device ath0 entered promiscuous mode
    [   33.380000] br0: port 2(ath0) entered forwarding state
    [   33.390000] br0: port 2(ath0) entered forwarding state
    [   33.400000] device ath01 entered promiscuous mode
    [   33.410000] device ath1 entered promiscuous mode
    [   33.410000] br0: port 4(ath1) entered forwarding state
    [   33.420000] br0: port 4(ath1) entered forwarding state
    [   33.420000] device ath11 entered promiscuous mode
    SERVD: start service [THERMAL]
    Start THERMAL service ..
    SERVD: stop service [INFSVCS.LAN-1]
    SERVD: service [INFSVCS.LAN-1] is already stopped.
    SERVD: start service [INFSVCS.LAN-1]
    cat: can't open '/tmp/thermal': No such file or directory
    cat: can't open '/tmp/thermal': No such file or directory
    cat: can't open '/tmp/thermal': No such file or directory
    cat: can't open '/tmp/thermal': No such file or directory
    SERVD: event [LAN-1.CONNECTED] not found!
    SERVD: event [INFSVCS.LAN-1.UP/default]
    SERVD: event [STATUS.READY/default]
    SERVD: stop service [WEBACCESS]
    SERVD: service [WEBACCESS] is already stopped.
    SERVD: start service [WEBACCESS]
    SERVD: service [WEBACCESS] return error 108.
    SERVD: start service [HOSTAPD-PMF]
    SERVD: start service [ENLAN]
    SERVD: start service [HTTP.LAN-1]
    [   33.880000]  ieee80211_ioctl_siwmode: imr.ifm_active=393856, new mode=3, valid=1
    SERVD: start service [UPNP.LAN-1]
    [   34.020000] ath_vap_stopping=1
    [   34.060000] mlme_create_infra_bss : Overriding HT40 channel with HT20 channel
    [   34.100000] __ieee80211_smart_ant_init: Smart Antenna is not supported
    hostapd(2600): SSID - hexdump_ascii(len=14):
    61 74 65 72 6d 2d 37 37 62 39 38 62 2d 67         aterm-77b98b-g
    hostapd(2600): PSK (ASCII passphrase) - hexdump_ascii(len=13): [REMOVED]
    SERVD: event [UPNP.ALIVE.LAN-1/default]
    [/etc/scripts/upnp_rename.sh] LAN-1 ...
    SERVD: start service [DHCPS4.LAN-1]
    SERVD: start service [DNS4.LAN-1]
    SERVD: start service [INET.LAN-3]
    ifsetup: (LAN-3) not active.
    SERVD: service [INET.LAN-3] return error 8.
    SERVD: stop service [ROUTE.STATIC]
    SERVD: service [ROUTE.STATIC] is already stopped.
    SERVD: start service [ROUTE.STATIC]
    SERVD: stop service [ROUTE.IPUNNUMBERED]
    SERVD: service [ROUTE.IPUNNUMBERED] is already stopped.
    SERVD: start service [ROUTE.IPUNNUMBERED]
    SERVD: stop service [MULTICAST]
    SERVD: service [MULTICAST] is already stopped.
    SERVD: start service [MULTICAST]
    SERVD: stop service [IPTOBF]
    SERVD: service [IPTOBF] is already stopped.
    SERVD: start service [IPTOBF]
    SERVD: stop service [IPTDEFCHAIN]
    SERVD: service [IPTDEFCHAIN] is already stopped.
    SERVD: start service [IPTDEFCHAIN]
    [   35.220000] ath_vap_stopping=1
    [   35.260000] mlme_create_infra_bss : Overriding HT40 channel with HT20 channel
    [   35.300000] __ieee80211_smart_ant_init: Smart Antenna is not supported
    hostapd(2600): qca: SSID - hexdump_ascii(len=14)[   35.320000]  ieee80211_ioctl_siwmode: imr.ifm_active=18875008, new mode=3, valid=1
    :
    61 74 65 72 6d 2d 37 37 62 39 38 62 2d 67         aterm-77b98b-g
    [   35.370000] ol_ath_vap_stopping=1
    [   35.370000] wmi_unified_vdev_stop_send for vap 0 (86ab0000)
    [   35.380000] STOPPED EVENT for vap 0 (86ab0000)
    [   35.380000] wmi_unified_vdev_down_send for vap 0 (86ab0000)
    [   35.420000] OL vap_start +
    [   35.420000] wmi_unified_vdev_start_send for vap 0 (86ab0000)
    [   35.420000] OL vap_start -
    [   35.430000] ol_vdev_start_resp_ev for vap 0 (86ab0000)
    [   35.430000] su bfee 1 mu bfee 0 su bfer 1 mu bfer 1 impl bf 0 sounding dim 1
    [   35.440000] wmi_unified_vdev_up_send for vap 0 (86ab0000)
    [   35.450000] __ieee80211_smart_ant_init: Smart Antenna is not supported
    [   35.450000] ol_ath_vap_set_param: Now supported MGMT RATE is 6000(kbps) and rate code: 0x3
    [   35.460000] ol_ath_vap_set_param: Now supported MCAST RATE is 6000(kbps) and rate code: 0x3
    hostapd(2600): SSID - hexdump_ascii(len=14):
    61 74 65 72 6d 2d 37 37 62 39 38 62 2d 61         aterm-77b98b-a
    hostapd(2600): PSK (ASCII passphrase) - hexdump_ascii(len=13): [REMOVED]
    SERVD: stop service [ROUTE.DYNAMIC]
    SERVD: service [ROUTE.DYNAMIC] is already stopped.
    SERVD: start service [ROUTE.DYNAMIC]
    SERVD: service [ROUTE.DYNAMIC] return error 108.
    SERVD: stop service [LLD2]
    SERVD: service [LLD2] is already stopped.
    SERVD: start service [LLD2]
    /var/servd/LLD2_start.sh: line 2: lld2d: not found
    SERVD: stop service [ADP]
    SERVD: service [ADP] is already stopped.
    SERVD: start service [ADP]
    SERVD: stop service [HTTP]
    SERVD: service [HTTP] is already stopped.
    SERVD: start service [HTTP]
    [   36.200000] ol_ath_vap_stopping=1
    [   36.210000] wmi_unified_vdev_stop_send for vap 0 (86ab0000)
    [   36.210000] STOPPED EVENT for vap 0 (86ab0000)
    [   36.220000] wmi_unified_vdev_down_send for vap 0 (86ab0000)
    [   36.230000] [wifi1] FWLOG: [48922] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 )
    [   36.240000] [wifi1] FWLOG: [48922] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 )
    [   36.250000] [wifi1] FWLOG: [48959] vap-0 VDEV_MGR_VDEV_START ( 0x1450, 0x2, 0x0, 0x0 )
    [   36.250000] [wifi1] FWLOG: [48980] VDEV_MGR_HP_START_TIME ( 0x0, 0x1450, 0x17d4001 )
    [   36.260000] [wifi1] FWLOG: [48980] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x1 )
    [   36.270000] [wifi1] FWLOG: [48980] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 )
    [   36.280000] [wifi1] FWLOG: [48980] VDEV_MGR_AP_TBTT_CONFIG ( 0x0, 0x1450, 0x0, 0x0 )
    [   36.280000] [wifi1] FWLOG: [49777] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 )
    [   36.290000] [wifi1] FWLOG: [49777] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 )
    [   36.300000] OL vap_start +
    [   36.300000] wmi_unified_vdev_start_send for vap 0 (86ab0000)
    [   36.310000] OL vap_start -
    [   36.310000] ol_vdev_start_resp_ev for vap 0 (86ab0000)
    [   36.310000] su bfee 1 mu bfee 0 su bfer 1 mu bfer 1 impl bf 0 sounding dim 1
    [   36.320000] wmi_unified_vdev_up_send for vap 0 (86ab0000)
    [   36.330000] __ieee80211_smart_ant_init: Smart Antenna is not supported
    [   36.330000] ol_ath_vap_set_param: Now supported MGMT RATE is 6000(kbps) and rate code: 0x3
    [   36.340000] ol_ath_vap_set_param: Now supported MCAST RATE is 6000(kbps) and rate code: 0x3
    hostapd(2600): qca: SSID - hexdump_ascii(len=14):
    61 74 65 72 6d 2d 37 37 62 39 38 62 2d 61         aterm-77b98b-a
    SERVD: event [HTTP.UP] not found!
    SERVD: stop service [DNS]
    SERVD: service [DNS] is already stopped.
    SERVD: start service [DNS]
    killall: dnsmasq: no process killed
    [   37.230000] [wifi1] FWLOG: [49862] vap-0 VDEV_MGR_VDEV_START ( 0x1450, 0x2, 0x0, 0x0 )
    [   37.240000] [wifi1] FWLOG: [49884] VDEV_MGR_HP_START_TIME ( 0x0, 0x1450, 0x189c000 )
    [   37.250000] [wifi1] FWLOG: [49884] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x1 )
    [   37.260000] [wifi1] FWLOG: [49884] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 )
    [   37.260000] [wifi1] FWLOG: [49884] VDEV_MGR_AP_TBTT_CONFIG ( 0x0, 0x1450, 0x0, 0x0 )
    [   37.270000] [wifi1] FWLOG: [49926] WAL_DBGID_SECURITY_ENCR_EN (  )
    [   37.280000] [wifi1] FWLOG: [49926] WAL_DBGID_SECURITY_MCAST_KEY_SET ( 0x1 )
    

WRC-1750GST2

某フリマサイトでジャンク品を眺めていたところ見つけ、1,000円を切っていたことから衝動的に購入したもの。既にサポート済みのWRC-1750GS/GSVとハードウェア的に近い一方、他のGST2機と同様にRAMとFlashがそれぞれ2倍になっていることが予想された。
弄っていくのでメモ。

Switch

zone WAN LAN
port
(WRC-1750GST2)
INTERNET LAN4 LAN3 LAN2 LAN1
port
(MT7530)
port0 port1 port2 port3 port4

MAC

  • LAN: 04:AB:18:xx:xx:23 (Factory, 0xE000 (hex))
  • WAN: 04:AB:18:xx:xx:24 (Factory, 0xE006 (hex))
  • 2.4G: 04:AB:18:xx:xx:25 (Factory, 0x4 (hex))
  • 5G: 04:AB:18:xx:xx:26 (Factory, 0x8004 (hex))

U-Boot

  • help
    MT7621 # help
    ?       - alias for 'help'
    bootm   - boot application image from memory
    cp      - memory copy
    erase   - erase SPI FLASH memory
    go      - start application at address 'addr'
    help    - print online help
    httpboot- entering the backup mode.
    loadb   - load binary file over serial line (kermit mode)
    md      - memory display
    mdio   - Ralink PHY register R/W command !!
    mm      - memory modify (auto-incrementing)
    nm      - memory modify (constant address)
    printenv- print environment variables
    reset   - Perform RESET of the CPU
    rf      - read/write rf register
    saveenv - save environment variables to persistent storage
    setenv  - set environment variables
    spi     - spi command
    tftpboot- boot image via network using TFTP protocol
    version - print monitor version
    

  • version
    MT7621 # version
    
    U-Boot 1.1.3 (Nov 20 2018 - 18:09:19)
    

  • printenv
    MT7621 # printenv
    bootcmd=tftp
    bootdelay=5
    baudrate=57600
    ethaddr="00:AA:BB:CC:DD:10"
    ipaddr=192.168.2.1
    serverip=192.168.2.2
    ethact=Eth0 (10/100-M)
    model_id=WRC-1750GST2
    board_id=201910632644
    wlan0_guest_ssid=e-tomo-****23
    wlan0_guest_key=********
    ez_group_id=elecom-****23
    wlan0_ssid=elecom-****23
    wlan1_ssid=elecom-****23
    wlan0_key=************
    wlan1_key=************
    admin_password=********
    wps_pin=********
    hw_version=A1
    wlan0_domain=0x41
    stdin=serial
    stdout=serial
    stderr=serial
    
    Environment size: 467/4092 bytes
    

  • tftpboot
    MT7621 # tftpboot
    
    NetTxPacket = 0x8FFE6440
    
    KSEG1ADDR(NetTxPacket) = 0xAFFE6440
    
    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 192.168.2.2; our IP address is 192.168.2.1
    Filename 'test.bin'.
    
    TIMEOUT_COUNT=10,Load address: 0x80200000
    Loading: Got ARP REQUEST, return our IP
    Got ARP REQUEST, return our IP
    Got ARP REQUEST, return our IP
    checksum bad
    checksum bad
    checksum bad
    Got ARP REQUEST, return our IP
    checksum bad
    Got ARP REQUEST, return our IP
    checksum bad
    checksum bad
    checksum bad
    checksum bad
    Got ARP REQUEST, return our IP
    Got ARP REQUEST, return our IP
    checksum bad
    Got ARP REQUEST, return our IP
    Got ARP REQUEST, return our IP
    
    Abort
    

Kernel

  • uname -a
    root@MT7621:/# uname -a
    Linux MT7621 3.10.14 #2 SMP Wed May 22 19:27:59 CST 2019 mips GNU/Linux
    

  • cat /proc/version
    root@MT7621:/# cat /proc/version
    Linux version 3.10.14 (*****@ubuntu) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2013.05 r48067) ) #2 SMP Wed May 22 19:27:59 CST 2019
    

  • cat /proc/cpuinfo
    root@MT7621:/# cat /proc/cpuinfo
    system type             : MT7621
    machine                 : Unknown
    processor               : 0
    cpu model               : MIPS 1004Kc V2.15
    BogoMIPS                : 577.53
    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                : 577.53
    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                : 577.53
    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                : 577.53
    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@MT7621:/# cat /proc/meminfo
    MemTotal:         250236 kB
    MemFree:          226524 kB
    Buffers:            1284 kB
    Cached:             2704 kB
    SwapCached:            0 kB
    Active:             1576 kB
    Inactive:           2964 kB
    Active(anon):        556 kB
    Inactive(anon):        4 kB
    Active(file):       1020 kB
    Inactive(file):     2960 kB
    Unevictable:           0 kB
    Mlocked:               0 kB
    SwapTotal:             0 kB
    SwapFree:              0 kB
    Dirty:                 0 kB
    Writeback:             0 kB
    AnonPages:           560 kB
    Mapped:              592 kB
    Shmem:                 4 kB
    Slab:               8176 kB
    SReclaimable:        460 kB
    SUnreclaim:         7716 kB
    KernelStack:         368 kB
    PageTables:           76 kB
    NFS_Unstable:          0 kB
    Bounce:                0 kB
    WritebackTmp:          0 kB
    CommitLimit:      125116 kB
    Committed_AS:       1752 kB
    VmallocTotal:    1048372 kB
    VmallocUsed:       10864 kB
    VmallocChunk:    1037300 kB
    

  • cat /proc/mtd
    root@MT7621:/# cat /proc/mtd
    dev:    size   erasesize  name
    mtd0: 02000000 00010000 "ALL"
    mtd1: 00030000 00010000 "Bootloader"
    mtd2: 00010000 00010000 "Config"
    mtd3: 00010000 00010000 "Factory"
    mtd4: 01800000 00010000 "firmware"
    mtd5: 00a00000 00010000 "kernel"
    mtd6: 00e00000 00010000 "rootfs"
    mtd7: 00400000 00010000 "tm_pattern"
    mtd8: 00100000 00010000 "tm_key"
    mtd9: 000b0000 00010000 "nvram"
    mtd10: 00200000 00010000 "rootfs_data"
    mtd11: 01d00000 00010000 "all_fw_tm"
    

  • cat /sbin/mtk_led | head -n 10
    root@MT7621:/# cat /sbin/mtk_led | head -n 10
    #!/bin/sh
    
    PWR_LED_R=16
    PWR_LED_G=7
    PWR_LED_B=8
    WPS_LED=15
    DBDC=$(uci -q get qcawifi.wlan0.dbdc)
    DBDC_2G_LED=3
    DBDC_5G_LED=4
    

  • switch vlan dump
    root@MT7621:/# switch vlan dump
    vid  fid  portmap    s-tag
    1    0  -111111-       0
    2    0  1----11-       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
    

  • cat /etc/bulk/bulk | grep “C_Command1)” -A 10
    root@MT7621:/# cat /etc/bulk/bulk | grep "C_Command1)" -A 10
    C_Command1) # HW Mode
    # 44 = router, 41 = extension, 43 = repeater, 42 = ap
    #if [ "$(/sbin/gpio g 44 | sed 's/.*= //g')" = "0" ]; then
    #       echo "Mode=Router"
    #elif [ "$(/sbin/gpio g 43 | sed 's/.*= //g')" = "0" ]; then
    #       echo "Mode=Repeater"
    #elif [ "$(/sbin/gpio g 42 | sed 's/.*= //g')" = "0" ]; then
    #       echo "Mode=AP"
    #elif [ "$(/sbin/gpio g 41 | sed 's/.*= //g')" = "0" ]; then
    #       echo "Mode=Extension"
    #fi
    

  • bootlog
    
    ===================================================================
    MT7621   stage1 code 10:33:55 (ASIC)
    CPU=500000000 HZ BUS=166666666 HZ
    ==================================================================
    Change MPLL source from XTAL to CR...
    do MEMPLL setting..
    MEMPLL Config : 0x11100000
    3PLL mode + External loopback
    === XTAL-40Mhz === DDR-1200Mhz ===
    PLL2 FB_DL: 0x6, 1/0 = 667/357 19000000
    PLL4 FB_DL: 0x16, 1/0 = 644/380 59000000
    PLL3 FB_DL: 0x1d, 1/0 = 583/441 75000000
    do DDR setting..[01F40000]
    Apply DDR3 Setting...(use customer AC)
    0    8   16   24   32   40   48   56   64   72   80   88   96  104  112  120
    --------------------------------------------------------------------------------
    0000:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    0001:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    0002:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    0003:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    0004:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    0005:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    0006:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    0007:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    0008:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    0009:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    000A:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    000B:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    000C:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    000D:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    1    1
    000E:|    0    0    0    0    0    0    0    1    1    1    1    1    1    1    1    1
    000F:|    0    0    0    1    1    1    1    1    1    1    1    1    1    0    0    0
    0010:|    1    1    1    1    1    1    1    1    0    0    0    0    0    0    0    0
    0011:|    1    1    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    0012:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    0013:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    0014:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    0015:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    0016:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    0017:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    0018:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    0019:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    001A:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    001B:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    001C:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    001D:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    001E:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    001F:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    rank 0 coarse = 15
    rank 0 fine = 64
    B:|    0    0    0    0    0    0    0    1    1    1    0    0    0    0    0    0
    opt_dle value:8
    DRAMC_R0DELDLY[018]=00002021
    ==================================================================
    RX      DQS perbit delay software calibration
    ==================================================================
    1.0-15 bit dq delay value
    ==================================================================
    bit|     0  1  2  3  4  5  6  7  8  9
    --------------------------------------
    0 |    9 9 10 11 9 7 9 8 7 9
    10 |    9 9 10 11 10 10
    --------------------------------------
    
    ==================================================================
    2.dqs window
    x=pass dqs delay value (min~max)center
    y=0-7bit DQ of every group
    input delay:DQS0 =33 DQS1 = 32
    ==================================================================
    bit     DQS0     bit      DQS1
    0  (1~60)30  8  (1~60)30
    1  (1~60)30  9  (1~61)31
    2  (1~61)31  10  (1~62)31
    3  (1~64)32  11  (1~60)30
    4  (1~60)30  12  (1~64)32
    5  (1~60)30  13  (1~60)30
    6  (0~62)31  14  (1~64)32
    7  (1~65)33  15  (1~61)31
    ==================================================================
    3.dq delay value last
    ==================================================================
    bit|    0  1  2  3  4  5  6  7  8   9
    --------------------------------------
    0 |    12 12 12 12 12 10 11 8 9 10
    10 |    10 11 10 13 10 11
    ==================================================================
    ==================================================================
    TX  perbyte calibration
    ==================================================================
    DQS loop = 15, cmp_err_1 = ffff0000
    dqs_perbyte_dly.last_dqsdly_pass[0]=15,  finish count=1
    dqs_perbyte_dly.last_dqsdly_pass[1]=15,  finish count=2
    DQ loop=15, cmp_err_1 = ffff0000
    dqs_perbyte_dly.last_dqdly_pass[0]=15,  finish count=1
    dqs_perbyte_dly.last_dqdly_pass[1]=15,  finish count=2
    byte:0, (DQS,DQ)=(8,8)
    byte:1, (DQS,DQ)=(8,8)
    20,data:88
    [EMI] DRAMC calibration passed
    
    ===================================================================
    MT7621   stage1 code done
    CPU=500000000 HZ BUS=166666666 HZ
    ===================================================================
    
    U-Boot 1.1.3 (Nov 20 2018 - 18:09:19)
    
    Board: Ralink APSoC DRAM:  256 MB
    relocate_code Pointer at: 8ffb4000
    
    Config XHCI 40M PLL
    flash manufacture id: c2, device id 20 19
    find flash: MX25L25635E
    ============================================
    Ralink UBoot Version: 5.0.0.0
    --------------------------------------------
    ASIC MT7621A DualCore (MAC to MT7530 Mode)
    DRAM_CONF_FROM: Auto-Detection
    DRAM_TYPE: DDR3
    DRAM bus: 16 bit
    Xtal Mode=3 OCP Ratio=1/3
    Flash component: SPI Flash
    Date:Nov 20 2018  Time:18:09:19
    ============================================
    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 =256 Mbytes
    #Reset_MT7530
    set LAN/WAN WLLLL
    
    Please choose the operation:
    1: Load system code to SDRAM via TFTP.
    2: Load system code then write to Flash via TFTP.
    3: Boot system code via Flash (default).
    4: Entr boot command line interface.
    7: Load Boot Loader code then write to Flash via Serial.
    9: Load Boot Loader code then write to Flash via TFTP.                                                                                             0
    
    3: System Boot system code via Flash.
    ## Booting image at bc050000 ...
    Image Name:   MIPS OpenWrt Linux-3.10
    Image Type:   MIPS Linux Kernel Image (lzma compressed)
    Data Size:    17170368 Bytes = 16.4 MB
    Load Address: 81001000
    Entry Point:  8162d170
    Verifying Checksum ... OK
    Uncompressing Kernel Image ... OK
    No initrd
    ## Transferring control to Linux (at address 8162d170) ...
    ## Giving linux memsize in MB, 256
    
    Starting kernel ...
    
    LINUX started...
    
    THIS IS ASIC
    
    SDK 5.0.S.0
    [    0.000000] Linux version 3.10.14 (eason@ubuntu) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2013.05 r48067) ) #2 SMP Wed May 22 19:27:59 CST 2019
    [    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: 10000000 @ 00000000 (usable)
    [    0.000000] Initrd not found or empty - disabling initrd
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x00000000-0x00ffffff]
    [    0.000000]   Normal   [mem 0x01000000-0x0fffffff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x00000000-0x0fffffff]
    [    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 @81b92000 s6848 r8192 d13632 u32768
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
    [    0.000000] Kernel command line: console=ttyS1,57600n8 root=/dev/mtdblock6 init=/etc/preinit
    [    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.000000] Writing ErrCtl register=0003007d
    [    0.000000] Readback ErrCtl register=0003007d
    [    0.000000] Memory: 249976k/262144k available (6365k kernel code, 12168k reserved, 2264k data, 260k init, 0k highmem)
    [    0.000000] Hierarchical RCU implementation.
    [    0.000000] NR_IRQS:128
    [    0.000000] console [ttyS1] enabled
    [    0.120000] Calibrating delay loop... 577.53 BogoMIPS (lpj=1155072)
    [    0.156000] pid_max: default: 32768 minimum: 301
    [    0.160000] Mount-cache hash table entries: 512
    [    0.164000] launch: starting cpu1
    [    0.168000] launch: cpu1 gone!
    [    0.168000] CPU1 revision is: 0001992f (MIPS 1004Kc)
    [    0.168000] Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
    [    0.168000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
    [    0.168000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
    [    0.200000] Synchronize counters for CPU 1: done.
    [    0.208000] launch: starting cpu2
    [    0.212000] launch: cpu2 gone!
    [    0.212000] CPU2 revision is: 0001992f (MIPS 1004Kc)
    [    0.212000] Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
    [    0.212000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
    [    0.212000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
    [    0.244000] Synchronize counters for CPU 2: done.
    [    0.252000] launch: starting cpu3
    [    0.256000] launch: cpu3 gone!
    [    0.256000] CPU3 revision is: 0001992f (MIPS 1004Kc)
    [    0.256000] Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
    [    0.256000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
    [    0.256000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
    [    0.284000] Synchronize counters for CPU 3: done.
    [    0.292000] Brought up 4 CPUs
    [    0.296000] NET: Registered protocol family 16
    [    0.596000] release PCIe RST: RALINK_RSTCTRL = 7000000
    [    0.600000] PCIE PHY initialize
    [    0.604000] ***** Xtal 40MHz *****
    [    0.608000] start MT7621 PCIe register access
    [    1.200000] RALINK_RSTCTRL = 7000000
    [    1.204000] RALINK_CLKCFG1 = 77ffeff8
    [    1.208000]
    [    1.208000] *************** MT7621 PCIe RC mode *************
    [    1.704000] PCIE2 no card, disable it(RST&CLK)
    [    1.708000] pcie_link status = 0x3
    [    1.712000] RALINK_RSTCTRL= 3000000
    [    1.716000] *** Configure Device number setting of Virtual PCI-PCI bridge ***
    [    1.720000] RALINK_PCI_PCICFG_ADDR = 21007f2 -> 21007f2
    [    1.724000] PCIE0 enabled
    [    1.728000] PCIE1 enabled
    [    1.732000] interrupt enable status: 300000
    [    1.736000] Port 1 N_FTS = 1b105000
    [    1.740000] Port 0 N_FTS = 1b105000
    [    1.744000] config reg done
    [    1.748000] init_rt2880pci done
    [    1.764000] bio: create slab  at 0
    [    1.768000] vgaarb: loaded
    [    1.772000] SCSI subsystem initialized
    [    1.780000] PCI host bridge to bus 0000:00
    [    1.788000] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
    [    1.800000] pci_bus 0000:00: root bus resource [io  0x1e160000-0x1e16ffff]
    [    1.816000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
    [    1.832000] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    1.848000] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    1.864000] pci 0000:00:00.0: BAR 0: can't assign mem (size 0x80000000)
    [    1.876000] pci 0000:00:01.0: BAR 0: can't assign mem (size 0x80000000)
    [    1.892000] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
    [    1.904000] pci 0000:00:01.0: BAR 8: assigned [mem 0x60100000-0x601fffff]
    [    1.916000] pci 0000:00:00.0: BAR 1: assigned [mem 0x60200000-0x6020ffff]
    [    1.932000] pci 0000:00:01.0: BAR 1: assigned [mem 0x60210000-0x6021ffff]
    [    1.944000] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
    [    1.960000] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    1.968000] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
    [    1.984000] pci 0000:02:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit]
    [    1.996000] pci 0000:00:01.0: PCI bridge to [bus 02]
    [    2.008000] pci 0000:00:01.0:   bridge window [mem 0x60100000-0x601fffff]
    [    2.020000] PCI: Enabling device 0000:00:00.0 (0004 -> 0006)
    [    2.032000] PCI: Enabling device 0000:00:01.0 (0004 -> 0006)
    [    2.044000] BAR0 at slot 0 = 0
    [    2.048000] bus=0x0, slot = 0x0
    [    2.056000] res[0]->start = 0
    [    2.060000] res[0]->end = 0
    [    2.068000] res[1]->start = 60200000
    [    2.072000] res[1]->end = 6020ffff
    [    2.080000] res[2]->start = 0
    [    2.084000] res[2]->end = 0
    [    2.092000] res[3]->start = 0
    [    2.096000] res[3]->end = 0
    [    2.104000] res[4]->start = 0
    [    2.108000] res[4]->end = 0
    [    2.116000] res[5]->start = 0
    [    2.120000] res[5]->end = 0
    [    2.124000] BAR0 at slot 1 = 0
    [    2.132000] bus=0x0, slot = 0x1
    [    2.140000] res[0]->start = 0
    [    2.144000] res[0]->end = 0
    [    2.148000] res[1]->start = 60210000
    [    2.156000] res[1]->end = 6021ffff
    [    2.164000] res[2]->start = 0
    [    2.168000] res[2]->end = 0
    [    2.176000] res[3]->start = 0
    [    2.180000] res[3]->end = 0
    [    2.188000] res[4]->start = 0
    [    2.192000] res[4]->end = 0
    [    2.196000] res[5]->start = 0
    [    2.204000] res[5]->end = 0
    [    2.208000] bus=0x1, slot = 0x0, irq=0x4
    [    2.216000] res[0]->start = 60000000
    [    2.224000] res[0]->end = 600fffff
    [    2.232000] res[1]->start = 0
    [    2.236000] res[1]->end = 0
    [    2.244000] res[2]->start = 0
    [    2.248000] res[2]->end = 0
    [    2.252000] res[3]->start = 0
    [    2.260000] res[3]->end = 0
    [    2.264000] res[4]->start = 0
    [    2.272000] res[4]->end = 0
    [    2.276000] res[5]->start = 0
    [    2.284000] res[5]->end = 0
    [    2.288000] bus=0x2, slot = 0x1, irq=0x18
    [    2.296000] res[0]->start = 60100000
    [    2.304000] res[0]->end = 601fffff
    [    2.308000] res[1]->start = 0
    [    2.316000] res[1]->end = 0
    [    2.320000] res[2]->start = 0
    [    2.328000] res[2]->end = 0
    [    2.332000] res[3]->start = 0
    [    2.340000] res[3]->end = 0
    [    2.344000] res[4]->start = 0
    [    2.348000] res[4]->end = 0
    [    2.356000] res[5]->start = 0
    [    2.360000] res[5]->end = 0
    [    2.368000] Switching to clocksource MIPS
    [    2.376000] NET: Registered protocol family 2
    [    2.384000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
    [    2.400000] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
    [    2.412000] TCP: Hash tables configured (established 2048 bind 2048)
    [    2.424000] TCP: reno registered
    [    2.432000] UDP hash table entries: 256 (order: 1, 8192 bytes)
    [    2.444000] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    [    2.456000] NET: Registered protocol family 1
    [    2.464000] RPC: Registered named UNIX socket transport module.
    [    2.476000] RPC: Registered udp transport module.
    [    2.484000] RPC: Registered tcp transport module.
    [    2.496000] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    2.508000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    2.520000] jffs2: version 2.2. (NAND) (ZLIB) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
    [    2.540000] fuse init (API version 7.22)
    [    2.548000] msgmni has been set to 488
    [    2.556000] io scheduler noop registered (default)
    [    2.568000] reg_int_mask=0, INT_MASK= 0
    [    2.576000] HSDMA_init
    [    2.580000]
    [    2.580000]  hsdma_phy_tx_ring0 = 0x00c00000, hsdma_tx_ring0 = 0xa0c00000
    [    2.596000]
    [    2.596000]  hsdma_phy_rx_ring0 = 0x00c04000, hsdma_rx_ring0 = 0xa0c04000
    [    2.612000] TX_CTX_IDX0 = 0
    [    2.620000] TX_DTX_IDX0 = 0
    [    2.624000] RX_CRX_IDX0 = 3ff
    [    2.632000] RX_DRX_IDX0 = 0
    [    2.636000] set_fe_HSDMA_glo_cfg
    [    2.644000] HSDMA_GLO_CFG = 465
    [    2.648000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
    [    2.664000] serial8250: ttyS0 at MMIO 0x1e000d00 (irq = 27) is a 16550A
    [    2.676000] serial8250: ttyS1 at MMIO 0x1e000c00 (irq = 26) is a 16550A
    [    2.688000] Ralink gpio driver initialized
    [    2.700000] brd: module loaded
    [    2.708000] flash manufacture id: c2, device id 20 19
    [    2.720000] MX25L25635E(c2 2019c220) (32768 Kbytes)
    [    2.728000] mtd .name = raspi, .size = 0x02000000 (32M) .erasesize = 0x00010000 (64K) .numeraseregions = 0
    [    2.748000] Creating 12 MTD partitions on "raspi":
    [    2.756000] 0x000000000000-0x000002000000 : "ALL"
    [    2.768000] 0x000000000000-0x000000030000 : "Bootloader"
    [    2.780000] 0x000000030000-0x000000040000 : "Config"
    [    2.788000] 0x000000040000-0x000000050000 : "Factory"
    [    2.800000] 0x000000050000-0x000001850000 : "firmware"
    [    2.808000] 0x000000050000-0x000000a50000 : "kernel"
    [    2.820000] 0x000000a50000-0x000001850000 : "rootfs"
    [    2.832000] 0x000001850000-0x000001c50000 : "tm_pattern"
    [    2.840000] 0x000001c50000-0x000001d50000 : "tm_key"
    [    2.852000] 0x000001d50000-0x000001e00000 : "nvram"
    [    2.864000] 0x000001e00000-0x000002000000 : "rootfs_data"
    [    2.872000] 0x000000050000-0x000001d50000 : "all_fw_tm"
    [    2.884000] PPP generic driver version 2.4.2
    [    2.892000] PPP BSD Compression module registered
    [    2.904000] PPP MPPE Compression module registered
    [    2.912000] NET: Registered protocol family 24
    [    2.920000] PPTP driver version 0.8.5
    [    2.928000] register mt_drv
    [    2.944000]
    [    2.944000]
    [    2.944000] === pAd = c0201000, size = 3858008 ===
    [    2.944000]
    [    2.964000] <-- RTMPAllocAdapterBlock, Status=0
    [    2.972000] pAd->PciHif.CSRBaseAddress =0xc0100000, csr_addr=0xc0100000!
    [    2.984000] RTMPInitPCIeDevice():device_id=0x7615
    [    2.996000] DriverOwn()::Try to Clear FW Own...
    [    3.300000] DriverOwn()::Success to clear FW Own
    [    3.308000] mt_pci_chip_cfg(): HWVer=0x8a10, FWVer=0x8a10, pAd->ChipID=0x7615
    [    3.324000] mt_pci_chip_cfg(): HIF_SYS_REV=0x76150001
    [    3.336000] RtmpChipOpsHook(492): Not support for HIF_MT yet! MACVersion=0x0
    [    3.348000] mt7615_init()-->
    [    3.352000] Use 1st iPAiLNA default bin.
    [    3.360000] Use 0st /etc_ro/wlan/MT7615E_EEPROM1.bin default bin.
    [    3.372000] <--mt7615_init()
    [    3.380000] ChipOpsMCUHook
    [    3.392000] cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
    [    3.408000] cut_through_token_list_init(): 8f72e208,8f72e208
    [    3.420000] cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
    [    3.432000] cut_through_token_list_init(): 8f72e218,8f72e218
    [    3.444000] <-- RTMPAllocTxRxRingMemory, Status=0
    [    3.464000]
    [    3.464000]
    [    3.464000] === pAd = c0701000, size = 3858008 ===
    [    3.464000]
    [    3.484000] <-- RTMPAllocAdapterBlock, Status=0
    [    3.492000] pAd->PciHif.CSRBaseAddress =0xc0600000, csr_addr=0xc0600000!
    [    3.508000] RTMPInitPCIeDevice():device_id=0x7615
    [    3.516000] DriverOwn()::Try to Clear FW Own...
    [    3.820000] DriverOwn()::Success to clear FW Own
    [    3.832000] mt_pci_chip_cfg(): HWVer=0x8a10, FWVer=0x8a10, pAd->ChipID=0x7615
    [    3.844000] mt_pci_chip_cfg(): HIF_SYS_REV=0x76150001
    [    3.856000] RtmpChipOpsHook(492): Not support for HIF_MT yet! MACVersion=0x0
    [    3.868000] mt7615_init()-->
    [    3.876000] Use 2nd iPAiLNA default bin.
    [    3.884000] Use 1st /etc_ro/wlan/MT7615E_EEPROM2.bin default bin.
    [    3.896000] <--mt7615_init()
    [    3.900000] ChipOpsMCUHook
    [    3.912000] cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
    [    3.928000] cut_through_token_list_init(): 8ecc5388,8ecc5388
    [    3.940000] cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
    [    3.956000] cut_through_token_list_init(): 8ecc5398,8ecc5398
    [    3.968000] <-- RTMPAllocTxRxRingMemory, Status=0
    [    3.976000] rdm_major = 253
    [    3.984000] GMAC1_MAC_ADRH -- : 0x000004ab
    [    3.992000] GMAC1_MAC_ADRL -- : 0x18****23
    [    4.000000] Ralink APSoC Ethernet Driver Initilization. v3.1  1024 rx/tx descriptors allocated, mtu = 1500!
    [    4.016000] [LOG]|WIRE| LAN Starting
    [    4.024000] GMAC1_MAC_ADRH -- : 0x000004ab
    [    4.032000] GMAC1_MAC_ADRL -- : 0x18****23
    [    4.040000] PROC INIT OK!
    [    4.048000] nf_conntrack version 0.5.0 (3905 buckets, 15620 max)
    [    4.060000] xt_time: kernel timezone is -0000
    [    4.068000] gre: GRE over IPv4 demultiplexor driver
    [    4.076000] ip_tables: (C) 2000-2006 Netfilter Core Team
    [    4.088000] Type=Restricted Cone
    [    4.096000] TCP: cubic registered
    [    4.100000] NET: Registered protocol family 10
    [    4.112000] sit: IPv6 over IPv4 tunneling driver
    [    4.120000] NET: Registered protocol family 17
    [    4.132000] Bridge firewalling registered
    [    4.140000] Ebtables v2.0 registered
    [    4.144000] l2tp_core: L2TP core driver, V2.0
    [    4.156000] l2tp_ppp: PPPoL2TP kernel driver, V2.0
    [    4.164000] l2tp_netlink: L2TP netlink interface
    [    4.172000] 8021q: 802.1Q VLAN Support v1.8
    [    4.188000] VFS: Mounted root (squashfs filesystem) readonly on device 31:6.
    [    4.200000] Freeing unused kernel memory: 260K (8186f000 - 818b0000)
    [    4.884000] init: Console is alive
    [    5.900000] init: - preinit -
    /etc/preinit: line 1: check_skip: not found
    /etc/preinit: line 210: ramips_board_detect: not found
    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
    Before mount_root
    [    9.076000] jffs2: notice: (99) jffs2_build_xattr_subsystem: complete building xattr subsystem, 4 of xdatum (0 unchecked, 2 orphan) and 114 of xref (0 dead, 104 orphan) found.
    [    9.108000] mount_root: switching to jffs2 overlay
    cp: can't stat '/etc/changemode': No such file or directory
    cp: can't stat '/etc/config/gxbk': No such file or directory
    After[    9.160000] procd: - early -
    mount_root
    [    9.776000] procd: - ubus -
    [   10.784000] procd: - init -
    Please press Enter to activate this console.
    [   15.884000] ip_gre: GRE over IPv4 tunneling driver
    [   15.912000] bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
    [   16.132000] /proc/router_ip created
    [   16.372000] ip6_tables: (C) 2000-2006 Netfilter Core Team
    [   16.392000] Netfilter messages via NETLINK v0.30.
    [   16.544000] ctnetlink v0.93: registering with nfnetlink.
    [   16.616000] u32 classifier
    [   16.620000]     Performance counters on
    [   16.628000]     Actions configured
    [   16.648000] Mirror/redirect action on
    [   16.672000] Failed to load ipt action
    [   19.228000]  4:FFFFFFAB:18:12:FFFFFFE0:23
    [   19.236000] Raeth v3.1 (Tasklet)
    [   19.244000] set CLK_CFG_0 = 0x40a00020!!!!!!!!!!!!!!!!!!1
    [   19.260000] phy_free_head is 0xca8000!!!
    [   19.268000] phy_free_tail_phy is 0xca9ff0!!!
    [   19.276000] txd_pool=a0cb0000 phy_txd_pool=00CB0000
    [   19.284000] ei_local->skb_free start address is 0x8edf26cc.
    [   19.296000] free_txd: 00cb0010, ei_local->cpu_ptr: 00CB0000
    [   19.308000]  POOL  HEAD_PTR | DMA_PTR | CPU_PTR
    [   19.316000] ----------------+---------+--------
    [   19.328000]      0xa0cb0000 0x00CB0000 0x00CB0000
    [   19.336000]
    [   19.336000] phy_qrx_ring = 0x00caa000, qrx_ring = 0xa0caa000
    [   19.352000]
    [   19.352000] phy_rx_ring0 = 0x00cac000, rx_ring[0] = 0xa0cac000
    [   19.388000] MT7530 Reset Completed!!
    [   19.400000] change HW-TRAP to 0x117c8f
    [   19.408000] set LAN/WAN WLLLL
    [   19.420000] GMAC1_MAC_ADRH -- : 0x000004ab
    [   19.428000] GMAC1_MAC_ADRL -- : 0x18****23
    [   19.436000] GDMA2_MAC_ADRH -- : 0x000004ab
    [   19.444000] GDMA2_MAC_ADRL -- : 0x18****24
    [   19.452000] eth3: ===> VirtualIF_open
    [   19.460000] MT7621 GE2 link rate to 1G
    [   19.460000] CDMA_CSG_CFG = 81000000
    [   19.460000] GDMA1_FWD_CFG = 20710000
    [   19.460000] GDMA2_FWD_CFG = 20710000
    [   19.500000] eth3: ===> VirtualIF_open
    [   19.972000] eth3: ===> VirtualIF_close
    [   19.988000] ra2880stop()...Done
    [   19.996000] eth3: ===> VirtualIF_close
    [   20.004000] Free TX/RX Ring Memory!
    [   20.020000]  4:FFFFFFAB:18:12:FFFFFFE0:23
    [   20.028000] Raeth v3.1 (Tasklet)
    [   20.036000] set CLK_CFG_0 = 0x40a00020!!!!!!!!!!!!!!!!!!1
    [   20.052000] phy_free_head is 0xca8000!!!
    [   20.060000] phy_free_tail_phy is 0xca9ff0!!!
    [   20.068000] txd_pool=a0cb0000 phy_txd_pool=00CB0000
    [   20.076000] ei_local->skb_free start address is 0x8edf26cc.
    [   20.088000] free_txd: 00cb0010, ei_local->cpu_ptr: 00CB0000
    [   20.100000]  POOL  HEAD_PTR | DMA_PTR | CPU_PTR
    [   20.108000] ----------------+---------+--------
    [   20.120000]      0xa0cb0000 0x00CB0000 0x00CB0000
    [   20.128000]
    [   20.128000] phy_qrx_ring = 0x00caa000, qrx_ring = 0xa0caa000
    [   20.144000]
    [   20.144000] phy_rx_ring0 = 0x00cac000, rx_ring[0] = 0xa0cac000
    [   20.180000] MT7530 Reset Completed!!
    [   20.192000] change HW-TRAP to 0x117c8f
    [   20.200000] set LAN/WAN WLLLL
    [   20.212000] GMAC1_MAC_ADRH -- : 0x000004ab
    [   20.220000] GMAC1_MAC_ADRL -- : 0x18****23
    [   20.228000] eth3: ===> VirtualIF_open
    [   20.236000] MT7621 GE2 link rate to 1G
    [   20.236000] CDMA_CSG_CFG = 81000000
    [   20.236000] GDMA1_FWD_CFG = 20710000
    [   20.236000] GDMA2_FWD_CFG = 20710000
    [   20.236000] device eth2 entered promiscuous mode
    [   20.236000] br-lan: port 1(eth2) entered forwarding state
    [   20.236000] br-lan: port 1(eth2) entered forwarding state
    [   20.236000] eth3: ===> VirtualIF_open
    dnsmasq
    dnsmasq [br-lan]
    [   22.240000] br-lan: port 1(eth2) entered forwarding state
    UHTTP crt Checked
    main init
    main init
    page=[/setup/index.html]
    count=[43]
    page=[/setup/index.html]
    count=[43]
    [   26.044000] Ralink HW NAT Module Enabled
    [   26.052000] eth2 ifindex =4
    [   26.060000] eth3 ifindex =b
    [   27.604000] jffs2: notice: (2265) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
    [   28.768000] jffs2: notice: (2366) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
    NO COPY updated DPI
    0x007f
    [   30.268000] tdts: module license 'Proprietary' taints kernel.
    [   30.280000] Disabling lock debugging due to kernel taint
    [   30.296000] DriverOwn()::Return since already in Driver Own...
    [   30.316000] APWdsInitialize():WdsEntry[0]
    [   30.320000] Init chrdev /dev/detector with major 190
    [   30.320000] tdts: tcp_conn_max = 4000
    [   30.320000]
    [   30.320000] tdts: tcp_conn_timeout = 300 sec
    [   30.320000]
    [   30.352000] APWdsInitialize():WdsEntry[1]
    [   30.360000] APWdsInitialize():WdsEntry[2]
    [   30.372000] APWdsInitialize():WdsEntry[3]
    [   30.380000]
    [   30.380000] [Force Roam] => Force Roam Support = 0
    [   30.396000] RT_CfgSetMacAddress : invalid length (0)
    [   30.404000] E2pAccessMode=2
    [   30.412000] SSID[0]=elecom-****23, EdcaIdx=0
    [   30.420000] TriBandChGrp=0/0/0/0
    [   30.428000] cfg_mode=14
    [   30.432000] cfg_mode=14
    [   30.440000] wmode_band_equal(): Band Equal!
    [   30.448000] BandSteering=0
    [   30.452000] BndStrgBssIdx=
    [   30.460000] [TxPower] BAND0: 100
    [   30.468000] [SKUenable] BAND0: 1
    [   30.472000] [PERCENTAGEenable] BAND0: 1
    [   30.480000] [BFBACKOFFenable] BAND0: 1
    [   30.488000] CalCacheApply = 0
    [   30.496000] APEdca0
    [   30.500000] APEdca1
    [   30.504000] APEdca2
    [   30.512000] APEdca3
    [   30.516000] APSDCapable[0]=0
    [   30.524000] APSDCapable[1]=0
    [   30.528000] APSDCapable[2]=0
    [   30.536000] APSDCapable[3]=0
    [   30.540000] APSDCapable[4]=0
    [   30.544000] APSDCapable[5]=0
    [   30.552000] APSDCapable[6]=0
    [   30.556000] APSDCapable[7]=0
    [   30.564000] APSDCapable[8]=0
    [   30.568000] APSDCapable[9]=0
    [   30.576000] APSDCapable[10]=0
    [   30.580000] APSDCapable[11]=0
    [   30.588000] APSDCapable[12]=0
    [   30.592000] APSDCapable[13]=0
    [   30.600000] APSDCapable[14]=0
    [   30.604000] APSDCapable[15]=0
    [   30.612000] default ApCliAPSDCapable[0]=0
    [   30.620000] default ApCliAPSDCapable[1]=0
    [   30.628000] DfsZeroWait Support=0/0
    [   30.636000] DfsZeroWaitCacTime=0/0
    [   30.664000] SHN Release Version: 1.0.0 RELS_0002
    [   30.672000] UDB Core Version: 0.2.18
    [   30.680000] Init chrdev /dev/idpfw with major 191
    [   30.692000] rtmp_read_wds_from_file(): WDS Profile
    [   30.704000] APWdsInitialize():WdsEntry[0]
    [   30.712000] APWdsInitialize():WdsEntry[1]
    [   30.720000] APWdsInitialize():WdsEntry[2]
    [   30.728000] APWdsInitialize():WdsEntry[3]
    [   30.736000] WDS-Enable mode=0
    [   30.744000] AndesSendCmdMsg: Could not send in band command due to diablefRTMP_ADAPTER_MCU_SEND_IN_BAND_CMD
    [   30.768000] HT: WDEV[0] Ext Channel = ABOVE
    [   30.776000] IDPfw: IDPfw is ready
    [   30.776000] HT: greenap_cap = 0
    [   30.788000] sizeof forward pkt param = 192
    Running license control..waiting 25 second ...
    [   30.828000] IcapMode = 0
    [   30.840000] WtcSetMaxStaNum: MaxStaNum:103, BssidNum:1, WdsNum:4, ApcliNum:2, MaxNumChipRept:16, MinMcastWcid:125
    [   30.860000] Top Init Done!
    [   30.868000] Use alloc_skb
    [   30.872000] RX[0] DESC a0ca4000 size = 16384
    [   30.884000] RX[1] DESC a0ca2000 size = 8192
    [   30.896000] Hif Init Done!
    [   30.900000] ctl->txq = c0aa9e6c
    [   30.908000] ctl->rxq = c0aa9e78
    [   30.912000] ctl->ackq = c0aa9e84
    [   30.920000] ctl->kickq = c0aa9e90
    [   30.924000] ctl->tx_doneq = c0aa9e9c
    [   30.932000] ctl->rx_doneq = c0aa9ea8
    [   30.940000] mt7615_fw_prepare():FW(8a10), HW(8a10), CHIPID(7615))
    [   30.952000] mt7615_fw_prepare(2687): MT7615_E3, USE E3 patch and ram code binary image
    [   30.968000] AndesMTLoadRomMethodFwDlRing(1035), cap->rom_patch_len(11102)
    [   30.984000] AndesRestartCheck: Current TOP_MISC2(0x1)
    [   30.992000] AndesRestartCheck: (TOP_MISC2 = 1), ready to continue...RET(0)
    [   31.004000] 20170809192718a
    [   31.012000]
    [   31.016000] platform =
    [   31.020000] ALPS
    [   31.024000] hw/sw version =
    [   31.028000] 8a108a10
    [   31.032000] patch version =
    [   31.040000] 00000010
    [   31.044000] Patch SEM Status=2
    [   31.048000] MtCmdPatchSemGet:(ret = 0)
    [   31.056000]
    [   31.056000] Patch is not ready && get semaphore success, SemStatus(2)
    [   31.072000] EventGenericEventHandler: CMD Success
    [   31.084000] MtCmdAddressLenReq:(ret = 0)
    [   31.092000] MtCmdPatchFinishReq
    [   31.108000] EventGenericEventHandler: CMD Success
    [   31.116000] Send checksum req..
    [   31.124000] Patch SEM Status=3
    [   31.128000] MtCmdPatchSemGet:(ret = 0)
    [   31.136000]
    [   31.136000] Release patch semaphore, SemStatus(3)
    [   31.148000] AndesMTEraseRomPatch
    [   31.156000] WfMcuHwInit: Before NICLoadFirmware, check IcapMode=0
    [   31.168000] AndesMTLoadFwMethodFwDlRing(809), cap->fw_len(462248)
    [   31.180000] Build Date:_201708190346
    [   31.188000] Build Date:_201708190346
    [   31.196000] AndesRestartCheck: Current TOP_MISC2(0x1)
    [   31.204000] AndesRestartCheck: (TOP_MISC2 = 1), ready to continue...RET(0)
    [   31.220000] EventGenericEventHandler: CMD Success
    [   31.228000] MtCmdAddressLenReq:(ret = 0)
    [   31.240000] EventGenericEventHandler: CMD Success
    [   31.248000] MtCmdAddressLenReq:(ret = 0)
    [   31.256000] MtCmdFwStartReq: override = 1, address = 540672
    [   31.268000] EventGenericEventHandler: CMD Success
    [   31.276000] Build Date:_201707211524
    [   31.284000] EventGenericEventHandler: CMD Success
    [   31.296000] MtCmdAddressLenReq:(ret = 0)
    [   31.304000] MtCmdFwStartReq: override = 4, address = 0
    [   31.364000] EventGenericEventHandler: CMD Success
    [   31.416000] WfMcuHwInit: NICLoadFirmware OK, Check IcapMode=0
    [   31.428000] MCU Init Done!
    [   31.436000] efuse_probe: efuse = 10000212
    [   31.444000] RtmpChipOpsEepromHook::e2p_type=2, inf_Type=5
    [   31.452000] RtmpEepromGetDefault::e2p_dafault=1
    [   31.464000] RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 2, E2P default = 1
    [   31.476000] NVM is FLASH mode. dev_idx [1] FLASH OFFSET [0x8000]
    [   31.504000] NICReadEEPROMParameters: EEPROM 0x52 b317
    [   31.520000] MtCmdSetTxLpfCal:(ret = 0)
    [   31.528000] MtCmdSetTxIqCal:(ret = 0)
    [   31.536000] MtCmdSetTxDcCal:(ret = 0)
    [   31.544000] MtCmdSetRxFiCal:(ret = 0)
    [   31.548000] NICReadEEPROMParameters: EEPROM 0x52 b317
    [   32.100000] Country Region from e2p = 101
    [   32.108000] mt7615_antenna_default_reset(): TxPath = 3, RxPath = 3
    [   32.120000] mt7615_antenna_default_reset(): DBDC 2G TxPath = 1, 2G RxPath = 1
    [   32.136000] mt7615_antenna_default_reset(): DBDC 5G TxPath = 1, 2G RxPath = 1
    [   32.152000] rtmp_read_txpwr_from_eeprom(233): Don't Support this now!
    [   32.164000] RTMPReadTxPwrPerRate(1381): Don't Support this now!
    [   32.176000] RcRadioInit(): DbdcMode=0, ConcurrentBand=1
    [   32.184000] RcRadioInit(): pRadioCtrl=8ecc6438,Band=0,rfcap=3,channel=1,PhyMode=2 extCha=0xf
    [   32.204000] Band Rf: 1, Phy Mode: 2
    [   32.208000] AntCfgInit(2766): Not support for HIF_MT yet!
    [   32.220000] MtSingleSkuLoadParam: RF_LOCKDOWN Feature OFF !!!
    [   32.260000] MtBfBackOffLoadTable: RF_LOCKDOWN Feature OFF !!!
    [   32.344000] EEPROM Init Done!
    [   32.348000] mt_mac_init()-->
    [   32.356000] mt_mac_pse_init(2750): Don't Support this now!
    [   32.364000] mt7615_init_mac_cr()-->
    [   32.372000] mt7615_init_mac_cr(): TMAC_TRCR0=0x82783c8c
    [   32.384000] MtAsicSetMacMaxLen(1300): Not finish Yet!
    [   32.392000] <--mt_mac_init()
    [   32.404000] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
    [   32.416000] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
    [   32.428000] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
    [   32.440000] MAC Init Done!
    [   32.448000] MT7615BBPInit():BBP Initialization.....
    [   32.456000]  Band 0: valid=1, isDBDC=0, Band=2, CBW=1, CentCh/PrimCh=1/1, prim_ch_idx=0, txStream=2
    [   32.476000]  Band 1: valid=0, isDBDC=0, Band=0, CBW=0, CentCh/PrimCh=0/0, prim_ch_idx=0, txStream=0
    [   32.492000] MT7615BBPInit() todo
    [   32.500000] PHY Init Done!
    [   32.508000] tx_pwr_comp_init():NotSupportYet!
    [   32.516000] MtCmdSetMacTxRx:(ret = 0)
    [   32.524000] CountryCode(2.4G/5G)=1/1, RFIC=25, PHY mode(2.4G/5G)=49/49, support 19 channels
    [   32.540000] ApAutoChannelAtBootUp----------------->
    [   32.548000] ApAutoChannelAtBootUp: AutoChannelBootup = 1, AutoChannelFlag = 1
    [   32.564000] MtCmdSetMacTxRx:(ret = 0)
    [   32.572000] mt7615_apply_dcoc() : reload Central CH [42] BW [2] from cetral freq [5210]  offset [1900]
    [   32.592000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   32.600000] mt7615_apply_dpd() : reload Central CH [42] BW [2] from cetral freq [5220] i[9] offset [2d98]
    [   32.620000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   32.628000] MtCmdChannelSwitch: control_chl = 36,control_ch2=0, central_chl = 42 DBDCIdx= 0, Band= 0
    [   32.644000] BW = 2,TXStream = 3, RXStream = 3, scan(1)
    [   32.908000] mt7615_apply_dcoc() : reload Central CH [42] BW [2] from cetral freq [5210]  offset [1900]
    [   32.924000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   32.932000] mt7615_apply_dpd() : reload Central CH [42] BW [2] from cetral freq [5220] i[9] offset [2d98]
    [   32.952000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   32.960000] MtCmdChannelSwitch: control_chl = 40,control_ch2=0, central_chl = 42 DBDCIdx= 0, Band= 0
    [   32.980000] BW = 2,TXStream = 3, RXStream = 3, scan(1)
    [   33.340000] mt7615_apply_dcoc() : reload Central CH [42] BW [2] from cetral freq [5210]  offset [1900]
    [   33.356000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   33.364000] mt7615_apply_dpd() : reload Central CH [42] BW [2] from cetral freq [5220] i[9] offset [2d98]
    [   33.384000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   33.392000] MtCmdChannelSwitch: control_chl = 44,control_ch2=0, central_chl = 42 DBDCIdx= 0, Band= 0
    [   33.412000] BW = 2,TXStream = 3, RXStream = 3, scan(1)
    [   33.780000] mt7615_apply_dcoc() : reload Central CH [42] BW [2] from cetral freq [5210]  offset [1900]
    [   33.796000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   33.804000] mt7615_apply_dpd() : reload Central CH [42] BW [2] from cetral freq [5220] i[9] offset [2d98]
    [   33.824000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   33.832000] MtCmdChannelSwitch: control_chl = 48,control_ch2=0, central_chl = 42 DBDCIdx= 0, Band= 0
    [   33.852000] BW = 2,TXStream = 3, RXStream = 3, scan(1)
    [   34.072000] mt7615_apply_dcoc() : reload Central CH [58] BW [2] from cetral freq [5290]  offset [1a00]
    [   34.088000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   34.096000] mt7615_apply_dpd() : reload Central CH [58] BW [2] from cetral freq [5300] i[13] offset [30f8]
    [   34.116000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   34.124000] MtCmdChannelSwitch: control_chl = 52,control_ch2=0, central_chl = 58 DBDCIdx= 0, Band= 0
    [   34.144000] BW = 2,TXStream = 3, RXStream = 3, scan(1)
    [   34.364000] mt7615_apply_dcoc() : reload Central CH [58] BW [2] from cetral freq [5290]  offset [1a00]
    [   34.380000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   34.388000] mt7615_apply_dpd() : reload Central CH [58] BW [2] from cetral freq [5300] i[13] offset [30f8]
    [   34.408000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   34.416000] MtCmdChannelSwitch: control_chl = 56,control_ch2=0, central_chl = 58 DBDCIdx= 0, Band= 0
    [   34.436000] BW = 2,TXStream = 3, RXStream = 3, scan(1)
    [   34.656000] mt7615_apply_dcoc() : reload Central CH [58] BW [2] from cetral freq [5290]  offset [1a00]
    [   34.672000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   34.680000] mt7615_apply_dpd() : reload Central CH [58] BW [2] from cetral freq [5300] i[13] offset [30f8]
    [   34.700000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   34.708000] MtCmdChannelSwitch: control_chl = 60,control_ch2=0, central_chl = 58 DBDCIdx= 0, Band= 0
    [   34.728000] BW = 2,TXStream = 3, RXStream = 3, scan(1)
    [   34.948000] mt7615_apply_dcoc() : reload Central CH [58] BW [2] from cetral freq [5290]  offset [1a00]
    [   34.964000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   34.972000] mt7615_apply_dpd() : reload Central CH [58] BW [2] from cetral freq [5300] i[13] offset [30f8]
    [   34.992000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   35.000000] MtCmdChannelSwitch: control_chl = 64,control_ch2=0, central_chl = 58 DBDCIdx= 0, Band= 0
    [   35.020000] BW = 2,TXStream = 3, RXStream = 3, scan(1)
    [   35.240000] mt7615_apply_dcoc() : reload Central CH [106] BW [2] from cetral freq [5530]  offset [1d00]
    [   35.256000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   35.264000] mt7615_apply_dpd() : reload Central CH [106] BW [2] from cetral freq [5540] i[25] offset [3b18]
    [   35.284000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   35.292000] MtCmdChannelSwitch: control_chl = 100,control_ch2=0, central_chl = 106 DBDCIdx= 0, Band= 0
    [   35.312000] BW = 2,TXStream = 3, RXStream = 3, scan(1)
    [   35.532000] mt7615_apply_dcoc() : reload Central CH [106] BW [2] from cetral freq [5530]  offset [1d00]
    [   35.548000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   35.556000] mt7615_apply_dpd() : reload Central CH [106] BW [2] from cetral freq [5540] i[25] offset [3b18]
    [   35.576000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   35.588000] MtCmdChannelSwitch: control_chl = 104,control_ch2=0, central_chl = 106 DBDCIdx= 0, Band= 0
    [   35.604000] BW = 2,TXStream = 3, RXStream = 3, scan(1)
    [   35.824000] mt7615_apply_dcoc() : reload Central CH [106] BW [2] from cetral freq [5530]  offset [1d00]
    [   35.840000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   35.848000] mt7615_apply_dpd() : reload Central CH [106] BW [2] from cetral freq [5540] i[25] offset [3b18]
    [   35.868000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   35.880000] MtCmdChannelSwitch: control_chl = 108,control_ch2=0, central_chl = 106 DBDCIdx= 0, Band= 0
    [   35.896000] BW = 2,TXStream = 3, RXStream = 3, scan(1)
    [   36.132000] mt7615_apply_dcoc() : reload Central CH [106] BW [2] from cetral freq [5530]  offset [1d00]
    [   36.148000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   36.156000] mt7615_apply_dpd() : reload Central CH [106] BW [2] from cetral freq [5540] i[25] offset [3b18]
    [   36.176000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   36.188000] MtCmdChannelSwitch: control_chl = 112,control_ch2=0, central_chl = 106 DBDCIdx= 0, Band= 0
    [   36.204000] BW = 2,TXStream = 3, RXStream = 3, scan(1)
    [   36.424000] mt7615_apply_dcoc() : reload Central CH [122] BW [2] from cetral freq [5610]  offset [1e00]
    [   36.440000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   36.448000] mt7615_apply_dpd() : reload Central CH [122] BW [2] from cetral freq [5620] i[29] offset [3e78]
    [   36.468000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   36.480000] MtCmdChannelSwitch: control_chl = 116,control_ch2=0, central_chl = 122 DBDCIdx= 0, Band= 0
    [   36.496000] BW = 2,TXStream = 3, RXStream = 3, scan(1)
    [   36.716000] mt7615_apply_dcoc() : reload Central CH [122] BW [2] from cetral freq [5610]  offset [1e00]
    [   36.732000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   36.740000] mt7615_apply_dpd() : reload Central CH [122] BW [2] from cetral freq [5620] i[29] offset [3e78]
    [   36.760000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   36.772000] MtCmdChannelSwitch: control_chl = 120,control_ch2=0, central_chl = 122 DBDCIdx= 0, Band= 0
    [   36.788000] BW = 2,TXStream = 3, RXStream = 3, scan(1)
    [   37.008000] mt7615_apply_dcoc() : reload Central CH [122] BW [2] from cetral freq [5610]  offset [1e00]
    [   37.024000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   37.032000] mt7615_apply_dpd() : reload Central CH [122] BW [2] from cetral freq [5620] i[29] offset [3e78]
    [   37.052000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   37.064000] MtCmdChannelSwitch: control_chl = 124,control_ch2=0, central_chl = 122 DBDCIdx= 0, Band= 0
    [   37.080000] BW = 2,TXStream = 3, RXStream = 3, scan(1)
    [   37.420000] mt7615_apply_dcoc() : reload Central CH [122] BW [2] from cetral freq [5610]  offset [1e00]
    [   37.436000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   37.444000] mt7615_apply_dpd() : reload Central CH [122] BW [2] from cetral freq [5620] i[29] offset [3e78]
    [   37.464000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   37.472000] MtCmdChannelSwitch: control_chl = 128,control_ch2=0, central_chl = 122 DBDCIdx= 0, Band= 0
    [   37.492000] BW = 2,TXStream = 3, RXStream = 3, scan(1)
    [   37.716000] ====================================================================
    [   37.728000] Channel  36 : Busy Time =   1367, Skip Channel = FALSE, BwCap = TRUE
    [   37.744000] Channel  40 : Busy Time =   2179, Skip Channel = FALSE, BwCap = TRUE
    [   37.760000] Channel  44 : Busy Time =   1049, Skip Channel = FALSE, BwCap = TRUE
    [   37.772000] Channel  48 : Busy Time =   1386, Skip Channel = FALSE, BwCap = TRUE
    [   37.788000] Channel  52 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   37.804000] Channel  56 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   37.816000] Channel  60 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   37.832000] Channel  64 : Busy Time =      9, Skip Channel = FALSE, BwCap = TRUE
    [   37.848000] Channel 100 : Busy Time =    463, Skip Channel = FALSE, BwCap = TRUE
    [   37.860000] Channel 104 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   37.876000] Channel 108 : Busy Time =      7, Skip Channel = FALSE, BwCap = TRUE
    [   37.892000] Channel 112 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   37.904000] Channel 116 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   37.920000] Channel 120 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   37.936000] Channel 124 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   37.952000] Channel 128 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   37.964000] ====================================================================
    [   37.980000] Rule 3 Channel Busy time value : Select Primary Channel 116
    [   37.992000] Rule 3 Channel Busy time value : Min Channel Busy = 0
    [   38.004000] Rule 3 Channel Busy time value : BW = 80
    [   38.016000]  AutoChSelUpdateChannel(): Update channel for wdev0 for this band PhyMode = 49,Channel = 116
    [   38.036000] ApAutoChannelAtBootUp<-----------------
    [   38.044000] WifiSysOpen(), wdev idx = 0
    [   38.052000] wdev_attr_update(): wdevId0 = 04:ab:18:****:26
    [   38.064000] Current Channel is 116. DfsZeroWaitSupport=0
    [   38.076000] MtAsicSetChBusyStat(840): Not support for HIF_MT yet!
    [   38.088000] [PMF]APPMFInit:: apidx=0, MFPC=0, MFPR=0, SHA256=0
    [   38.100000] [PMF]WPAMakeRsnIeCap: RSNIE Capability MFPC=0, MFPR=0
    [   38.112000]
    [   38.112000] [Force Roam] => Force Roam Support = 0
    [   38.124000] HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:49,Channel=116
    [   38.144000] CountryCode(2.4G/5G)=1/1, RFIC=25, PHY mode(2.4G/5G)=49/49, support 19 channels
    [   38.160000] Enable 20/40 BSSCoex Channel Scan(BssCoex=1)
    [   38.168000] wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:127 for WDEV_TYPE:1
    [   38.168000]  LinkToOmacIdx = 0, LinkToWdevType = 1
    [   38.200000] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO),                 CmdBssInfoBmcRate.u2BcTransmit= 8192,                 CmdBssInfoBmcRate.u2McTransmit = 8196
    [   38.332000]  [RadarStateCheck]Set into RD_SILENCE_MODE!
    [   38.360000] MtCmdTxPowerSKUCtrl: fgTxPowerSKUEn: 1, BandIdx: 0
    [   38.372000] MtCmdTxPowerPercentCtrl: fgTxPowerPercentEn: 1, BandIdx: 0
    [   38.384000] MtCmdTxBfBackoffCtrl: fgTxBFBackoffEn: 1, BandIdx: 0
    [   38.396000] mt7615_bbp_adjust():rf_bw=2, ext_ch=1, PrimCh=116, HT-CentCh=118, VHT-CentCh=122
    [   38.412000] mt7615_apply_dcoc() : reload Central CH [122] BW [2] from cetral freq [5610]  offset [1e00]
    [   38.432000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   38.440000] mt7615_apply_dpd() : reload Central CH [122] BW [2] from cetral freq [5620] i[29] offset [3e78]
    [   38.460000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   38.468000] MtCmdChannelSwitch: control_chl = 116,control_ch2=0, central_chl = 122 DBDCIdx= 0, Band= 0
    [   38.488000] BW = 2,TXStream = 3, RXStream = 3, scan(0)
    [   38.516000] ap_phy_rrm_init_byRf(): AP Set CentralFreq at 122(Prim=116, HT-CentCh=118, VHT-CentCh=122, BBP_BW=2)
    [   38.536000] [WrapDfsRadarDetectStart]: Band0Ch is 116
    [   38.548000] [WrapDfsRadarDetectStart]: Band1Ch is 0
    [   38.568000] LeadTimeForBcn, OmacIdx = 0, WDEV_WITH_BCN_ABILITY
    [   38.580000] MtAsicSetRalinkBurstMode(2605): Not support for HIF_MT yet!
    [   38.596000] MtAsicSetPiggyBack(777): Not support for HIF_MT yet!
    [   38.608000] MtAsicSetTxPreamble(2584): Not support for HIF_MT yet!
    [   38.620000] ap_ftkd> Initialize FT KDP Module...
    [   38.628000] Main bssid = 04:ab:18:****:26
    [   38.636000] AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
    [   38.648000] MtCmdSetMacTxRx:(ret = 0)
    [   38.656000] MCS Set = ff ff ff 00 01
    [   38.660000] <==== mt_wifi_init, Status=0
    [   38.668000] MtCmdEDCCACtrl: BandIdx: 0, EDCCACtrl: 1
    [   38.680000] WDS_Init():
    [   38.684000] The new WDS interface MAC = FF:FF:FF:FF:FF:FF
    [   38.696000]   MacTabMatchWCID = 0
    [   38.704000] The new WDS interface MAC = FF:FF:FF:FF:FF:FF
    [   38.716000]   MacTabMatchWCID = 0
    [   38.724000] The new WDS interface MAC = FF:FF:FF:FF:FF:FF
    [   38.732000]   MacTabMatchWCID = 0
    [   38.740000] The new WDS interface MAC = FF:FF:FF:FF:FF:FF
    [   38.752000]   MacTabMatchWCID = 0
    [   38.760000] Total allocated 4 WDS interfaces!
    [   38.772000] WtcSetMaxStaNum: MaxStaNum:103, BssidNum:1, WdsNum:4, ApcliNum:2, MaxNumChipRept:16, MinMcastWcid:125
    [   38.836000] red_is_enabled: set CR4/N9 RED Enable to 1.
    [   38.848000] cp_support_is_enabled: set CR4 CP_SUPPORT to Mode 2.
    [   38.860000] Correct apidx from 0 to 0 for WscUUIDInit
    [   38.868000] Generate UUID for apidx(0)
    [   38.876000] PpeDevRegHandler : ineterface rai0 register (0)
    [   38.968000] device rai0 entered promiscuous mode
    [   38.980000] br-lan: port 2(rai0) entered forwarding state
    [   38.988000] br-lan: port 2(rai0) entered forwarding state
    [   39.160000] DriverOwn()::Return since already in Driver Own...
    [   39.172000] APWdsInitialize():WdsEntry[0]
    [   39.180000] APWdsInitialize():WdsEntry[1]
    [   39.188000] APWdsInitialize():WdsEntry[2]
    [   39.196000] APWdsInitialize():WdsEntry[3]
    [   39.208000]
    [   39.208000] [Force Roam] => Force Roam Support = 0
    [   39.220000] RT_CfgSetMacAddress : invalid length (0)
    [   39.232000] E2pAccessMode=2
    [   39.236000] SSID[0]=elecom-****23, EdcaIdx=0
    [   39.248000] TriBandChGrp=0/0/0/0
    [   39.252000] cfg_mode=9
    [   39.260000] cfg_mode=9
    [   39.264000] wmode_band_equal(): Band Equal!
    [   39.272000] BandSteering=0
    [   39.280000] BndStrgBssIdx=
    [   39.284000] [TxPower] BAND0: 100
    [   39.292000] [SKUenable] BAND0: 1
    [   39.296000] [PERCENTAGEenable] BAND0: 1
    [   39.304000] [BFBACKOFFenable] BAND0: 1
    [   39.312000] CalCacheApply = 0
    [   39.320000] APEdca0
    [   39.324000] APEdca1
    [   39.328000] APEdca2
    [   39.332000] APEdca3
    [   39.340000] APSDCapable[0]=0
    [   39.344000] APSDCapable[1]=0
    [   39.352000] APSDCapable[2]=0
    [   39.356000] APSDCapable[3]=0
    [   39.364000] APSDCapable[4]=0
    [   39.368000] APSDCapable[5]=0
    [   39.376000] APSDCapable[6]=0
    [   39.380000] APSDCapable[7]=0
    [   39.384000] APSDCapable[8]=0
    [   39.392000] APSDCapable[9]=0
    [   39.396000] APSDCapable[10]=0
    [   39.404000] APSDCapable[11]=0
    [   39.408000] APSDCapable[12]=0
    [   39.416000] APSDCapable[13]=0
    [   39.420000] APSDCapable[14]=0
    [   39.428000] APSDCapable[15]=0
    [   39.432000] default ApCliAPSDCapable[0]=0
    [   39.440000] default ApCliAPSDCapable[1]=0
    [   39.452000] DfsZeroWait Support=0/0
    [   39.460000] DfsZeroWaitCacTime=0/0
    [   39.492000] rtmp_read_wds_from_file(): WDS Profile
    [   39.504000] APWdsInitialize():WdsEntry[0]
    [   39.512000] APWdsInitialize():WdsEntry[1]
    [   39.520000] APWdsInitialize():WdsEntry[2]
    [   39.528000] APWdsInitialize():WdsEntry[3]
    [   39.536000] WDS-Enable mode=0
    [   39.536000] :MtCmdPktBudgetCtrl: bssid(255),wcid(65535),type(0)
    [   39.552000] AndesSendCmdMsg: Could not send in band command due to diablefRTMP_ADAPTER_MCU_SEND_IN_BAND_CMD
    [   39.576000] HT: WDEV[0] Ext Channel = ABOVE
    [   39.584000] HT: greenap_cap = 0
    [   39.624000] IcapMode = 0
    [   39.636000] WtcSetMaxStaNum: MaxStaNum:103, BssidNum:1, WdsNum:4, ApcliNum:2, MaxNumChipRept:16, MinMcastWcid:125
    [   39.656000] Top Init Done!
    [   39.664000] Use alloc_skb
    [   39.668000] RX[0] DESC a0c14000 size = 16384
    [   39.680000] RX[1] DESC a0c12000 size = 8192
    [   39.688000] Hif Init Done!
    [   39.696000] ctl->txq = c05a9e6c
    [   39.700000] ctl->rxq = c05a9e78
    [   39.708000] ctl->ackq = c05a9e84
    [   39.712000] ctl->kickq = c05a9e90
    [   39.720000] ctl->tx_doneq = c05a9e9c
    [   39.728000] ctl->rx_doneq = c05a9ea8
    [   39.736000] mt7615_fw_prepare():FW(8a10), HW(8a10), CHIPID(7615))
    [   39.748000] mt7615_fw_prepare(2687): MT7615_E3, USE E3 patch and ram code binary image
    [   39.764000] AndesMTLoadRomMethodFwDlRing(1035), cap->rom_patch_len(11102)
    [   39.776000] AndesRestartCheck: Current TOP_MISC2(0x1)
    [   39.788000] AndesRestartCheck: (TOP_MISC2 = 1), ready to continue...RET(0)
    [   39.800000] 20170809192718a
    [   39.808000]
    [   39.808000] platform =
    [   39.816000] ALPS
    [   39.816000] hw/sw version =
    [   39.824000] 8a108a10
    [   39.828000] patch version =
    [   39.832000] 00000010
    [   39.840000] Patch SEM Status=2
    [   39.844000] MtCmdPatchSemGet:(ret = 0)
    [   39.852000]
    [   39.852000] Patch is not ready && get semaphore success, SemStatus(2)
    [   39.868000] EventGenericEventHandler: CMD Success
    [   39.876000] MtCmdAddressLenReq:(ret = 0)
    [   39.884000] MtCmdPatchFinishReq
    [   39.904000] EventGenericEventHandler: CMD Success
    [   39.912000] Send checksum req..
    [   39.920000] Patch SEM Status=3
    [   39.924000] MtCmdPatchSemGet:(ret = 0)
    [   39.932000]
    [   39.932000] Release patch semaphore, SemStatus(3)
    [   39.944000] AndesMTEraseRomPatch
    [   39.952000] WfMcuHwInit: Before NICLoadFirmware, check IcapMode=0
    [   39.964000] AndesMTLoadFwMethodFwDlRing(809), cap->fw_len(462248)
    [   39.976000] Build Date:_201708190346
    [   39.984000] Build Date:_201708190346
    [   39.988000] AndesRestartCheck: Current TOP_MISC2(0x1)
    [   40.000000] AndesRestartCheck: (TOP_MISC2 = 1), ready to continue...RET(0)
    [   40.012000] EventGenericEventHandler: CMD Success
    [   40.024000] MtCmdAddressLenReq:(ret = 0)
    [   40.036000] EventGenericEventHandler: CMD Success
    [   40.044000] MtCmdAddressLenReq:(ret = 0)
    [   40.052000] MtCmdFwStartReq: override = 1, address = 540672
    [   40.064000] EventGenericEventHandler: CMD Success
    [   40.072000] Build Date:_201707211524
    [   40.080000] EventGenericEventHandler: CMD Success
    [   40.088000] MtCmdAddressLenReq:(ret = 0)
    [   40.100000] MtCmdFwStartReq: override = 4, address = 0
    [   40.160000] EventGenericEventHandler: CMD Success
    [   40.212000] WfMcuHwInit: NICLoadFirmware OK, Check IcapMode=0
    [   40.224000] MCU Init Done!
    [   40.228000] efuse_probe: efuse = 10000212
    [   40.236000] RtmpChipOpsEepromHook::e2p_type=2, inf_Type=5
    [   40.248000] RtmpEepromGetDefault::e2p_dafault=1
    [   40.256000] RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 2, E2P default = 1
    [   40.272000] NVM is FLASH mode. dev_idx [0] FLASH OFFSET [0x0]
    [   40.296000] NICReadEEPROMParameters: EEPROM 0x52 b317
    [   40.316000] MtCmdSetTxLpfCal:(ret = 0)
    [   40.324000] MtCmdSetTxIqCal:(ret = 0)
    [   40.332000] MtCmdSetTxDcCal:(ret = 0)
    [   40.336000] MtCmdSetRxFiCal:(ret = 0)
    [   40.344000] NICReadEEPROMParameters: EEPROM 0x52 b317
    [   40.896000] Country Region from e2p = 101
    [   40.904000] mt7615_antenna_default_reset(): TxPath = 3, RxPath = 3
    [   40.916000] mt7615_antenna_default_reset(): DBDC 2G TxPath = 1, 2G RxPath = 1
    [   40.932000] mt7615_antenna_default_reset(): DBDC 5G TxPath = 1, 2G RxPath = 1
    [   40.944000] rtmp_read_txpwr_from_eeprom(233): Don't Support this now!
    [   40.960000] RTMPReadTxPwrPerRate(1381): Don't Support this now!
    [   40.972000] RcRadioInit(): DbdcMode=0, ConcurrentBand=1
    [   40.980000] RcRadioInit(): pRadioCtrl=8f72f438,Band=0,rfcap=3,channel=1,PhyMode=2 extCha=0xf
    [   40.996000] Band Rf: 1, Phy Mode: 2
    [   40.996000] br-lan: port 2(rai0) entered forwarding state
    [   41.016000] AntCfgInit(2766): Not support for HIF_MT yet!
    [   41.024000] MtSingleSkuLoadParam: RF_LOCKDOWN Feature OFF !!!
    [   41.040000] MtBfBackOffLoadTable: RF_LOCKDOWN Feature OFF !!!
    [   41.052000] EEPROM Init Done!
    [   41.056000] mt_mac_init()-->
    [   41.064000] mt_mac_pse_init(2750): Don't Support this now!
    [   41.072000] mt7615_init_mac_cr()-->
    [   41.080000] mt7615_init_mac_cr(): TMAC_TRCR0=0x82783c8c
    [   41.092000] MtAsicSetMacMaxLen(1300): Not finish Yet!
    [   41.100000] <--mt_mac_init()
    [   41.112000] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
    [   41.124000] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
    [   41.136000] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
    [   41.148000] MAC Init Done!
    [   41.156000] MT7615BBPInit():BBP Initialization.....
    [   41.164000]  Band 0: valid=1, isDBDC=0, Band=2, CBW=1, CentCh/PrimCh=1/1, prim_ch_idx=0, txStream=2
    [   41.184000]  Band 1: valid=0, isDBDC=0, Band=0, CBW=0, CentCh/PrimCh=0/0, prim_ch_idx=0, txStream=0
    [   41.200000] MT7615BBPInit() todo
    [   41.208000] PHY Init Done!
    [   41.216000] tx_pwr_comp_init():NotSupportYet!
    [   41.224000] MtCmdSetMacTxRx:(ret = 0)
    [   41.232000] CountryCode(2.4G/5G)=1/1, RFIC=25, PHY mode(2.4G/5G)=14/14, support 13 channels
    [   41.248000] ApAutoChannelAtBootUp----------------->
    [   41.256000] ApAutoChannelAtBootUp: AutoChannelBootup = 1, AutoChannelFlag = 1
    [   41.272000] MtCmdSetMacTxRx:(ret = 0)
    [   41.280000] mt7615_apply_dcoc() : reload Central CH [1] BW [0] from cetral freq [2417]  offset [2200]
    [   41.296000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   41.308000] mt7615_apply_dpd() : reload Central CH [1] BW [0] from cetral freq [2422] i[44] offset [4b20]
    [   41.328000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   41.336000] MtCmdChannelSwitch: control_chl = 1,control_ch2=0, central_chl = 1 DBDCIdx= 0, Band= 0
    [   41.352000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   41.708000] mt7615_apply_dcoc() : reload Central CH [2] BW [0] from cetral freq [2417]  offset [2200]
    [   41.724000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   41.732000] mt7615_apply_dpd() : reload Central CH [2] BW [0] from cetral freq [2422] i[44] offset [4b20]
    [   41.752000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   41.760000] MtCmdChannelSwitch: control_chl = 2,control_ch2=0, central_chl = 2 DBDCIdx= 0, Band= 0
    [   41.780000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   42.004000] mt7615_apply_dcoc() : reload Central CH [3] BW [0] from cetral freq [2417]  offset [2200]
    [   42.020000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   42.028000] mt7615_apply_dpd() : reload Central CH [3] BW [0] from cetral freq [2422] i[44] offset [4b20]
    [   42.048000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   42.056000] MtCmdChannelSwitch: control_chl = 3,control_ch2=0, central_chl = 3 DBDCIdx= 0, Band= 0
    [   42.076000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   42.432000] mt7615_apply_dcoc() : reload Central CH [4] BW [0] from cetral freq [2432]  offset [2300]
    [   42.448000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   42.456000] mt7615_apply_dpd() : reload Central CH [4] BW [0] from cetral freq [2422] i[44] offset [4b20]
    [   42.476000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   42.484000] MtCmdChannelSwitch: control_chl = 4,control_ch2=0, central_chl = 4 DBDCIdx= 0, Band= 0
    [   42.504000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   42.760000] mt7615_apply_dcoc() : reload Central CH [5] BW [0] from cetral freq [2432]  offset [2300]
    [   42.776000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   42.784000] mt7615_apply_dpd() : reload Central CH [5] BW [0] from cetral freq [2442] i[45] offset [4bf8]
    [   42.804000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   42.812000] MtCmdChannelSwitch: control_chl = 5,control_ch2=0, central_chl = 5 DBDCIdx= 0, Band= 0
    [   42.832000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   43.052000] mt7615_apply_dcoc() : reload Central CH [6] BW [0] from cetral freq [2432]  offset [2300]
    [   43.068000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   43.076000] mt7615_apply_dpd() : reload Central CH [6] BW [0] from cetral freq [2442] i[45] offset [4bf8]
    [   43.096000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   43.104000] MtCmdChannelSwitch: control_chl = 6,control_ch2=0, central_chl = 6 DBDCIdx= 0, Band= 0
    [   43.124000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   43.376000] mt7615_apply_dcoc() : reload Central CH [7] BW [0] from cetral freq [2447]  offset [2400]
    [   43.392000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   43.400000] mt7615_apply_dpd() : reload Central CH [7] BW [0] from cetral freq [2442] i[45] offset [4bf8]
    [   43.420000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   43.428000] MtCmdChannelSwitch: control_chl = 7,control_ch2=0, central_chl = 7 DBDCIdx= 0, Band= 0
    [   43.448000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   43.792000] mt7615_apply_dcoc() : reload Central CH [8] BW [0] from cetral freq [2447]  offset [2400]
    [   43.808000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   43.816000] mt7615_apply_dpd() : reload Central CH [8] BW [0] from cetral freq [2442] i[45] offset [4bf8]
    [   43.836000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   43.844000] MtCmdChannelSwitch: control_chl = 8,control_ch2=0, central_chl = 8 DBDCIdx= 0, Band= 0
    [   43.864000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   44.196000] mt7615_apply_dcoc() : reload Central CH [9] BW [0] from cetral freq [2447]  offset [2400]
    [   44.212000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   44.220000] mt7615_apply_dpd() : reload Central CH [9] BW [0] from cetral freq [2442] i[45] offset [4bf8]
    [   44.240000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   44.248000] MtCmdChannelSwitch: control_chl = 9,control_ch2=0, central_chl = 9 DBDCIdx= 0, Band= 0
    [   44.268000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   44.632000] mt7615_apply_dcoc() : reload Central CH [10] BW [0] from cetral freq [2467]  offset [2500]
    [   44.648000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   44.656000] mt7615_apply_dpd() : reload Central CH [10] BW [0] from cetral freq [2462] i[46] offset [4cd0]
    [   44.676000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   44.688000] MtCmdChannelSwitch: control_chl = 10,control_ch2=0, central_chl = 10 DBDCIdx= 0, Band= 0
    [   44.704000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   45.024000] mt7615_apply_dcoc() : reload Central CH [11] BW [0] from cetral freq [2467]  offset [2500]
    [   45.040000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   45.048000] mt7615_apply_dpd() : reload Central CH [11] BW [0] from cetral freq [2462] i[46] offset [4cd0]
    [   45.068000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   45.076000] MtCmdChannelSwitch: control_chl = 11,control_ch2=0, central_chl = 11 DBDCIdx= 0, Band= 0
    [   45.096000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   45.344000] ====================================================================
    [   45.356000] Channel   1 : Busy Time =   6673, Skip Channel = FALSE, BwCap = TRUE
    [   45.372000] Channel   2 : Busy Time =   2328, Skip Channel = FALSE, BwCap = TRUE
    [   45.388000] Channel   3 : Busy Time =   3557, Skip Channel = FALSE, BwCap = TRUE
    [   45.400000] Channel   4 : Busy Time =   2457, Skip Channel = FALSE, BwCap = TRUE
    [   45.416000] Channel   5 : Busy Time =   2146, Skip Channel = FALSE, BwCap = TRUE
    [   45.432000] Channel   6 : Busy Time =  12081, Skip Channel = FALSE, BwCap = TRUE
    [   45.444000] Channel   7 : Busy Time =   8986, Skip Channel = FALSE, BwCap = TRUE
    [   45.460000] Channel   8 : Busy Time =   7214, Skip Channel = FALSE, BwCap = TRUE
    [   45.476000] Channel   9 : Busy Time =   5191, Skip Channel = FALSE, BwCap = TRUE
    [   45.488000] Channel  10 : Busy Time =   4495, Skip Channel = FALSE, BwCap = TRUE
    [   45.504000] Channel  11 : Busy Time =   6438, Skip Channel = FALSE, BwCap = TRUE
    [   45.520000] ====================================================================
    [   45.532000] Rule 3 Channel Busy time value : Select Primary Channel 5
    [   45.548000] Rule 3 Channel Busy time value : Min Channel Busy = 2146
    [   45.560000] Rule 3 Channel Busy time value : BW = 20
    [   45.568000]  AutoChSelUpdateChannel(): Update channel for wdev0 for this band PhyMode = 14,Channel = 5
    [   45.588000] ApAutoChannelAtBootUp<-----------------
    [   45.600000] WifiSysOpen(), wdev idx = 0
    [   45.608000] wdev_attr_update(): wdevId0 = 04:ab:18:****:25
    [   45.620000] Current Channel is 5. DfsZeroWaitSupport=0
    [   45.628000] MtAsicSetChBusyStat(840): Not support for HIF_MT yet!
    [   45.640000] [PMF]APPMFInit:: apidx=0, MFPC=0, MFPR=0, SHA256=0
    [   45.652000] [PMF]WPAMakeRsnIeCap: RSNIE Capability MFPC=0, MFPR=0
    [   45.664000]
    [   45.664000] [Force Roam] => Force Roam Support = 0
    [   45.680000] HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:14,Channel=5
    [   45.696000] CountryCode(2.4G/5G)=1/1, RFIC=25, PHY mode(2.4G/5G)=14/14, support 13 channels
    [   45.712000] Enable 20/40 BSSCoex Channel Scan(BssCoex=1)
    [   45.724000] MtCmdSetMacTxRx:(ret = 0)
    [   45.732000] mt7615_apply_dcoc() : reload Central CH [2] BW [0] from cetral freq [2417]  offset [2200]
    [   45.748000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   45.760000] mt7615_apply_dpd() : reload Central CH [2] BW [0] from cetral freq [2422] i[44] offset [4b20]
    [   45.776000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   45.788000] MtCmdChannelSwitch: control_chl = 2,control_ch2=0, central_chl = 2 DBDCIdx= 0, Band= 0
    [   45.804000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   45.824000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   46.132000] mt7615_apply_dcoc() : reload Central CH [3] BW [0] from cetral freq [2417]  offset [2200]
    [   46.148000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   46.156000] mt7615_apply_dpd() : reload Central CH [3] BW [0] from cetral freq [2422] i[44] offset [4b20]
    [   46.176000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   46.184000] MtCmdChannelSwitch: control_chl = 3,control_ch2=0, central_chl = 3 DBDCIdx= 0, Band= 0
    [   46.204000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   46.224000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   46.636000] :MtCmdPktBudgetCtrl: bssid(255),wcid(65535),type(0)
    [   46.708000] mt7615_apply_dcoc() : reload Central CH [4] BW [0] from cetral freq [2432]  offset [2300]
    [   46.724000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   46.732000] mt7615_apply_dpd() : reload Central CH [4] BW [0] from cetral freq [2422] i[44] offset [4b20]
    [   46.752000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   46.760000] MtCmdChannelSwitch: control_chl = 4,control_ch2=0, central_chl = 4 DBDCIdx= 0, Band= 0
    [   46.780000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   46.800000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   47.196000] mt7615_apply_dcoc() : reload Central CH [5] BW [0] from cetral freq [2432]  offset [2300]
    [   47.212000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   47.220000] mt7615_apply_dpd() : reload Central CH [5] BW [0] from cetral freq [2442] i[45] offset [4bf8]
    [   47.240000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   47.248000] MtCmdChannelSwitch: control_chl = 5,control_ch2=0, central_chl = 5 DBDCIdx= 0, Band= 0
    [   47.268000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   47.288000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   47.780000] mt7615_apply_dcoc() : reload Central CH [6] BW [0] from cetral freq [2432]  offset [2300]
    [   47.796000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   47.804000] mt7615_apply_dpd() : reload Central CH [6] BW [0] from cetral freq [2442] i[45] offset [4bf8]
    [   47.824000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   47.832000] MtCmdChannelSwitch: control_chl = 6,control_ch2=0, central_chl = 6 DBDCIdx= 0, Band= 0
    [   47.852000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   47.872000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   48.260000] mt7615_apply_dcoc() : reload Central CH [7] BW [0] from cetral freq [2447]  offset [2400]
    [   48.276000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   48.284000] mt7615_apply_dpd() : reload Central CH [7] BW [0] from cetral freq [2442] i[45] offset [4bf8]
    [   48.304000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   48.312000] MtCmdChannelSwitch: control_chl = 7,control_ch2=0, central_chl = 7 DBDCIdx= 0, Band= 0
    [   48.332000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   48.352000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   48.660000] mt7615_apply_dcoc() : reload Central CH [8] BW [0] from cetral freq [2447]  offset [2400]
    [   48.676000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   48.684000] mt7615_apply_dpd() : reload Central CH [8] BW [0] from cetral freq [2442] i[45] offset [4bf8]
    [   48.704000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   48.712000] MtCmdChannelSwitch: control_chl = 8,control_ch2=0, central_chl = 8 DBDCIdx= 0, Band= 0
    [   48.732000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   48.752000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   49.080000] mt7615_apply_dcoc() : reload Central CH [9] BW [0] from cetral freq [2447]  offset [2400]
    [   49.096000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   49.104000] mt7615_apply_dpd() : reload Central CH [9] BW [0] from cetral freq [2442] i[45] offset [4bf8]
    [   49.124000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   49.132000] MtCmdChannelSwitch: control_chl = 9,control_ch2=0, central_chl = 9 DBDCIdx= 0, Band= 0
    [   49.152000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   49.172000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   49.480000] mt7615_apply_dcoc() : reload Central CH [10] BW [0] from cetral freq [2467]  offset [2500]
    [   49.496000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   49.504000] mt7615_apply_dpd() : reload Central CH [10] BW [0] from cetral freq [2462] i[46] offset [4cd0]
    [   49.524000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   49.532000] MtCmdChannelSwitch: control_chl = 10,control_ch2=0, central_chl = 10 DBDCIdx= 0, Band= 0
    [   49.552000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   49.572000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   49.892000] mt7615_apply_dcoc() : reload Central CH [11] BW [0] from cetral freq [2467]  offset [2500]
    [   49.908000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   49.916000] mt7615_apply_dpd() : reload Central CH [11] BW [0] from cetral freq [2462] i[46] offset [4cd0]
    [   49.936000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   49.944000] MtCmdChannelSwitch: control_chl = 11,control_ch2=0, central_chl = 11 DBDCIdx= 0, Band= 0
    [   49.964000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   49.984000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   50.292000] mt7615_apply_dcoc() : reload Central CH [12] BW [0] from cetral freq [2467]  offset [2500]
    [   50.308000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   50.316000] mt7615_apply_dpd() : reload Central CH [12] BW [0] from cetral freq [2462] i[46] offset [4cd0]
    [   50.336000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   50.344000] MtCmdChannelSwitch: control_chl = 12,control_ch2=0, central_chl = 12 DBDCIdx= 0, Band= 0
    [   50.364000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   50.384000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   50.692000] wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:127 for WDEV_TYPE:1
    [   50.692000]  LinkToOmacIdx = 0, LinkToWdevType = 1
    [   50.720000] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO),                 CmdBssInfoBmcRate.u2BcTransmit= 0,                 CmdBssInfoBmcRate.u2McTransmit = 0
    [   50.856000]  [RadarStateCheck]Set into RD_NORMAL_MODE
    [   50.868000] MtCmdTxPowerSKUCtrl: fgTxPowerSKUEn: 1, BandIdx: 0
    [   50.880000] MtCmdTxPowerPercentCtrl: fgTxPowerPercentEn: 1, BandIdx: 0
    [   50.892000] MtCmdTxBfBackoffCtrl: fgTxBFBackoffEn: 1, BandIdx: 0
    [   50.904000] mt7615_bbp_adjust():rf_bw=0, ext_ch=0, PrimCh=5, HT-CentCh=5, VHT-CentCh=0
    [   50.920000] mt7615_apply_dcoc() : reload Central CH [5] BW [0] from cetral freq [2432]  offset [2300]
    [   50.940000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   50.948000] mt7615_apply_dpd() : reload Central CH [5] BW [0] from cetral freq [2442] i[45] offset [4bf8]
    [   50.968000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   50.976000] MtCmdChannelSwitch: control_chl = 5,control_ch2=0, central_chl = 5 DBDCIdx= 0, Band= 0
    [   50.996000] BW = 0,TXStream = 3, RXStream = 3, scan(0)
    [   51.752000] ap_phy_rrm_init_byRf(): AP Set CentralFreq at 5(Prim=5, HT-CentCh=5, VHT-CentCh=0, BBP_BW=0)
    [   51.784000] LeadTimeForBcn, OmacIdx = 0, WDEV_WITH_BCN_ABILITY
    [   51.796000] MtAsicSetRalinkBurstMode(2605): Not support for HIF_MT yet!
    [   51.808000] MtAsicSetPiggyBack(777): Not support for HIF_MT yet!
    [   51.820000] MtAsicSetTxPreamble(2584): Not support for HIF_MT yet!
    [   51.836000] ap_ftkd> Initialize FT KDP Module...
    [   51.844000] Main bssid = 04:ab:18:****:25
    [   51.852000] AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
    [   51.864000] MtCmdSetMacTxRx:(ret = 0)
    [   51.868000] MCS Set = ff ff ff 00 01
    [   51.876000] <==== mt_wifi_init, Status=0
    [   51.884000] MtCmdEDCCACtrl: BandIdx: 0, EDCCACtrl: 1
    [   51.896000] WDS_Init():
    [   51.900000] The new WDS interface MAC = FF:FF:FF:FF:FF:FF
    [   51.912000]   MacTabMatchWCID = 0
    [   51.916000] wlan_operate_set_vht_bw(): new vht_bw:1 > cap_vht_bw: 0, correct to cap_vht_bw
    [   51.936000] The new WDS interface MAC = FF:FF:FF:FF:FF:FF
    [   51.948000]   MacTabMatchWCID = 0
    [   51.952000] wlan_operate_set_vht_bw(): new vht_bw:1 > cap_vht_bw: 0, correct to cap_vht_bw
    [   51.972000] The new WDS interface MAC = FF:FF:FF:FF:FF:FF
    [   51.984000]   MacTabMatchWCID = 0
    [   51.988000] wlan_operate_set_vht_bw(): new vht_bw:1 > cap_vht_bw: 0, correct to cap_vht_bw
    [   52.008000] The new WDS interface MAC = FF:FF:FF:FF:FF:FF
    [   52.020000]   MacTabMatchWCID = 0
    [   52.024000] wlan_operate_set_vht_bw(): new vht_bw:1 > cap_vht_bw: 0, correct to cap_vht_bw
    [   52.044000] Total allocated 4 WDS interfaces!
    [   52.052000] wlan_operate_set_vht_bw(): new vht_bw:1 > cap_vht_bw: 0, correct to cap_vht_bw
    [   52.068000] wlan_operate_set_vht_bw(): new vht_bw:1 > cap_vht_bw: 0, correct to cap_vht_bw
    [   52.088000] WtcSetMaxStaNum: MaxStaNum:103, BssidNum:1, WdsNum:4, ApcliNum:2, MaxNumChipRept:16, MinMcastWcid:125
    [   52.148000] red_is_enabled: set CR4/N9 RED Enable to 1.
    [   52.160000] cp_support_is_enabled: set CR4 CP_SUPPORT to Mode 2.
    [   52.172000] Correct apidx from 0 to 0 for WscUUIDInit
    [   52.184000] Generate UUID for apidx(0)
    [   52.188000] PpeDevRegHandler : ineterface ra0 register (1)
    [   52.264000] device ra0 entered promiscuous mode
    [   52.272000] br-lan: port 3(ra0) entered forwarding state
    [   52.284000] br-lan: port 3(ra0) entered forwarding state
    [   54.292000] br-lan: port 3(ra0) entered forwarding state
    [   54.612000] PpeDevRegHandler : ineterface apcli0 register (2)
    [   54.624000] wlan_operate_set_vht_bw(): new vht_bw:1 > cap_vht_bw: 0, correct to cap_vht_bw
    [   54.640000] WifiSysOpen(), wdev idx = 5
    [   54.648000] HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:14,Channel=5
    [   54.668000] HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:14,Channel=5
    [   54.684000] CountryCode(2.4G/5G)=1/1, RFIC=25, PHY mode(2.4G/5G)=14/14, support 13 channels
    [   54.704000] PpeDevRegHandler : ineterface apclii0 register (3)
    [   54.716000] WifiSysOpen(), wdev idx = 5
    [   54.724000] HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:49,Channel=116
    [   54.740000] HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:49,Channel=116
    [   54.760000] CountryCode(2.4G/5G)=1/1, RFIC=25, PHY mode(2.4G/5G)=49/49, support 19 channels
    [   55.048000]
    [   55.048000]  Set_Led_Proc ==> arg = 00-00-00-00-02-00-00-00
    [   55.064000]
    [   55.064000] Set_Led_Proc
    [   55.072000] 00
    [   55.076000] 00
    [   55.080000] 00
    [   55.080000] 00
    [   55.084000] 02
    [   55.088000] 00
    [   55.092000] 00
    [   55.096000] 00
    [   55.100000] AndesLedEnhanceOP: Success!
    [   55.164000]
    [   55.164000]  Set_Led_Proc ==> arg = 00-00-00-00-02-00-00-00
    [   55.180000]
    [   55.180000] Set_Led_Proc
    [   55.188000] 00
    [   55.192000] 00
    [   55.196000] 00
    [   55.200000] 00
    [   55.200000] 02
    [   55.204000] 00
    [   55.208000] 00
    [   55.212000] 00
    [   55.216000] AndesLedEnhanceOP: Success!
    [   55.444000] BndStrg_Init()
    BndStrg_SetInfFlags(): BSS(04:AB:18:****:25) set 2G Inf ra0 ready.
    BndStrg Enable Success
    
    [   55.480000] BndStrg_Init()
    [   55.480000] BndStrg_SetInfFlags(): BSS(04:AB:18:****:26) set 5G Inf rai0 ready.
    BndStrg Enable Success
    start ddns
    
    add_cron
    add_cron data
    
    [   57.596000] BndStrg_InfStatusRsp:INF [ra0]STATUS QUERY ON
    [   57.608000]
    [   57.608000] BndStrg_InfStatusRsp:INF [rai0]STATUS QUERY ON
    [   59.640000] Send DISASSOC frame(3) with ra0
    [   59.648000] Send DISASSOC frame(3) with ra0
    FC start
    FC Disable
    
    

Proxmox VEメモ

自宅で稼働させているサーバの更改に合わせてWindows Server 2012 R2からProxmox VEに移行する方針になったが、初めて触る為色々ハマったのでメモ。

Hyper-VなどからVHD引き継いで移行する際は、仮想ディスク保管用ストレージはLVMにしない(?
Proxmox VEでは、LVMの使い方はホストのLVMボリュームを直接VMにパススルーする感じっぽい。Hyper-Vのように仮想ディスクファイルを用いる形ではないため、仮想ディスクファイルを用いるにはLVMではなく “ディレクトリ” として仮想ディスクファイル保管用ストレージを登録する必要がある?(まだよくわかってない)
Proxmox VEのストレージ設定ファイルは /etc/pve/storage.cfg
WebUI上の操作でストレージを削除する方法がわからないので、とりあえずここから削除したりした。公式の設定ガイドはこの辺
“ディレクトリ” としてストレージを登録した設定例(上2エントリは元々あったもの):

root@Tofu-B460PVE:~# cat /etc/pve/storage.cfg
dir: local
path /var/lib/vz
content vztmpl,iso,backup

lvmthin: local-lvm
thinpool data
vgname pve
content images,rootdir

dir: pve_os-vdisk
path /mnt/pve/os-vdisk
content images,rootdir

dir: pve_data-vdisk
path /mnt/pve/data-vdisk
content images,rootdir,iso

Proxmox VEによるマウント関連は /etc/systemd/system/mount-pve-*.mount
割り当てるディスク間違えた際などはこの辺を修正

root@Tofu-B460PVE:~# ls -alh /etc/systemd/system/mnt-pve*.mount
-rw-r--r-- 1 root root 222 Feb 26 23:31 '/etc/systemd/system/mnt-pve-data\x2dvdisk.mount'
-rw-r--r-- 1 root root 218 Feb 26 23:32 '/etc/systemd/system/mnt-pve-os\x2dvdisk.mount'
Hyper-VからVMを持ってくる際はVHDまたはVHDXをProxmoxで対応している形式に変換
qemu-imgを用いる
例:

Windows Server 2012 R2で使用していたvhdxからqcow2形式への変換
“-f vhdx” は付けなくても通常は自動的に認識される

qemu-img convert -f vhdx -O qcow2 us20_wiki_data.vhdx us20_wiki_data.qcow2

Hyper-Vなど別環境から移行したVMにProxmox VEで割り当てたネットワークアダプタは無効になっていることがある
VM上で lshw -C network によって割り当てたアダプタが存在するか、”DISABLED” になっているかを確認し、無効になっている場合は sudo ifconfig "adapter" up を実行
“adapter” はlshwで確認した際の “logical name”
これ解決するのにだいぶ手間取った
VMのハードウェア構成設定は /etc/pve/qemu-server/ 以下
手動で設定ファイル変更して、qemu-imgによりconvertした元VHDを割り当てたりできる
.confの番号はProxmox VEにおけるVM ID

Proxmox VEで自動的にモニタをスリープさせる

サーバは通常SSHで管理する関係上、モニタを点けっぱなしにしている意味も無いので消灯させる方法を調べたメモ。
これ自体はProxmox VE限定というわけではなくLinux系で広く利用できると思われる。ただ単に手元で設定が必要だったのがProxmox VEだったというだけ。

/etc/default/grub を開き、GRUB_CMDLINE_LINUX_DEFAULT に “consoleblank=20” を追加する
数字はタイムアウトまでの秒数で、任意の値を設定。0にした場合は消灯させない
保存後 update-grub を実行。

参考: Switch Off Backlit for laptops running as a server | feutl.com – You are going to be dead much longer than you are alive.
例:

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Proxmox Virtual Environment"
#GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt video=efifb:off"
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt video=efifb:off consoleblank=20"
GRUB_CMDLINE_LINUX=""

# Disable os-prober, it might add menu entries for each guest
GRUB_DISABLE_OS_PROBER=true

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

NCP-HG100 MCUレジスタメモ

(Mini54FDE)

0x00: MCU_REG_LED -------------> LED点灯/点滅/イルミネーションプリセット?
0x01: MCU_REG_LED_SPEED -------> LED点滅スピード(0x0 - 0xF くらい?)
0x02: MCU_REG_FAN -------------> ファン回転数設定(%, 0/30/70/100), readは常に0かもしれない
0x03: MCU_REG_READ_FAN --------> ファン回転数(%), read-only
0x04: MCU_REG_READ_TEMPER1 ----> 温度1(℃), read-only
0x05: MCU_REG_READ_TEMPER2 ----> 温度2(℃), read-only
0x06: MCU_REG_PWM_LED ---------> ?
0x07: (unknown) ---------------> ファン回転数 (rpm)?
0x08: -
0x09: MCU_REG_READ_FW_VER -----> ファームウェアバージョン, read-only
0x0A: MCU_REG_LED_RED ---------> 赤色LED輝度
0x0B: MCU_REG_LED_GREEN -------> 緑色LED輝度
0x0C: MCU_REG_LED_BLUE --------> 青色LED輝度
0x0D: MCU_REG_PWM_LED_DUTY ----> LEDのPWMデューティー比(%)?
0x0E: -
0x0F: MCU_REG_BOOTLOADER_MODE -> MCUのbootloaderモード設定?
0x10: MCU_REG_LED_F_RED -------> 赤色LED輝度(2色使用されるパターン時のセカンダリ)
0x11: MCU_REG_LED_F_GREEN -----> 緑色LED輝度(同上)
0x12: MCU_REG_LED_F_BLUE ------> 青色LED輝度(同上)

0x0

0x00: (nop?, 分岐引っ掛かっても無さげ)
0x10: blue+lightblue	波		?
0x20: blue->lightblue	特殊ワイプ	中?
0x30: blue->lightblue	ワイプ		速
0x40: blue->lightblue	交互		速
0x80: yellow		点灯
0x90: blue		点滅		遅
0xB0: 全消灯
0xC0: white		点滅		速
0xD0: red		点滅		速
0xE0: white->lightblue	交互		速
0xF0: (nop?, 分岐引っ掛かっても無さげ)

MCUのLEDドライバ用に適当に決めたdefine名

#define PTN_LED_RUNTHRGH_B_LB	0x10
#define PTN_LED_WIPE_B_LB	0x20
#define PTN_LED_WIPE2_B_LB	0x30
#define PTN_LED_LOOP_B_LB	0x40
#define PTN_LED_TOGGLE_Y_B	0x50
#define PTN_LED_BLINK_7_Y	0x60
#define PTN_LED_ON_R		0x70
#define PTN_LED_ON_Y		0x80
#define PTN_LED_BLINK_7_B	0x90
#define PTN_LED_ON_B		0xa0
#define PTN_LED_OFF		0xb0
#define PTN_LED_BLINK_7_W	0xc0
#define PTN_LED_BLINK_7_R	0xd0
#define PTN_LED_WAVE_W_LB	0xe0

WN-DX1167R, WN-AX1167GR2のmt7615eドライバ トラブルメモ

何故か現行masterで、WN-DX1167R, WN-AX1167GR2においてmt7615eドライバがFlash内のeepromデータを正しく読み取れていない。サポート作業時にはもちろん問題無かった。

以下はmt7615eドライバにデバッグ用のメッセージ出力を追加して試したもの

何故かeepromが持っているはずのMagicNumberが “0000” であるとしてbootlogに出力されるが、mtdを確認すると “1576” で正しいものを持っている(little endianで格納されている為、big endianだと “7615”)

WN-DX1167R

U-Boot 1.1.3 (Aug  6 2018 - 14:37:41)

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 [01 F1 80 1D 01]
Device found in MTK table, ID: 1f1, EXT_ID: 801d01
Support this Device in MTK table! 1f1
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:Aug  6 2018  Time:14:37:41
============================================
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.28 | 08/06/2018 14:37:44

..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:    2435315 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.94 (musashino205@Taiha.Net) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r0+15671-ae422083b0)) #0 SMP Wed Feb 3 10:07:53 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-DX1167R
[    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=00013001
[    0.000000] Readback ErrCtl register=00013001
[    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.015478] Calibrating delay loop... 583.68 BogoMIPS (lpj=1167360)
[    0.055828] pid_max: default: 32768 minimum: 301
[    0.065180] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.079587] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.097676] rcu: Hierarchical SRCU implementation.
[    0.107776] smp: Bringing up secondary CPUs ...
[    4.454717] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    4.454727] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    4.454740] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    4.454842] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.144949] Synchronize counters for CPU 1: done.
[    4.545741] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    4.545749] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    4.545757] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    4.545818] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.239389] Synchronize counters for CPU 2: done.
[    4.636876] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    4.636884] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    4.636893] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    4.636955] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.326989] Synchronize counters for CPU 3: done.
[    0.386595] smp: Brought up 1 node, 4 CPUs
[    0.399216] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.418505] futex hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.432338] pinctrl core: initialized pinctrl subsystem
[    0.444125] NET: Registered protocol family 16
[    0.479860] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.500590] clocksource: Switched to clocksource GIC
[    0.512334] NET: Registered protocol family 2
[    0.521548] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.538089] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.553261] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.567251] TCP: Hash tables configured (established 1024 bind 1024)
[    0.579989] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.592895] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.606960] NET: Registered protocol family 1
[    0.615534] PCI: CLS 0 bytes, default 32
[    0.712536] 4 CPUs re-calibrate udelay(lpj = 1167360)
[    0.724104] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    0.738123] random: fast init done
[    0.753870] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.765355] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.787715] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.799004] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.810299] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.822022] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    0.835972] printk: console [ttyS0] disabled
[    0.844412] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[    0.862350] printk: console [ttyS0] enabled
[    0.862350] printk: console [ttyS0] enabled
[    0.878898] printk: bootconsole [early0] disabled
[    0.878898] printk: bootconsole [early0] disabled
[    0.899829] mt7621-nand 1e003000.nand: Using programmed access timing: 31c07388
[    0.914716] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xf1
[    0.927366] nand: AMD/Spansion S34ML01G2
[    0.935174] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    0.950250] mt7621-nand 1e003000.nand: ECC strength adjusted to 4 bits
[    0.963281] mt7621-nand 1e003000.nand: Using programmed access timing: 21005134
[    0.977839] mt7621-nand 1e003000.nand: Using programmed access timing: 21005134
[    0.992390] Scanning device for bad blocks
[    2.976154] 12 fixed-partitions partitions found on MTD device mt7621-nand
[    2.989844] Creating 12 MTD partitions on "mt7621-nand":
[    3.000423] 0x000000000000-0x000000100000 : "u-boot"
[    3.011513] 0x000000100000-0x000000200000 : "u-boot-env"
[    3.023219] 0x000000200000-0x000000300000 : "factory"
[    3.034408] 0x000000300000-0x000000400000 : "SecondBoot"
[    3.046176] 0x000000400000-0x000000800000 : "kernel"
[    3.057309] 0x000000800000-0x000003600000 : "ubi"
[    3.068039] 0x000003600000-0x000003700000 : "Config"
[    3.079106] 0x000003700000-0x000006900000 : "firmware_2"
[    3.091069] 0x000006900000-0x000006a00000 : "Config_2"
[    3.102456] 0x000006a00000-0x000006b00000 : "persist"
[    3.113712] 0x000006b00000-0x000006c00000 : "idmkey"
[    3.124859] 0x000006c00000-0x000007f80000 : "Backup"
[    3.137410] libphy: Fixed MDIO Bus: probed
[    3.171013] libphy: mdio: probed
[    3.177715] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    3.194058] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 20
[    3.212796] mt7621-pci 1e140000.pcie: Parsing DT failed
[    3.225813] NET: Registered protocol family 10
[    3.236042] Segment Routing with IPv6
[    3.243466] NET: Registered protocol family 17
[    3.252736] 8021q: 802.1Q VLAN Support v1.8
[    3.263088] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    3.288755] libphy: dsa slave smi: probed
[    3.297172] mt7530 mdio-bus:1f wan (uninitialized): PHY [dsa-0.0:00] driver [Generic PHY]
[    3.314915] mt7530 mdio-bus:1f lan4 (uninitialized): PHY [dsa-0.0:01] driver [Generic PHY]
[    3.332855] mt7530 mdio-bus:1f lan3 (uninitialized): PHY [dsa-0.0:02] driver [Generic PHY]
[    3.350772] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [dsa-0.0:03] driver [Generic PHY]
[    3.368761] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [dsa-0.0:04] driver [Generic PHY]
[    3.386710] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode
[    3.404339] DSA: tree 0 setup
[    3.410616] rt2880-pinmux pinctrl: pcie is already enabled
[    3.421566] mt7621-pci 1e140000.pcie: Error applying setting, reverse things back
[    3.436638] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port = 1)
[    3.451552] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port = 0)
[    3.566299] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 40MHz
[    3.577411] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 40MHz
[    3.688440] mt7621-pci 1e140000.pcie: pcie0 no card, disable it (RST & CLK)
[    3.702305] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK)
[    3.716170] mt7621-pci 1e140000.pcie: PCIE1 enabled
[    3.725888] mt7621-pci 1e140000.pcie: PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    3.744619] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[    3.757292] pci_bus 0000:00: root bus resource [io  0x1e160000-0x1e16ffff]
[    3.770984] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    3.784681] pci_bus 0000:00: root bus resource [bus 00-ff]
[    3.795650] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    3.807652] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    3.820137] pci 0000:00:00.0: reg 0x14: [mem 0x60200000-0x6020ffff]
[    3.832687] pci 0000:00:00.0: supports D1
[    3.840671] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    3.853728] pci 0000:01:00.0: [14c3:7615] type 00 class 0x000280
[    3.865758] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[    3.879439] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x1 link at 0000:00:00.0 (capable of 4.000 Gb/s with 5 GT/s x1 link)
[    3.908216] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    3.918637] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    3.930774] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    3.944301] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    3.958693] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    3.971905] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    3.985080] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    3.998946] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    4.012467] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref]
[    4.026855] pci 0000:00:00.0: BAR 1: assigned [mem 0x60200000-0x6020ffff]
[    4.040380] pci 0000:00:00.0: BAR 7: assigned [io  0x1e160000-0x1e160fff]
[    4.053910] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
[    4.068485] pci 0000:00:00.0: PCI bridge to [bus 01]
[    4.078380] pci 0000:00:00.0:   bridge window [io  0x1e160000-0x1e160fff]
[    4.091905] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    4.105428] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    4.121189] UBI: auto-attach mtd5
[    4.127814] ubi0: attaching mtd5
[    4.134611] mt7530 mdio-bus:1f: Link is Up - 1Gbps/Full - flow control off
[    4.611571] ubi0: scanning is finished
[    4.635786] ubi0: attached mtd5 (name "ubi", size 46 MiB)
[    4.646608] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    4.660313] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    4.673843] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    4.687712] ubi0: good PEBs: 368, bad PEBs: 0, corrupted PEBs: 0
[    4.699681] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    4.714078] ubi0: max/mean erase counter: 3/1, WL threshold: 4096, image sequence number: 957718678
[    4.732100] ubi0: available PEBs: 0, total reserved PEBs: 368, PEBs reserved for bad PEB handling: 20
[    4.750496] ubi0: background thread "ubi_bgt0d" started, PID 466
[    4.752411] block ubiblock0_0: created from ubi0:0(rootfs)
[    4.773429] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    4.787316] hctosys: unable to open rtc device (rtc0)
[    4.803521] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    4.822041] Freeing unused kernel memory: 1256K
[    4.831104] This architecture does not have kernel memory protection.
[    4.843934] Run /sbin/init as init process
[    5.406549] init: Console is alive
[    5.413592] init: - watchdog -
[    6.105754] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    6.234479] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    6.260921] init: - preinit -
[    6.908803] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[    6.924920] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    6.941787] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    7.093071] random: jshn: uninitialized urandom read (4 bytes read)
[    7.160933] random: jshn: uninitialized urandom read (4 bytes read)
[    7.203599] random: jshn: uninitialized urandom read (4 bytes read)
[    7.418601] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[    7.432216] 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.640138] UBIFS (ubi0:1): default file-system created
[   11.651934] UBIFS (ubi0:1): Mounting in unauthenticated mode
[   11.663432] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 577
[   11.789889] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[   11.805515] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   11.825270] UBIFS (ubi0:1): FS size: 36569088 bytes (34 MiB, 288 LEBs), journal size 1777664 bytes (1 MiB, 14 LEBs)
[   11.846050] UBIFS (ubi0:1): reserved for root: 1727248 bytes (1686 KiB)
[   11.859225] UBIFS (ubi0:1): media format: w5/r0 (latest is w5/r0), UUID 4DCA31C5-245A-41B2-B8EF-AE20AAD89F0F, small LPT model
[   11.884898] mount_root: overlay filesystem has not been fully initialized yet
[   11.899580] mount_root: switching to ubifs overlay
[   11.915786] urandom-seed: Seed file not found (/etc/urandom.seed)
[   12.063030] procd: - early -
[   12.068902] procd: - watchdog -
[   12.668716] procd: - watchdog -
[   12.741525] procd: - ubus -
[   12.833732] procd: - init -
Please press Enter to activate this console.
[   13.517449] kmodloader: loading kernel modules from /etc/modules.d/*
[   13.602826] nat46: module (version 362640b41ae52b732d9e9729e61ac555492442a3) loaded.
[   13.647282] urngd: v1.0.2 started.
[   13.710119] Loading modules backported from Linux version v5.8.18-0-gab435ce49bd1
[   13.725057] Backport generated by backports.git v5.8.18-1-0-ga630fd46
[   13.834878] random: crng init done
[   13.841723] random: 7 urandom warning(s) missed due to ratelimiting
[   13.920232] xt_time: kernel timezone is -0000
[   13.989755] mt7621-pci 1e140000.pcie: bus=1 slot=0 irq=23
[   14.000567] pci 0000:00:00.0: enabling device (0004 -> 0007)
[   14.011855] mt7615e 0000:01:00.0: enabling device (0000 -> 0002)
[   14.025523] mt7615e 0000:01:00.0: eeprom magic: 0000
[   14.035409] mt7615e 0000:01:00.0: use only otp data for mt7615e driver
[   14.048436] mt7615e 0000:01:00.0: Invalid MAC address, using random address 7a:2a:7a:2c:2b:ac
[   14.089447] mt7615e 0000:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20180518100604a
[   14.089447]
[   14.096312] PPP generic driver version 2.4.2
[   14.119644] NET: Registered protocol family 24
[   14.201819] kmodloader: done loading kernel modules from /etc/modules.d/*
[   14.433353] mt7615e 0000:01:00.0: N9 Firmware Version: _reserved_, Build Time: 20200814163649
[   14.517748] mt7615e 0000:01:00.0: CR4 Firmware Version: _reserved_, Build Time: 20190121161307
[   38.742232] mtk_soc_eth 1e100000.ethernet eth0: Link is Down
[   38.754966] mtk_soc_eth 1e100000.ethernet: PPE table busy
[   38.776120] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[   38.792158] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   38.795488] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[   38.822813] 8021q: adding VLAN 0 to HW filter on device lan1
[   38.836992] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   38.850425] br-lan: port 1(lan1) entered blocking state
[   38.860980] br-lan: port 1(lan1) entered disabled state
[   38.872425] device lan1 entered promiscuous mode
[   38.881706] device eth0 entered promiscuous mode
[   38.913620] mt7530 mdio-bus:1f lan2: configuring for phy/gmii link mode
[   38.927763] 8021q: adding VLAN 0 to HW filter on device lan2
[   38.943120] br-lan: port 2(lan2) entered blocking state
[   38.953795] br-lan: port 2(lan2) entered disabled state
[   38.965780] device lan2 entered promiscuous mode
[   38.986188] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[   39.000139] 8021q: adding VLAN 0 to HW filter on device lan3
[   39.015349] br-lan: port 3(lan3) entered blocking state
[   39.025909] br-lan: port 3(lan3) entered disabled state
[   39.038156] device lan3 entered promiscuous mode
[   39.058741] mt7530 mdio-bus:1f lan4: configuring for phy/gmii link mode
[   39.072661] 8021q: adding VLAN 0 to HW filter on device lan4
[   39.087977] br-lan: port 4(lan4) entered blocking state
[   39.098530] br-lan: port 4(lan4) entered disabled state
[   39.115955] device lan4 entered promiscuous mode
[   39.145322] mt7530 mdio-bus:1f wan: configuring for phy/gmii link mode
[   39.159001] 8021q: adding VLAN 0 to HW filter on device wan
[   43.257075] mt7530 mdio-bus:1f wan: Link is Up - 1Gbps/Full - flow control off
[   43.271509] 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+15675-f6b62619c3
-----------------------------------------------------
=== 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:/# iwinfo
wlan0     ESSID: unknown
Access Point: 7A:2A:7A:2C:2B:AC
Mode: Client  Channel: unknown (unknown)
Center Channel 1: unknown 2: unknown
Tx-Power: 6 dBm  Link Quality: unknown/70
Signal: unknown  Noise: unknown
Bit Rate: unknown
Encryption: unknown
Type: nl80211  HW Mode(s): 802.11bgnac
Hardware: 14C3:7615 7615:14C3 [MediaTek MT7615E]
TX power offset: none
Frequency offset: none
Supports VAPs: yes  PHY name: phy0

root@OpenWrt:/# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00100000 00020000 "u-boot"
mtd1: 00100000 00020000 "u-boot-env"
mtd2: 00100000 00020000 "factory"
mtd3: 00100000 00020000 "SecondBoot"
mtd4: 00400000 00020000 "kernel"
mtd5: 02e00000 00020000 "ubi"
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"
root@OpenWrt:/# hexdump -n 128 -C /dev/mtdblock2
00000000  15 76 a0 00 34 76 c5 cc  a9 f4 15 76 c3 14 00 80  |.v..4v.....v....|
00000010  02 00 c3 14 15 76 03 22  ff ff 23 04 0d 02 8f 02  |.....v."..#.....|
00000020  00 80 0a 20 00 00 00 00  00 00 00 00 00 00 00 00  |... ............|
00000030  20 00 00 00 44 00 00 60  01 01 00 00 00 00 30 00  | ...D..`......0.|
00000040  00 00 44 00 04 00 00 00  00 00 00 00 00 00 e0 01  |..D.............|
00000050  20 20 17 b3 40 bb 40 c4  21 82 82 82 c0 c3 21 81  |  ..@.@.!.....!.|
00000060  00 81 c0 c4 21 00 00 00  40 c4 21 00 00 00 40 c5  |....!...@.!...@.|
00000070  14 00 00 c0 c4 1e 00 00  c0 c3 1e 00 00 00 00 14  |................|
00000080
root@OpenWrt:/# hexdump -n 128 -C /sys/kernel/debug/ieee80211/phy0/mt76/eeprom
00000000  00 00 20 00 00 00 00 00  00 00 15 76 c3 14 00 80  |.. ........v....|
00000010  02 00 c3 14 15 76 03 22  ff ff 23 04 0d 02 8f 02  |.....v."..#.....|
00000020  00 80 0a 20 00 00 00 00  00 00 00 00 00 00 00 00  |... ............|
00000030  20 08 00 00 44 00 00 60  01 01 00 00 00 00 00 00  | ...D..`........|
00000040  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000050  00 00 00 b3 40 bb 40 c4  00 00 00 00 c0 c3 00 00  |....@.@.........|
00000060  00 00 c0 c4 00 00 00 00  40 c4 00 00 00 00 40 c5  |........@.....@.|
00000070  00 00 00 c0 c4 00 00 00  c0 c3 00 00 00 40 c3 00  |.............@..|
00000080

WN-AX1167GR2


===================================================================
MT7621   stage1 code 10:33:11 (ASIC)
CPU=50000000 HZ BUS=16666666 HZ
==================================================================
Change MPLL source from XTAL to CR...
do MEMPLL setting..
MEMPLL Config : 0x11100000
3PLL mode + External loopback
=== XTAL-40Mhz === DDR-1200Mhz ===
PLL3 FB_DL: 0x5, 1/0 = 593/431 15000000
PLL4 FB_DL: 0x7, 1/0 = 597/427 1D000000
PLL2 FB_DL: 0x1a, 1/0 = 529/495 69000000
do DDR setting..[00320381]
Apply DDR3 Setting...(use customer AC)
0    8   16   24   32   40   48   56   64   72   80   88   96  104  112  120
--------------------------------------------------------------------------------
0000:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0001:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0002:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0003:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0004:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0005:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0006:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0007:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0008:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0009:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
000A:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
000B:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
000C:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
000D:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
000E:|    0    0    0    0    0    0    0    0    0    0    0    1    1    1    1    1
000F:|    0    0    0    0    0    0    1    1    1    1    1    1    1    1    1    1
0010:|    1    1    1    1    1    1    1    1    1    1    1    0    0    0    0    0
0011:|    1    1    1    1    1    0    0    0    0    0    0    0    0    0    0    0
0012:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0013:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0014:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0015:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0016:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0017:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0018:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0019:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001A:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001B:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001C:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001D:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001E:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001F:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
rank 0 coarse = 16
rank 0 fine = 40
B:|    0    0    0    0    0    0    0    0    1    1    1    0    0    0    0    0
opt_dle value:9
DRAMC_R0DELDLY[018]=00002122
==================================================================
RX      DQS perbit delay software calibration
==================================================================
1.0-15 bit dq delay value
==================================================================
bit|     0  1  2  3  4  5  6  7  8  9
--------------------------------------
0 |    9 8 9 9 6 7 8 6 7 6
10 |    9 8 9 9 7 9
--------------------------------------

==================================================================
2.dqs window
x=pass dqs delay value (min~max)center
y=0-7bit DQ of every group
input delay:DQS0 =34 DQS1 = 33
==================================================================
bit     DQS0     bit      DQS1
0  (1~65)33  8  (1~64)32
1  (1~65)33  9  (1~61)31
2  (2~65)33  10  (1~63)32
3  (1~65)33  11  (1~62)31
4  (1~65)33  12  (1~64)32
5  (1~68)34  13  (1~63)32
6  (1~65)33  14  (1~64)32
7  (1~68)34  15  (1~65)33
==================================================================
3.dq delay value last
==================================================================
bit|    0  1  2  3  4  5  6  7  8   9
--------------------------------------
0 |    10 9 10 10 7 7 9 6 8 8
10 |    10 10 10 10 8 9
==================================================================
==================================================================
TX  perbyte calibration
==================================================================
DQS loop = 15, cmp_err_1 = ffff0000
dqs_perbyte_dly.last_dqsdly_pass[0]=15,  finish count=1
dqs_perbyte_dly.last_dqsdly_pass[1]=15,  finish count=2
DQ loop=15, cmp_err_1 = ffff0080
dqs_perbyte_dly.last_dqdly_pass[1]=15,  finish count=1
DQ loop=14, cmp_err_1 = ffff0000
dqs_perbyte_dly.last_dqdly_pass[0]=14,  finish count=2
byte:0, (DQS,DQ)=(8,8)
byte:1, (DQS,DQ)=(8,8)
20,data:88
[EMI] DRAMC calibration passed

===================================================================
MT7621   stage1 code done
CPU=50000000 HZ BUS=16666666 HZ
===================================================================

U-Boot 1.1.3 (Dec  9 2016 - 10:20:35)

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

Config XHCI 40M PLL
Allocate 16 byte aligned buffer: 87fdf010
Enable NFI Clock
# MTK NAND # : Use HW ECC
NAND ID [01 F1 80 1D 01]
Device found in MTK table, ID: 1f1, EXT_ID: 801d01
Support this Device in MTK table! 1f1
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:Dec  9 2016  Time:10:20: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.24 | 12/09/2016 10:20:37

..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:    2435303 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.94 (musashino205@Taiha.Net) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r0+15671-ae422083b0)) #0 SMP Wed Feb 3 10:07:53 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-AX1167GR2
[    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=00032001
[    0.000000] Readback ErrCtl register=00032001
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 120784K/131072K available (5799K kernel code, 205K rwdata, 1240K rodata, 1256K init, 230K bss, 10288K 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.055826] 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.097677] rcu: Hierarchical SRCU implementation.
[    0.107776] smp: Bringing up secondary CPUs ...
[    4.439567] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    4.439577] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    4.439589] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    4.439691] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.144947] Synchronize counters for CPU 1: done.
[    4.530587] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    4.530595] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    4.530603] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    4.530664] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.239384] Synchronize counters for CPU 2: done.
[    4.621721] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    4.621730] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    4.621738] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    4.621801] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.326985] Synchronize counters for CPU 3: done.
[    0.386592] smp: Brought up 1 node, 4 CPUs
[    0.399186] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.418477] futex hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.432306] pinctrl core: initialized pinctrl subsystem
[    0.444107] NET: Registered protocol family 16
[    0.479266] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.499989] clocksource: Switched to clocksource GIC
[    0.511771] NET: Registered protocol family 2
[    0.521019] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.537542] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.552724] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.566717] TCP: Hash tables configured (established 1024 bind 1024)
[    0.579449] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.592344] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.606389] NET: Registered protocol family 1
[    0.614957] PCI: CLS 0 bytes, default 32
[    0.711935] 4 CPUs re-calibrate udelay(lpj = 1167360)
[    0.722181] random: fast init done
[    0.723168] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    0.753596] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.765085] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.787637] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.799034] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.810346] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.822161] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    0.836136] printk: console [ttyS0] disabled
[    0.844572] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[    0.862510] printk: console [ttyS0] enabled
[    0.862510] printk: console [ttyS0] enabled
[    0.879064] printk: bootconsole [early0] disabled
[    0.879064] printk: bootconsole [early0] disabled
[    0.900090] mt7621-nand 1e003000.nand: Using programmed access timing: 31c07388
[    0.914999] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xf1
[    0.927651] nand: AMD/Spansion S34ML01G2
[    0.935459] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    0.950536] mt7621-nand 1e003000.nand: ECC strength adjusted to 4 bits
[    0.963573] mt7621-nand 1e003000.nand: Using programmed access timing: 21005134
[    0.978130] mt7621-nand 1e003000.nand: Using programmed access timing: 21005134
[    0.992685] Scanning device for bad blocks
[    2.978149] 11 fixed-partitions partitions found on MTD device mt7621-nand
[    2.991841] Creating 11 MTD partitions on "mt7621-nand":
[    3.002427] 0x000000000000-0x000000100000 : "u-boot"
[    3.013531] 0x000000100000-0x000000200000 : "u-boot-env"
[    3.025214] 0x000000200000-0x000000300000 : "factory"
[    3.036464] 0x000000300000-0x000000400000 : "SecondBoot"
[    3.048245] 0x000000400000-0x000000800000 : "kernel"
[    3.059401] 0x000000800000-0x000003600000 : "ubi"
[    3.070345] 0x000003600000-0x000003700000 : "Config"
[    3.081549] 0x000003700000-0x000006900000 : "firmware_2"
[    3.093671] 0x000006900000-0x000006a00000 : "Config_2"
[    3.105195] 0x000006a00000-0x000006b00000 : "persist"
[    3.116704] 0x000006b00000-0x000007f80000 : "Backup"
[    3.129483] libphy: Fixed MDIO Bus: probed
[    3.162369] libphy: mdio: probed
[    3.169062] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    3.185158] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 20
[    3.203889] mt7621-pci 1e140000.pcie: Parsing DT failed
[    3.216734] NET: Registered protocol family 10
[    3.226985] Segment Routing with IPv6
[    3.234406] NET: Registered protocol family 17
[    3.243617] 8021q: 802.1Q VLAN Support v1.8
[    3.253908] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    3.276093] libphy: dsa slave smi: probed
[    3.284511] mt7530 mdio-bus:1f wan (uninitialized): PHY [dsa-0.0:00] driver [Generic PHY]
[    3.302269] mt7530 mdio-bus:1f lan4 (uninitialized): PHY [dsa-0.0:01] driver [Generic PHY]
[    3.320232] mt7530 mdio-bus:1f lan3 (uninitialized): PHY [dsa-0.0:02] driver [Generic PHY]
[    3.338127] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [dsa-0.0:03] driver [Generic PHY]
[    3.356144] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [dsa-0.0:04] driver [Generic PHY]
[    3.374179] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode
[    3.391780] DSA: tree 0 setup
[    3.398004] rt2880-pinmux pinctrl: pcie is already enabled
[    3.408942] mt7621-pci 1e140000.pcie: Error applying setting, reverse things back
[    3.424005] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port = 1)
[    3.438921] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port = 0)
[    3.553670] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 40MHz
[    3.564784] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 40MHz
[    3.675814] mt7621-pci 1e140000.pcie: pcie0 no card, disable it (RST & CLK)
[    3.689679] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK)
[    3.703543] mt7621-pci 1e140000.pcie: PCIE1 enabled
[    3.713266] mt7621-pci 1e140000.pcie: PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    3.731996] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[    3.744659] pci_bus 0000:00: root bus resource [io  0x1e160000-0x1e16ffff]
[    3.758349] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    3.772044] pci_bus 0000:00: root bus resource [bus 00-ff]
[    3.783003] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    3.794997] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    3.807481] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[    3.820038] pci 0000:00:00.0: supports D1
[    3.828021] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    3.840769] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    3.856935] pci 0000:01:00.0: [14c3:7615] type 00 class 0x000280
[    3.868954] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[    3.882634] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x1 link at 0000:00:00.0 (capable of 4.000 Gb/s with 5 GT/s x1 link)
[    3.911334] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    3.921754] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    3.933892] pci 0000:00:00.0:   bridge window [mem 0x00000000-0x000fffff]
[    3.947411] pci 0000:00:00.0:   bridge window [mem 0x00000000-0x000fffff pref]
[    3.961800] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    3.975018] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    3.988194] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    4.002060] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    4.015581] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref]
[    4.029969] pci 0000:00:00.0: BAR 1: assigned [mem 0x60200000-0x6020ffff]
[    4.043502] pci 0000:00:00.0: BAR 7: assigned [io  0x1e160000-0x1e160fff]
[    4.057033] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
[    4.071600] pci 0000:00:00.0: PCI bridge to [bus 01]
[    4.081490] pci 0000:00:00.0:   bridge window [io  0x1e160000-0x1e160fff]
[    4.095009] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    4.108537] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    4.123430] mt7530 mdio-bus:1f: Link is Up - 1Gbps/Full - flow control off
[    4.124562] UBI: auto-attach mtd5
[    4.143808] ubi0: attaching mtd5
[    4.626727] ubi0: scanning is finished
[    4.650886] ubi0: attached mtd5 (name "ubi", size 46 MiB)
[    4.661665] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    4.675351] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    4.688868] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    4.702725] ubi0: good PEBs: 368, bad PEBs: 0, corrupted PEBs: 0
[    4.714683] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    4.729066] ubi0: max/mean erase counter: 3/1, WL threshold: 4096, image sequence number: 1143862103
[    4.747249] ubi0: available PEBs: 0, total reserved PEBs: 368, PEBs reserved for bad PEB handling: 20
[    4.765644] ubi0: background thread "ubi_bgt0d" started, PID 462
[    4.768016] block ubiblock0_0: created from ubi0:0(rootfs)
[    4.788559] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    4.802426] hctosys: unable to open rtc device (rtc0)
[    4.818471] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    4.836879] Freeing unused kernel memory: 1256K
[    4.845922] This architecture does not have kernel memory protection.
[    4.858743] Run /sbin/init as init process
[    5.419887] init: Console is alive
[    5.426970] init: - watchdog -
[    6.120818] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    6.250120] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    6.272304] init: - preinit -
[    6.919559] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[    6.935671] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    6.952574] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    7.103805] random: jshn: uninitialized urandom read (4 bytes read)
[    7.171431] random: jshn: uninitialized urandom read (4 bytes read)
[    7.213851] random: jshn: uninitialized urandom read (4 bytes read)
[    7.428236] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[    7.441836] 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.639693] UBIFS (ubi0:1): Mounting in unauthenticated mode
[   11.651224] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 573
[   11.733626] UBIFS (ubi0:1): recovery needed
[   11.920653] UBIFS (ubi0:1): recovery completed
[   11.929653] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[   11.945248] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   11.964992] UBIFS (ubi0:1): FS size: 36569088 bytes (34 MiB, 288 LEBs), journal size 1777664 bytes (1 MiB, 14 LEBs)
[   11.985769] UBIFS (ubi0:1): reserved for root: 1727248 bytes (1686 KiB)
[   11.998943] UBIFS (ubi0:1): media format: w5/r0 (latest is w5/r0), UUID 4FEB647F-16D4-41E5-9806-D70BF135271A, small LPT model
[   12.024882] mount_root: switching to ubifs overlay
[   12.048502] urandom-seed: Seeding with /etc/urandom.seed
[   12.208237] procd: - early -
[   12.214084] procd: - watchdog -
[   12.812120] procd: - watchdog -
[   12.884831] procd: - ubus -
[   12.979276] procd: - init -
Please press Enter to activate this console.
[   13.740257] kmodloader: loading kernel modules from /etc/modules.d/*
[   13.825877] nat46: module (version 362640b41ae52b732d9e9729e61ac555492442a3) loaded.
[   13.892305] urngd: v1.0.2 started.
[   14.084300] random: crng init done
[   14.091147] random: 7 urandom warning(s) missed due to ratelimiting
[   14.176485] Loading modules backported from Linux version v5.8.18-0-gab435ce49bd1
[   14.191427] Backport generated by backports.git v5.8.18-1-0-ga630fd46
[   14.284071] xt_time: kernel timezone is -0000
[   14.362098] mt7621-pci 1e140000.pcie: bus=1 slot=0 irq=23
[   14.372931] pci 0000:00:00.0: enabling device (0004 -> 0007)
[   14.384245] mt7615e 0000:01:00.0: enabling device (0000 -> 0002)
[   14.398019] mt7615e 0000:01:00.0: eeprom magic: 0000
[   14.407961] mt7615e 0000:01:00.0: use only otp data for mt7615e driver
[   14.421013] mt7615e 0000:01:00.0: Invalid MAC address, using random address 52:a9:76:ac:ae:a2
[   14.461929] mt7615e 0000:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20180518100604a
[   14.461929]
[   14.474133] PPP generic driver version 2.4.2
[   14.491265] NET: Registered protocol family 24
[   14.656201] kmodloader: done loading kernel modules from /etc/modules.d/*
[   14.783299] mt7615e 0000:01:00.0: N9 Firmware Version: _reserved_, Build Time: 20200814163649
[   14.809232] mt7615e 0000:01:00.0: CR4 Firmware Version: _reserved_, Build Time: 20190121161307
[   21.538143] mtk_soc_eth 1e100000.ethernet eth0: Link is Down
[   21.550426] mtk_soc_eth 1e100000.ethernet: PPE table busy
[   21.568401] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[   21.584455] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   21.587556] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[   21.615262] 8021q: adding VLAN 0 to HW filter on device lan1
[   21.629307] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   21.642585] br-lan: port 1(lan1) entered blocking state
[   21.653111] br-lan: port 1(lan1) entered disabled state
[   21.664626] device lan1 entered promiscuous mode
[   21.673916] device eth0 entered promiscuous mode
[   21.705808] mt7530 mdio-bus:1f lan2: configuring for phy/gmii link mode
[   21.719606] 8021q: adding VLAN 0 to HW filter on device lan2
[   21.734088] br-lan: port 2(lan2) entered blocking state
[   21.744579] br-lan: port 2(lan2) entered disabled state
[   21.756607] device lan2 entered promiscuous mode
[   21.776170] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[   21.789941] 8021q: adding VLAN 0 to HW filter on device lan3
[   21.804610] br-lan: port 3(lan3) entered blocking state
[   21.815138] br-lan: port 3(lan3) entered disabled state
[   21.827197] device lan3 entered promiscuous mode
[   21.846681] mt7530 mdio-bus:1f lan4: configuring for phy/gmii link mode
[   21.860589] 8021q: adding VLAN 0 to HW filter on device lan4
[   21.875281] br-lan: port 4(lan4) entered blocking state
[   21.885866] br-lan: port 4(lan4) entered disabled state
[   21.897807] device lan4 entered promiscuous mode
[   21.922392] mt7530 mdio-bus:1f wan: configuring for phy/gmii link mode
[   21.936032] 8021q: adding VLAN 0 to HW filter on device wan
[   26.024785] mt7530 mdio-bus:1f wan: Link is Up - 1Gbps/Full - flow control off
[   26.048448] 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+15675-f6b62619c3
-----------------------------------------------------
=== 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:/# iwinfo
wlan0     ESSID: unknown
Access Point: 52:A9:76:AC:AE:A2
Mode: Client  Channel: unknown (unknown)
Center Channel 1: unknown 2: unknown
Tx-Power: 6 dBm  Link Quality: unknown/70
Signal: unknown  Noise: unknown
Bit Rate: unknown
Encryption: unknown
Type: nl80211  HW Mode(s): 802.11bgnac
Hardware: 14C3:7615 7615:14C3 [MediaTek MT7615E]
TX power offset: none
Frequency offset: none
Supports VAPs: yes  PHY name: phy0

root@OpenWrt:/# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00100000 00020000 "u-boot"
mtd1: 00100000 00020000 "u-boot-env"
mtd2: 00100000 00020000 "factory"
mtd3: 00100000 00020000 "SecondBoot"
mtd4: 00400000 00020000 "kernel"
mtd5: 02e00000 00020000 "ubi"
mtd6: 00100000 00020000 "Config"
mtd7: 03200000 00020000 "firmware_2"
mtd8: 00100000 00020000 "Config_2"
mtd9: 00100000 00020000 "persist"
mtd10: 01480000 00020000 "Backup"
root@OpenWrt:/# hexdump -n 128 -C /dev/mtdblock2
00000000  15 76 a0 00 34 76 c5 9b  a0 b0 15 76 c3 14 00 80  |.v..4v.....v....|
00000010  02 00 c3 14 15 76 03 22  ff ff 23 04 0d 02 8f 02  |.....v."..#.....|
00000020  00 80 0a 20 00 00 00 00  00 00 00 00 00 00 00 00  |... ............|
00000030  20 00 00 00 44 00 00 60  01 01 00 00 00 00 30 00  | ...D..`......0.|
00000040  00 00 44 00 04 00 00 00  00 00 00 00 00 00 e0 01  |..D.............|
00000050  20 20 17 b3 40 ba 40 c4  21 82 82 00 c0 c3 21 00  |  ..@.@.!.....!.|
00000060  c1 c3 c0 c4 21 00 00 00  40 c4 21 00 00 00 40 c5  |....!...@.!...@.|
00000070  14 00 00 c0 c4 1e 00 00  c0 c3 1e 00 00 00 00 14  |................|
00000080
root@OpenWrt:/# hexdump -n 128 -C /sys/kernel/debug/ieee80211/phy0/mt76/eeprom
00000000  00 00 20 00 00 00 00 00  00 00 15 76 c3 14 00 80  |.. ........v....|
00000010  02 00 c3 14 15 76 03 22  ff ff 23 04 0d 02 8f 02  |.....v."..#.....|
00000020  00 80 0a 20 00 00 00 00  00 00 00 00 00 00 00 00  |... ............|
00000030  20 08 00 00 44 00 00 60  01 01 00 00 00 00 00 00  | ...D..`........|
00000040  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000050  00 00 00 b3 40 ba 40 c4  00 00 00 00 c0 c3 00 00  |....@.@.........|
00000060  00 00 c0 c4 00 00 00 00  40 c4 00 00 00 00 40 c5  |........@.....@.|
00000070  00 00 00 c0 c4 00 00 00  c0 c3 00 00 00 40 c3 00  |.............@..|
00000080
root@OpenWrt:/#

WSR-3200AX4S

WXR-5950AX12に続く2つ目のax機。
現在作業中のWSR-2533DHP2と同様MT7622を搭載していることを把握しており、WSR-2533DHP2とは若干の差異があることからそのうち確保したいと考えていたところ、何度かOSCでopenwrt.jpとしてご一緒させて頂いた puhitaku氏 より提供して頂きました。本当に感謝。
WSR-2533DHP2に続くMT7622機としてサポートを追加するため、弄っていくのでメモ。

Switch

zone WAN LAN
port
(WSR-3200AX4S)
INTERNET LAN1 LAN2 LAN3 LAN4
port
(MT7531)
port4 port3 port2 port1 port0

MAC

  • LAN: C4:3C:EA:xx:xx:60 (board_data, mac (text))
  • WAN: C4:3C:EA:xx:xx:60 (board_data, mac (text))
  • 2.4G: C4:3C:EA:xx:xx:61 (?)
  • 5G: C4:3C:EA:xx:xx:68 (?)

U-Boot

カウントダウン中にスペースキーを押下するとautobootが停止

  • help
    MT7622> help
    ?       - alias for 'help'
    backup_message- print backup message.
    base    - print or set address offset
    bdinfo  - print Board Info structure
    boot    - boot default, i.e., run 'bootcmd'
    boot_to_ctp- boot to ctp
    bootd   - boot default, i.e., run 'bootcmd'
    bootm   - boot application image from memory
    bootmenu- ANSI terminal bootmenu
    bootp   - boot image via network using BOOTP/TFTP protocol
    chpart  - change active partition
    cmp     - memory compare
    coninfo - print console devices and information
    cp      - memory copy
    crc32   - checksum calculation
    ctp_check- check if ctp in load_addr is normal.
    dialog  - echo args to console, and get yes or no response from user
    download_setting- set download image file name , and device IP , server IP before upgrade
    dual_image_check- check if image broken and do recovery .
    echo    - echo args to console
    editenv - edit environment variable
    env     - environment handling commands
    esw_read- esw_read   - Dump external switch/GMAC status !!
    
    exit    - exit script
    false   - do nothing, unsuccessfully
    fdt     - flattened device tree utility commands
    filesize_check- check if filesize of the image that you want to upgrade is normal.
    go      - start application at address 'addr'
    help    - print command description/usage
    image_blks- read image size from img_size or image header if no specifying img_size, and divided by blk_size and save image blocks in image_blks variable.
    image_check- check if image in load_addr is normal.
    iminfo  - print header information for application image
    imxtract- extract a part of a multi-image
    invaild_env- need to invaild env.
    itest   - return true/false on integer compare
    loadb   - load binary file over serial line (kermit mode)
    loads   - load S-Record file over serial line
    loadx   - load binary file over serial line (xmodem mode)
    loady   - load binary file over serial line (ymodem mode)
    loop    - infinite loop on address range
    md      - memory display
    mdio    - mdio   - Mediatek PHY register R/W command !!
    
    mm      - memory modify (auto-incrementing address)
    mtdparts- define flash/nand partitions
    mtk_image_blks- read image size from image header (MTK format) located at load_addr, divided by blk_size and save image blocks in image_blks variable.
    mw      - memory write (fill)
    nand    - NAND sub-system
    nboot   - boot from NAND device
    nm      - memory modify (constant address)
    nor     - nor   - nor flash command
    
    ping    - send ICMP ECHO_REQUEST to network host
    printenv- print environment variables
    reco_message- print recovery message.
    reg     - reg   - Mediatek PHY register R/W command !!
    
    reset   - Perform RESET of the CPU
    run     - run commands in an environment variable
    saveenv - save environment variables to persistent storage
    serious_image_check- seriously check if image in load_addr is normal.
    setenv  - set environment variables
    showvar - print local hushshell variables
    sleep   - delay execution for some time
    snor    - snor   - spi-nor flash command
    
    source  - run script from memory
    switch_rxcal- Re-cal PHY Rx DC offset of mt7531 switch !!
    switch_txcal- Re-cal PHY Tx offset of mt7531 switch !!
    test    - minimal test like /bin/sh
    tftpboot- boot image via network using TFTP protocol
    true    - do nothing, successfully
    uboot_check- check if uboot in load_addr is normal.
    version - print monitor, compiler and linker version
    

  • version
    MT7622> version
    
    U-Boot 2014.04-rc1 (Sep 09 2020 - 07:15:15) 0.02
    arm-linux-gcc (Buildroot 2014.11) 4.9.2
    GNU ld (GNU Binutils) 2.24
    

  • printenv
    MT7622> printenv
    arch=arm
    atf_filename=trustzone.bin
    baudrate=115200
    board=mt7622_evb
    board_name=mt7622_evb
    boot0=download_setting kernel;tftpboot ${loadaddr} ${kernel_filename}; bootm
    boot1=download_setting kernel;tftpboot ${loadaddr} ${kernel_filename};run boot_wr_img;run boot_rd_img;bootm
    boot10=if dialog "WARNING, this operation will flash all partitions (preloader + atf + uboot + linux)";then download_setting flashimage;tftpboot ${loadaddr} ${flashimage_filename};run wr_flashimage;invaild_env;else echo "operation aborted by user";fi;
    boot2=dual_image_check;if test ${dual_image} = good; then run boot_rd_img;bootm;fi
    boot3=download_setting uboot;tftpboot ${loadaddr} ${uboot_filename};run wr_uboot;invaild_env
    boot4=loadb;run wr_uboot;invaild_env
    boot5=download_setting atf;tftpboot ${loadaddr} ${atf_filename};run wr_atf
    boot6=download_setting preloader;tftpboot ${loadaddr} ${preloader_filename};run wr_pl
    boot7=download_setting hdr;tftpboot ${loadaddr} ${hdr_filename};run wr_rom_hdr
    boot8=download_setting ctp;tftpboot ${loadaddr} ${ctp_filename};run wr_ctp
    boot9=run boot_rd_ctp;boot_to_ctp
    boot_rd_ctp=nand read 0x40000000 0x1400000 3000000
    boot_rd_img=nand read ${loadaddr} 0x2C0000 2000;image_blks 2048;nand read ${loadaddr} 0x2C0000 ${img_align_size}
    boot_wr_img=filesize_check 0x2000000;if test ${filesize_result} = good; then image_blks 131072;nand erase.spread 0x2C0000  ${filesize};image_blks 2048;nand write ${loadaddr} 0x2C0000 ${filesize};fi
    bootcmd=No
    bootdelay=1
    bootfile=linux.trx-recovery
    bootmenu_0=1. System Load Linux to SDRAM via TFTP.=run boot0
    bootmenu_1=2. System Load Linux Kernel then write to Flash via TFTP.=run boot1
    bootmenu_2=3. Boot system code via Flash.=run boot2
    bootmenu_3=4. System Load U-Boot then write to Flash via TFTP.=run boot3
    bootmenu_delay=30
    bootversion=0.02
    cpu=armv7
    ctp_filename=ctp.bin
    ethact=mtk_eth
    ethaddr=00:0C:E7:11:22:33
    fdt_high=0x6c000000
    flashimage_filename=flashimage.bin
    gpt_filename=GPT_EMMC
    hdr_filename=hdr.binary
    invaild_env=no
    ipaddr=192.168.11.1
    kernel_filename=openwrt-mtkarm-squashfs-trx.bin
    loadaddr=0x4007FF28
    preloader_filename=preloader_fpga7622_64_ldvt.bin
    serverip=192.168.11.2
    soc=mt7622
    stderr=serial
    stdin=serial
    stdout=serial
    uboot_filename=u-boot-mtk.bin
    vendor=mediatek
    wr_atf=filesize_check 0x20000;if test ${filesize_result} = good; then mtk_image_blks 131072;nand erase.spread 0x80000   ${filesize} ;mtk_image_blks 2048;nand write ${loadaddr} 0x80000 ${filesize};fi
    wr_ctp=filesize_check 0xF20000;if test ${filesize_result} = good; then nand erase.spread 0x1400000 3000000 ;nand write ${loadaddr} 0x1400000 3000000;fi
    wr_flashimage=filesize_check 0x8000000;if test ${filesize_result} = good; then nand erase.chip ;nand write ${loadaddr} 0x0 8000000;fi
    wr_pl=filesize_check 0x40000;if test ${filesize_result} = good; then nand erase.spread 0x00000 40000 ;nand write ${loadaddr} 0x00000 40000;fi
    wr_rom_hdr=filesize_check 0x40000;if test ${filesize_result} = good; then nand erase.spread 0x00000 20000 ;nand write ${loadaddr} 0x00000 20000;fi
    wr_uboot=filesize_check 0x60000;if test ${filesize_result} = good; then mtk_image_blks 131072;nand erase.spread 0xC0000  ${filesize} ;mtk_image_blks 2048;nand write ${loadaddr} 0xC0000 ${filesize};fi
    
    Environment size: 3330/4092 bytes
    

  • nand info
    MT7622> nand info
    
    Device 0: nand0, sector size 128 KiB
    Page size      2048 b
    OOB size         64 b
    Erase size   131072 b
    

  • bdinfo
    MT7622> bdinfo
    arch_number = 0x00001DC6
    boot_params = 0x40000100
    DRAM bank   = 0x00000000
    -> start    = 0x40000000
    -> size     = 0x1F000000
    eth0name    = mtk_eth
    ethaddr     = 00:0C:E7:11:22:33
    current eth = mtk_eth
    ip_addr     = 192.168.11.1
    baudrate    = 115200 bps
    TLB addr    = 0x5EFF0000
    relocaddr   = 0x5EF57000
    reloc off   = 0x1D157000
    irq_sp      = 0x5CF55F40
    sp start    = 0x5CF55F30
    

  • tftpboot
    MT7622> tftpboot
    ETH already turn on and power on flow will be skipped...
    
    Waitting for RX_DMA_BUSY status Start... done
    
    mt7531: mt7531_sw_init
    mt7531: mt7531_core_pll_setup, hwstrap = 000000ff, xtal=25MHz
    mt7531: mt7531_mac_port_setup, port = 6
    mt7531: mt7531_set_port_sgmii_force_mode, port = 6
    mt7531: timeout waiting for SGMII_LINK
    mt7531: mt7531_mac_port_setup, PMCR6 = f805633b
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>> START CALIBRATION:
    -------- gephy-calbration (port:0) --------
    CALDLY = 40
    0x1e-e0 = 2929
    0x1f-115 = 5
    GE Rext AnaCal Done! (9)(0x29)
    GE R50 AnaCal Done! (8) (0x35)(0xb5)
    GE R50 AnaCal Done! (7) (0x37)(0xb7)
    GE R50 AnaCal Done! (7) (0x37)(0xb7)
    GE R50 AnaCal Done! (9) (0x34)(0xb4)
    GE 1e_174(0xb5b7), 1e_175(0xb7b4)
    GE Tx offset AnaCal Done! (pair-0)(3)(0x22) 0x1e_172=0x2220
    GE Tx offset AnaCal Done! (pair-1)(6)(0x25) 0x1e_172=0x2225
    GE Tx offset AnaCal Done! (pair-2)(6)(0x25) 0x1e_173=0x2520
    GE Tx offset AnaCal Done! (pair-3)(7)(0x26) 0x1e_173=0x2526
    GE Tx amp AnaCal Done! (pair-0)(1e_12 = 0x6c1b)
    GE Tx amp AnaCal Done! (pair-1)(1e_17 = 0x1b1b)
    GE Tx amp AnaCal Done! (pair-2)(1e_19 = 0x1a22)
    GE Tx amp AnaCal Done! (pair-3)(1e_21 = 0x1921)
    PORT 0 RX_DC_OFFSET
    before pairA output = d
    after pairA output = 2
    before pairB output = e
    after pairB output = 1
    before pairC output = e
    after pairC output = 1
    before pairD output = c
    after pairD output = 0
    -------- gephy-calbration (port:1) --------
    CALDLY = 40
    GE R50 AnaCal Done! (10) (0x32)(0xb2)
    GE R50 AnaCal Done! (9) (0x34)(0xb4)
    GE R50 AnaCal Done! (9) (0x34)(0xb4)
    GE R50 AnaCal Done! (10) (0x32)(0xb2)
    GE 1e_174(0xb2b4), 1e_175(0xb4b2)
    GE Tx offset AnaCal Done! (pair-0)(3)(0x3) 0x1e_172=0x320
    GE Tx offset AnaCal Done! (pair-1)(3)(0x22) 0x1e_172=0x322
    GE Tx offset AnaCal Done! (pair-2)(4)(0x23) 0x1e_173=0x2320
    GE Tx offset AnaCal Done! (pair-3)(2)(0x2) 0x1e_173=0x2302
    GE Tx amp AnaCal Done! (pair-0)(1e_12 = 0x5415)
    GE Tx amp AnaCal Done! (pair-1)(1e_17 = 0x1919)
    GE Tx amp AnaCal Done! (pair-2)(1e_19 = 0x1d25)
    GE Tx amp AnaCal Done! (pair-3)(1e_21 = 0x1820)
    PORT 1 RX_DC_OFFSET
    before pairA output = e
    after pairA output = ff
    before pairB output = d
    after pairB output = 1
    before pairC output = e
    after pairC output = 1
    before pairD output = e
    after pairD output = 0
    -------- gephy-calbration (port:2) --------
    CALDLY = 40
    GE R50 AnaCal Done! (10) (0x32)(0xb2)
    GE R50 AnaCal Done! (10) (0x32)(0xb2)
    GE R50 AnaCal Done! (10) (0x32)(0xb2)
    GE R50 AnaCal Done! (10) (0x32)(0xb2)
    GE 1e_174(0xb2b2), 1e_175(0xb2b2)
    GE Tx offset AnaCal Done! (pair-0)(3)(0x22) 0x1e_172=0x2220
    GE Tx offset AnaCal Done! (pair-1)(5)(0x24) 0x1e_172=0x2224
    GE Tx offset AnaCal Done! (pair-2)(2)(0x21) 0x1e_173=0x2120
    GE Tx offset AnaCal Done! (pair-3)(3)(0x22) 0x1e_173=0x2122
    GE Tx amp AnaCal Done! (pair-0)(1e_12 = 0x4010)
    GE Tx amp AnaCal Done! (pair-1)(1e_17 = 0x1919)
    GE Tx amp AnaCal Done! (pair-2)(1e_19 = 0x121a)
    GE Tx amp AnaCal Done! (pair-3)(1e_21 = 0x1c24)
    PORT 2 RX_DC_OFFSET
    before pairA output = d
    after pairA output = 0
    before pairB output = 1e
    after pairB output = fe
    before pairC output = f
    after pairC output = ff
    before pairD output = c
    after pairD output = 1
    -------- gephy-calbration (port:3) --------
    CALDLY = 40
    GE R50 AnaCal Done! (11) (0x31)(0xb1)
    GE R50 AnaCal Done! (9) (0x34)(0xb4)
    GE R50 AnaCal Done! (9) (0x34)(0xb4)
    GE R50 AnaCal Done! (9) (0x34)(0xb4)
    GE 1e_174(0xb1b4), 1e_175(0xb4b4)
    GE Tx offset AnaCal Done! (pair-0)(2)(0x21) 0x1e_172=0x2120
    GE Tx offset AnaCal Done! (pair-1)(2)(0x2) 0x1e_172=0x2102
    GE Tx offset AnaCal Done! (pair-2)(8)(0x27) 0x1e_173=0x2720
    GE Tx offset AnaCal Done! (pair-3)(7)(0x26) 0x1e_173=0x2726
    GE Tx amp AnaCal Done! (pair-0)(1e_12 = 0x5014)
    GE Tx amp AnaCal Done! (pair-1)(1e_17 = 0x1e1e)
    GE Tx amp AnaCal Done! (pair-2)(1e_19 = 0x161e)
    GE Tx amp AnaCal Done! (pair-3)(1e_21 = 0x171f)
    PORT 3 RX_DC_OFFSET
    before pairA output = d
    after pairA output = 2
    before pairB output = e
    after pairB output = fe
    before pairC output = f
    after pairC output = 0
    before pairD output = e
    after pairD output = ff
    -------- gephy-calbration (port:4) --------
    CALDLY = 40
    GE R50 AnaCal Done! (9) (0x34)(0xb4)
    GE R50 AnaCal Done! (9) (0x34)(0xb4)
    GE R50 AnaCal Done! (8) (0x35)(0xb5)
    GE R50 AnaCal Done! (9) (0x34)(0xb4)
    GE 1e_174(0xb4b4), 1e_175(0xb5b4)
    GE Tx offset AnaCal Done! (pair-0)(2)(0x21) 0x1e_172=0x2120
    GE Tx offset AnaCal Done! (pair-1)(4)(0x23) 0x1e_172=0x2123
    GE Tx offset AnaCal Done! (pair-2)(3)(0x22) 0x1e_173=0x2220
    GE Tx offset AnaCal Done! (pair-3)(2)(0x21) 0x1e_173=0x2221
    GE Tx amp AnaCal Done! (pair-0)(1e_12 = 0x5415)
    GE Tx amp AnaCal Done! (pair-1)(1e_17 = 0x1313)
    GE Tx amp AnaCal Done! (pair-2)(1e_19 = 0xf17)
    GE Tx amp AnaCal Done! (pair-3)(1e_21 = 0x141c)
    PORT 4 RX_DC_OFFSET
    before pairA output = f
    after pairA output = ff
    before pairB output = 1e
    after pairB output = 1
    before pairC output = 1e
    after pairC output = 1
    before pairD output = 1e
    after pairD output = ff
    0x1b000014 = 0x00110214
    Using mtk_eth device
    TFTP from server 192.168.11.2; our IP address is 192.168.11.1
    Filename 'linux.trx-recovery'.
    Load address: 0x4007ff28
    Loading: *
    

Kernel

  • uname -a
    root@localhost:/# uname -a
    Linux localhost 4.4.198 #0 SMP PREEMPT Sat Oct 10 08:58:53 UTC 2020 aarch64 GNU/Linux
    

  • cat /proc/version
    root@localhost:/# cat /proc/version
    Linux version 4.4.198 (*******@************) (gcc version 5.4.0 (LEDE GCC 5.4.0 r0-07329b0) ) #0 SMP PREEMPT Sat Oct 10 08:58:53 UTC 2020
    

  • cat /proc/cpuinfo
    root@localhost:/# cat /proc/cpuinfo
    processor       : 0
    BogoMIPS        : 25.00
    Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32
    CPU implementer : 0x41
    CPU architecture: 8
    CPU variant     : 0x0
    CPU part        : 0xd03
    CPU revision    : 4
    
    processor       : 1
    BogoMIPS        : 25.00
    Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32
    CPU implementer : 0x41
    CPU architecture: 8
    CPU variant     : 0x0
    CPU part        : 0xd03
    CPU revision    : 4
    

  • cat /proc/meminfo
    root@localhost:/# cat /proc/meminfo
    MemTotal:         497588 kB
    MemFree:          318932 kB
    MemAvailable:     356028 kB
    Buffers:            9228 kB
    Cached:            33468 kB
    SwapCached:            0 kB
    Active:            27252 kB
    Inactive:          28092 kB
    Active(anon):      13028 kB
    Inactive(anon):      648 kB
    Active(file):      14224 kB
    Inactive(file):    27444 kB
    Unevictable:           0 kB
    Mlocked:               0 kB
    SwapTotal:             0 kB
    SwapFree:              0 kB
    Dirty:                 0 kB
    Writeback:             0 kB
    AnonPages:         12700 kB
    Mapped:             6868 kB
    Shmem:              1028 kB
    Slab:              25256 kB
    SReclaimable:       6360 kB
    SUnreclaim:        18896 kB
    KernelStack:        2240 kB
    PageTables:         1200 kB
    NFS_Unstable:          0 kB
    Bounce:                0 kB
    WritebackTmp:          0 kB
    CommitLimit:      248792 kB
    Committed_AS:     144800 kB
    VmallocTotal:   258867136 kB
    VmallocUsed:           0 kB
    VmallocChunk:          0 kB
    

  • cat /proc/mtd
    root@localhost:/# cat /proc/mtd
    dev:    size   erasesize  name
    mtd0: 00080000 00020000 "Preloader"
    mtd1: 00040000 00020000 "ATF"
    mtd2: 00080000 00020000 "Bootloader"
    mtd3: 00080000 00020000 "Config"
    mtd4: 00100000 00020000 "Factory"
    mtd5: 01800000 00020000 "Kernel"
    mtd6: 0027ffe4 00020000 "kernel"
    mtd7: 01580000 00020000 "rootfs"
    mtd8: 00900000 00020000 "rootfs_data"
    mtd9: 01800000 00020000 "Kernel2"
    mtd10: 00200000 00020000 "glbcfg"
    mtd11: 00200000 00020000 "board_data"
    mtd12: 03600000 00020000 "WTB"
    

  • ls -al /sys/class/gpio
    root@localhost:/# ls -al /sys/class/gpio
    drwxr-xr-x    2 root     root             0 Jan  1  1970 .
    drwxr-xr-x   36 root     root             0 Jan  1  1970 ..
    --w-------    1 root     root          4096 Jan  1  1970 export
    lrwxrwxrwx    1 root     root             0 Jan  1  1970 gpio409 -> ../../devices/platform/10005000.pinctrl/gpio/gpio409
    lrwxrwxrwx    1 root     root             0 Jan  1  1970 gpio410 -> ../../devices/platform/10005000.pinctrl/gpio/gpio410
    lrwxrwxrwx    1 root     root             0 Jan  1  1970 gpio425 -> ../../devices/platform/10005000.pinctrl/gpio/gpio425
    lrwxrwxrwx    1 root     root             0 Jan  1  1970 gpio427 -> ../../devices/platform/10005000.pinctrl/gpio/gpio427
    lrwxrwxrwx    1 root     root             0 Jan  1  1970 gpio511 -> ../../devices/platform/10005000.pinctrl/gpio/gpio511
    lrwxrwxrwx    1 root     root             0 Jan  1  1970 gpiochip409 -> ../../devices/platform/10005000.pinctrl/gpio/gpiochip409
    --w-------    1 root     root          4096 Jan  1  1970 unexport
    

  • switch –help
    root@localhost:/# switch --help
    ==================Usage===============================================================================================================================
    1) mt753x switch Basic operations=================================================================================================================>>>>
    1.1) switch devs                                                       - list switch device id and model name
    1.2) switch sysctl                                                     - show the ways to access kenerl driver: netlink or ioctl
    1.3) switch reset                                                      - sw reset switch fsm and registers
    1.4) switch reg r [offset]                                             - read the reg with default switch
    1.5) switch reg w [offset] [value]                                     - write the reg with default switch
    1.6) switch reg d [offset]                                             - dump the reg with default switch
    1.7) switch dev [devid] reg r [addr]                           - read the reg with the switch devid
    1.8) switch dev [devid] reg w [addr] [value]                   - write the regs with the switch devid
    1.9) switch dev [devid] reg d [addr]                           - dump the regs with the switch devid
    
    2) mt753x switch PHY operations===================================================================================================================>>>>
    2.1) switch phy                                                        - dump all phy registers (clause 22)
    2.2) switch phy [phy_addr]                                             - dump phy register of specific port (clause 22)
    2.3) switch phy cl22 r [port_num] [phy_reg]                    - read specific phy register of specific port by clause 22
    2.4) switch phy cl22 w [port_num] [phy_reg] [value]            - write specific phy register of specific port by clause 22
    2.5) switch phy cl45 r [port_num] [dev_num] [phy_reg]          - read specific phy register of specific port by clause 45
    2.6) switch phy cl45 w [port_num] [dev_num] [phy_reg] [value]  - write specific phy register of specific port by clause 45
    2.7) switch phy fc [port_num] [enable 0|1]                             - set switch phy flow control, port is 0~4, enable is 1, disable is 0
    2.8) switch phy an [port_num] [enable 0|1]                             - set switch phy auto-negotiation, port is 0~4, enable is 1, disable is 0
    2.9) switch trreg r [port_num] [ch_addr] [node_addr] [data_addr]       - read phy token-ring of specific port
    2.10) switch trreg w [port_num] [ch_addr] [node_addr] [data_addr]      - write phy token-ring of specific port
    [high_value] [low_value]
    2.11) switch crossover [port_num] [mode auto|mdi|mdix]         - switch auto or force mdi/mdix mode for crossover cable
    
    3) mt753x switch MAC operations====================================================================================================================>>>>
    3.1) switch dump                                                       - dump switch mac table
    3.2) switch clear                                                      - clear switch mac table
    3.3) switch add [mac] [portmap]                                        - add an entry (with portmap) to switch mac table
    3.4) switch add [mac] [portmap] [vlan id]                              - add an entry (with portmap, vlan id) to switch mac table
    3.5) switch add [mac] [portmap] [vlan id] [age]                        - add an entry (with portmap, vlan id, age out time) to switch mac table
    3.6) switch del mac [mac] vid [vid]                            - delete an entry from switch mac table
    3.7) switch del mac [mac] fid [fid]                            - delete an entry from switch mac table
    3.8) switch search mac [mac] vid [vid]                         - search an entry with specific mac and vid
    3.9) switch search mac [mac] fid [fid]                         - search an entry with specific mac and fid
    3.10) switch filt [mac]                                                - add a SA filtering entry (with portmap 1111111) to switch mac table
    3.11) switch filt [mac] [portmap]                                      - add a SA filtering entry (with portmap)to switch mac table
    3.12) switch filt [mac] [portmap] [vlan id                             - add a SA filtering entry (with portmap, vlan id)to switch mac table
    3.13) switch filt [mac] [portmap] [vlan id] [age]                      - add a SA filtering entry (with portmap, vlan id, age out time) to switch table
    3.14) switch arl aging [active:0|1] [time:1~65536]                     - set switch arl aging timeout value
    3.15) switch macctl fc [enable|disable]                                - set switch mac global flow control,enable is 1, disable is 0
    
    4) mt753x switch mib counter operations============================================================================================================>>>>
    4.1) switch esw_cnt get                                                -get switch mib counters
    4.2) switch esw_cnt clear                                              -clear switch mib counters
    4.3) switch output_queue_cnt get                                       -get switch output queue counters
    4.4) switch free_page get                                              -get switch system free page counters
    
    5) mt753x switch acl function operations============================================================================================================>>>>
    5.1) switch acl enable [port] [port_enable:0|1]                        - set switch acl function enabled, port is 0~6,enable is 1, disable is 0
    5.2) switch acl etype add [ethtype] [portmap]                  - drop L2 ethertype packets
    5.3) switch acl dmac add [mac] [portmap]                               - drop L2 dest-Mac packets
    5.4) switch acl dip add [dip] [portmap]                                - drop dip packets
    5.5) switch acl port add [sport] [portmap]                             - drop L4 UDP/TCP source port packets
    5.6) switch acl L4 add [2byes] [portmap]                               - drop L4 packets with 2bytes payload
    5.7) switch acl acltbl-add  [tbl_idx:0~63/255] [vawd1] [vawd2] - set switch acl table new entry, max index-7530:63,7531:255
    5.8) switch acl masktbl-add [tbl_idx:0~31/127] [vawd1] [vawd2] - set switch acl mask table new entry, max index-7530:31,7531:127
    5.9) switch acl ruletbl-add [tbl_idx:0~31/127] [vawd1] [vawd2] - set switch acl rule table new entry, max index-7530:31,7531:127
    5.10) switch acl ratetbl-add [tbl_idx:0~31] [vawd1] [vawd2]    - set switch acl rate table new entry
    5.11) switch acl dip meter [dip] [portmap][meter:kbps]         - rate limit dip packets
    5.12) switch acl dip trtcm [dip] [portmap][CIR:kbps][CBS][PIR][PBS]- TrTCM dip packets
    5.13) switch acl dip modup [dip] [portmap][usr_pri]            - modify usr priority from ACL
    5.14) switch acl dip pppoe [dip] [portmap]                             - pppoe header removal
    
    6) mt753x switch dip table operations=================================================================================================================>>>>
    6.1) switch dip dump                                           - dump switch dip table
    6.2) switch dip clear                                          - clear switch dip table
    6.3) switch dip add [dip] [portmap]                            - add a dip entry to switch table
    6.4) switch dip del [dip]                                              - del a dip entry to switch table
    
    7) mt753x switch sip table operations=================================================================================================================>>>>
    7.1) switch sip dump                                           - dump switch sip table
    7.2) switch sip clear                                          - clear switch sip table
    7.3) switch sip add [sip] [dip] [portmap]                              - add a sip entry to switch table
    7.4) switch sip del [sip] [dip]                                        - del a sip entry to switch table
    
    8) mt753x switch sip table operations====================================================================================================================>>>>
    8.1) switch vlan dump (egtag)                                  - dump switch vlan table (with per port eg_tag setting)
    8.2) switch vlan set [fid:0~7] [vid] [portmap]                 - set vlan id and associated member at switch vlan table
    ([stag:0~4095] [eg_con:0|1] [egtagPortMap 0:untagged 2:tagged])
    Full Example: switch vlan set 0 3 10000100 0 0 20000200
    8.3) switch vlan vid [vlan idx] [active:0|1] [vid] [portMap]   - set switch vlan vid elements
    [egtagPortMap] [ivl_en] [fid] [stag]
    8.4) switch vlan pvid [port] [pvid]                            - set switch vlan pvid
    8.5) switch vlan acc-frm [port] [acceptable_frame_type:0~3]    - set switch vlan acceptable_frame type : admit all frames: 0,
    admit only vlan-taged frames: 1,admit only untagged or priority-tagged frames: 2, reserved:3
    8.6) switch vlan port-attr [port] [attr:0~3]                   - set switch vlan port attribute: user port: 0, statck port: 1,
    translation port: 2, transparent port:3
    8.7) switch vlan port-mode [port] [mode:0~3]                   - set switch vlan port mode : port matrix mode: 0, fallback mode: 1,
    check mode: 2, security mode:3
    8.8) switch vlan eg-tag-pvc [port] [eg_tag:0~7]                        - set switch vlan eg tag pvc : disable: 0, consistent: 1, reserved: 2,
    reserved:3,untagged:4,swap:5,tagged:6, stack:7
    8.9) switch vlan eg-tag-pcr [port] [eg_tag:0~3]                        - set switch vlan eg tag pcr : untagged: 0, swap: 1, tagged: 2, stack:3
    
    9) mt753x switch rate limit operations=================================================================================================================>>>>
    9.1) switch ratectl [in_ex_gress:0|1] [port] [rate]            - set switch port ingress(1) or egress(0) rate
    9.2) switch ingress-rate on [port] [Kbps]                              - set ingress rate limit on port n (n= 0~ switch max port)
    9.3) switch egress-rate on [port] [Kbps]                               - set egress rate limit on port n (n= 0~ switch max port)
    9.4) switch ingress-rate off [port]                            - disable ingress rate limit on port n (n= 0~ switch max port)
    9.5) switch egress-rate off [port]                                     - disable egress rate limit on port n (n= 0~ switch max port)
    
    10) mt753x igmp operations===============================================================================================================================>>>>
    10.1) switch igmpsnoop on [leaky_en] [wan_num]                 - turn on IGMP snoop and router port learning
    leaky_en: 1 or 0. default 0; wan_num: 0 or 4. default 4
    10.2) switch igmpsnoop off                                             - turn off IGMP snoop and router port learning
    10.3) switch igmpsnoop enable [port#]                          - enable IGMP HW leave/join/Squery/Gquery
    10.4) switch igmpsnoop disable [port#]                         - disable IGMP HW leave/join/Squery/Gquery
    
    11) mt753x QoS operations================================================================================================================================>>>>
    11.1) switch qos sch [port:0~6] [queue:0~7] [shaper:min|max] [type:rr:0|sp:1|wfq:2]     - set switch qos sch type
    11.2) switch qos base [port:0~6] [base]                                        - set switch qos base(UPW); port-based:0, tag-based:1,
    dscp-based:2, acl-based:3, arl-based:4, stag-based:5
    11.3) switch qos port-weight [port:0~6] [q0] [q1][q2][q3]              - set switch qos port queue weight;
    [q4][q5][q6][q7]                                 [qn]: the weight of queue n, range: 1~16
    11.4) switch qos port-prio [port:0~6] [prio:0~7]                       - set switch port qos user priority;  port is 0~6, priority is 0~7
    11.5) switch qos dscp-prio [dscp:0~63] [prio:0~7]                      - set switch qos dscp user priority;  dscp is 0~63, priority is 0~7
    11.6) switch qos prio-qmap [port:0~6] [prio:0~7]  [queue:0~7]                  - set switch qos priority queue map; priority is 0~7,queue is 0~7
    
    12) mt753x port mirror operations========================================================================================================================>>>>
    12.1) switch mirror monitor [port]                                     - enable port mirror and indicate monitor port number
    12.2) switch mirror target  [port]                                     - set port mirror target
    [direction| 0:off, 1:rx, 2:tx, 3:all]
    12.3) switch mirror enable [mirror_en:0|1] [mirror_port: 0-6]  - set switch mirror function enable(1) or disabled(0) for port 0~6
    12.4) switch mirror port-based [port] [port_tx_mir:0|1]                - set switch mirror port: target tx/rx/acl/vlan/igmp
    [port_rx_mir:0|1] [acl_mir:0|1]
    [vlan_mis:0|1] [igmp_mir:0|1]
    
    13) mt753x stp operations===============================================================================================================================>>>>
    13.1) switch stp [port] [fid] [state]                          - set switch spanning tree state, port is 0~6, fid is 0~7,
    state is 0~3(Disable/Discarding:0,Blocking/Listening/Discarding:1,)
    Learning:2,Forwarding:3
    
    14) mt753x collision pool operations========================================================================================================================>>>>
    14.1) switch collision-pool enable [enable 0|1]                        - enable or disable collision pool
    14.2) switch collision-pool mac dump                           - dump collision pool mac table
    14.3) switch collision-pool dip dump                           - dump collision pool dip table
    14.4) switch collision-pool sip dump                           - dump collision pool sip table
    
    15) mt753x pfc(priority flow control) operations==============================================================================================================>>>>
    15.1) switch pfc enable [port] [enable 0|1]                    - enable or disable port's pfc
    15.2) switch pfc rx_counter [port]                                     - get port n pfc 8 up rx counter
    15.3) switch pfc tx_counter [port]                                     - get port n pfc 8 up rx counter
    
    16) mt753x EEE(802.3az) operations==============================================================================================================>>>>
    16.1) switch eee enable [enable 0|1] ([portMap])                       - enable or disable EEE (by portMap)
    16.2) switch eee dump ([port])                                 - dump EEE capability (by port)
    

  • switch vlan dump
    root@localhost:/# switch vlan dump
    vid  fid  portmap    s-tag
    1    0  1111--1-       0
    2    0  ----11--       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
    

  • swconfig list
    root@localhost:/# swconfig list
    Found: switch0 - MT7531BE
    

  • swconfig dev MT7531BE show
    root@localhost:/# swconfig dev MT7531BE show
    Global attributes:
    enable_vlan: 1
    Port 0:
    mib: Port 0 MIB counters
    TxDrop     : 0
    TxCRC      : 0
    TxUni      : 0
    TxMulti    : 0
    TxBroad    : 0
    TxCollision: 0
    TxSingleCol: 0
    TxMultiCol : 0
    TxDefer    : 0
    TxLateCol  : 0
    TxExcCol   : 0
    TxPause    : 0
    Tx64Byte   : 0
    Tx65Byte   : 0
    Tx128Byte  : 0
    Tx256Byte  : 0
    Tx512Byte  : 0
    Tx1024Byte : 0
    TxByte     : 0
    RxDrop     : 0
    RxFiltered : 0
    RxUni      : 0
    RxMulti    : 0
    RxBroad    : 0
    RxAlignErr : 0
    RxCRC      : 0
    RxUnderSize: 0
    RxFragment : 0
    RxOverSize : 0
    RxJabber   : 0
    RxPause    : 0
    Rx64Byte   : 0
    Rx65Byte   : 0
    Rx128Byte  : 0
    Rx256Byte  : 0
    Rx512Byte  : 0
    Rx1024Byte : 0
    RxByte     : 0
    RxCtrlDrop : 0
    RxIngDrop  : 0
    RxARLDrop  : 0
    
    pvid: 1
    link: port:0 link:down
    Port 1:
    mib: Port 1 MIB counters
    TxDrop     : 0
    TxCRC      : 0
    TxUni      : 0
    TxMulti    : 0
    TxBroad    : 0
    TxCollision: 0
    TxSingleCol: 0
    TxMultiCol : 0
    TxDefer    : 0
    TxLateCol  : 0
    TxExcCol   : 0
    TxPause    : 0
    Tx64Byte   : 0
    Tx65Byte   : 0
    Tx128Byte  : 0
    Tx256Byte  : 0
    Tx512Byte  : 0
    Tx1024Byte : 0
    TxByte     : 0
    RxDrop     : 0
    RxFiltered : 0
    RxUni      : 0
    RxMulti    : 0
    RxBroad    : 0
    RxAlignErr : 0
    RxCRC      : 0
    RxUnderSize: 0
    RxFragment : 0
    RxOverSize : 0
    RxJabber   : 0
    RxPause    : 0
    Rx64Byte   : 0
    Rx65Byte   : 0
    Rx128Byte  : 0
    Rx256Byte  : 0
    Rx512Byte  : 0
    Rx1024Byte : 0
    RxByte     : 0
    RxCtrlDrop : 0
    RxIngDrop  : 0
    RxARLDrop  : 0
    
    pvid: 1
    link: port:1 link:down
    Port 2:
    mib: Port 2 MIB counters
    TxDrop     : 0
    TxCRC      : 0
    TxUni      : 0
    TxMulti    : 0
    TxBroad    : 0
    TxCollision: 0
    TxSingleCol: 0
    TxMultiCol : 0
    TxDefer    : 0
    TxLateCol  : 0
    TxExcCol   : 0
    TxPause    : 0
    Tx64Byte   : 0
    Tx65Byte   : 0
    Tx128Byte  : 0
    Tx256Byte  : 0
    Tx512Byte  : 0
    Tx1024Byte : 0
    TxByte     : 0
    RxDrop     : 0
    RxFiltered : 0
    RxUni      : 0
    RxMulti    : 0
    RxBroad    : 0
    RxAlignErr : 0
    RxCRC      : 0
    RxUnderSize: 0
    RxFragment : 0
    RxOverSize : 0
    RxJabber   : 0
    RxPause    : 0
    Rx64Byte   : 0
    Rx65Byte   : 0
    Rx128Byte  : 0
    Rx256Byte  : 0
    Rx512Byte  : 0
    Rx1024Byte : 0
    RxByte     : 0
    RxCtrlDrop : 0
    RxIngDrop  : 0
    RxARLDrop  : 0
    
    pvid: 1
    link: port:2 link:down
    Port 3:
    mib: Port 3 MIB counters
    TxDrop     : 0
    TxCRC      : 0
    TxUni      : 0
    TxMulti    : 0
    TxBroad    : 0
    TxCollision: 0
    TxSingleCol: 0
    TxMultiCol : 0
    TxDefer    : 0
    TxLateCol  : 0
    TxExcCol   : 0
    TxPause    : 0
    Tx64Byte   : 0
    Tx65Byte   : 0
    Tx128Byte  : 0
    Tx256Byte  : 0
    Tx512Byte  : 0
    Tx1024Byte : 0
    TxByte     : 0
    RxDrop     : 0
    RxFiltered : 0
    RxUni      : 0
    RxMulti    : 0
    RxBroad    : 0
    RxAlignErr : 0
    RxCRC      : 0
    RxUnderSize: 0
    RxFragment : 0
    RxOverSize : 0
    RxJabber   : 0
    RxPause    : 0
    Rx64Byte   : 0
    Rx65Byte   : 0
    Rx128Byte  : 0
    Rx256Byte  : 0
    Rx512Byte  : 0
    Rx1024Byte : 0
    RxByte     : 0
    RxCtrlDrop : 0
    RxIngDrop  : 0
    RxARLDrop  : 0
    
    pvid: 1
    link: port:3 link:down
    Port 4:
    mib: Port 4 MIB counters
    TxDrop     : 0
    TxCRC      : 0
    TxUni      : 0
    TxMulti    : 0
    TxBroad    : 0
    TxCollision: 0
    TxSingleCol: 0
    TxMultiCol : 0
    TxDefer    : 0
    TxLateCol  : 0
    TxExcCol   : 0
    TxPause    : 0
    Tx64Byte   : 0
    Tx65Byte   : 0
    Tx128Byte  : 0
    Tx256Byte  : 0
    Tx512Byte  : 0
    Tx1024Byte : 0
    TxByte     : 0
    RxDrop     : 0
    RxFiltered : 0
    RxUni      : 0
    RxMulti    : 0
    RxBroad    : 0
    RxAlignErr : 0
    RxCRC      : 0
    RxUnderSize: 0
    RxFragment : 0
    RxOverSize : 0
    RxJabber   : 0
    RxPause    : 0
    Rx64Byte   : 0
    Rx65Byte   : 0
    Rx128Byte  : 0
    Rx256Byte  : 0
    Rx512Byte  : 0
    Rx1024Byte : 0
    RxByte     : 0
    RxCtrlDrop : 0
    RxIngDrop  : 0
    RxARLDrop  : 0
    
    pvid: 2
    link: port:4 link:down
    Port 5:
    mib: Port 5 MIB counters
    TxDrop     : 0
    TxCRC      : 0
    TxUni      : 0
    TxMulti    : 0
    TxBroad    : 0
    TxCollision: 0
    TxSingleCol: 0
    TxMultiCol : 0
    TxDefer    : 0
    TxLateCol  : 0
    TxExcCol   : 0
    TxPause    : 0
    Tx64Byte   : 0
    Tx65Byte   : 0
    Tx128Byte  : 0
    Tx256Byte  : 0
    Tx512Byte  : 0
    Tx1024Byte : 0
    TxByte     : 0
    RxDrop     : 0
    RxFiltered : 2
    RxUni      : 0
    RxMulti    : 2
    RxBroad    : 0
    RxAlignErr : 0
    RxCRC      : 0
    RxUnderSize: 0
    RxFragment : 0
    RxOverSize : 0
    RxJabber   : 0
    RxPause    : 0
    Rx64Byte   : 0
    Rx65Byte   : 2
    Rx128Byte  : 0
    Rx256Byte  : 0
    Rx512Byte  : 0
    Rx1024Byte : 0
    RxByte     : 156
    RxCtrlDrop : 0
    RxIngDrop  : 0
    RxARLDrop  : 0
    
    pvid: 2
    link: port:5 link:up speed:1000baseT full-duplex
    Port 6:
    mib: Port 6 MIB counters
    TxDrop     : 0
    TxCRC      : 0
    TxUni      : 0
    TxMulti    : 0
    TxBroad    : 0
    TxCollision: 0
    TxSingleCol: 0
    TxMultiCol : 0
    TxDefer    : 0
    TxLateCol  : 0
    TxExcCol   : 0
    TxPause    : 0
    Tx64Byte   : 0
    Tx65Byte   : 0
    Tx128Byte  : 0
    Tx256Byte  : 0
    Tx512Byte  : 0
    Tx1024Byte : 0
    TxByte     : 0
    RxDrop     : 0
    RxFiltered : 287
    RxUni      : 0
    RxMulti    : 287
    RxBroad    : 0
    RxAlignErr : 0
    RxCRC      : 0
    RxUnderSize: 0
    RxFragment : 0
    RxOverSize : 0
    RxJabber   : 0
    RxPause    : 0
    Rx64Byte   : 2
    Rx65Byte   : 5
    Rx128Byte  : 3
    Rx256Byte  : 137
    Rx512Byte  : 140
    Rx1024Byte : 0
    RxByte     : 139516
    RxCtrlDrop : 0
    RxIngDrop  : 0
    RxARLDrop  : 0
    
    pvid: 1
    link: port:6 link:up speed:1000baseT full-duplex
    VLAN 1:
    vid: 1
    ports: 0 1 2 3 6
    VLAN 2:
    vid: 2
    ports: 4 5
    

  • ls -al /sys/devices/platform/
    root@localhost:/# ls -al /sys/devices/platform/
    drwxr-xr-x   83 root     root             0 Jan  1  1970 .
    drwxr-xr-x    5 root     root             0 Jan  1  1970 ..
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 10000000.infracfg
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 10000400.pcie_mirror
    drwxr-xr-x    5 root     root             0 Jan  1  1970 10001000.pwrap
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 10002000.pericfg
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 10004000.timer
    drwxr-xr-x    4 root     root             0 Jan  1  1970 10005000.pinctrl
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 10006000.scpsys
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 10200620.interrupt-controller
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 10203000.emi
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 10204000.sys_cirq
    drwxr-xr-x    4 root     root             0 Jan  1 00:11 10206000.efuse
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 10209000.apmixedsys
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 1020a000.wed
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 1020a000.wed2
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 1020e000.dramc_nao
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 1020f000.rng
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 10210000.topckgen
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 10211000.syscfg_pctl_a
    drwxr-xr-x    5 root     root             0 Jan  1  1970 10212000.watchdog
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 10214000.dramc
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 10310000.interrupt-controller
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 10390000.cci
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 11000780.btif_tx
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 11000800.btif_rx
    drwxr-xr-x    4 root     root             0 Jan  1 00:11 11001000.adc
    drwxr-xr-x    4 root     root             0 Jan  1  1970 11002000.serial
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 11006000.pwm
    drwxr-xr-x    4 root     root             0 Jan  1  1970 11008000.i2c
    drwxr-xr-x    4 root     root             0 Jan  1  1970 11009000.i2c
    drwxr-xr-x    3 root     root             0 Jan  1  1970 1100b000.svs
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 1100b000.thermal
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 1100c000.btif
    drwxr-xr-x    4 root     root             0 Jan  1  1970 1100d000.snfi
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 11014000.spi
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 11220000.audio-controller
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 11220000.audiosys
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 11230000.mmc
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 11240000.mmc
    drwxr-xr-x    4 root     root             0 Jan  1  1970 18000000.wbsys
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 1a000000.ssusbsys
    drwxr-xr-x    5 root     root             0 Jan  1  1970 1a0c0000.usb
    drwxr-xr-x    4 root     root             0 Jan  1  1970 1a0c4000.usb-phy
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 1a100800.pciesys
    drwxr-xr-x    4 root     root             0 Jan  1  1970 1a143000.pcie
    drwxr-xr-x    4 root     root             0 Jan  1  1970 1a145000.pcie
    drwxr-xr-x    4 root     root             0 Jan  1  1970 1a200000.sata
    drwxr-xr-x    4 root     root             0 Jan  1  1970 1a242000.sata-phy
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 1af00000.syscon
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 1b000000.syscon
    drwxr-xr-x    5 root     root             0 Jan  1  1970 1b100000.ethernet
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 1b100000.hnat
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 1b102800.wdma
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 1b128000.sgmiisys
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 8000000.chipid
    drwxr-xr-x    4 root     root             0 Jan  1  1970 Fixed MDIO bus.0
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 alarmtimer
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 btmtk_btif
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 dummy133m
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 dummy13m
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 dummy32k
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 dummy40m
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 dummy48m
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 dummy98m
    drwxr-xr-x    4 root     root             0 Jan  1  1970 fixedregulator@0
    drwxr-xr-x    4 root     root             0 Jan  1  1970 fixedregulator@1
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 gpio-keys
    drwxr-xr-x    4 root     root             0 Jan  1  1970 gsw@0
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 ice_debug
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 ioc
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 mt7622-cpufreq
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 mtcpufreq
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 opp_table0
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 oscillator@0
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 oscillator@1
    drwxr-xr-x    4 root     root             0 Jan  1  1970 pcie-phy@1a148000
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 pmu
    drwxr-xr-x    2 root     root             0 Jan  1 00:11 power
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 psci
    drwxr-xr-x    4 root     root             0 Jan  1  1970 reg-dummy
    drwxr-xr-x    4 root     root             0 Jan  1  1970 serial8250
    drwxr-xr-x    3 root     root             0 Jan  1 00:11 timer
    -rw-r--r--    1 root     root          4096 Jan  1 00:11 uevent
    

  • cat /sys/kernel/debug/gpio
    root@localhost:/# cat /sys/kernel/debug/gpio
    GPIOs 409-511, platform/10005000.pinctrl, 10005000.pinctrl:
    gpio-409 (                    |sysfs               ) in  hi
    gpio-410 (                    |sysfs               ) in  lo
    gpio-411 (                    |mediatek,mt7622-pinc) out lo
    gpio-412 (                    |mediatek,mt7622-pinc) out lo
    gpio-413 (                    |mediatek,mt7622-pinc) out lo
    gpio-424 (                    |mediatek,mt7622-pinc) out hi
    gpio-425 (                    |sysfs               ) in  hi
    gpio-427 (                    |sysfs               ) in  hi
    gpio-428 (                    |mediatek,mt7622-pinc) out lo
    gpio-429 (                    |mediatek,mt7622-pinc) out hi
    gpio-463 (                    |mt753x-reset        ) out hi
    gpio-511 (                    |sysfs               ) in  hi
    

  • cat /sys/kernel/debug/pinctrl/10005000.pinctrl/pinmux-pins
    root@localhost:/# cat /sys/kernel/debug/pinctrl/10005000.pinctrl/pinmux-pins
    Pinmux settings per pin
    Format: pin (name): mux_owner gpio_owner hog?
    pin 0 (GPIO_A): (MUX UNCLAIMED) 10005000.pinctrl:409
    pin 1 (I2S1_IN): (MUX UNCLAIMED) 10005000.pinctrl:410
    pin 2 (I2S1_OUT): (MUX UNCLAIMED) 10005000.pinctrl:411
    pin 3 (I2S_BCLK): (MUX UNCLAIMED) 10005000.pinctrl:412
    pin 4 (I2S_WS): (MUX UNCLAIMED) 10005000.pinctrl:413
    pin 5 (I2S_MCLK): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 6 (TXD0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 7 (RXD0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 8 (SPI_WP): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 9 (SPI_HOLD): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 10 (SPI_CLK): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 11 (SPI_MOSI): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 12 (SPI_MISO): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 13 (SPI_CS): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 14 (I2C_SDA): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 15 (I2C_SCL): (MUX UNCLAIMED) 10005000.pinctrl:424
    pin 16 (I2S2_IN): (MUX UNCLAIMED) 10005000.pinctrl:425
    pin 17 (I2S3_IN): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 18 (I2S4_IN): (MUX UNCLAIMED) 10005000.pinctrl:427
    pin 19 (I2S2_OUT): (MUX UNCLAIMED) 10005000.pinctrl:428
    pin 20 (I2S3_OUT): (MUX UNCLAIMED) 10005000.pinctrl:429
    pin 21 (I2S4_OUT): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 22 (GPIO_B): 18000000.wbsys (GPIO UNCLAIMED) function func5 group GPIO_B
    pin 23 (MDC): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 24 (MDIO): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 25 (G2_TXD0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 26 (G2_TXD1): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 27 (G2_TXD2): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 28 (G2_TXD3): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 29 (G2_TXEN): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 30 (G2_TXC): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 31 (G2_RXD0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 32 (G2_RXD1): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 33 (G2_RXD2): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 34 (G2_RXD3): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 35 (G2_RXDV): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 36 (G2_RXC): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 37 (NCEB): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 38 (NWEB): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 39 (NREB): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 40 (NDL4): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 41 (NDL5): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 42 (NDL6): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 43 (NDL7): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 44 (NRB): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 45 (NCLE): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 46 (NALE): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 47 (NDL0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 48 (NDL1): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 49 (NDL2): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 50 (NDL3): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 51 (MDI_TP_P0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 52 (MDI_TN_P0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 53 (MDI_RP_P0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 54 (MDI_RN_P0): (MUX UNCLAIMED) 10005000.pinctrl:463
    pin 55 (MDI_TP_P1): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 56 (MDI_TN_P1): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 57 (MDI_RP_P1): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 58 (MDI_RN_P1): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 59 (MDI_RP_P2): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 60 (MDI_RN_P2): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 61 (MDI_TP_P2): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 62 (MDI_TN_P2): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 63 (MDI_TP_P3): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 64 (MDI_TN_P3): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 65 (MDI_RP_P3): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 66 (MDI_RN_P3): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 67 (MDI_RP_P4): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 68 (MDI_RN_P4): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 69 (MDI_TP_P4): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 70 (MDI_TN_P4): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 71 (SPI2_CK): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 72 (SPI2_DATA): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 73 (SPIC1_CLK): 18000000.wbsys (GPIO UNCLAIMED) function func5 group SPIC1_CLK
    pin 74 (SPIC1_MOSI): 18000000.wbsys (GPIO UNCLAIMED) function func5 group SPIC1_MOSI
    pin 75 (SPIC1_MISO): 18000000.wbsys (GPIO UNCLAIMED) function func5 group SPIC1_MISO
    pin 76 (SPIC1_CS): 18000000.wbsys (GPIO UNCLAIMED) function func5 group SPIC1_CS
    pin 77 (GPIO_D): 18000000.wbsys (GPIO UNCLAIMED) function func5 group GPIO_D
    pin 78 (WATCHDOG): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 79 (RTS3_N): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 80 (CTS3_N): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 81 (TXD3): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 82 (RXD3): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 83 (PERST0_N): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 84 (PERST1_N): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 85 (WLED_N): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 86 (EPHY_LED0_N): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 87 (AUXIN0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 88 (AUXIN1): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 89 (AUXIN2): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 90 (AUXIN3): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 91 (TXD4): 18000000.wbsys (GPIO UNCLAIMED) function func5 group TXD4
    pin 92 (RXD4): 18000000.wbsys (GPIO UNCLAIMED) function func5 group RXD4
    pin 93 (RTS4_N): 18000000.wbsys (GPIO UNCLAIMED) function func5 group RTS4_N
    pin 94 (CTS4_N): 18000000.wbsys (GPIO UNCLAIMED) function func5 group CTS4_N
    pin 95 (PWM1): 18000000.wbsys (GPIO UNCLAIMED) function func5 group PWM1
    pin 96 (PWM2): 18000000.wbsys (GPIO UNCLAIMED) function func5 group PWM2
    pin 97 (PWM3): 18000000.wbsys (GPIO UNCLAIMED) function func5 group PWM3
    pin 98 (PWM4): 18000000.wbsys (GPIO UNCLAIMED) function func5 group PWM4
    pin 99 (PWM5): 18000000.wbsys (GPIO UNCLAIMED) function func5 group PWM5
    pin 100 (PWM6): 18000000.wbsys (GPIO UNCLAIMED) function func5 group PWM6
    pin 101 (PWM7): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 102 (GPIO_E): (MUX UNCLAIMED) 10005000.pinctrl:511
    

  • cat /sys/kernel/debug/pinctrl/10005000.pinctrl/pins
    root@localhost:/# cat /sys/kernel/debug/pinctrl/10005000.pinctrl/pins
    registered pins: 103
    pin 0 (GPIO_A)
    pin 1 (I2S1_IN)
    pin 2 (I2S1_OUT)
    pin 3 (I2S_BCLK)
    pin 4 (I2S_WS)
    pin 5 (I2S_MCLK)
    pin 6 (TXD0)
    pin 7 (RXD0)
    pin 8 (SPI_WP)
    pin 9 (SPI_HOLD)
    pin 10 (SPI_CLK)
    pin 11 (SPI_MOSI)
    pin 12 (SPI_MISO)
    pin 13 (SPI_CS)
    pin 14 (I2C_SDA)
    pin 15 (I2C_SCL)
    pin 16 (I2S2_IN)
    pin 17 (I2S3_IN)
    pin 18 (I2S4_IN)
    pin 19 (I2S2_OUT)
    pin 20 (I2S3_OUT)
    pin 21 (I2S4_OUT)
    pin 22 (GPIO_B)
    pin 23 (MDC)
    pin 24 (MDIO)
    pin 25 (G2_TXD0)
    pin 26 (G2_TXD1)
    pin 27 (G2_TXD2)
    pin 28 (G2_TXD3)
    pin 29 (G2_TXEN)
    pin 30 (G2_TXC)
    pin 31 (G2_RXD0)
    pin 32 (G2_RXD1)
    pin 33 (G2_RXD2)
    pin 34 (G2_RXD3)
    pin 35 (G2_RXDV)
    pin 36 (G2_RXC)
    pin 37 (NCEB)
    pin 38 (NWEB)
    pin 39 (NREB)
    pin 40 (NDL4)
    pin 41 (NDL5)
    pin 42 (NDL6)
    pin 43 (NDL7)
    pin 44 (NRB)
    pin 45 (NCLE)
    pin 46 (NALE)
    pin 47 (NDL0)
    pin 48 (NDL1)
    pin 49 (NDL2)
    pin 50 (NDL3)
    pin 51 (MDI_TP_P0)
    pin 52 (MDI_TN_P0)
    pin 53 (MDI_RP_P0)
    pin 54 (MDI_RN_P0)
    pin 55 (MDI_TP_P1)
    pin 56 (MDI_TN_P1)
    pin 57 (MDI_RP_P1)
    pin 58 (MDI_RN_P1)
    pin 59 (MDI_RP_P2)
    pin 60 (MDI_RN_P2)
    pin 61 (MDI_TP_P2)
    pin 62 (MDI_TN_P2)
    pin 63 (MDI_TP_P3)
    pin 64 (MDI_TN_P3)
    pin 65 (MDI_RP_P3)
    pin 66 (MDI_RN_P3)
    pin 67 (MDI_RP_P4)
    pin 68 (MDI_RN_P4)
    pin 69 (MDI_TP_P4)
    pin 70 (MDI_TN_P4)
    pin 71 (SPI2_CK)
    pin 72 (SPI2_DATA)
    pin 73 (SPIC1_CLK)
    pin 74 (SPIC1_MOSI)
    pin 75 (SPIC1_MISO)
    pin 76 (SPIC1_CS)
    pin 77 (GPIO_D)
    pin 78 (WATCHDOG)
    pin 79 (RTS3_N)
    pin 80 (CTS3_N)
    pin 81 (TXD3)
    pin 82 (RXD3)
    pin 83 (PERST0_N)
    pin 84 (PERST1_N)
    pin 85 (WLED_N)
    pin 86 (EPHY_LED0_N)
    pin 87 (AUXIN0)
    pin 88 (AUXIN1)
    pin 89 (AUXIN2)
    pin 90 (AUXIN3)
    pin 91 (TXD4)
    pin 92 (RXD4)
    pin 93 (RTS4_N)
    pin 94 (CTS4_N)
    pin 95 (PWM1)
    pin 96 (PWM2)
    pin 97 (PWM3)
    pin 98 (PWM4)
    pin 99 (PWM5)
    pin 100 (PWM6)
    pin 101 (PWM7)
    pin 102 (GPIO_E)
    

  • bootlog
    
    F0: 102B 0000
    F6: 0000 0000
    V0: 0000 0000 [0001]
    00: 0000 0000
    BP: 0000 0041 [0000]
    G0: 0190 0000
    T0: 0000 0369 [000F]
    Jump to BL
    
    UNIVPLL_CON0 = 0xFE000000!!!
    mt_pll_init: Set pll frequency for 25M crystal
    [PMIC_WRAP]wrap_init pass,the return value=0.
    [pmic_init] Preloader Start..................
    [pmic_init] MT6380 CHIP Code, reg_val = 0, 1:E2  0:E3
    [pmic_init] Done...................
    Chip part number:7622B
    MT7622 Version: 1.2.8, (iPA)
    SSC OFF
    mt_pll_post_init: mt_get_cpu_freq = 1350000Khz
    mt_pll_post_init: mt_get_mem_freq = 1600000Khz
    mt_pll_post_init: mt_get_bus_freq = 1119920Khz
    [PLFM] Init I2C: OK(0)
    
    [BLDR] Build Time: 20200518-110732
    ==== Dump RGU Reg ========
    RGU MODE:     4D
    RGU LENGTH:   FFE0
    RGU STA:      0
    RGU INTERVAL: FFF
    RGU SWSYSRST: 8000
    ==== Dump RGU Reg End ====
    RGU: g_rgu_satus:0
    mtk_wdt_mode_config  mode value=10, tmp:22000010
    PL P ON
    WDT does not trigger reboot
    WDT NONRST=0x20000000
    WDT IRQ_EN=0x340003
    RGU mtk_wdt_init:MTK_WDT_DEBUG_CTL(590200F3)
    [EMI] MDL number = 2
    [EMI] DRAMC calibration start
    
    [EMI] DRAMC calibration end
    
    [EMI]rank size auto detect
    [EMI]start_addr[0x40000000]=0x12345678, test_addr[0x48000000]= 0xEDCBA987
    [EMI]start_addr[0x40000000]=0x12345678, test_addr[0x50000000]= 0xEDCBA987
    [EMI]start_addr[0x40000000]=0xEDCBA987, test_addr[0x60000000]= 0xEDCBA987
    [EMI]rank0 size: 0x20000000
    [MEM] complex R/W mem test pass
    RAM_CONSOLE wdt status (0x0)=0x0
    [BBT] BMT.v2 is found at 0x3FF
    [PLFM] Init Boot Device: OK(0)
    
    =================================================
    Checking Image1
    --> nand read 4007ff28 2c0000 1c
    
    NAND read: device 0 offset 0x2c0000, size 0x1c
    28 bytes read: OK
    ---------------------
    TRX MAGIC    33504844
    Image len    eeb000
    header crc32 1be55914
    ---------------------
    trx magic OK!
    --> nand read 4007ff28 2c0000 eeb000
    
    NAND read: device 0 offset 0x2c0000, size 0xeeb000
    15642624 bytes read: OK
    ---------------------
    Image1 crc32 1be55914
    ---------------------
    crc32 OK!
    =================================================
    
    =================================================
    Checking Image2
    --> nand read 4007ff28 1ac0000 1c
    
    NAND read: device 0 offset 0x1ac0000, size 0x1c
    28 bytes read: OK
    ---------------------
    TRX MAGIC    33504844
    Image len    eeb000
    header crc32 1be55914
    ---------------------
    trx magic OK!
    --> nand read 4007ff28 1ac0000 eeb000
    
    NAND read: device 0 offset 0x1ac0000, size 0xeeb000
    15642624 bytes read: OK
    ---------------------
    Image2 crc32 1be55914
    ---------------------
    crc32 OK!
    =================================================
    ## check Image1 return 0, check Image2 return 0, Image1 crc32=1be55914, Image2 crc32=1be55914.
    Image1 is ok!
    Image2 is ok and same as Image1!
    
    NAND read: device 0 offset 0x2c0000, size 0x2000
    8192 bytes read: OK
    [do_read_image_blks] This is a FIT image,img_size = 0x27b5e8
    [do_read_image_blks] img_blks = 0x4f7
    [do_read_image_blks] img_align_size = 0x27b800
    
    NAND read: device 0 offset 0x2c0000, size 0x27b800
    2603008 bytes read: OK
    bootm flag=0, states=70f
    Original load address = 0x4007ff28
    After skip trx_header, load address = 0x4007ff44
    
    ## Loading kernel from FIT Image at 4007ff44 ...
    Using 'config@1' configuration
    Trying 'kernel@1' kernel subimage
    Description:  ARM64 OpenWrt Linux-4.4.198
    Type:         Kernel Image
    Compression:  lzma compressed
    Data Start:   0x4008002c
    Data Size:    2570238 Bytes = 2.5 MiB
    Architecture: AArch64
    OS:           Linux
    Load Address: 0x41080000
    Entry Point:  0x41080000
    Hash algo:    crc32
    Hash value:   b240da13
    Hash algo:    sha1
    Hash value:   3efdbf4f7b80470a47f9cadec70fb88854fdb905
    Verifying Hash Integrity ... crc32+ sha1+ OK
    ## Loading fdt from FIT Image at 4007ff44 ...
    Using 'config@1' configuration
    Trying 'fdt@1' fdt subimage
    Description:  ARM64 OpenWrt mt7622-mt7531-ax3200 device tree blob
    Type:         Flat Device Tree
    Compression:  uncompressed
    Data Start:   0x402f3970
    Data Size:    30868 Bytes = 30.1 KiB
    Architecture: AArch64
    Hash algo:    crc32
    Hash value:   8aeea30d
    Hash algo:    sha1
    Hash value:   dcdb0f09573acd004ff1e4340e33d266595a6bcb
    Verifying Hash Integrity ... crc32+ sha1+ OK
    Booting using the fdt blob at 0x402f3970
    Uncompressing Kernel Image ... OK
    Loading Device Tree to 5cf4a000, end 5cf54893 ... OK
    
    Starting kernel ...
    
    [ATF][     7.439997]save kernel info
    [ATF][     7.442934]Kernel_EL2
    [ATF][     7.445604]Kernel is 64Bit
    [ATF][     7.448692]pc=0x41080000, r0=0x5cf4a000, r1=0x0
    INFO:    BL3-1: Preparing for EL3 exit to normal world, Kernel
    INFO:    BL3-1: Next image address = 0x41080000
    INFO:    BL3-1: Next image spsr = 0x3c9
    [ATF][     7.466390]el3_exit
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.4.198 (wenfang@c0a30f712312) (gcc version 5.4.0 (LEDE GCC 5.4.0 r0-07329b0) ) #0 SMP PREEMPT Sat Oct 10 08:58:53 UTC 2020
    [    0.000000] Boot CPU: AArch64 Processor [410fd034]
    [    0.000000] On node 0 totalpages: 131024
    [    0.000000]   DMA zone: 2048 pages used for memmap
    [    0.000000]   DMA zone: 0 pages reserved
    [    0.000000]   DMA zone: 131024 pages, LIFO batch:31
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv0.2 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] psci: Trusted OS migration not required
    [    0.000000] PERCPU: Embedded 18 pages/cpu @ffffffc01ffa5000 s35328 r8192 d30208 u73728
    [    0.000000] pcpu-alloc: s35328 r8192 d30208 u73728 alloc=18*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1
    [    0.000000] Detected VIPT I-cache on CPU0
    [    0.000000] CPU features: enabling workaround for ARM erratum 845719
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 128976
    [    0.000000] Kernel command line: console=ttyS0,115200n1 init=/sbin/preinit loglevel=8 swiotlb=512                            rootfstype=squashfs
    [    0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes)
    [    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
    [    0.000000] software IO TLB: mapped [mem 0x5fcf4000-0x5fdf4000] (1MB)
    [    0.000000] Memory: 497252K/524096K available (5008K kernel code, 388K rwdata, 1792K rodata, 336K init, 648K bss, 26844K reserved, 0K cma-reserved)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
    [    0.000000]     vmalloc : 0xffffff8008000000 - 0xffffffbdbfff0000   (   246 GB)
    [    0.000000]       .init : 0xffffff8008728000 - 0xffffff800877c000   (   336 KB)
    [    0.000000]       .text : 0xffffff8008080000 - 0xffffff8008565000   (  5012 KB)
    [    0.000000]     .rodata : 0xffffff8008565000 - 0xffffff8008728000   (  1804 KB)
    [    0.000000]       .data : 0xffffff800877c000 - 0xffffff80087dd2e0   (   389 KB)
    [    0.000000]     vmemmap : 0xffffffbdc0000000 - 0xffffffbfc0000000   (     8 GB maximum)
    [    0.000000]               0xffffffbdc0000000 - 0xffffffbdc0800000   (     8 MB actual)
    [    0.000000]     fixed   : 0xffffffbffe7fb000 - 0xffffffbffec00000   (  4116 KB)
    [    0.000000]     PCI I/O : 0xffffffbffee00000 - 0xffffffbfffe00000   (    16 MB)
    [    0.000000]     memory  : 0xffffffc000000000 - 0xffffffc020000000   (   512 MB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000]  Build-time adjustment of leaf fanout to 64.
    [    0.000000] NR_IRQS:64 nr_irqs:64 0
    [    0.000000] Architected cp15 timer(s) running at 12.50MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049cda, max_idle_ns: 440795202628 ns
    [    0.000003] sched_clock: 56 bits at 12MHz, resolution 80ns, wraps every 4398046511080ns
    [    0.000056] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 191126102035 ns
    [    0.000242] Console: colour dummy device 80x25
    [    0.000258] Calibrating delay loop (skipped), value calculated using timer frequency.. 25.00 BogoMIPS (lpj=50000)
    [    0.000265] pid_max: default: 32768 minimum: 301
    [    0.000316] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
    [    0.000321] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes)
    [    0.000808] sched-energy: CPU device node has no sched-energy-costs
    [    0.000815] Invalid sched_group_energy for CPU0
    [    0.000819] CPU0: update cpu_capacity 1024
    [    0.000845] ASID allocator initialised with 32768 entries
    [    0.032090] Detected VIPT I-cache on CPU1
    [    0.032118] Invalid sched_group_energy for CPU1
    [    0.032120] CPU1: update cpu_capacity 1024
    [    0.032122] CPU1: Booted secondary processor [410fd034]
    [    0.032156] Brought up 2 CPUs
    [    0.032170] SMP: Total of 2 processors activated.
    [    0.032176] CPU features: detected feature: 32-bit EL0 Support
    [    0.032182] CPU: All CPU(s) started at EL2
    [    0.032195] alternatives: patching kernel code
    [    0.032270] Invalid sched_group_energy for CPU1
    [    0.032275] Invalid sched_group_energy for Cluster1
    [    0.032278] Invalid sched_group_energy for CPU0
    [    0.032282] Invalid sched_group_energy for Cluster0
    [    0.036895] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.036915] futex hash table entries: 512 (order: 4, 65536 bytes)
    [    0.037024] pinctrl core: initialized pinctrl subsystem
    [    0.037529] NET: Registered protocol family 16
    [    0.037949] [SPM] spm_base = ffffff8008026000
    [    0.037954] [SPM] spm_irq_0 = 6, spm_irq_1 = 7
    [    0.037957] [SPM] spm_irq_2 = 8, spm_irq_3 = 9
    [    0.037960] [SPM] set spm as wakeup devcie.
    [    0.037966] [SPM] spm_rtc cnt: 24414.
    [    0.052054] cpuidle: using governor menu
    [    0.052119] vdso: 2 pages (1 code @ ffffff800856b000, 1 data @ ffffff8008780000)
    [    0.052273] DMA: preallocated 256 KiB pool for atomic allocations
    [    0.052375] Serial: AMBA PL011 UART driver
    [    0.052429] [SPM] PWAKE_EN:1, PCMWDT_EN:0, BYPASS_SYSPWREQ:0, I2C_CHANNEL:2
    [    0.052434] [SLP] SLEEP_DPIDLE_EN:1, REPLACE_DEF_WAKESRC:0, SUSPEND_LOG_EN:1
    [    0.081339] vgaarb: loaded
    [    0.081538] SCSI subsystem initialized
    [    0.082978] rbus 18000000.wbsys: PCI host bridge to bus 0000:00
    [    0.082994] pci_bus 0000:00: root bus resource [mem 0x18000000-0x180fffff]
    [    0.083002] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    0.083020] pci 0000:00:00.0: [14c3:7622] type 00 class 0x000280
    [    0.083036] pci 0000:00:00.0: reg 0x10: [mem 0x18000000-0x1800000f 64bit]
    [    0.083043] pci 0000:00:00.0: reg 0x18: [mem 0x00000000-0x0000000f]
    [    0.083050] pci 0000:00:00.0: reg 0x1c: [mem 0x00000000-0x0000000f]
    [    0.083056] pci 0000:00:00.0: reg 0x20: [mem 0x00000000-0x0000000f]
    [    0.083062] pci 0000:00:00.0: reg 0x24: [mem 0x00000000-0x0000000f]
    [    0.083092] pci 0000:00:00.0: of_irq_parse_pci() failed with rc=-22
    [    0.083403] clocksource: Switched to clocksource arch_sys_counter
    [    0.088173] NET: Registered protocol family 2
    [    0.088556] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    [    0.088589] TCP bind hash table entries: 4096 (order: 4, 65536 bytes)
    [    0.088646] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.088691] UDP hash table entries: 256 (order: 1, 8192 bytes)
    [    0.088704] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    [    0.088804] NET: Registered protocol family 1
    [    0.088844] PCI: CLS 0 bytes, default 128
    [    0.096181] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.096368] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
    [    0.096823] fuse init (API version 7.23)
    [    0.097549] io scheduler noop registered
    [    0.097731] io scheduler cfq registered (default)
    [    0.127080] mtk-pcie 1a143000.pcie: pcie rc 0 linkup success
    [    0.127236] mtk-pcie 1a143000.pcie: PCI host bridge to bus 0001:00
    [    0.127247] pci_bus 0001:00: root bus resource [??? 0x00000000 flags 0x0]
    [    0.127254] pci_bus 0001:00: root bus resource [mem 0x20000000-0x27ffffff]
    [    0.127261] pci_bus 0001:00: root bus resource [bus 00-ff]
    [    0.127297] pci 0001:00:00.0: [14c3:5396] type 01 class 0x060400
    [    0.127352] pci 0001:00:00.0: reg 0x10: [mem 0x00000000-0xffffffff 64bit pref]
    [    0.127484] pci 0001:00:00.0: of_irq_parse_pci() failed with rc=-22
    [    0.127606] pci 0001:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    0.127824] pci 0001:01:00.0: [14c3:7915] type 00 class 0x000280
    [    0.128129] pci 0001:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit pref]
    [    0.128242] pci 0001:01:00.0: reg 0x18: [mem 0x00000000-0x00003fff 64bit pref]
    [    0.128355] pci 0001:01:00.0: reg 0x20: [mem 0x00000000-0x00000fff 64bit pref]
    [    0.128870] pci 0001:01:00.0: supports D1 D2
    [    0.128876] pci 0001:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
    [    0.135477] pci_bus 0001:01: busn_res: [bus 01-ff] end is updated to 01
    [    0.135516] pci 0001:00:00.0: BAR 0: no space for [mem size 0xffffffff 64bit pref]
    [    0.135523] pci 0001:00:00.0: BAR 0: failed to assign [mem size 0xffffffff 64bit pref]
    [    0.135530] pci 0001:00:00.0: BAR 8: assigned [mem 0x20000000-0x201fffff]
    [    0.135539] pci 0001:01:00.0: BAR 0: assigned [mem 0x20000000-0x200fffff 64bit pref]
    [    0.135631] pci 0001:01:00.0: BAR 2: assigned [mem 0x20100000-0x20103fff 64bit pref]
    [    0.135722] pci 0001:01:00.0: BAR 4: assigned [mem 0x20104000-0x20104fff 64bit pref]
    [    0.135812] pci 0001:00:00.0: PCI bridge to [bus 01]
    [    0.135823] pci 0001:00:00.0:   bridge window [mem 0x20000000-0x201fffff]
    [    0.135880] pcieport 0001:00:00.0: of_irq_parse_pci() failed with rc=-22
    [    0.135895] pcieport 0001:00:00.0: enabling device (0000 -> 0002)
    [    0.136065] pcieport 0001:00:00.0: Signaling PME through PCIe PME interrupt
    [    0.136071] pci 0001:01:00.0: Signaling PME through PCIe PME interrupt
    [    0.136080] pcie_pme 0001:00:00.0:pcie01: service driver pcie_pme loaded
    [    0.237004] mtk-pcie 1a145000.pcie: Port1 link down
    [    0.237177] mtk-pcie 1a145000.pcie: PCI host bridge to bus 0002:00
    [    0.237185] pci_bus 0002:00: root bus resource [??? 0x00000000 flags 0x0]
    [    0.237191] pci_bus 0002:00: root bus resource [mem 0x28000000-0x2fffffff]
    [    0.237197] pci_bus 0002:00: root bus resource [bus 00-ff]
    [    0.241230] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    [    0.242290] console [ttyS0] disabled
    [    0.262492] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 232, base_baud = 1562500) is a ST16650V2
    [    1.133065] console [ttyS0] enabled
    [    1.137246] init_led_status(): Reguest GPIO  4 success!
    [    1.142480] init_led_status(): Reguest GPIO  3 success!
    [    1.147713] init_led_status(): Reguest GPIO 15 success!
    [    1.152940] init_led_status(): Reguest GPIO  2 success!
    [    1.158171] init_led_status(): Reguest GPIO 19 success!
    [    1.163403] init_led_status(): Reguest GPIO 20 success!
    [    1.168655] @@@@@@#### buffalo_led_init initialized.
    [    1.173762] Unable to detect cache hierarchy for CPU 0
    [    1.181920] loop: module loaded
    [    1.185556] dump_power_table[0] = { .cpufreq_khz = 1350000,  .cpufreq_ncpu = 2,      .cpufreq_power = 995 }
    [    1.194795] dump_power_table[1] = { .cpufreq_khz = 1262500,  .cpufreq_ncpu = 2,      .cpufreq_power = 811 }
    [    1.204015] dump_power_table[2] = { .cpufreq_khz = 1137500,  .cpufreq_ncpu = 2,      .cpufreq_power = 736 }
    [    1.213244] dump_power_table[3] = { .cpufreq_khz = 1025000,  .cpufreq_ncpu = 2,      .cpufreq_power = 624 }
    [    1.222462] dump_power_table[4] = { .cpufreq_khz = 1350000,  .cpufreq_ncpu = 1,      .cpufreq_power = 517 }
    [    1.231679] dump_power_table[5] = { .cpufreq_khz = 812500,   .cpufreq_ncpu = 2,      .cpufreq_power = 492 }
    [    1.240811] dump_power_table[6] = { .cpufreq_khz = 1262500,  .cpufreq_ncpu = 1,      .cpufreq_power = 377 }
    [    1.250027] dump_power_table[7] = { .cpufreq_khz = 600000,   .cpufreq_ncpu = 2,      .cpufreq_power = 376 }
    [    1.259159] dump_power_table[8] = { .cpufreq_khz = 1137500,  .cpufreq_ncpu = 1,      .cpufreq_power = 333 }
    [    1.268375] dump_power_table[9] = { .cpufreq_khz = 437500,   .cpufreq_ncpu = 2,      .cpufreq_power = 295 }
    [    1.277504] dump_power_table[10] = { .cpufreq_khz = 1025000, .cpufreq_ncpu = 1,      .cpufreq_power = 258 }
    [    1.286804] dump_power_table[11] = { .cpufreq_khz = 300000,  .cpufreq_ncpu = 2,      .cpufreq_power = 225 }
    [    1.296019] dump_power_table[12] = { .cpufreq_khz = 812500,  .cpufreq_ncpu = 1,      .cpufreq_power = 204 }
    [    1.305234] dump_power_table[13] = { .cpufreq_khz = 600000,  .cpufreq_ncpu = 1,      .cpufreq_power = 166 }
    [    1.314451] dump_power_table[14] = { .cpufreq_khz = 437500,  .cpufreq_ncpu = 1,      .cpufreq_power = 140 }
    [    1.323665] dump_power_table[15] = { .cpufreq_khz = 300000,  .cpufreq_ncpu = 1,      .cpufreq_power = 119 }
    [    1.334041] [cal] calefuse1  = 0x79622b80
    [    1.337976] [cal] calefuse2  = 0x2fc010
    [    1.341725] [cal] g_adc_ge_t = 0x222
    [    1.345298] [cal] g_adc_oe_t = 0x1e5
    [    1.348872] [cal] g_degc_cali        = 0x2e
    [    1.352443] [cal] g_adc_cali_en_t    = 0x1
    [    1.356277] [cal] g_o_slope  = 0x0
    [    1.359589] [cal] g_o_slope_sign     = 0x0
    [    1.363327] [cal] g_id               = 0x0
    [    1.366293] [cal] g_o_vtsmcu1        = 0x0
    [    1.369778] [cal] g_o_vtsmcu2        = 0xbf
    [    1.373349] [cal] g_o_vtsmcu3        = 0x0
    [    1.376833] [cal] g_o_vtsmcu4        = 0x0
    [    1.380317] [cal] g_ge               = 0x53
    [    1.383360] [cal] g_gain             = 0x2763
    [    1.386757] [cal] g_x_roomt1 = 0x1f6d
    [    1.393374] MTK-BTIF[E]hal_btif_clk_get_and_prepare(286):[CCF]clk_btif=ffffffc01e5a5680
    [    1.401403] MTK-BTIF[E]hal_btif_clk_get_and_prepare(292):[CCF]clk_btif_apdma=ffffffc01e5a5780
    [    1.411506] [btmtk_err] btmtk_get_irq: irq_id:239 irq_flags:8
    [    1.428383] Recognize NAND: ID [
    [    1.431444] ef aa
    [    1.433455] 21 [    1.435201] ], [Winbond 1Gb], Page[2048]B, Spare [64]B Total [128]MB
    [    1.441741] nand: device found, Manufacturer ID: 0xef, Chip ID: 0xaa
    [    1.448093] nand: Winbond NAND 128MiB 1,8V 8-bit
    [    1.452711] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    [    1.460277] [NAND]select ecc bit:4, sparesize :64
    [    1.465868] [BBT] BMT.v2 is found at 0x3ff
    [    1.469988] 10 ofpart partitions found on MTD device MTK-SNAND
    [    1.475819] Creating 10 MTD partitions on "MTK-SNAND":
    [    1.480956] 0x000000000000-0x000000080000 : "Preloader"
    [    1.487305] 0x000000080000-0x0000000c0000 : "ATF"
    [    1.492775] 0x0000000c0000-0x000000140000 : "Bootloader"
    [    1.499126] 0x000000140000-0x0000001c0000 : "Config"
    [    1.505136] 0x0000001c0000-0x0000002c0000 : "Factory"
    [    1.511829] 0x0000002c0000-0x000001ac0000 : "Kernel"
    [    1.544883] 2 trx-fw partitions found on MTD device Kernel
    [    1.550375] 0x0000002c001c-0x000000540000 : "kernel"
    [    1.558668] 0x000000540000-0x000001ac0000 : "rootfs"
    [    1.588699] mtd: device 7 (rootfs) set to be root filesystem
    [    1.609003] 1 squashfs-split partitions found on MTD device rootfs
    [    1.615181] 0x0000011c0000-0x000001ac0000 : "rootfs_data"
    [    1.631366] 0x000001ac0000-0x0000032c0000 : "Kernel2"
    [    1.664326] 0x0000032c0000-0x0000034c0000 : "glbcfg"
    [    1.672062] 0x0000034c0000-0x0000036c0000 : "board_data"
    [    1.680149] 0x0000036c0000-0x000006cc0000 : "WTB"
    [    1.747075] mtk-snand 1100d000.snfi: [mtk_snand] probe successfully!
    [    1.753869] mtk-nor 11014000.spi: unrecognized JEDEC id bytes: 00,  0,  0
    [    1.760677] mtk-nor: probe of 11014000.spi failed with error -2
    [    1.767166] libphy: Fixed MDIO Bus: probed
    [    1.771707] sean debug physpeed = 2500
    [    1.798169] libphy: mdio: probed
    [    1.801423] mtk_soc_eth 1b100000.ethernet: generated random MAC address 7a:8d:c7:c9:c6:7f
    [    1.809777] mtk_soc_eth 1b100000.ethernet: connected mac 0 to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY]
    [    1.820447] mtk_soc_eth 1b100000.ethernet eth0: mediatek frame engine at 0xffffff8008900000, irq 250
    [    1.829606] mtk_soc_eth 1b100000.ethernet: generated random MAC address 3e:c6:0f:38:54:66
    [    1.837950] mtk_soc_eth 1b100000.ethernet: connected mac 1 to PHY at fixed-0:01 [uid=00000000, driver=Generic PHY]
    [    1.848578] mtk_soc_eth 1b100000.ethernet eth1: mediatek frame engine at 0xffffff8008900000, irq 250
    [    1.857716] netif_napi_add() called with weight 256 on device
    [    1.864729] MTK_WDT_NONRST_REG(20000000)
    [    1.868846] mtk-wdt 10212000.watchdog: register restart_handler on reboot_notifier_list for psci reset
    [    1.878162] mtk-wdt 10212000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
    [    1.886175] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com
    [    1.894818] register cpuidle driver!!!!!!!!!!!!!!!!!
    [    1.901744] Netfilter messages via NETLINK v0.30.
    [    1.906481] nf_conntrack version 0.5.0 (3884 buckets, 15536 max)
    [    1.912701] Bytecounter: allocated 64 tables
    [    1.917650] NET: Registered protocol family 10
    [    1.922561] mca_alloc:863->current[swapper/0]
    [    1.926929] mca_alloc:863->current[swapper/0]
    [    1.931365] mca_alloc:863->current[swapper/0]
    [    1.935725] mca_alloc:863->current[swapper/0]
    [    1.940132] mca_alloc:863->current[swapper/0]
    [    1.944492] mca_alloc:863->current[swapper/0]
    [    1.948948] sit: IPv6 over IPv4 tunneling driver
    [    1.953932] mca_alloc:863->current[swapper/0]
    [    1.958293] mca_alloc:863->current[swapper/0]
    [    1.963015] mca_alloc:863->current[swapper/0]
    [    1.967376] mca_alloc:863->current[swapper/0]
    [    1.971749] ip6_tunnel: Create ip6_tunnel_fmr proc
    [    1.976541] ip6_tunnel: Success
    [    1.979791] NET: Registered protocol family 17
    [    1.984262] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
    [    1.996872] 8021q: 802.1Q VLAN Support v1.8
    [    2.001434] registered taskstats version 1
    [    2.543725] mt753x gsw@0: Switch is MediaTek MT7531BE rev 1
    [    2.553888] mt753x gsw@0: HWSTRAP=0xff XTAL=25MHz
    [    2.807422] mtk_soc_eth 1b100000.ethernet: path gmac1_sgmii in set_mux_gdm1_to_gmac1_esw updated = 1
    [    2.816560] mtk_soc_eth 1b100000.ethernet: mux mux_gmac2_gmac0_to_gephy isn't present on the SoC
    [    2.825346] mtk_soc_eth 1b100000.ethernet: mux mux_u3_gmac2_to_qphy isn't present on the SoC
    [    2.833785] mtk_soc_eth 1b100000.ethernet: path gmac1_sgmii in set_mux_gmac1_gmac2_to_sgmii_rgmii updated = 1
    [    2.843696] mtk_soc_eth 1b100000.ethernet: mux mux_gmac12_to_gephy_sgmii isn't present on the SoC
    [    2.845499] random: nonblocking pool is initialized
    [    2.857513] mtk_soc_eth 1b100000.ethernet: path gmac2_rgmii in set_mux_gdm1_to_gmac1_esw updated = 0
    [    2.860265] libphy: mt753x_mdio: probed
    [    2.870482] mtk_soc_eth 1b100000.ethernet: mux mux_gmac2_gmac0_to_gephy isn't present on the SoC
    [    2.879267] mtk_soc_eth 1b100000.ethernet: mux mux_u3_gmac2_to_qphy isn't present on the SoC
    [    2.887709] mtk_soc_eth 1b100000.ethernet: path gmac2_rgmii in set_mux_gmac1_gmac2_to_sgmii_rgmii updated = 0
    [    2.897622] mtk_soc_eth 1b100000.ethernet: mux mux_gmac12_to_gephy_sgmii isn't present on the SoC
    [    3.131166] mt753x gsw@0: >>>>>>>>>>>>>>>>>>>>>>>>>>>>> START CALIBRATION:
    [    3.139452] mt753x gsw@0: -------- gephy-calbration (port:0) --------
    [    3.157045] CALDLY = 40
    [    3.235081] 0x1e-e0 = 2929
    [    3.239944] 0x1f-115 = 5
    [    3.242470]   GE Rext AnaCal Done! (9)(0x29)
    [    3.311009]  GE R50 AnaCal Done! (8) (0x35)(0xb5)
    [    3.367842]  GE R50 AnaCal Done! (7) (0x37)(0xb7)
    [    3.424601]  GE R50 AnaCal Done! (7) (0x37)(0xb7)
    [    3.488660]  GE R50 AnaCal Done! (9) (0x34)(0xb4)
    [    3.496978]  GE 1e_174(0xb5b7), 1e_175(0xb7b4)
    [    3.540224]  GE Tx offset AnaCal Done! (pair-0)(2)(0x21) 0x1e_172=0x2120
    [    3.589963]  GE Tx offset AnaCal Done! (pair-1)(6)(0x25) 0x1e_172=0x2125
    [    3.639697]  GE Tx offset AnaCal Done! (pair-2)(6)(0x25) 0x1e_173=0x2520
    [    3.694799]  GE Tx offset AnaCal Done! (pair-3)(7)(0x26) 0x1e_173=0x2526
    [    3.788574]  GE Tx amp AnaCal Done! (pair-0)(1e_12 = 0x681a)
    [    3.845716]  GE Tx amp AnaCal Done! (pair-1)(1e_17 = 0x1b1b)
    [    3.900374]  GE Tx amp AnaCal Done! (pair-2)(1e_19 = 0x1a22)
    [    3.941534]  GE Tx amp AnaCal Done! (pair-3)(1e_21 = 0x1921)
    [    3.995840] PORT 0 RX_DC_OFFSET
    [    4.010234] before pairA output = e
    [    4.015823] after pairA output = fe
    [    4.021321] before pairB output = e
    [    4.026906] after pairB output = 1
    [    4.032326] before pairC output = f
    [    4.037913] after pairC output = fe
    [    4.043413] before pairD output = c
    [    4.048985] after pairD output = 0
    [    4.052691] mt753x gsw@0: -------- gephy-calbration (port:1) --------
    [    4.069522] CALDLY = 40
    [    4.137132]  GE R50 AnaCal Done! (10) (0x32)(0xb2)
    [    4.206660]  GE R50 AnaCal Done! (10) (0x32)(0xb2)
    [    4.270803]  GE R50 AnaCal Done! (9) (0x34)(0xb4)
    [    4.340240]  GE R50 AnaCal Done! (10) (0x32)(0xb2)
    [    4.348630]  GE 1e_174(0xb2b2), 1e_175(0xb4b2)
    [    4.397134]  GE Tx offset AnaCal Done! (pair-0)(3)(0x3) 0x1e_172=0x320
    [    4.430512]  GE Tx offset AnaCal Done! (pair-1)(3)(0x22) 0x1e_172=0x322
    [    4.469387]  GE Tx offset AnaCal Done! (pair-2)(4)(0x23) 0x1e_173=0x2320
    [    4.492176]  GE Tx offset AnaCal Done! (pair-3)(1)(0x1) 0x1e_173=0x2301
    [    4.572502]  GE Tx amp AnaCal Done! (pair-0)(1e_12 = 0x5415)
    [    4.609687]  GE Tx amp AnaCal Done! (pair-1)(1e_17 = 0x1919)
    [    4.677690]  GE Tx amp AnaCal Done! (pair-2)(1e_19 = 0x1d25)
    [    4.712249]  GE Tx amp AnaCal Done! (pair-3)(1e_21 = 0x1820)
    [    4.766530] PORT 1 RX_DC_OFFSET
    [    4.780941] before pairA output = e
    [    4.786523] after pairA output = ff
    [    4.792024] before pairB output = d
    [    4.797606] after pairB output = 1
    [    4.803023] before pairC output = e
    [    4.808611] after pairC output = 1
    [    4.814025] before pairD output = e
    [    4.819604] after pairD output = 0
    [    4.823303] mt753x gsw@0: -------- gephy-calbration (port:2) --------
    [    4.840142] CALDLY = 40
    [    4.907783]  GE R50 AnaCal Done! (10) (0x32)(0xb2)
    [    4.977169]  GE R50 AnaCal Done! (10) (0x32)(0xb2)
    [    5.046674]  GE R50 AnaCal Done! (10) (0x32)(0xb2)
    [    5.116194]  GE R50 AnaCal Done! (10) (0x32)(0xb2)
    [    5.124589]  GE 1e_174(0xb2b2), 1e_175(0xb2b2)
    [    5.173210]  GE Tx offset AnaCal Done! (pair-0)(3)(0x22) 0x1e_172=0x2220
    [    5.217580]  GE Tx offset AnaCal Done! (pair-1)(5)(0x24) 0x1e_172=0x2224
    [    5.245771]  GE Tx offset AnaCal Done! (pair-2)(2)(0x21) 0x1e_173=0x2120
    [    5.284767]  GE Tx offset AnaCal Done! (pair-3)(4)(0x23) 0x1e_173=0x2123
    [    5.398496]  GE Tx amp AnaCal Done! (pair-0)(1e_12 = 0x4411)
    [    5.442403]  GE Tx amp AnaCal Done! (pair-1)(1e_17 = 0x1919)
    [    5.510462]  GE Tx amp AnaCal Done! (pair-2)(1e_19 = 0x121a)
    [    5.578523]  GE Tx amp AnaCal Done! (pair-3)(1e_21 = 0x1d25)
    [    5.632775] PORT 2 RX_DC_OFFSET
    [    5.647202] before pairA output = d
    [    5.652790] after pairA output = 1
    [    5.658201] before pairB output = 1e
    [    5.663868] after pairB output = fe
    [    5.669361] before pairC output = f
    [    5.674944] after pairC output = ff
    [    5.680449] before pairD output = c
    [    5.686034] after pairD output = 1
    [    5.689739] mt753x gsw@0: -------- gephy-calbration (port:3) --------
    [    5.706574] CALDLY = 40
    [    5.779581]  GE R50 AnaCal Done! (11) (0x31)(0xb1)
    [    5.843739]  GE R50 AnaCal Done! (9) (0x34)(0xb4)
    [    5.907832]  GE R50 AnaCal Done! (9) (0x34)(0xb4)
    [    5.971772]  GE R50 AnaCal Done! (9) (0x34)(0xb4)
    [    5.980083]  GE 1e_174(0xb1b4), 1e_175(0xb4b4)
    [    6.023337]  GE Tx offset AnaCal Done! (pair-0)(2)(0x21) 0x1e_172=0x2120
    [    6.051523]  GE Tx offset AnaCal Done! (pair-1)(2)(0x2) 0x1e_172=0x2102
    [    6.111932]  GE Tx offset AnaCal Done! (pair-2)(8)(0x27) 0x1e_173=0x2720
    [    6.167074]  GE Tx offset AnaCal Done! (pair-3)(7)(0x26) 0x1e_173=0x2726
    [    6.260874]  GE Tx amp AnaCal Done! (pair-0)(1e_12 = 0x5014)
    [    6.331528]  GE Tx amp AnaCal Done! (pair-1)(1e_17 = 0x1e1e)
    [    6.372788]  GE Tx amp AnaCal Done! (pair-2)(1e_19 = 0x161e)
    [    6.407091]  GE Tx amp AnaCal Done! (pair-3)(1e_21 = 0x171f)
    [    6.460980] PORT 3 RX_DC_OFFSET
    [    6.475285] before pairA output = e
    [    6.480853] after pairA output = fe
    [    6.486341] before pairB output = d
    [    6.491917] after pairB output = 2
    [    6.497309] before pairC output = f
    [    6.502877] after pairC output = 0
    [    6.508280] before pairD output = e
    [    6.513850] after pairD output = ff
    [    6.517639] mt753x gsw@0: -------- gephy-calbration (port:4) --------
    [    6.534399] CALDLY = 40
    [    6.601467]  GE R50 AnaCal Done! (10) (0x32)(0xb2)
    [    6.665116]  GE R50 AnaCal Done! (9) (0x34)(0xb4)
    [    6.723307]  GE R50 AnaCal Done! (8) (0x35)(0xb5)
    [    6.786911]  GE R50 AnaCal Done! (9) (0x34)(0xb4)
    [    6.795186]  GE 1e_174(0xb2b4), 1e_175(0xb5b4)
    [    6.838127]  GE Tx offset AnaCal Done! (pair-0)(2)(0x21) 0x1e_172=0x2120
    [    6.876817]  GE Tx offset AnaCal Done! (pair-1)(4)(0x23) 0x1e_172=0x2123
    [    6.910186]  GE Tx offset AnaCal Done! (pair-2)(3)(0x22) 0x1e_173=0x2220
    [    6.938194]  GE Tx offset AnaCal Done! (pair-3)(2)(0x21) 0x1e_173=0x2221
    [    7.024642]  GE Tx amp AnaCal Done! (pair-0)(1e_12 = 0x5415)
    [    7.081508]  GE Tx amp AnaCal Done! (pair-1)(1e_17 = 0x1313)
    [    7.168933]  GE Tx amp AnaCal Done! (pair-2)(1e_19 = 0xf17)
    [    7.223105]  GE Tx amp AnaCal Done! (pair-3)(1e_21 = 0x141c)
    [    7.276962] PORT 4 RX_DC_OFFSET
    [    7.291261] before pairA output = f
    [    7.296836] after pairA output = ff
    [    7.302324] before pairB output = 1e
    [    7.307975] after pairB output = 1
    [    7.313371] before pairC output = 1e
    [    7.319025] after pairC output = 1
    [    7.324429] before pairD output = 1e
    [    7.330086] after pairD output = ff
    [    7.336226] [SPM] pwrap node has not register regmap
    [    7.341654] regulator regulator.3: info->modeset_reg 0xc = 0x181c32a2
    [    7.349083] regulator regulator.3: info->modeset_reg 0xc = 0x101c32a2
    [    7.364175] VFS: Mounted root (squashfs filesystem) readonly on device 31:7.
    [    7.371406] Freeing unused kernel memory: 336K
    [    7.375858] This architecture does not have kernel memory protection.
    arca.dbus.mng: is ready
    agent_handler(244):arca.dbus.misc: is ready
    
    Please press Enter to activate this console. [    9.138935] usbcore: registered new interface driver usbfs
    [    9.144554] usbcore: registered new interface driver hub
    [    9.150013] usbcore: registered new device driver usb
    [    9.186296] libata version 3.00 loaded.
    [    9.221545] ahci 1a200000.sata: forcing port_map 0x0 -> 0x1
    [    9.227225] ahci 1a200000.sata: AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl platform mode
    [    9.235765] ahci 1a200000.sata: flags: ncq sntf pm clo only pmp pio slum part ccc apst
    [    9.248449] scsi host0: ahci
    [    9.251664] ata1: SATA max UDMA/133 mmio [mem 0x1a200000-0x1a2010ff] port 0x100 irq 249
    [    9.579423] ata1: SATA link down (SStatus 0 SControl 300)
    [    9.601363] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    9.610287] ehci-platform: EHCI generic platform driver
    [    9.631927] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [    9.640542] ohci-platform: OHCI generic platform driver
    [    9.688685] 1a0c0000.usb supply vbus not found, using dummy regulator
    [    9.695230] 1a0c0000.usb supply vusb33 not found, using dummy regulator
    [    9.702209] xhci-mtk 1a0c0000.usb: xHCI Host Controller
    [    9.707524] xhci-mtk 1a0c0000.usb: new USB bus registered, assigned bus number 1
    [    9.715044] xhci-mtk 1a0c0000.usb: hcc params 0x01403198 hci version 0x96 quirks 0x00210010
    [    9.723434] xhci-mtk 1a0c0000.usb: irq 246, io mem 0x1a0c0000
    [    9.729612] hub 1-0:1.0: USB hub found
    [    9.733443] hub 1-0:1.0: 2 ports detected
    [    9.737798] xhci-mtk 1a0c0000.usb: xHCI Host Controller
    [    9.743033] xhci-mtk 1a0c0000.usb: new USB bus registered, assigned bus number 2
    [    9.750479] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [    9.758945] hub 2-0:1.0: USB hub found
    [    9.762786] hub 2-0:1.0: 1 port detected
    [    9.770661] usbcore: registered new interface driver usb-storage
    [    9.833574] l2tp_core: L2TP core driver, V2.0
    [    9.846913] l2tp_netlink: L2TP netlink interface
    [    9.853746] gre: GRE over IPv4 demultiplexor driver
    [    9.861146] ip_gre: GRE over IPv4 tunneling driver
    [    9.866488] mca_alloc:863->current[insmod]
    [    9.870730] mca_alloc:863->current[insmod]
    [    9.875355] mca_alloc:863->current[insmod]
    [    9.879511] mca_alloc:863->current[insmod]
    [    9.886172] ip6_tables: (C) 2000-2006 Netfilter Core Team
    [    9.960447] ip_tables: (C) 2000-2006 Netfilter Core Team
    [    9.985234] -->mtfwd_init(ver:1.0)<--
    [    9.992271] mediatek_soc_hnat 1b100000.hnat: wan = eth1
    [    9.997716] mediatek_soc_hnat 1b100000.hnat: lan = eth0
    [   10.002952] mediatek_soc_hnat 1b100000.hnat: ppd = eth0
    [   10.008182] mediatek_soc_hnat 1b100000.hnat: gmac num = 2
    [   10.014308] mediatek_soc_hnat 1b100000.hnat: FOE entry number = 16384
    [   10.021545] mediatek_soc_hnat 1b100000.hnat: hwnat start
    [   10.460621] mt7622_mt_wifi: module license 'Proprietary' taints kernel.
    [   10.467311] Disabling lock debugging due to kernel taint
    [   10.486267] register mt_drv
    [   10.492489]
    [   10.492489] == pAd = ffffff8009501000, size = 6243584, Status=0 ==
    [   10.500168] AP Driver version-5.0.5.3
    [   10.503847] read sub id = 2
    [   10.506632] Use 1st iPAeLNA default bin.
    [   10.510566] Use 1st /etc_ro/wlan/MT7622_EEPROM.bin default bin.
    [   10.516494] <--mt7622_init()
    [   10.520040] <-- RTMPAllocTxRxRingMemory, Status=0
    [   10.525433] mca_alloc:863->current[insmod]
    [   10.529594] mca_alloc:863->current[insmod]
    [   11.366320] register mt_drv
    [   11.369503] mt_drv 0001:01:00.0: enabling device (0000 -> 0002)
    [   11.381622]
    [   11.381622]
    [   11.381622] === pAd = ffffff800a701000, size = 13461888 ===
    [   11.381622]
    [   11.392180] <-- RTMPAllocAdapterBlock, Status=0
    [   11.396729] PCI CSRBaseAddress =0xffffff800a600000, csr_addr=0xffffff800a600000!
    [   11.404146] RTMPInitPCIeDevice():device_id=0x7915
    [   11.408860] mt7915_init()-->
    [   11.411743] Use 1st iPAeLNA default bin.
    [   11.415728] <--mt7915_init()
    [   11.419344] Rx[0] Ring: total 24576 bytes allocated
    [   11.424307] Rx[1] Ring: total 24576 bytes allocated
    [   11.429721] Rx[2] Ring: total 8192 bytes allocated
    [   11.435386] Rx[3] Ring: total 16384 bytes allocated
    [   11.440759] Rx[4] Ring: total 8192 bytes allocated
    [   11.445570] <-- pci_alloc_tx_rx_ring_mem, Status=0
    [   11.450849] mca_alloc:863->current[insmod]
    [   11.455006] mca_alloc:863->current[insmod]
    [   11.474910] nf_log_ipv4: failed to register logger
    [   11.586258] xt_time: kernel timezone is -0000
    [   11.614732] whnat_module_init(): module init and register callback for whnat
    [   11.621925] create whnat_ctrl ok!!!
    [   11.625492] wed_slot_map_get(): assign slot_id:0 for entry: 0!
    [   11.631354] wed_slot_map_get(): assign slot_id:1 for entry: 1!
    [   11.637252] whnat_hif_pcie_mirror_probe(): hif_cfg base addr=ffffff80092b4400
    [   11.679141] PPP generic driver version 2.4.2
    [   11.685948] PPP MPPE Compression module registered
    [   11.698061] NET: Registered protocol family 24
    [   11.705075] PPTP driver version 0.8.5
    [   11.728198] l2tp_ppp: PPPoL2TP kernel driver, V2.0
    [   11.796373] nf_conntrack_rtsp v0.7 loading
    [   11.800509] init:569->port #0: 554
    [   11.803918] init:569->port #1: 10556
    [   11.807518] init:569->port #2: 10557
    [   11.811086] init:569->port #3: 10558
    [   11.814667] init:569->port #4: 10559
    [   11.818245] init:569->port #5: 10560
    [   11.821819] init:569->port #6: 10561
    [   11.825396] init:569->port #7: 10562
    [   11.828970] init:569->port #8: 10563
    [   11.832546] init:569->port #9: 10564
    [   11.836120] init:569->port #10: 10565
    [   11.839783] init:569->port #11: 10566
    [   11.843444] init:569->port #12: 10567
    [   11.847098] init:569->port #13: 10568
    [   11.850760] init:569->port #14: 10569
    [   11.854424] init:569->port #15: 10570
    [   11.858085] init:569->port #16: 10571
    [   11.861747] init:569->port #17: 10572
    [   11.865408] init:569->port #18: 10573
    [   11.869070] init:569->port #19: 10574
    [   11.872731] init:569->port #20: 10575
    [   11.876392] init:569->port #21: 10576
    [   11.880053] init:569->port #22: 10577
    [   11.883714] init:569->port #23: 10578
    [   11.887369] init:569->port #24: 10579
    [   11.891029] init:569->port #25: 10580
    [   11.894690] init:569->port #26: 10581
    [   11.898351] init:569->port #27: 10582
    [   11.902012] init:569->port #28: 10583
    [   11.905673] init:569->port #29: 10584
    [   11.909334] init:569->port #30: 10585
    [   11.912995] init:569->port #31: 10586
    [   11.916656] init:569->port #32: 10587
    [   11.920317] init:569->port #33: 10588
    [   11.923978] init:569->port #34: 10589
    [   11.927639] init:569->port #35: 10590
    [   11.931294] init:569->port #36: 10591
    [   11.934954] init:569->port #37: 10592
    [   11.949396] nf_nat_rtsp v0.7 loading
    [   12.199472] mca_alloc:863->current[kworker/1:2]
    Disable flow control
    [   14.235225] mca_alloc:863->current[brctl]
    [   14.239451] mca_alloc:863->current[brctl]
    [   14.249006] debug : Enter [BRCTL_ADD_IF]
    [   14.253069] add_if 00000000 ***************************
    [   14.258549] device eth0 entered promiscuous mode
    [   14.271477] mca_alloc:863->current[brctl]
    [   14.275535] mca_alloc:863->current[brctl]
    [   14.286918] mca_alloc:863->current[brctl]
    [   14.291046] mca_alloc:863->current[brctl]
    [   14.329979] br0: port 1(eth0) entered forwarding state
    [   14.335172] br0: port 1(eth0) entered forwarding state
    [   14.349140] mca_alloc:863->current[kworker/0:1]
    [   14.355782] mca_alloc:863->current[kworker/0:1]
    [   14.423433] mca_alloc:863->current[kworker/1:2]
    [   14.579639] ra0: ===> main_virtual_if_open
    [   14.583899] load l1profile succeed!
    [   14.888490] APWdsInitialize():WdsEntry Number=4
    [   14.893864] RtmpOSFileOpen(): Error 2 opening /etc/Wireless/RT2860/RT2860_5G.dat
    [   14.901268] Open file "/etc/Wireless/RT2860/RT2860_5G.dat" failed!
    [   14.907802] MacAddress1 = 00:00:00:00:00:00
    [   14.912135] MacAddress2 = 00:00:00:00:00:00
    [   14.916467] MacAddress3 = 00:00:00:00:00:00
    [   14.920800] MacAddress4 = 00:00:00:00:00:00
    [   14.925127] MacAddress5 = 00:00:00:00:00:00
    [   14.929439] E2pAccessMode=2
    [   14.932502] SSID[0]=Buffalo-G-6F60, EdcaIdx=0
    [   14.936944] SSID[1]=Buffalo-G-6F60_2, EdcaIdx=0
    [   14.941559] SSID[2]=Guest-6F60, EdcaIdx=0
    [   14.945653] SSID[3]=, EdcaIdx=0
    [   14.948896] SSID[4]=, EdcaIdx=0
    [   14.952124] SSID[5]=Buffalo-G-6F60-WPA3, EdcaIdx=0
    [   14.957199] BSS0 PhyMode=14
    [   14.959996] wmode_band_equal(): Band Equal!
    [   14.964178] BSS1 PhyMode=14
    [   14.966965] BSS2 PhyMode=14
    [   14.969779] BSS3 PhyMode=14
    [   14.972573] BSS4 PhyMode=14
    [   14.975359] BSS5 PhyMode=14
    [   14.978187] auto_ch_select_set_cfg(): BandIdx0, AutoChannelAtBootup=1, AutoChannelAlg = 3
    [   14.986983] BandSteering=0
    [   14.989725] BndStrgBssIdx=
    [   14.992537] [TxPower] BAND0: 100
    [   14.996079] Power Boost (CCK, OFDM): RTMPSetProfileParametersPower Boost (HT20): RTMPSetProfileParametersPower Boost (HT40): RTMPSetProfileParametersPower Boost (VHT20): RTMPSetProfileParametersPower Boost (VHT40): RTMPSetProfileParametersPower Boost (VHT80): RTMPSetProfileParametersPower Boost (VHT160): RTMPSetProfileParameters[CCKTxStream] BAND0: 4
    [   15.027874] [PERCENTAGEenable] BAND0: 1
    [   15.031830] [BFBACKOFFenable] BAND0: 0
    [   15.036145] FragThreshold[0]=2346
    [   15.044466] DfsZeroWait Support=0/0
    [   15.048971] read_etxbf: ETxBfEnCond = 1
    [   15.052809] read_etxbf: BSSID[0]
    [   15.056038] read_etxbf: MBSS[0] ETxBfEnCond = 1
    [   15.060570] read_etxbf: More BSSID[1]
    [   15.064230] read_etxbf: More MBSS[1] ETxBfEnCond = 1
    [   15.069192] read_etxbf: More BSSID[2]
    [   15.072852] read_etxbf: More MBSS[2] ETxBfEnCond = 1
    [   15.077813] read_etxbf: More BSSID[3]
    [   15.081472] read_etxbf: More MBSS[3] ETxBfEnCond = 1
    [   15.086433] read_etxbf: More BSSID[4]
    [   15.090092] read_etxbf: More MBSS[4] ETxBfEnCond = 1
    [   15.095054] read_etxbf: More BSSID[5]
    [   15.098713] read_etxbf: More MBSS[5] ETxBfEnCond = 1
    [   15.115683] MAP_MODE=0
    [   15.119897] If/wds0 - PeerPhyOpMode=255
    [   15.124286] APWdsInitialize():WdsEntry Number=4
    [   15.128814] WDS-Enable mode=0
    [   15.131866] AndesSendCmdMsg: Could not send in band command due to diablefRTMP_ADAPTER_MCU_SEND_IN_BAND_CMD
    [   15.141603] AndesSendCmdMsg: Command type = ed, Extension command type = 48
    [   15.150091] HT: WDEV[0] Ext Channel = ABOVE
    [   15.154386] HT: greenap_cap = 1
    [   15.157609] ChipI=7622, Value=0, pcie_aspm in profile=0
    [   15.186810] ICapMode = 0
    [   15.192970] WtcSetMaxStaNum: BssidNum:6, MaxStaNum:120 (WdsNum:4, ApcliNum:1, MaxNumChipRept:16), MinMcastWcid:121
    [   15.203457] Fair Queueing Scheduler Initialization...
    [   15.208659] Top Init Done!
    [   15.211362] Use dev_alloc_skb
    [   15.214698] RX[0] DESC ffffffc01b48e000 size = 8192
    [   15.219716] RX[1] DESC ffffffc01b560000 size = 8192
    [   15.224685] cut_through_init(): ct sw token number = 4095
    [   15.230206] cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
    [   15.237948] cut_through_token_list_init(): ffffffc018253990,ffffffc018253990
    [   15.245116] cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
    [   15.252863] cut_through_token_list_init(): ffffffc0182539b0,ffffffc0182539b0
    [   15.259996] Hif Init Done!
    [   15.262697] ctl->txq = ffffff8009aeee00
    [   15.266546] ctl->rxq = ffffff8009aeee18
    [   15.270381] ctl->ackq = ffffff8009aeee30
    [   15.274301] ctl->kickq = ffffff8009aeee48
    [   15.278310] ctl->tx_doneq = ffffff8009aeee60
    [   15.282577] ctl->rx_doneq = ffffff8009aeee78
    [   15.286948] mt_rbus 0000:00:00.0: Direct firmware load for mt7622_patch_e2_hdr.bin failed with error -2
    [   15.296346] Parsing patch header
    [   15.299575]  Built date: 20200601211444a
    [   15.303574]
    [   15.305057]  Platform: ALPS
    [   15.307873]  HW/SW version: 0x8a108a10
    [   15.311652]  Patch version: 0x00000010
    [   15.315429]  Target address: 0x9c000, length: 82080
    [   15.320373] patch is not ready && get semaphore success
    [   15.325635] EventGenericEventHandler: CMD Success
    [   15.330833] MtCmdPatchFinishReq
    [   15.345226] EventGenericEventHandler: CMD Success
    [   15.349998] release patch semaphore
    [   15.353493] WfMcuHwInit: Before NICLoadFirmware, check ICapMode = 0
    [   15.359768] Parsing CPU 0 fw tailer
    [   15.363248]  Chip ID: 0x06
    [   15.365973]  Eco version: 0x00
    [   15.369039]  Region number: 0x00
    [   15.372278]  Format version: 0x00
    [   15.375604]  Ram version: _reserved_
    [   15.379220]  Built date: 20200724210254
    [   15.383214]  Common crc: 0x0
    [   15.386092] Parsing tailer region 0
    [   15.389577]  Feature set: 0x01
    [   15.392644]  Target address: 0xb7000, Download size: 249856
    [   15.398212] Parsing tailer region 1
    [   15.401697]  Feature set: 0x01
    [   15.404767]  Target address: 0x203dc00, Download size: 50144
    [   15.410462] EventGenericEventHandler: CMD Success
    [   15.419316] EventGenericEventHandler: CMD Success
    [   15.424401] MtCmdFwStartReq: override = 0x0, address = 0x0
    [   15.471391] EventGenericEventHandler: CMD Success
    [   15.476106] MCU Init Done!
    [   15.478810] efuse_probe: efuse = 2
    [   15.482213] RtmpChipOpsEepromHook::e2p_type=2, inf_Type=4
    [   15.487610] RtmpEepromGetDefault::e2p_dafault=2
    [   15.492140] RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 2, E2P default = 2
    [   15.499709] NVM is FLASH mode. dev_idx [0] FLASH OFFSET [0x0]
    [   15.505812] NICReadEEPROMParameters: EEPROM 0x52 bb08
    [   15.511617] MtCmdSetTxLpfCal_7622:(ret = 0)
    [   15.515821] MtCmdSetTxDcIqCal_7622:(ret = 0)
    [   15.520122] MtCmdSetTxDpdCal_7622:(ret = 0)
    [   15.524333] MtCmdSetTxDpdCal_7622:(ret = 0)
    [   15.528541] MtCmdSetTxDpdCal_7622:(ret = 0)
    [   15.532743] MtCmdSetTxDpdCal_7622:(ret = 0)
    [   15.536945] MtCmdSetTxDpdCal_7622:(ret = 0)
    [   15.541150] MtCmdSetTxDpdCal_7622:(ret = 0)
    [   15.545358] MtCmdSetTxDpdCal_7622:(ret = 0)
    [   15.549563] MtCmdSetTxDpdCal_7622:(ret = 0)
    [   15.553772] MtCmdSetTxDpdCal_7622:(ret = 0)
    [   15.557978] MtCmdSetTxDpdCal_7622:(ret = 0)
    [   15.562186] MtCmdSetTxDpdCal_7622:(ret = 0)
    [   15.566389] MtCmdSetTxDpdCal_7622:(ret = 0)
    [   15.570591] MtCmdSetTxDpdCal_7622:(ret = 0)
    [   15.574775] mt7622_pa_lna_set(): read antCtrl = 1, polCtrl = 4, wifiStreams = 44
    [   15.582431] mt7622_tssi_set(): nic_cfg1=20, mode=1
    [   16.552151] Country Region from e2p = 0
    [   16.556043] read sub id = 2
    [   16.558835] RcRadioInit(): DbdcMode=0, ConcurrentBand=1
    [   16.564068] RcRadioInit(): pRadioCtrl=ffffffc0031f6d60,Band=0,rfcap=1,channel=1,PhyMode=2 extCha=0xf
    [   16.573203] EEPROM Init Done!
    [   16.576172] mt_mac_init()-->
    [   16.579053] mt7622_init_mac_cr(): TMAC_TRCR0=0x82783c8c
    [   16.584288] <--mt_mac_init()
    [   16.606513] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
    [   16.623601] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
    [   16.640668] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
    [   16.647218] MAC Init Done!
    [   16.649932] MT7622BBPInit() todo
    [   16.653173] PHY Init Done!
    [   16.656600] MtCmdSetMacTxRx:(ret = 0)
    [   16.660404] WifiFwdSet::disabled=0
    [   16.663810] ap_ftkd> Initialize FT KDP Module...
    [   16.668430] Main bssid = 00:00:00:00:00:00
    [   16.672698] MtCmdSetMacTxRx:(ret = 0)
    [   16.683659] MtCmdSetMacTxRx:(ret = 0)
    [   16.687317] <==== mt_wifi_init, Status=0
    [   16.691239] TxBfModuleEnCtrl:It's not DBDC mode
    [   16.695796] MtCmdEDCCACtrl: BandIdx: 0, EDCCACtrl: 1
    [   16.701297] mca_alloc:863->current[ifconfig]
    [   16.705613] mca_alloc:863->current[ifconfig]
    [   16.710388] mca_alloc:863->current[ifconfig]
    [   16.714713] mca_alloc:863->current[ifconfig]
    [   16.719513] mca_alloc:863->current[ifconfig]
    [   16.723826] mca_alloc:863->current[ifconfig]
    [   16.728587] mca_alloc:863->current[ifconfig]
    [   16.732917] mca_alloc:863->current[ifconfig]
    [   16.737698] mca_alloc:863->current[ifconfig]
    [   16.742028] mca_alloc:863->current[ifconfig]
    [   16.746394] The new WDS interface MAC = 00:00:00:00:00:00, MacTabMatchWCID = 0
    [   16.754077] mca_alloc:863->current[ifconfig]
    [   16.758393] mca_alloc:863->current[ifconfig]
    [   16.762744] The new WDS interface MAC = 00:00:00:00:00:00, MacTabMatchWCID = 0
    [   16.770420] mca_alloc:863->current[ifconfig]
    [   16.774756] mca_alloc:863->current[ifconfig]
    [   16.779110] The new WDS interface MAC = 00:00:00:00:00:00, MacTabMatchWCID = 0
    [   16.786783] mca_alloc:863->current[ifconfig]
    [   16.791091] mca_alloc:863->current[ifconfig]
    [   16.795453] The new WDS interface MAC = 00:00:00:00:00:00, MacTabMatchWCID = 0
    [   16.803140] mca_alloc:863->current[ifconfig]
    [   16.807447] mca_alloc:863->current[ifconfig]
    [   16.811771] Total allocated 4 WDS interfaces!
    [   16.816179] (Apcli0)Macaddress=c6:3c:ea:**:**:61!----
    [   16.821651] mca_alloc:863->current[ifconfig]
    [   16.825971] mca_alloc:863->current[ifconfig]
    [   16.830304] WtcSetMaxStaNum: BssidNum:6, MaxStaNum:120 (WdsNum:4, ApcliNum:1, MaxNumChipRept:16), MinMcastWcid:121
    [   16.865330] RedInit: set Driver/N9 RED Enable to 1.
    [   16.870227] RedInit: RED Initiailize Done.
    [   16.874323] cp_support_is_enabled: set Driver CP_SUPPORT to Mode 2.
    [   16.880592] RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
    [   16.886897] wifi_sys_open(), wdev idx = 0
    [   16.890908] wdev_attr_update(): wdevId0 = c4:3c:ea:**:**:61
    [   16.896479] [RcGetHdevByPhyMode] channel 0 fix for rdev fetching
    [   16.902533]  [RadarStateCheck] RD_NORMAL_MODE
    [   16.907937] phy_freq_adjust : no prim_ch value for adjust!
    [   16.913610] Caller: wlan_operate_init+0xd8/0x108 [mt7622_mt_wifi]
    [   16.919709] phy_mode=14, ch=0, wdev_type=1
    [   16.923806] ht_cap->HtCapInfo: ldpc=1,ch_width=0,gf=0,sgi20=1,sgi40=0,tx_stbc=1,rx_stbc=1,amsdu_size=0
    [   16.933112] ht_cap->HtCapParm: mdpu_density=5, ampdu_factor=3
    [   16.941592] AP inf up for ra_0(func_idx) OmacIdx=0
    [   16.948705] mtd_isr::DriverOwn = TRUE
    [   16.953095] AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
    [   16.964513] ApAutoChannelAtBootUp----------------->
    [   16.969440] ApAutoChannelAtBootUp: AutoChannelBootup[0] = 1
    [   16.975179] MtCmdSetMacTxRx:(ret = 0)
    [   16.978862] MtCmdChannelSwitch: control_chl = 1,control_ch2=0, central_chl = 1 DBDCIdx= 0, Band= 0
    [   16.987818] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   17.219418] MtCmdChannelSwitch: control_chl = 2,control_ch2=0, central_chl = 2 DBDCIdx= 0, Band= 0
    [   17.228383] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   17.451417] MtCmdChannelSwitch: control_chl = 3,control_ch2=0, central_chl = 3 DBDCIdx= 0, Band= 0
    [   17.460420] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   17.683413] MtCmdChannelSwitch: control_chl = 4,control_ch2=0, central_chl = 4 DBDCIdx= 0, Band= 0
    [   17.692380] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   17.915416] MtCmdChannelSwitch: control_chl = 5,control_ch2=0, central_chl = 5 DBDCIdx= 0, Band= 0
    [   17.924389] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   18.147407] MtCmdChannelSwitch: control_chl = 6,control_ch2=0, central_chl = 6 DBDCIdx= 0, Band= 0
    [   18.156373] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   18.379420] MtCmdChannelSwitch: control_chl = 7,control_ch2=0, central_chl = 7 DBDCIdx= 0, Band= 0
    [   18.388384] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   18.611427] MtCmdChannelSwitch: control_chl = 8,control_ch2=0, central_chl = 8 DBDCIdx= 0, Band= 0
    [   18.620425] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   18.843417] MtCmdChannelSwitch: control_chl = 9,control_ch2=0, central_chl = 9 DBDCIdx= 0, Band= 0
    [   18.852386] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   19.059419] MtCmdChannelSwitch: control_chl = 10,control_ch2=0, central_chl = 10 DBDCIdx= 0, Band= 0
    [   19.068566] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   19.275420] MtCmdChannelSwitch: control_chl = 11,control_ch2=0, central_chl = 11 DBDCIdx= 0, Band= 0
    [   19.284558] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   19.491419] ====================================================================
    [   19.498823] Channel   1 : Busy Time =   6747, Skip Channel = FALSE, BwCap = TRUE
    [   19.506237] Channel   2 : Busy Time =   3229, Skip Channel = FALSE, BwCap = TRUE
    [   19.513632] Channel   3 : Busy Time =   2052, Skip Channel = FALSE, BwCap = TRUE
    [   19.521025] Channel   4 : Busy Time =   7031, Skip Channel = FALSE, BwCap = TRUE
    [   19.528417] Channel   5 : Busy Time =   2791, Skip Channel = FALSE, BwCap = TRUE
    [   19.535828] Channel   6 : Busy Time =   3527, Skip Channel = FALSE, BwCap = TRUE
    [   19.543241] Channel   7 : Busy Time =   3186, Skip Channel = FALSE, BwCap = TRUE
    [   19.550635] Channel   8 : Busy Time =  10031, Skip Channel = FALSE, BwCap = TRUE
    [   19.558031] Channel   9 : Busy Time =   3537, Skip Channel = FALSE, BwCap = TRUE
    [   19.565458] Channel  10 : Busy Time =   5107, Skip Channel = FALSE, BwCap = TRUE
    [   19.572857] Channel  11 : Busy Time =   5556, Skip Channel = FALSE, BwCap = TRUE
    [   19.580252] ====================================================================
    [   19.587656] Rule 3 Channel Busy time value : Select Primary Channel 3
    [   19.594103] Rule 3 Channel Busy time value : Min Channel Busy = 2052
    [   19.600457] Rule 3 Channel Busy time value : BW = 20
    [   19.605425] [SelectClearChannelBusyTime] - band0 END
    [   19.610395] ApAutoChannelAtBootUp : Auto channel selection: Selected channel = 3, IsAband = 0
    [   19.618923]  AutoChSelUpdateChannel(): Update channel for wdev for this band PhyMode = 14, Channel = 3
    [   19.629033] MtCmdChannelSwitch: control_chl = 3,control_ch2=0, central_chl = 3 DBDCIdx= 0, Band= 0
    [   19.638017] BW = 0,TXStream = 4, RXStream = 4, scan(0)
    [   19.662167] ApAutoChannelAtBootUp<-----------------
    [   19.667124] [PMF]APPMFInit:: apidx=0, MFPC=0, MFPR=0, SHA256=0
    [   19.673005] wifi_sys_linkup(), wdev idx = 0
    [   19.677196] wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:127 for WDEV_TYPE:1
    [   19.677196]  LinkToOmacIdx = 0, LinkToWdevType = 1
    [   19.739038] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
    [   19.798803] UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 0
    [   19.804566] APStartUpForMbss: BssIndex = 0 channel = 3
    [   19.809759] MtCmdTxPowerDropCtrl: ucPowerDrop: 100, BandIdx: 0
    [   19.815631] TxCCKStreamCtrl: set wrong parameters
    [   19.822087] Enable 20/40 BSSCoex Channel Scan(BssCoex=1)
    [   19.827401] apidx 0 for WscUUIDInit
    [   19.830882] Generate UUID for apidx(0)
    [   19.834646] mtk_ppe_dev_register_hook : ineterface ra0 register (1)
    [   19.841212] mca_alloc:863->current[kworker/0:3]
    [19.84][1319][set_confs_after_interface_up:535]: cmd iwpriv ra0 mac 82078024=0,82078028=0,82078124=0,82078128=0,82078094=0,82078098=0,82078194=0,82078198=0,82078030=0,82078034=0,82078130=0,82078134=0,820780A0=0,820780A4=0,820781A0=0,820781A4=0
    [   19.868062] RTMPIoctlMAC():after trim space, ptr len=175, pointer(ffffffc017393000)=82078024=0,82078028=0,82078124=0,82078128=0,82078094=0,82078098=0,82078194=0,82078198=0,82078030=0,82078034=0,82078130=0,82078134=0,820780A0=0,820780A4=0,820781A0=0,820781A4=0!
    [19.88][1319][set_confs_after_interface_up:539]:[   19.894701] RTMPIoctlMAC():after trim space, ptr len=175, pointer(ffffffc017393000)=8207803C=0,82078040=0,8207813C=0,82078140=0,820780AC=0,820780B0=0,820781AC=0,820781B0=0,82078050=0,82078054=0,82078150=0,82078154=0,820780BC=0,820780C0=0,820781BC=0,820781C0=0!
    cmd iwpriv ra0 mac 8207803C=0,82078040=0,820781[   19.922854] set_thermal_protection_admin_ctrl_duty_proc: u4Lv0Duty: 100, u4Lv1Duty: 80, u4Lv2Duty: 60, u4Lv3Duty: 40
    3C=0,82078140=0,820780AC=0,820780B0=0,820781AC=0,820781B0=0,82078050=0,82078054=0,82078150=0,820[   19.940992] set_thermal_protection_criteria_proc: fgHighEn: 1, fgLowEn: 1, fgRFOffEn: 1, cHighTempTh: 122, cLowTempTh: 116, cRFOffTh: 125
    78154=0,820780BC[   19.954578] set_thermal_protection_criteria_proc: u4RechkTimer: 30, ucType: Duty Cycle
    =0,820780C0=0,82[   19.963827] MtCmdThermalProtect: HighEn: 1, HighTempTh: 122, LowEn: 1, LowTempTh: 116, RechkTimer: 30
    0781BC=0,820781C[   19.974375] MtCmdThermalProtect: RFOffEn: 1, RFOffTh: 125, ucType: 1
    0=0
    [19.91][1319][set_confs_after_interface_up:585]: cmd iwpriv ra0 set tpc_duty=100:080:060:040
    [19.93][1319][set_confs_after_interface_up:590]: cmd iwpriv ra0 set tpc=1:1:1:122:116:125:0030:1
    [   20.004419] debug : Enter [BRCTL_ADD_RULE_IF]
    [   20.008904] add_if 00000100 ***************************
    [   20.014304] device ra0 entered promiscuous mode
    [   20.018859] br0: port 2(ra0) entered forwarding state
    [   20.023915] br0: port 2(ra0) entered forwarding state
    [   20.036644] ra5: ===> mbss_virtual_if_open
    [   20.040771] RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
    [   20.047073] wifi_sys_open(), wdev idx = 5
    [   20.051112] wdev_attr_update(): wdevId5 = c4:3c:ea:**:**:62
    [   20.056720]  [RadarStateCheck] RD_NORMAL_MODE
    [   20.062310] Caller: wlan_operate_init+0xd8/0x108 [mt7622_mt_wifi]
    [   20.068409] phy_mode=14, ch=3, wdev_type=1
    [   20.072508] ht_cap->HtCapInfo: ldpc=1,ch_width=0,gf=0,sgi20=1,sgi40=0,tx_stbc=1,rx_stbc=1,amsdu_size=0
    [   20.081815] ht_cap->HtCapParm: mdpu_density=0, ampdu_factor=3
    [   20.090288] AP inf up for ra_5(func_idx) OmacIdx=21
    [   20.095206] AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
    [   20.106640] ApAutoChannelAtBootUp----------------->
    [   20.111520] ApAutoChannelAtBootUp: AutoChannelBootup[0] = 1
    [   20.117256] MtCmdSetMacTxRx:(ret = 0)
    [   20.120919] ApAutoChannelAtBootUp<-----------------
    [   20.125821] [PMF]APPMFInit:: apidx=5, MFPC=1, MFPR=1, SHA256=0
    [   20.131656] [PMF]PMF_MakeRsnIeGMgmtCipher: Insert BIP to the group management cipher of RSNIE
    [   20.140210] wifi_sys_linkup(), wdev idx = 5
    [   20.144398] wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:126 for WDEV_TYPE:1
    [   20.144398]  LinkToOmacIdx = 15, LinkToWdevType = 1
    [   20.206313] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
    [   20.271012] UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 15
    [   20.276872] APStartUpForMbss: BssIndex = 0 channel = 3
    [   20.282035] MtCmdTxPowerDropCtrl: ucPowerDrop: 100, BandIdx: 0
    [   20.287881] TxCCKStreamCtrl: set wrong parameters
    [   20.294302] apidx 5 for WscUUIDInit
    [   20.297793] Generate UUID for apidx(5)
    [   20.301554] mtk_ppe_dev_register_hook : ineterface ra5 register (2)
    [   20.308019] mca_alloc:863->current[kworker/1:0]
    [20.30][1319][set_confs_after_interface_up:535]:[   20.316296] RTMPIoctlMAC():after trim space, ptr len=175, pointer(ffffffc01738d000)=82078024=0,82078028=0,82078124=0,82078128=0,82078094=0,82078098=0,82078194=0,82078198=0,82078030=0,82078034=0,82078130=0,82078134=0,820780A0=0,820780A4=0,820781A0=0,820781A4=0!
    cmd iwpriv ra5 mac 82078024=0,82078028=0,820781[   20.344222] RTMPIoctlMAC():after trim space, ptr len=175, pointer(ffffffc01738d000)=8207803C=0,82078040=0,8207813C=0,82078140=0,820780AC=0,820780B0=0,820781AC=0,820781B0=0,82078050=0,82078054=0,82078150=0,82078154=0,820780BC=0,820780C0=0,820781BC=0,820781C0=0!
    24=0,82078128=0,82078094=0,82078098=0,82078194=0[   20.371230] set_thermal_protection_admin_ctrl_duty_proc: u4Lv0Duty: 100, u4Lv1Duty: 80, u4Lv2Duty: 60, u4Lv3Duty: 40
    ,82078198=0,82078030=0,82078034=0,82078130=0,82078134=0,820780A0=0,820780A4=0,820781A0=0,820781A[   20.389585] set_thermal_protection_criteria_proc: fgHighEn: 1, fgLowEn: 1, fgRFOffEn: 1, cHighTempTh: 122, cLowTempTh: 116, cRFOffTh: 125
    4=0
    [20.33][131[   20.403093] set_thermal_protection_criteria_proc: u4RechkTimer: 30, ucType: Duty Cycle
    9][set_confs_aft[   20.412327] MtCmdThermalProtect: HighEn: 1, HighTempTh: 122, LowEn: 1, LowTempTh: 116, RechkTimer: 30
    er_interface_up:[   20.422915] MtCmdThermalProtect: RFOffEn: 1, RFOffTh: 125, ucType: 1
    539]: cmd iwpriv ra5 mac 8207803C=0,82078040=0,8207813C=0,82078140=0,820780AC=0,820780B0=0,820781AC=0,820781B0=0,82078050=0,82078054=0,82078150=0,82078154=0,820780BC=0,820780C0[   20.445694] debug : Enter [BRCTL_ADD_RULE_IF]
    =0,820781BC=0,82[   20.450404] add_if 00000100 ***************************
    0781C0=0
    [20.36[   20.457167] device ra5 entered promiscuous mode
    ][1319][set_conf[   20.462899] br0: port 3(ra5) entered forwarding state
    s_after_interfac[   20.469304] br0: port 3(ra5) entered forwarding state
    e_up:585]: cmd iwpriv ra5 set tpc_duty=100:080:060:040
    [20.38][1319][set_confs_after_interface_up:590]: cmd iwpriv ra5 set tpc=1:1:1:122:116:125:0030:1
    [   20.495197] rai0: ===> main_virtual_if_open
    [   20.499475] RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_INIT
    [   20.506229] load l1profile succeed!
    [   20.509895] WHNAT=1
    [   20.512002] whnat_cap_support(): chip_id=7915 is in WHNAT support list
    [   20.518544] wifi_slot_get(): bus name=PCI Bus 0001:01, funid=0, get slot id=0
    [   20.525681] whnat_entry_acquire(): PCIE SLOT:0, hook to WHNAT,entry id=0
    [   20.532565] wed_init(0): irq=13,base_addr=0xffffff80093f6000
    [   20.539121] wed_ring_init(): wed ring init result = 0
    [   20.554946] create wed ok!!!
    [   20.558083] wdma_init(): wdma(0) base addr=ffffff80093f8800
    [   20.563683] wdma_init(): wdma(0) irq[0]=253
    [   20.567978] wdma_init(): wdma(0) irq[1]=254
    [   20.572172] wdma_init(): wdma(0) irq[2]=255
    [   20.576850] wifi_chip_probe(): Chang CHIP IRQ: 259 to WHNAT IRQ: 13
    [   20.583124] wifi_slot_get(): bus name=PCI Bus 0001:01, funid=0, get slot id=0
    [   20.590325] whnat_probe(): probe fail since whnat is full!
    [   20.595824] whnat_dev0: probe of 1020a000.wed2 failed with error -1
    [   20.602252] mt_service_open: wlan service opens successfully!
    [   20.609104] APWdsInitialize():WdsEntry[0~15]
    [   20.614900] WifiCert=1
    [   20.617317] BssidNum=6
    [   20.619678] Pf2MbssIdxMap:
    [   20.622377]  0  1  2  3  4  5
    [   20.625908] MacAddress1 = 00:00:00:00:00:00
    [   20.630247] MacAddress2 = 00:00:00:00:00:00
    [   20.634582] MacAddress3 = 00:00:00:00:00:00
    [   20.638922] MacAddress4 = 00:00:00:00:00:00
    [   20.643260] MacAddress5 = 00:00:00:00:00:00
    [   20.647935] E2pAccessMode=2
    [   20.651008] SSID[0]=Buffalo-A-6F60, EdcaIdx=0
    [   20.655468] SSID[1]=Buffalo-A-6F60_2, EdcaIdx=0
    [   20.660101] SSID[2]=Guest-6F60, EdcaIdx=0
    [   20.664203] SSID[3]=, EdcaIdx=0
    [   20.667489] SSID[4]=, EdcaIdx=0
    [   20.670715] SSID[5]=Buffalo-A-6F60-WPA3, EdcaIdx=0
    [   20.675711] RTMPSetProfileParameters(): DBDC Mode=0, eDBDC_mode = 0
    [   20.682214] cfg_mode=17
    [   20.684663] cfg_mode=17
    [   20.687101] cfg_mode=17
    [   20.689555] wmode_band_equal(): Band Equal!
    [   20.693741] cfg_mode=17
    [   20.696192] cfg_mode=17
    [   20.698630] cfg_mode=17
    [   20.701075] cfg_mode=17
    [   20.703519] cfg_mode=17
    [   20.705956] cfg_mode=17
    [   20.708399] cfg_mode=17
    [   20.710836] cfg_mode=17
    [   20.713279] cfg_mode=17
    [   20.715800] cfg_mode=17
    [   20.718240] cfg_mode=17
    [   20.720881] auto_ch_select_set_cfg(): BandIdx0, AutoChannelAtBootup=1, AutoChannelAlg = 3
    [   20.729062] auto_ch_select_set_cfg(): BandIdx1, AutoChannelAtBootup=0, AutoChannelAlg = 0
    [   20.737328] Index0 Channel=0
    [   20.740727] BandSteering=0
    [   20.743477] BndStrgBssIdx=
    [   20.746290] [TxPower] BAND0: 100
    [   20.751736] [SKUenable] BAND0: 1
    [   20.755060] [SkuTableIdx]: 0
    [   20.758052] [CCKTxStream] BAND0: 4
    [   20.761539] [PERCENTAGEenable] BAND0: 1
    [   20.765411] [BFBACKOFFenable] BAND0: 0
    [   20.769264] [Disable160RuMu] BAND0: 1
    [   20.773029] [MaxRuOfdma] BAND0: 8
    [   20.776427] [MaxDLMuMimo] BAND0: 4
    [   20.779915] [MaxULMuMimo] BAND0: 2
    [   20.783823] profile: FragThreshold[0]=2346
    [   20.788329] APEdca0
    [   20.790571] APEdca1
    [   20.792822] APEdca2
    [   20.795065] APEdca3
    [   20.800810] UAPSDCapable[0]=1
    [   20.803776] UAPSDCapable[1]=1
    [   20.806735] UAPSDCapable[2]=1
    [   20.809700] UAPSDCapable[3]=1
    [   20.812666] UAPSDCapable[4]=1
    [   20.815689] UAPSDCapable[5]=1
    [   20.818648] UAPSDCapable[6]=1
    [   20.821647] UAPSDCapable[7]=1
    [   20.824614] UAPSDCapable[8]=1
    [   20.827579] UAPSDCapable[9]=1
    [   20.830539] UAPSDCapable[10]=1
    [   20.833590] UAPSDCapable[11]=1
    [   20.836642] UAPSDCapable[12]=1
    [   20.839700] UAPSDCapable[13]=1
    [   20.842750] UAPSDCapable[14]=1
    [   20.845801] UAPSDCapable[15]=1
    [   20.848853] UAPSDCapable[16]=1
    [   20.851924] UAPSDCapable[17]=1
    [   20.854970] UAPSDCapable[18]=1
    [   20.858023] UAPSDCapable[19]=1
    [   20.861075] UAPSDCapable[20]=1
    [   20.864128] UAPSDCapable[21]=1
    [   20.867174] UAPSDCapable[22]=1
    [   20.870264] UAPSDCapable[23]=1
    [   20.873325] UAPSDCapable[24]=1
    [   20.876400] UAPSDCapable[25]=1
    [   20.879458] UAPSDCapable[26]=1
    [   20.882504] UAPSDCapable[27]=1
    [   20.885557] UAPSDCapable[28]=1
    [   20.888610] UAPSDCapable[29]=1
    [   20.891662] UAPSDCapable[30]=1
    [   20.894708] UAPSDCapable[31]=1
    [   20.897760] default ApCliUAPSDCapable[0]=1
    [   20.901853] default ApCliUAPSDCapable[1]=1
    [   20.906674] DfsZeroWait Support=0/0
    [   20.910503] DfsZeroWaitCacTime=255/255
    [   20.914722] read_itxbf: ITxBfEn = 1
    [   20.918209] read_itxbf: BSSID[0]
    [   20.921435] read_itxbf: MBSS[0] ITxBfEn = 1
    [   20.925615] read_itxbf: More BSSID[1]
    [   20.929277] read_itxbf: More MBSS[1] ITxBfEn = 1
    [   20.933894] read_itxbf: More BSSID[2]
    [   20.937560] read_itxbf: More MBSS[2] ITxBfEn = 1
    [   20.942180] read_itxbf: More BSSID[3]
    [   20.945845] read_itxbf: More MBSS[3] ITxBfEn = 1
    [   20.950525] read_itxbf: More BSSID[4]
    [   20.954204] read_itxbf: More MBSS[4] ITxBfEn = 1
    [   20.958820] read_itxbf: More BSSID[5]
    [   20.962479] read_itxbf: More MBSS[5] ITxBfEn = 1
    [   20.967096] read_itxbf: Common.ITxBfEn = 1
    [   20.971284] read_etxbf: ETxBfEnCond = 1
    [   20.975124] read_etxbf: BSSID[0]
    [   20.978374] read_etxbf: MBSS[0] ETxBfEnCond = 1
    [   20.982910] read_etxbf: More BSSID[1]
    [   20.986571] read_etxbf: More MBSS[1] ETxBfEnCond = 1
    [   20.991534] read_etxbf: More BSSID[2]
    [   20.995187] read_etxbf: More MBSS[2] ETxBfEnCond = 1
    [   21.000150] read_etxbf: More BSSID[3]
    [   21.003811] read_etxbf: More MBSS[3] ETxBfEnCond = 1
    [   21.008773] read_etxbf: More BSSID[4]
    [   21.012432] read_etxbf: More MBSS[4] ETxBfEnCond = 1
    [   21.017393] read_etxbf: More BSSID[5]
    [   21.021053] read_etxbf: More MBSS[5] ETxBfEnCond = 1
    [   21.026223] HeraStbcPriority[0] = 0
    [   21.030755] MBSS[0] MuOfdmaDlEnable = 1
    [   21.034589] More MBSS[1] MuOfdmaDlEnable = 1
    [   21.038855] More MBSS[2] MuOfdmaDlEnable = 1
    [   21.043122] More MBSS[3] MuOfdmaDlEnable = 1
    [   21.047393] More MBSS[4] MuOfdmaDlEnable = 1
    [   21.051715] More MBSS[5] MuOfdmaDlEnable = 1
    [   21.056149] MBSS[0] MuOfdmaUlEnable = 0
    [   21.059983] More MBSS[1] MuOfdmaUlEnable = 0
    [   21.064252] More MBSS[2] MuOfdmaUlEnable = 0
    [   21.068554] More MBSS[3] MuOfdmaUlEnable = 0
    [   21.072826] More MBSS[4] MuOfdmaUlEnable = 0
    [   21.077096] More MBSS[5] MuOfdmaUlEnable = 0
    [   21.081517] MBSS[0] MuMimoDlEnable = 1
    [   21.085265] More MBSS[1] MuMimoDlEnable = 1
    [   21.089445] More MBSS[2] MuMimoDlEnable = 1
    [   21.093625] More MBSS[3] MuMimoDlEnable = 1
    [   21.097805] More MBSS[4] MuMimoDlEnable = 1
    [   21.101984] More MBSS[5] MuMimoDlEnable = 1
    [   21.106311] MBSS[0] MuMimoUlEnable = 0
    [   21.110058] More MBSS[1] MuMimoUlEnable = 0
    [   21.114237] More MBSS[2] MuMimoUlEnable = 0
    [   21.118416] More MBSS[3] MuMimoUlEnable = 0
    [   21.122595] More MBSS[4] MuMimoUlEnable = 0
    [   21.126774] More MBSS[5] MuMimoUlEnable = 0
    [   21.149196] [PMF]Set_PMFMFPC_Proc:: apidx=0, Desired MFPC=0
    [   21.154821] [PMF]Set_PMFMFPC_Proc:: apidx=1, Desired MFPC=0
    [   21.160411] [PMF]Set_PMFMFPC_Proc:: apidx=2, Desired MFPC=0
    [   21.165984] [PMF]Set_PMFMFPC_Proc:: apidx=3, Desired MFPC=0
    [   21.171589] [PMF]Set_PMFMFPC_Proc:: apidx=4, Desired MFPC=0
    [   21.177163] [PMF]Set_PMFMFPC_Proc:: apidx=5, Desired MFPC=1
    [   21.182831] [PMF]Set_PMFMFPR_Proc:: apidx=0, Desired MFPR=0
    [   21.188405] [PMF]Set_PMFMFPR_Proc:: apidx=1, Desired MFPR=0
    [   21.193980] [PMF]Set_PMFMFPR_Proc:: apidx=2, Desired MFPR=0
    [   21.199553] [PMF]Set_PMFMFPR_Proc:: apidx=3, Desired MFPR=0
    [   21.205126] [PMF]Set_PMFMFPR_Proc:: apidx=4, Desired MFPR=0
    [   21.210700] [PMF]Set_PMFMFPR_Proc:: apidx=5, Desired MFPR=1
    [   21.216359] [PMF]Set_PMFSHA256_Proc:: apidx=0, Desired PMFSHA256=0
    [   21.222991] MAP_MODE=0
    [   21.225576] ApCliEntry[0].Enable=0
    [   21.230617] APCLI[0] ApCliMuOfdmaDlEnable = 1
    [   21.235003] APCLI[0] ApCliMuOfdmaUlEnable = 0
    [   21.239396] APCLI[0] ApCliMuMimoDlEnable = 0
    [   21.243695] APCLI[0] ApCliMuMimoUlEnable = 0
    [   21.248242] rtmp_read_wds_from_file(): WDS Profile
    [   21.253242] WDS Number: band[0]=0, band[1]=0
    [   21.257652] WDS-Enable mode=0
    [   21.260900] If/wds0 - PeerPhyMode=0xb1
    [   21.266569] HT_BAWinSize: wdev[0]: (TX=256, RX=256)
    [   21.271926] HT: WDEV[0] Ext Channel = BELOW
    [   21.276225] HT: greenap_cap = 0
    [   21.279480] 0:rai0 TWTsupport = 1
    [   21.282787] 1:(null) TWTsupport = 1
    [   21.286302] 2:(null) TWTsupport = 1
    [   21.289797] 3:(null) TWTsupport = 1
    [   21.293287] 4:(null) TWTsupport = 1
    [   21.296773] 5:(null) TWTsupport = 1
    [   21.356429] ICapMode = 0
    [   21.364917] WtcSetMaxStaNum: MaxStaNum:232, BssidNum:6, WdsNum:16, MSTANum:1, MaxNumChipRept:32, MinMcastWcid:281
    [   21.375239] Top Init Done!
    [   21.377970] Use dev_alloc_skb
    [   21.380942] token_tx_queue_init(): ct sw token number = 1023
    [   21.386664] token_tx_queue_init(): token que inited done!id_head/tail=0/1024
    [   21.393736] token_tx_queue_init(): ffffffc017065e08,ffffffc017065e08
    [   21.401249] TxRing[0]: attr:0, total 2048 entry initialized
    [   21.407651] TxRing[1]: attr:0, total 2048 entry initialized
    [   21.413350] RX[0] DESC ffffff8009243000 size = 24576
    [   21.419384] RX[1] DESC ffffff800924a000 size = 24576
    [   21.425409] RX[2] DESC ffffff8009251000 size = 8192
    [   21.430618] RX[3] DESC ffffff8009254000 size = 16384
    [   21.436239] RX[4] DESC ffffff8009259000 size = 8192
    [   21.441657] -->TX_RING_0[0xd7300]: Attr:0, Base=0x59fc8000, Cnt=2048!
    [   21.448110] -->TX_RING_1[0xd7310]: Attr:0, Base=0x59fd0000, Cnt=2048!
    [   21.454660] -->TX_RING_2[0xd5400]: Attr:3, Base=0x59f6e000, Cnt=128!
    [   21.461016] -->TX_RING_3[0xd5410]: Attr:2, Base=0x59f6f000, Cnt=256!
    [   21.467422] -->TX_RING_4[0xd5440]: Attr:1, Base=0x59f70000, Cnt=256!
    [   21.473831] -->RX_RING0[0xd4500]: Base=0x59fe8000, Cnt=1536
    [   21.479404] -->RX_RING1[0xd4510]: Base=0x59ff0000, Cnt=1536
    [   21.484975] -->RX_RING2[0xd5500]: Base=0x59fbc000, Cnt=512
    [   21.490463] -->RX_RING3[0xd7410]: Base=0x59ffc000, Cnt=1024
    [   21.496040] -->RX_RING4[0xd5520]: Base=0x59fbe000, Cnt=512
    [   21.501530] whnat_ring_init(): cookie=ffffff800a701000
    [   21.506670] wdma_dma_ctrl(): WDMA_GLO_CFG=40000450
    [   21.511497] Hif Init Done!
    [   21.517345] pci_driver_own_by_port: success to clear p=0 fw own, from(1): 1 is interrupt mode, 2 is polling mode.
    [   21.527603] driver_own: port=1 is not enabled
    [   21.531959] fw_prepare():using E2 ROM patch
    [   21.536139] fw_prepare():using E2 RAM
    [   21.539811] Parsing patch header
    [   21.543034]  Built date: 20200819112315a
    [   21.547029]
    [   21.548517]  Platform: ALPS
    [   21.551324]  HW/SW version: 0x8a108a10
    [   21.555098]  Patch version: 0xffffffff
    [   21.558928]  Section num: 0x2, subsys: 0x4
    [   21.563023]  Section 0: type = 0x30002, offset = 0xe0, size = 0xfc90
    [   21.569375]  Target address: 0x200000, length: 0xfc90
    [   21.574457]  Section 1: type = 0x30002, offset = 0xfd70, size = 0x136d0
    [   21.581070]  Target address: 0xe000f000, length: 0x136d0
    [   21.586528] Patch SEM Status = 2
    [   21.589770] patch is not ready && get semaphore success
    [   21.595032] Start address = 0x200000, DL length = 64656, Data mode = 0x80000000
    [   21.603507] EventGenericEventHandler: CMD Success
    [   21.608220] MtCmdAddressLenReq:(ret = 0)
    [   21.612552] Start address = 0xe000f000, DL length = 79568, Data mode = 0x80000000
    [   21.621193] EventGenericEventHandler: CMD Success
    [   21.625904] MtCmdAddressLenReq:(ret = 0)
    [   21.630291] MtCmdPatchFinishReq
    [   21.637243] EventGenericEventHandler: CMD Success
    [   21.642106] Patch SEM Status = 3
    [   21.645341] release patch semaphore
    [   21.648834]  WfMcuHwInit: Before NICLoadFirmware, check ICapMode = 0
    [   21.655981] Parsing CPU 0 fw tailer
    [   21.659539]  Chip ID: 0x0b
    [   21.662251]  Eco version: 0x01
    [   21.665316]  Region number: 0x07
    [   21.668555]  Format version: 0x02
    [   21.671955]  Format flag: 0x01
    [   21.675012]  Ram version: ____000000
    [   21.678640]  Built date: 20200904172210
    [   21.682637]  Common crc: 0xb96d79d
    [   21.686041] Parsing tailer region 0
    [   21.689534]  Decomp crc: 0x0
    [   21.692417]  Decomp size: 0x0
    [   21.695418]  Decomp block size: 0x0
    [   21.698898]  Target address: 0x21fc00
    [   21.702559]  Download size: 110592
    [   21.705957]  Feature set: 0x20
    [   21.709023] Parsing tailer region 1
    [   21.712508]  Decomp crc: 0x0
    [   21.715380]  Decomp size: 0x0
    [   21.718344]  Decomp block size: 0x0
    [   21.721836]  Target address: 0x31dc00
    [   21.725499]  Download size: 205824
    [   21.728903]  Feature set: 0x00
    [   21.731973] Parsing tailer region 2
    [   21.735462]  Decomp crc: 0x0
    [   21.738335]  Decomp size: 0x0
    [   21.741301]  Decomp block size: 0x0
    [   21.744787]  Target address: 0x417400
    [   21.748445]  Download size: 31744
    [   21.751756]  Feature set: 0x00
    [   21.754814] Parsing tailer region 3
    [   21.758299]  Decomp crc: 0x0
    [   21.761238]  Decomp size: 0x0
    [   21.764205]  Decomp block size: 0x0
    [   21.767690]  Target address: 0xe0022800
    [   21.771574]  Download size: 394240
    [   21.774993]  Feature set: 0x00
    [   21.778065] Parsing tailer region 4
    [   21.781554]  Decomp crc: 0x0
    [   21.784434]  Decomp size: 0x0
    [   21.787406]  Decomp block size: 0x0
    [   21.790888]  Target address: 0xe0082c00
    [   21.794721]  Download size: 349184
    [   21.798140]  Feature set: 0x00
    [   21.801209] Parsing tailer region 5
    [   21.804695]  Decomp crc: 0x0
    [   21.807571]  Decomp size: 0x0
    [   21.810530]  Decomp block size: 0x0
    [   21.814015]  Target address: 0x23ac00
    [   21.817674]  Download size: 87040
    [   21.821004]  Feature set: 0x00
    [   21.824070] Parsing tailer region 6
    [   21.827556]  Decomp crc: 0x0
    [   21.830428]  Decomp size: 0x0
    [   21.833392]  Decomp block size: 0x0
    [   21.836877]  Target address: 0x400000
    [   21.840535]  Download size: 81920
    [   21.843847]  Feature set: 0x00
    [   21.846905]  Release info: header tag = 0, total length = 0
    [   21.852488] Start address = 0x21fc00, DL length = 110592, Data mode = 0x80000000
    [   21.861128] EventGenericEventHandler: CMD Success
    [   21.865840] MtCmdAddressLenReq:(ret = 0)
    [   21.870423] Start address = 0x31dc00, DL length = 205824, Data mode = 0x80000000
    [   21.879074] EventGenericEventHandler: CMD Success
    [   21.883789] MtCmdAddressLenReq:(ret = 0)
    [   21.888942] Start address = 0x417400, DL length = 31744, Data mode = 0x80000000
    [   21.897439] EventGenericEventHandler: CMD Success
    [   21.902152] MtCmdAddressLenReq:(ret = 0)
    [   21.906254] Start address = 0xe0022800, DL length = 394240, Data mode = 0x80000000
    [   21.915016] EventGenericEventHandler: CMD Success
    [   21.919739] MtCmdAddressLenReq:(ret = 0)
    [   21.925898] Start address = 0xe0082c00, DL length = 349184, Data mode = 0x80000000
    [   21.934667] EventGenericEventHandler: CMD Success
    [   21.939380] MtCmdAddressLenReq:(ret = 0)
    [   21.945282] Start address = 0x23ac00, DL length = 87040, Data mode = 0x80000000
    [   21.953786] EventGenericEventHandler: CMD Success
    [   21.958497] MtCmdAddressLenReq:(ret = 0)
    [   21.963030] Start address = 0x400000, DL length = 81920, Data mode = 0x80000000
    [   21.971539] EventGenericEventHandler: CMD Success
    [   21.976307] MtCmdAddressLenReq:(ret = 0)
    [   21.980719] MtCmdFwStartReq: override = 0x1, address = 0x21fc00
    [   21.987825] EventGenericEventHandler: CMD Success
    [   21.992544] Parsing CPU 1 fw tailer
    [   21.996032]  Chip ID: 0x00
    [   21.998744]  Eco version: 0x01
    [   22.001830]  Region number: 0x03
    [   22.005073]  Format version: 0x02
    [   22.008399]  Format flag: 0x01
    [   22.011462]  Ram version: DEV_000000
    [   22.015079]  Built date: 20200819112407
    [   22.019073]  Common crc: 0x5f32a39e
    [   22.022560] Parsing tailer region 0
    [   22.026046]  Decomp crc: 0x0
    [   22.028924]  Decomp size: 0x0
    [   22.031889]  Decomp block size: 0x0
    [   22.035368]  Target address: 0x10200000
    [   22.039200]  Download size: 88096
    [   22.042515]  Feature set: 0x00
    [   22.045580] Parsing tailer region 1
    [   22.049065]  Decomp crc: 0x0
    [   22.051943]  Decomp size: 0x0
    [   22.054902]  Decomp block size: 0x0
    [   22.058387]  Target address: 0x10300000
    [   22.062219]  Download size: 19488
    [   22.065592]  Feature set: 0x00
    [   22.068658] Parsing tailer region 2
    [   22.072143]  Decomp crc: 0x0
    [   22.075015]  Decomp size: 0x0
    [   22.078020]  Decomp block size: 0x0
    [   22.081508]  Target address: 0xe0000000
    [   22.085343]  Download size: 8768
    [   22.088574]  Feature set: 0x00
    [   22.091645]  Release info: header tag = 0, total length = 0
    [   22.097225] Start address = 0x10200000, DL length = 88096, Data mode = 0x80000010
    [   22.105908] EventGenericEventHandler: CMD Success
    [   22.110622] MtCmdAddressLenReq:(ret = 0)
    [   22.115010] Start address = 0x10300000, DL length = 19488, Data mode = 0x80000010
    [   22.123689] EventGenericEventHandler: CMD Success
    [   22.128400] MtCmdAddressLenReq:(ret = 0)
    [   22.132422] Start address = 0xe0000000, DL length = 8768, Data mode = 0x80000010
    [   22.141009] EventGenericEventHandler: CMD Success
    [   22.145718] MtCmdAddressLenReq:(ret = 0)
    [   22.149693] MtCmdFwStartReq: override = 0x4, address = 0x0
    [   22.255008] EventGenericEventHandler: CMD Success
    [   22.259751] :MtCmdCr4Capability: option(0)
    [   22.263874] MCU Init Done!
    [   22.266643] efuse_probe: efuse = 10000012
    [   22.270654] RtmpChipOpsEepromHook::e2p_type=2, inf_Type=5
    [   22.276214] RtmpEepromGetDefault::e2p_dafault=1
    [   22.280768] RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 2, E2P default = 1
    [   22.288367] NVM is FLASH mode. dev_idx [0] FLASH OFFSET [0x5000]
    [   22.294384] rtmp_nv_init(): EEPROM Size[131072]
    [   22.300132] [EEPROMImage - PreCalImageInfo - PreCalImage - TxDPDImage]
    [   22.300132] [0xffffffc015200000 - 0xffffffc015200e00 - 0xffffffc015200e10 - 0xffffffc01520d220]
    [   22.316802] validFlashEepromID(): eeFlashId=7915, pAd->ChipID=7915
    [   22.323780] [d-die version:1]
    [   22.360020] [a-die version:2]
    [   22.488832]
    [   22.490326] NICReadEEPROMParameters: EEPROM 0x62 7
    [   22.495817] NICReadEEPROMParameters: Group Pre-Cal finished, load Group Pre-Cal data
    [   22.504369] NICReadEEPROMParameters: DPD 5G Pre-Cal finished!
    [   22.510134] NICReadEEPROMParameters: DPD 2G Pre-Cal finished!
    [   22.655879] Country Region from e2p = 0
    [   22.659723] antenna_default_reset() todo
    [   22.663646] antenna_default_reset() value = 0x2424, TxPath = 4, RxPath = 4
    [   22.670584] RTMPReadTxPwrPerRate(458): Don't Support this now!
    [   22.676462] rc_radio_init(): DBDC MODE=0, ConcurrentBand=1
    [   22.681951] rc_radio_init(): radio_ctrl=ffffffc019fc1ed0,Band=0,rfcap=3,channel=1,PhyMode=2 extCha=0xf
    [   22.691261] ucAction = 0, ucBandIdx = 0, ucSmthIntlBypass = 0
    [   22.697010] AntCfgInit(2791): Not support for HIF_MT yet!
    [   22.702424] mt7915_check_RF_lock_down: RFlockDown Enable: 0
    [   22.707998] MtReadPwrLimitTable: sku table idx: 0
    mt7915_check_RF_lock_down: RFlockDown Enable: 0
    [   22.720066] mt7915_check_RF_lock_down: RFlockDown Enable: 0
    [   22.725639] MtReadPwrLimitTable: sku table idx: 0
    mt7915_check_RF_lock_down: RFlockDown Enable: 0
    [   22.738586] EEPROM Init Done!
    [   22.741574] mac_init()-->
    [   22.744196] init_mac_cr()-->
    [   22.747078] <--mac_init()
    [   22.752807] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
    [   22.761085] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
    [   22.769362] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
    [   22.776048] MAC Init Done!
    [   22.778760] BBPInit():BBP Initialization.....
    [   22.783122]  Band 0: valid=1, isDBDC=0, Band=2, CBW=1, CentCh/PrimCh=1/1, prim_ch_idx=0, txStream=2
    [   22.792166]  Band 1: valid=0, isDBDC=0, Band=0, CBW=0, CentCh/PrimCh=0/0, prim_ch_idx=0, txStream=0
    [   22.801208] BBPInit() todo
    [   22.803917] PHY Init Done!
    [   22.809734] tx_pwr_comp_init():NotSupportYet!
    [   22.814346] MtCmdSetMacTxRx:(ret = 0)
    [   22.818245] ap_ftkd> Initialize FT KDP Module...
    [   22.823011] Main bssid = 00:00:00:00:00:00
    [   22.827112] SetMuruPlatformTypeProc: param.ucPlatformType = 2
    [   22.832894] muru_cfg_dlul_limits:(Ret = 1
    [   22.836925] muru_cfg_dlul_limits:(Ret = 1
    [   22.841176] MtCmdSetMacTxRx:(ret = 0)
    [   22.844847] <==== mt_wifi_init, Status=0
    [   22.848771] TxBfModuleEnCtrl:It's not DBDC mode
    [   22.853348] CmdHeraStbcPriorityCtrl: u1BandIdx=0, u1Operation=1, u1StbcPriority=0
    [   22.860855] CmdExtCmdCfgUpdate: u2Tag=4, ucAction=1
    [   22.865823] Register MBSSID IF 1 (rai1)
    [   22.870129] mca_alloc:863->current[ifconfig]
    [   22.874553] mca_alloc:863->current[ifconfig]
    [   22.878964] Register MBSSID IF 2 (rai2)
    [   22.883243] mca_alloc:863->current[ifconfig]
    [   22.887584] mca_alloc:863->current[ifconfig]
    [   22.891944] Register MBSSID IF 3 (rai3)
    [   22.896231] mca_alloc:863->current[ifconfig]
    [   22.900541] mca_alloc:863->current[ifconfig]
    [   22.904914] Register MBSSID IF 4 (rai4)
    [   22.909200] mca_alloc:863->current[ifconfig]
    [   22.913549] mca_alloc:863->current[ifconfig]
    [   22.917909] Register MBSSID IF 5 (rai5)
    [   22.922184] mca_alloc:863->current[ifconfig]
    [   22.926579] mca_alloc:863->current[ifconfig]
    [   22.930912] MSTA_Init (1) ---> ApCli
    [   22.934519] Register MSTA IF (apclii0) , pAd->MSTANum = 1
    [   22.940237] Caller: RTMPSetHT+0x2cc/0x328 [mt_wifi]
    [   22.945133]
    [   22.945133] phy_mode=177, ch=0, wdev_type=2
    [   22.950798] ht_cap: ht_cap->HtCapInfo,
    [   22.954636] ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=1
    [   22.962295] ht_cap: ht_cap->HtCapParm,
    [   22.966131] mdpu_density=0, ampdu_factor=3
    [   22.970698] mca_alloc:863->current[ifconfig]
    [   22.975146] mca_alloc:863->current[ifconfig]
    [   22.979557] mt_service_init: wlan service inits successfully!
    [   22.985309] WtcSetMaxStaNum: MaxStaNum:232, BssidNum:6, WdsNum:16, MSTANum:1, MaxNumChipRept:32, MinMcastWcid:281
    [   23.113122] RedInit: set CR4/N9 RED Enable to 1.
    [   23.117762] RedInit: RED Initiailize Done.
    [   23.122146] cp_support_is_enabled: set Driver CP_SUPPORT to Mode 2.
    [   23.128446] RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
    [   23.134717] wifi_sys_open(), wdev idx = 0
    [   23.138735] ucAction = 0, ucBandIdx = 0, ucSmthIntlBypass = 0
    [   23.144509] BuildChannelList() BandIdx = 0, PhyMode = 177, ChListNum = 20:
    [   23.151480] DfsBuildChannelList(): Done
    [   23.155312] phy_oper_init(): operate TxStream = 4, RxStream = 4
    [   23.161254]  [RadarStateCheck] RD_NORMAL_MODE
    [   23.166677] phy_freq_adjust : no prim_ch value for adjust!
    [   23.172427] Caller: wlan_operate_init+0xf4/0x120 [mt_wifi]
    [   23.177995]
    [   23.177995] phy_mode=177, ch=0, wdev_type=1
    [   23.183707] ht_cap: ht_cap->HtCapInfo,
    [   23.187547] ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=1
    [   23.195207] ht_cap: ht_cap->HtCapParm,
    [   23.199046] mdpu_density=5, ampdu_factor=3
    [   23.203151] wdev_attr_update(): wdevId0 = c4:3c:ea:**:**:68
    [   23.208952] AP inf up for ra_0(func_idx) OmacIdx=0
    [   23.213759] AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
    [   23.218823] ApAutoChannelAtBootUp----------------->
    [   23.223705] ApAutoChannelAtBootUp: AutoChannelBootup[0] = 1
    [   23.229505] MtCmdSetMacTxRx:(ret = 0)
    [   23.233183] [AutoChSelBuildChannelListFor5G] ChListNum5G = 20
    [   23.239012] mt7915_apply_dpd_flatness_data: DPD Pre-Cal finished, load DPD Pre-Cal data
    [   23.247056] MtCmdChannelSwitch: ctrl_chl=36, ctrl_ch2=0, cent_ch=36 DBDCIdx=0, ChBand=1, BW=0, TXStream=4, RXStream=4, scan(1)
    [   23.264522] MtCmdSetTxRxPath: ctrl_chl=36, ctrl_ch2=0, cent_ch=36, RxPath=f, BandIdx=0, ChBand=1, BW=0,TXStream=4, RXStream=15, scan(1)
    [   23.475636] mt7915_apply_dpd_flatness_data: DPD Pre-Cal finished, load DPD Pre-Cal data
    [   23.483872] MtCmdChannelSwitch: ctrl_chl=40, ctrl_ch2=0, cent_ch=40 DBDCIdx=0, ChBand=1, BW=0, TXStream=4, RXStream=4, scan(1)
    [   23.501317] MtCmdSetTxRxPath: ctrl_chl=40, ctrl_ch2=0, cent_ch=40, RxPath=f, BandIdx=0, ChBand=1, BW=0,TXStream=4, RXStream=15, scan(1)
    [   23.711663] mt7915_apply_dpd_flatness_data: DPD Pre-Cal finished, load DPD Pre-Cal data
    [   23.719784] MtCmdChannelSwitch: ctrl_chl=44, ctrl_ch2=0, cent_ch=44 DBDCIdx=0, ChBand=1, BW=0, TXStream=4, RXStream=4, scan(1)
    [   23.737216] MtCmdSetTxRxPath: ctrl_chl=44, ctrl_ch2=0, cent_ch=44, RxPath=f, BandIdx=0, ChBand=1, BW=0,TXStream=4, RXStream=15, scan(1)
    [   23.947627] mt7915_apply_dpd_flatness_data: DPD Pre-Cal finished, load DPD Pre-Cal data
    [   23.955702] MtCmdChannelSwitch: ctrl_chl=48, ctrl_ch2=0, cent_ch=48 DBDCIdx=0, ChBand=1, BW=0, TXStream=4, RXStream=4, scan(1)
    [   23.973148] MtCmdSetTxRxPath: ctrl_chl=48, ctrl_ch2=0, cent_ch=48, RxPath=f, BandIdx=0, ChBand=1, BW=0,TXStream=4, RXStream=15, scan(1)
    [   24.183668] mt7915_apply_dpd_flatness_data: DPD Pre-Cal finished, load DPD Pre-Cal data
    [   24.191726] MtCmdChannelSwitch: ctrl_chl=52, ctrl_ch2=0, cent_ch=52 DBDCIdx=0, ChBand=1, BW=0, TXStream=4, RXStream=4, scan(1)
    [   24.209171] MtCmdSetTxRxPath: ctrl_chl=52, ctrl_ch2=0, cent_ch=52, RxPath=f, BandIdx=0, ChBand=1, BW=0,TXStream=4, RXStream=15, scan(1)
    [   24.419672] mt7915_apply_dpd_flatness_data: DPD Pre-Cal finished, load DPD Pre-Cal data
    [   24.427758] MtCmdChannelSwitch: ctrl_chl=56, ctrl_ch2=0, cent_ch=56 DBDCIdx=0, ChBand=1, BW=0, TXStream=4, RXStream=4, scan(1)
    [   24.445249] MtCmdSetTxRxPath: ctrl_chl=56, ctrl_ch2=0, cent_ch=56, RxPath=f, BandIdx=0, ChBand=1, BW=0,TXStream=4, RXStream=15, scan(1)
    [   24.655628] mt7915_apply_dpd_flatness_data: DPD Pre-Cal finished, load DPD Pre-Cal data
    [   24.663712] MtCmdChannelSwitch: ctrl_chl=60, ctrl_ch2=0, cent_ch=60 DBDCIdx=0, ChBand=1, BW=0, TXStream=4, RXStream=4, scan(1)
    [   24.681200] MtCmdSetTxRxPath: ctrl_chl=60, ctrl_ch2=0, cent_ch=60, RxPath=f, BandIdx=0, ChBand=1, BW=0,TXStream=4, RXStream=15, scan(1)
    [   24.891666] mt7915_apply_dpd_flatness_data: DPD Pre-Cal finished, load DPD Pre-Cal data
    [   24.899818] MtCmdChannelSwitch: ctrl_chl=64, ctrl_ch2=0, cent_ch=64 DBDCIdx=0, ChBand=1, BW=0, TXStream=4, RXStream=4, scan(1)
    [   24.917269] MtCmdSetTxRxPath: ctrl_chl=64, ctrl_ch2=0, cent_ch=64, RxPath=f, BandIdx=0, ChBand=1, BW=0,TXStream=4, RXStream=15, scan(1)
    [   25.127957] mt7915_apply_dpd_flatness_data: DPD Pre-Cal finished, load DPD Pre-Cal data
    [   25.136044] MtCmdChannelSwitch: ctrl_chl=100, ctrl_ch2=0, cent_ch=100 DBDCIdx=0, ChBand=1, BW=0, TXStream=4, RXStream=4, scan(1)
    [   25.153653] MtCmdSetTxRxPath: ctrl_chl=100, ctrl_ch2=0, cent_ch=100, RxPath=f, BandIdx=0, ChBand=1, BW=0,TXStream=4, RXStream=15, scan(1)
    [   25.363622] mt7915_apply_dpd_flatness_data: DPD Pre-Cal finished, load DPD Pre-Cal data
    [   25.371696] MtCmdChannelSwitch: ctrl_chl=104, ctrl_ch2=0, cent_ch=104 DBDCIdx=0, ChBand=1, BW=0, TXStream=4, RXStream=4, scan(1)
    [   25.389402] MtCmdSetTxRxPath: ctrl_chl=104, ctrl_ch2=0, cent_ch=104, RxPath=f, BandIdx=0, ChBand=1, BW=0,TXStream=4, RXStream=15, scan(1)
    [   25.599672] mt7915_apply_dpd_flatness_data: DPD Pre-Cal finished, load DPD Pre-Cal data
    [   25.607755] MtCmdChannelSwitch: ctrl_chl=108, ctrl_ch2=0, cent_ch=108 DBDCIdx=0, ChBand=1, BW=0, TXStream=4, RXStream=4, scan(1)
    [   25.625447] MtCmdSetTxRxPath: ctrl_chl=108, ctrl_ch2=0, cent_ch=108, RxPath=f, BandIdx=0, ChBand=1, BW=0,TXStream=4, RXStream=15, scan(1)
    [   25.835602] mt7915_apply_dpd_flatness_data: DPD Pre-Cal finished, load DPD Pre-Cal data
    [   25.843720] MtCmdChannelSwitch: ctrl_chl=112, ctrl_ch2=0, cent_ch=112 DBDCIdx=0, ChBand=1, BW=0, TXStream=4, RXStream=4, scan(1)
    [   25.861321] MtCmdSetTxRxPath: ctrl_chl=112, ctrl_ch2=0, cent_ch=112, RxPath=f, BandIdx=0, ChBand=1, BW=0,TXStream=4, RXStream=15, scan(1)
    [   26.071614] mt7915_apply_dpd_flatness_data: DPD Pre-Cal finished, load DPD Pre-Cal data
    [   26.079712] MtCmdChannelSwitch: ctrl_chl=116, ctrl_ch2=0, cent_ch=116 DBDCIdx=0, ChBand=1, BW=0, TXStream=4, RXStream=4, scan(1)
    [   26.097322] MtCmdSetTxRxPath: ctrl_chl=116, ctrl_ch2=0, cent_ch=116, RxPath=f, BandIdx=0, ChBand=1, BW=0,TXStream=4, RXStream=15, scan(1)
    [   26.307868] mt7915_apply_dpd_flatness_data: DPD Pre-Cal finished, load DPD Pre-Cal data
    [   26.315979] MtCmdChannelSwitch: ctrl_chl=120, ctrl_ch2=0, cent_ch=120 DBDCIdx=0, ChBand=1, BW=0, TXStream=4, RXStream=4, scan(1)
    [   26.333655] MtCmdSetTxRxPath: ctrl_chl=120, ctrl_ch2=0, cent_ch=120, RxPath=f, BandIdx=0, ChBand=1, BW=0,TXStream=4, RXStream=15, scan(1)
    [   26.543666] mt7915_apply_dpd_flatness_data: DPD Pre-Cal finished, load DPD Pre-Cal data
    [   26.551743] MtCmdChannelSwitch: ctrl_chl=124, ctrl_ch2=0, cent_ch=124 DBDCIdx=0, ChBand=1, BW=0, TXStream=4, RXStream=4, scan(1)
    [   26.569348] MtCmdSetTxRxPath: ctrl_chl=124, ctrl_ch2=0, cent_ch=124, RxPath=f, BandIdx=0, ChBand=1, BW=0,TXStream=4, RXStream=15, scan(1)
    [   26.779633] mt7915_apply_dpd_flatness_data: DPD Pre-Cal finished, load DPD Pre-Cal data
    [   26.787711] MtCmdChannelSwitch: ctrl_chl=128, ctrl_ch2=0, cent_ch=128 DBDCIdx=0, ChBand=1, BW=0, TXStream=4, RXStream=4, scan(1)
    [   26.805332] MtCmdSetTxRxPath: ctrl_chl=128, ctrl_ch2=0, cent_ch=128, RxPath=f, BandIdx=0, ChBand=1, BW=0,TXStream=4, RXStream=15, scan(1)
    [   27.015598] ====================================================================
    [   27.023017] Channel  36 : Busy Time =   1393, Skip Channel = FALSE, BwCap = TRUE
    [   27.030482] Channel  40 : Busy Time =   1033, Skip Channel = FALSE, BwCap = TRUE
    [   27.037879] Channel  44 : Busy Time =    642, Skip Channel = FALSE, BwCap = TRUE
    [   27.045321] Channel  48 : Busy Time =    903, Skip Channel = FALSE, BwCap = TRUE
    [   27.052717] Channel  52 : Busy Time =     77, Skip Channel = FALSE, BwCap = TRUE
    [   27.060117] Channel  56 : Busy Time =     45, Skip Channel = FALSE, BwCap = TRUE
    [   27.067512] Channel  60 : Busy Time =    699, Skip Channel = FALSE, BwCap = TRUE
    [   27.074904] Channel  64 : Busy Time =      8, Skip Channel = FALSE, BwCap = TRUE
    [   27.082297] Channel 100 : Busy Time =    334, Skip Channel = FALSE, BwCap = TRUE
    [   27.089724] Channel 104 : Busy Time =      8, Skip Channel = FALSE, BwCap = TRUE
    [   27.097119] Channel 108 : Busy Time =      1, Skip Channel = FALSE, BwCap = TRUE
    [   27.104536] Channel 112 : Busy Time =      2, Skip Channel = FALSE, BwCap = TRUE
    [   27.111930] Channel 116 : Busy Time =      1, Skip Channel = FALSE, BwCap = TRUE
    [   27.119364] Channel 120 : Busy Time =   3391, Skip Channel = FALSE, BwCap = TRUE
    [   27.126778] Channel 124 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   27.134230] Channel 128 : Busy Time =    222, Skip Channel = FALSE, BwCap = TRUE
    [   27.141630] ====================================================================
    [   27.149311] Rule 3 Channel Busy time value : Select Primary Channel 108
    [   27.155932] Rule 3 Channel Busy time value : Min Channel Busy = 334
    [   27.162199] Rule 3 Channel Busy time value : BW = 80
    [   27.167163] [SelectClearChannelBusyTime] - band0 END
    [   27.172128] ApAutoChannelAtBootUp : Auto channel selection: Selected channel = 108, IsAband = 1
    [   27.180826]  [RadarStateCheck] RD_SILENCE_MODE
    [   27.186325] [DfsCacNormalStart][RDM] CAC 65 seconds start . Disable MAC TX
    [   27.193260] [DfsSwitchCheck]: DFS ByPass TX calibration.
    [   27.198656] mt7915_apply_dpd_flatness_data: DPD Pre-Cal finished, load DPD Pre-Cal data
    [   27.206726] MtCmdChannelSwitch: ctrl_chl=108, ctrl_ch2=0, cent_ch=106 DBDCIdx=0, ChBand=1, BW=2, TXStream=4, RXStream=4, scan(0)
    [   27.233218] MtCmdSetTxRxPath: ctrl_chl=108, ctrl_ch2=0, cent_ch=106, RxPath=f, BandIdx=0, ChBand=1, BW=2,TXStream=4, RXStream=15, scan(0)
    [   27.245794] DfsBuildChannelList(): Done
    [   27.249692] zero_wait_dfs_switch_ch(): outband ch 0, ch_stat 0
    [   27.255524] ApAutoChannelAtBootUp<-----------------
    [   27.260404] [PMF]APPMFInit:: apidx=0, MFPC=0, MFPR=0, SHA256=0
    [   27.266514] Caller: RTMPSetHT+0x2cc/0x328 [mt_wifi]
    [   27.271398]
    [   27.271398] phy_mode=177, ch=108, wdev_type=1
    [   27.277231] ht_cap: ht_cap->HtCapInfo,
    [   27.281066] ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=1
    [   27.288717] ht_cap: ht_cap->HtCapParm,
    [   27.292551] mdpu_density=5, ampdu_factor=3
    [   27.296649] Enable 20/40 BSSCoex Channel Scan(BssCoex=1)
    [   27.301970] wifi_sys_linkup(), wdev idx = 0
    [   27.306203] wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:287 for WDEV_TYPE:1
    [   27.306203]  LinkToOmacIdx = 0, LinkToWdevType = 1
    [   27.319218] TRTableInsertMcastEntry:band0 group_idx[0]=0
    [   27.394869] (bssUpdateChannel), ucPrimCh=108, ucCentChSeg0=106, ucCentChSeg1=0, BW=2, ucHetbRU26Disable=0, ucHetbAllDisable=1
    [   27.406176] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 8192, CmdBssInfoBmcRate.u2McTransmit = 8192
    [   27.422347] UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 0 (rai0)
    [   27.428707]  Band0 BcnInitedRnd = 42
    [   27.432296] MtCmdTxPowerSKUCtrl: tx_pwr_sku_en: 1, BandIdx: 0
    [   27.438165] MtCmdTxBfBackoffCtrl: fgTxBFBackoffEn: 0, BandIdx: 0
    [   27.444198] MtCmdTxPowerPercentCtrl: fgTxPowerPercentEn: 1, BandIdx: 0
    [   27.450849] TxCCKStreamCtrl: set wrong parameters
    [   27.462561] set muru_update_he_cfg()!!!!
    [   27.466496] PrintSrCmd:
    [   27.466496] u1CmdSubId = 1, u1ArgNum = 0, u1DbdcIdx = 0, u1Status = 0
    [   27.466496] u1DropTaIdx = 0, u1StaIdx = 0, u4Value = 1
    [   27.480517] PrintSrCmd:
    [   27.480517] u1CmdSubId = 5, u1ArgNum = 0, u1DbdcIdx = 0, u1Status = 0
    [   27.480517] u1DropTaIdx = 0, u1StaIdx = 0, u4Value = 0
    [   27.494531] PrintSrCmd:
    [   27.494531] u1CmdSubId = 3, u1ArgNum = 0, u1DbdcIdx = 0, u1Status = 0
    [   27.494531] u1DropTaIdx = 0, u1StaIdx = 0, u4Value = 1
    [   27.508637] apidx 0 for WscUUIDInit
    [   27.512126] Generate UUID for apidx(0)
    [   27.515933] WDS_Init():wds_num[0]=0, count=0, MAX_WDS_ENTRY=16, if_idx=0, flg_wds_init=0
    [   27.524022] Total allocated 0 WDS(es) for band0!
    [   27.528642] mtk_ppe_dev_register_hook : ineterface rai0 register (3)
    [   27.535411] mca_alloc:863->current[kworker/0:0]
    [27.53][1319][set_confs_after_interface_up:558]:[   27.543203] SetThermalProtectDutyCfg(): band_idx: 0, level_idx: 0, duty: 100
    cmd iwpriv rai0[   27.551414] MtCmdThermalProtectDutyCfg: band_idx: 0, level_idx: 0
    set thermal_pro[   27.558864] MtCmdThermalProtectDutyCfg: duty: 100
    tect_duty_cfg=0:0:100
    [27.56][1319][set_confs_a[   27.568624] SetThermalProtectDutyCfg(): band_idx: 0, level_idx: 1, duty: 80
    fter_interface_u[   27.576107] MtCmdThermalProtectDutyCfg: band_idx: 0, level_idx: 1
    p:563]: cmd iwpr[   27.583530] MtCmdThermalProtectDutyCfg: duty: 80
    iv rai0 set thermal_protect_duty_cfg=0:1:80
    [27[   27.593235] SetThermalProtectDutyCfg(): band_idx: 0, level_idx: 2, duty: 50
    .58][1319][set_c[   27.600748] MtCmdThermalProtectDutyCfg: band_idx: 0, level_idx: 2
    onfs_after_inter[   27.608188] MtCmdThermalProtectDutyCfg: duty: 50
    face_up:568]: cmd iwpriv rai0 set thermal_protec[   27.617881] SetThermalProtectDutyCfg(): band_idx: 0, level_idx: 3, duty: 20
    t_duty_cfg=0:2:5[   27.625404] MtCmdThermalProtectDutyCfg: band_idx: 0, level_idx: 3
    0
    [27.61][1319][   27.632846] MtCmdThermalProtectDutyCfg: duty: 20
    [set_confs_after_interface_up:573]: cmd iwpriv r[   27.642718] SetThermalProtectEnable(): band_idx: 0, protection_type: 1, trigger_type: 1
    ai0 set thermal_[   27.651041] SetThermalProtectEnable(): trigger_temp: 120, restore_temp: 114, recheck_time: 5
    protect_duty_cfg[   27.660809] MtCmdThermalProtectEnable: band_idx: 0, protect_type: 1
    =0:3:20
    [27.63][   27.668491] MtCmdThermalProtectEnable: trigger_type: 1, trigger_temp: 120
    [1319][set_confs[   27.676612] MtCmdThermalProtectEnable: restore_temp: 114, recheck_time: 5
    _after_interface_up:578]: cmd iw[   27.686898] (Thermal Protect) Duty Notify.
    priv rai0 set th[   27.691689] band_idx: 0, level_idx: 0, duty_percent: 100
    ermal_protect_en[   27.698383] (Thermal Protect) Duty Notify.
    able=0:1:1:120:1[   27.703855] band_idx: 0, level_idx: 0, duty_percent: 100
    14:0005
    [   27.710542] Restore Temp = 114
    [   27.716399] debug : Enter [BRCTL_ADD_RULE_IF]
    [   27.720896] add_if 00000100 ***************************
    [   27.726318] device rai0 entered promiscuous mode
    [   27.730968] br0: port 4(rai0) entered forwarding state
    [   27.736113] br0: port 4(rai0) entered forwarding state
    [   27.749079] rai5: ===> mbss_virtual_if_open
    [   27.753366] RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_INIT
    [   27.759830] RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
    [   27.766133] wifi_sys_open(), wdev idx = 5
    [   27.770157] ucAction = 0, ucBandIdx = 0, ucSmthIntlBypass = 0
    [   27.775918] phy_oper_init(): operate TxStream = 4, RxStream = 4
    [   27.781867]  [RadarStateCheck] RD_SILENCE_MODE
    [   27.787451] [DfsCacNormalStart][RDM] CAC 65 seconds start . Disable MAC TX
    [   27.794618] Caller: wlan_operate_init+0xf4/0x120 [mt_wifi]
    [   27.800124]
    [   27.800124] phy_mode=177, ch=108, wdev_type=1
    [   27.805954] ht_cap: ht_cap->HtCapInfo,
    [   27.809791] ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=1
    [   27.817554] ht_cap: ht_cap->HtCapParm,
    [   27.821412] mdpu_density=0, ampdu_factor=3
    [   27.825512] wdev_attr_update(): wdevId5 = c4:3c:ea:**:**:69
    [   27.831245] AP inf up for ra_5(func_idx) OmacIdx=17
    [   27.836138] AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
    [   27.841294] ApAutoChannelAtBootUp----------------->
    [   27.846182] ApAutoChannelAtBootUp: AutoChannelBootup[0] = 1
    [   27.852011] MtCmdSetMacTxRx:(ret = 0)
    [   27.855680]  ap_run_at_boot() : ACS is disable !!
    [   27.861084] [PMF]APPMFInit:: apidx=5, MFPC=1, MFPR=1, SHA256=0
    [   27.930909] [PMF]PMF_MakeRsnIeGMgmtCipher: Insert BIP to the group management cipher of RSNIE
    [   27.939700] Caller: RTMPSetHT+0x2cc/0x328 [mt_wifi]
    [   27.944697]
    [   27.944697] phy_mode=177, ch=108, wdev_type=1
    [   27.950532] ht_cap: ht_cap->HtCapInfo,
    [   27.954461] ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=1
    [   27.962117] ht_cap: ht_cap->HtCapParm,
    [   27.965957] mdpu_density=0, ampdu_factor=3
    [   27.970062] Enable 20/40 BSSCoex Channel Scan(BssCoex=1)
    [   27.975400] wifi_sys_linkup(), wdev idx = 5
    [   27.979592] wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:286 for WDEV_TYPE:1
    [   27.979592]  LinkToOmacIdx = 11, LinkToWdevType = 1
    [   27.992548] TRTableInsertMcastEntry:band0 group_idx[5]=5
    [   28.067849] (bssUpdateChannel), ucPrimCh=108, ucCentChSeg0=106, ucCentChSeg1=0, BW=2, ucHetbRU26Disable=0, ucHetbAllDisable=1
    [   28.079175] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 8192, CmdBssInfoBmcRate.u2McTransmit = 8192
    [   28.095990] UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 11 (rai0)
    [   28.102451] MtCmdTxPowerSKUCtrl: tx_pwr_sku_en: 1, BandIdx: 0
    [   28.108249] MtCmdTxBfBackoffCtrl: fgTxBFBackoffEn: 0, BandIdx: 0
    [   28.114282] MtCmdTxPowerPercentCtrl: fgTxPowerPercentEn: 1, BandIdx: 0
    [   28.120889] TxCCKStreamCtrl: set wrong parameters
    [   28.132642] set muru_update_he_cfg()!!!!
    [   28.136570] PrintSrCmd:
    [   28.136570] u1CmdSubId = 1, u1ArgNum = 0, u1DbdcIdx = 0, u1Status = 0
    [   28.136570] u1DropTaIdx = 0, u1StaIdx = 0, u4Value = 1
    [   28.150674] PrintSrCmd:
    [   28.150674] u1CmdSubId = 5, u1ArgNum = 0, u1DbdcIdx = 0, u1Status = 0
    [   28.150674] u1DropTaIdx = 0, u1StaIdx = 0, u4Value = 0
    [   28.165024] PrintSrCmd:
    [   28.165024] u1CmdSubId = 3, u1ArgNum = 0, u1DbdcIdx = 0, u1Status = 0
    [   28.165024] u1DropTaIdx = 0, u1StaIdx = 0, u4Value = 1
    [   28.179122] apidx 5 for WscUUIDInit
    [   28.182614] Generate UUID for apidx(5)
    [   28.186400] mtk_ppe_dev_register_hook : ineterface rai5 register (4)
    [   28.192979] mca_alloc:863->current[kworker/0:0]
    [28.19][1319][set_confs_after_interface_up:558]:[   28.201282] SetThermalProtectDutyCfg(): band_idx: 0, level_idx: 0, duty: 100
    cmd iwpriv rai5[   28.209558] MtCmdThermalProtectDutyCfg: band_idx: 0, level_idx: 0
    set thermal_pro[   28.217123] MtCmdThermalProtectDutyCfg: duty: 100
    tect_duty_cfg=0:0:100
    [28.22][1319][set_confs_a[   28.226899] SetThermalProtectDutyCfg(): band_idx: 0, level_idx: 1, duty: 80
    fter_interface_u[   28.234297] MtCmdThermalProtectDutyCfg: band_idx: 0, level_idx: 1
    p:563]: cmd iwpr[   28.241747] MtCmdThermalProtectDutyCfg: duty: 80
    iv rai5 set thermal_protect_duty_cfg=0:1:80
    [28[   28.251569] SetThermalProtectDutyCfg(): band_idx: 0, level_idx: 2, duty: 50
    .24][1319][set_c[   28.258910] MtCmdThermalProtectDutyCfg: band_idx: 0, level_idx: 2
    onfs_after_inter[   28.266370] MtCmdThermalProtectDutyCfg: duty: 50
    face_up:568]: cmd iwpriv rai5 set thermal_protec[   28.276114] SetThermalProtectDutyCfg(): band_idx: 0, level_idx: 3, duty: 20
    t_duty_cfg=0:2:5[   28.283484] MtCmdThermalProtectDutyCfg: band_idx: 0, level_idx: 3
    0
    [28.26][1319][   28.290953] MtCmdThermalProtectDutyCfg: duty: 20
    [set_confs_after_interface_up:573]: cmd iwpriv r[   28.300660] SetThermalProtectEnable(): band_idx: 0, protection_type: 1, trigger_type: 1
    ai5 set thermal_[   28.309158] SetThermalProtectEnable(): trigger_temp: 120, restore_temp: 114, recheck_time: 5
    protect_duty_cfg[   28.318965] MtCmdThermalProtectEnable: band_idx: 0, protect_type: 1
    =0:3:20
    [28.29][   28.326864] MtCmdThermalProtectEnable: trigger_type: 1, trigger_temp: 120
    [1319][set_confs[   28.334824] MtCmdThermalProtectEnable: restore_temp: 114, recheck_time: 5
    _after_interface_up:578]: cmd iwpriv rai5 set th[   28.346771] debug : Enter [BRCTL_ADD_RULE_IF]
    ermal_protect_en[   28.351573] add_if 00000100 ***************************
    able=0:1:1:120:1[   28.358334] device rai5 entered promiscuous mode
    14:0005
    [   28.364167] br0: port 5(rai5) entered forwarding state
    [   28.370058] br0: port 5(rai5) entered forwarding state
    [   28.410440] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
    [   28.424831] set BSSID:c4:3c:ea:**:**:61, Band=2.4G
    [   28.433286] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
    [   28.447617] set BSSID:c4:3c:ea:**:**:61, Band=2.4G
    [   28.456314] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
    [   28.470669] set BSSID:c4:3c:ea:**:**:62, Band=2.4G
    [   28.478997] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
    [   28.493319] set BSSID:c4:3c:ea:**:**:62, Band=2.4G
    miniupnpd[1582]: WPS listening on port 53907
    [   28.743377] mcsnoop: flush all snoop entry
    [   28.747536] mcsnoop: Bridge Multicast Snooping module Ver0.1/20070912
    [   28.762889] mcsnoop_br_ioctl_device:275: mcast_maxage 75000 / 250
    [   28.770904] device eth0 left promiscuous mode
    [   28.775520] br0: port 1(eth0) entered disabled state
    [   28.782566] debug : Enter [BRCTL_ADD_RULE_IF]
    [   28.787064] add_if 00000600 ***************************
    [   28.792498] device eth0 entered promiscuous mode
    [   28.797177] br0: port 1(eth0) entered forwarding state
    [   28.802328] br0: port 1(eth0) entered forwarding state
    Link Status Changed - LAN Port Link Down
    [   29.239358] netwatchd uses obsolete (PF_INET,SOCK_PACKET)
    [   29.260767] mca_alloc:863->current[kworker/0:0]
    [   29.269027] mca_alloc:863->current[sh]
    [   29.273157] mca_alloc:863->current[sh]
    [   29.276942] mca_alloc:863->current[sh]
    crond[1669]: crond: crond (busybox 1.18.5) started, log level 8
    start miniupnpd
    miniupnpd[1701]: HTTP listening on port 36468
    miniupnpd[1701]: Listening for NAT-PMP/PCP traffic on port 5351
    miniupnpd[1701]: chain upnp_nat not found
    ntp.jst.mfeed.ad.jp: Unknown host
    Firmware version: 1.01.0.02
    Firmware build time: 20.10.10 07:42
    Link Status Changed - WAN Port Link Down
    Time out! You may increase DEFAULT_TIMEOUT_COUNT[10]!
    

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 (musashino205@TAIHA.NET) (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 (musashino205@TAIHA.NET) (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:/#