タグ: ELECOM

WRC-2533GHBK2-T

色々な用事で秋葉原に行った際、以前PCNETだった建物にいつの間にか入っていたハードオフの地下ジャンク階にて見付け確保。
既にサポート済みのWRC-2533GHBK-Iとほぼ共通であることは予想しているが、弄っていくのでメモ。

Switch

zone WAN LAN
port
(WRC-2533GHBK2-T)
INTERNET LAN4 LAN3 LAN2 LAN1
port
(MT7530)
port0 port1 port2 port3 port4

MAC

  • LAN: BC:5C:4C:xx:xx:FD (Config, ethaddr (text))
  • WAN: BC:5C:4C:xx:xx:FC (Config, wanaddr (text))
  • 2.4G: BC:5C:4C:xx:xx:FE (Factory, 0x4 (hex))
  • 5G: BC:5C:4C:xx:xx:FF (Factory, 0x8004 (hex))

U-Boot

  • help
    MT7621 # help
    ?       - alias for 'help'
    bootm   - boot application image from memory
    elx_check      - check ELX image
    go      - start application at address 'addr'
    help    - print online help
    md      - memory display
    mdio   - Ralink PHY register R/W command !!
    mm      - memory modify (auto-incrementing)
    mw      - memory write (fill)
    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
    tftpboot- boot image via network using TFTP protocol
    version - print monitor version
    

  • version
    MT7621 # version
    
    U-Boot 1.1.3 (Jan 19 2016 - 10:46:13)
    

  • printenv
    MT7621 # printenv
    bootcmd=tftp
    baudrate=57600
    ethaddr="BC:5C:4C:xx:xx:FD"
    ramargs=setenv bootargs root=/dev/ram rw
    addip=setenv bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):$(netdev):off
    addmisc=setenv bootargs $(bootargs) console=ttyS0,$(baudrate) ethaddr=$(ethaddr) panic=1
    flash_self=run ramargs addip addmisc;bootm $(kernel_addr) $(ramdisk_addr)
    kernel_addr=BFC40000
    u-boot=u-boot.bin
    load=tftp 8A100000 $(u-boot)
    u_b=protect off 1:0-1;era 1:0-1;cp.b 8A100000 BC400000 $(filesize)
    loadfs=tftp 8A100000 root.cramfs
    u_fs=era bc540000 bc83ffff;cp.b 8A100000 BC540000 $(filesize)
    test_tftp=tftp 8A100000 root.cramfs;run test_tftp
    ethact=Eth0 (10/100-M)
    language_code=jp
    hw_id=0107003b
    domain=1
    pincode=********
    wlanaddr=BC:5C:4C:xx:xx:FE
    kver=1.23.0
    sn=12345678901234567890123456789012
    usboot=0
    bver=4.0.1.5
    dom2=1
    wanaddr=BC:5C:4C:xx:xx:FC
    bootdelay=2
    filesize=52a000
    fileaddr=80A00000
    autostart=no
    op_mode=0
    ipaddr=192.168.2.101
    serverip=192.168.2.88
    bootfile=uImage_WRC-2533GHBK2-T
    stdin=serial
    stdout=serial
    stderr=serial
    
    Environment size: 1046/4092 bytes
    

  • tftpboot
    MT7621 # tftpboot
    
    netboot_common, argc= 1
    
    NetTxPacket = 0x87FE42C0
    
    KSEG1ADDR(NetTxPacket) = 0xA7FE42C0
    
    NetLoop,call eth_halt !
    
    NetLoop,call eth_init !
    Trying Eth0 (10/100-M)
    
    Waitting for RX_DMA_BUSY status Start... done
    
    ETH_STATE_ACTIVE!!
    Using Eth0 (10/100-M) device
    TFTP from server 192.168.2.88; our IP address is 192.168.2.101
    Filename 'uImage_WRC-2533GHBK2-T'.
    
    TIMEOUT_COUNT=10,Load address: 0x80100000
    Loading: *
    

  • help elx_check
    MT7621 # help elx_check
    elx_check usage:
    elx_check >addr<        - check image in >addr<
    

Kernel

パスワードが掛けられている

  • uname -a
    # uname -a
    Linux localhost.localdomain 3.2.9 #3 SMP Fri Jan 25 09:14:04 CST 2019 mips GNU/Linux
    

  • cat /proc/version
    # cat /proc/version
    Linux version 3.2.9 (root@edimax_cw) (gcc version 4.6.4 (Buildroot 2013.05) ) #3 SMP Fri Jan 25 09:14:04 CST 2019
    

  • cat /proc/cpuinfo
    # cat /proc/cpuinfo
    system type             : Mediatek MT7621 ver:1 eco:3
    machine                 : Ralink MT7621
    processor               : 0
    cpu model               : MIPS 1004Kc V2.15
    BogoMIPS                : 583.68
    wait instruction        : yes
    microsecond timers      : yes
    tlb_entries             : 32
    extra interrupt vector  : yes
    hardware watchpoint     : yes, count: 4, address/irw mask: [0x0ff8, 0x0ff8, 0x0ff8, 0x0ff8]
    ASEs implemented        : mips16 dsp mt
    shadow register sets    : 1
    kscratch registers      : 0
    core                    : 0
    VCED exceptions         : not available
    VCEI exceptions         : not available
    
    processor               : 1
    cpu model               : MIPS 1004Kc V2.15
    BogoMIPS                : 583.68
    wait instruction        : yes
    microsecond timers      : yes
    tlb_entries             : 32
    extra interrupt vector  : yes
    hardware watchpoint     : yes, count: 4, address/irw mask: [0x0000, 0x0000, 0x0000, 0x0000]
    ASEs implemented        : mips16 dsp mt
    shadow register sets    : 1
    kscratch registers      : 0
    core                    : 0
    VCED exceptions         : not available
    VCEI exceptions         : not available
    
    processor               : 2
    cpu model               : MIPS 1004Kc V2.15
    BogoMIPS                : 583.68
    wait instruction        : yes
    microsecond timers      : yes
    tlb_entries             : 32
    extra interrupt vector  : yes
    hardware watchpoint     : yes, count: 4, address/irw mask: [0x0000, 0x0000, 0x0000, 0x0000]
    ASEs implemented        : mips16 dsp mt
    shadow register sets    : 1
    kscratch registers      : 0
    core                    : 1
    VCED exceptions         : not available
    VCEI exceptions         : not available
    
    processor               : 3
    cpu model               : MIPS 1004Kc V2.15
    BogoMIPS                : 583.68
    wait instruction        : yes
    microsecond timers      : yes
    tlb_entries             : 32
    extra interrupt vector  : yes
    hardware watchpoint     : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
    ASEs implemented        : mips16 dsp mt
    shadow register sets    : 1
    kscratch registers      : 0
    core                    : 1
    VCED exceptions         : not available
    VCEI exceptions         : not available
    

  • cat /proc/meminfo
    # cat /proc/meminfo
    MemTotal:         125860 kB
    MemFree:           77644 kB
    Buffers:            2928 kB
    Cached:            10728 kB
    SwapCached:            0 kB
    Active:             4096 kB
    Inactive:          11444 kB
    Active(anon):       1920 kB
    Inactive(anon):     1388 kB
    Active(file):       2176 kB
    Inactive(file):    10056 kB
    Unevictable:           0 kB
    Mlocked:               0 kB
    SwapTotal:             0 kB
    SwapFree:              0 kB
    Dirty:                 0 kB
    Writeback:             0 kB
    AnonPages:          1920 kB
    Mapped:             2072 kB
    Shmem:              1424 kB
    Slab:              16280 kB
    SReclaimable:        876 kB
    SUnreclaim:        15404 kB
    KernelStack:         816 kB
    PageTables:          412 kB
    NFS_Unstable:          0 kB
    Bounce:                0 kB
    WritebackTmp:          0 kB
    CommitLimit:       62928 kB
    Committed_AS:     350360 kB
    VmallocTotal:    1048372 kB
    VmallocUsed:       10124 kB
    VmallocChunk:    1023044 kB
    

  • cat /proc/mtd
    # cat /proc/mtd
    dev:    size   erasesize  name
    mtd0: 01000000 00010000 "ALL"
    mtd1: 00030000 00010000 "Bootloader"
    mtd2: 00010000 00010000 "Config"
    mtd3: 00010000 00010000 "Factory"
    mtd4: 007a0000 00010000 "Kernel"
    mtd5: 005d0000 00010000 "user"
    mtd6: 00200000 00010000 "TM_1"
    mtd7: 00400000 00010000 "TM_2"
    mtd8: 00190000 00010000 "manufacture"
    mtd9: 00080000 00010000 "storage"
    

  • ls -al /sys/class/leds/
    # ls -al /sys/class/leds/
    lrwxrwxrwx    1         0 Sep  1 00:22 PoE -> ../../devices/platform/leds-gpio/leds/PoE
    lrwxrwxrwx    1         0 Sep  1 00:00 2g_led -> ../../devices/platform/leds-gpio/leds/2g_led
    lrwxrwxrwx    1         0 Sep  1 00:00 5g_led -> ../../devices/platform/leds-gpio/leds/5g_led
    lrwxrwxrwx    1         0 Sep  1 00:00 wps_led -> ../../devices/platform/leds-gpio/leds/wps_led
    lrwxrwxrwx    1         0 Sep  1 00:00 power_led -> ../../devices/platform/leds-gpio/leds/power_led
    drwxr-xr-x   20         0 Sep  1 00:00 ..
    drwxr-xr-x    2         0 Sep  1 00:00 .
    

  • elecom_header –help
    # elecom_header --help
    usage:    head    [-h?]      -h This help
    -s    Source filename
    -d    Destination filename
    -x    Remove ELECOM Header
    -c    Customer Name
    -p    Product Name
    -v    Version
    

  • header –help
    # header --help
    usage:    head    [-h?]      -h This help
    -s    Source filename
    -d    Destination filename
    -a    Auto set parameter
    -t    Types:
    bootloader (1)
    kernel (3)
    apps (5)
    factoryapps (11)
    userconfig (7)
    langpack (13)
    cust_logo (15)
    cust_apps (17)
    -v    Version
    -x    Recovery MD5 file [-u Magickey]
    -r    Vendor ID
    -p    Product ID
    -m    Magic Key(32 bits)
    -c    Code Version
    

  • elecom_header -x wrc-2533ghbk2-t_v1.23.bin
    header -x wrc-2533ghbk2-t_v1.23.bin

    # elecom_header -x wrc-2533ghbk2-t_v1.23.bin
    ### Remove Customer Header ####
    ------- Customer Header Info -------
    Customer Name : ELECOM
    Product  Name : WRC-2533GHBK2-T
    Product  Version : 1.23
    ------------------------------
    Header-Remove finished, got file [wrc-2533ghbk2-t_v1.23.bin] with size 7098496 bytes
    header: Return OK
    # header -x wrc-2533ghbk2-t_v1.23.bin
    ### Decoding  image ####
    Decode source file [wrc-2533ghbk2-t_v1.23.bin]
    ------- Header Info -------
    Vendor  id:  0x0107
    Product id:  0x003b
    Hardware id:  0x0107003b
    Version id:  3047
    Code Version:  1.23.0
    Type: 0x3 [kernel]
    comp_file_len:  7098368
    comp_file_sum:  0x0
    Header sum:  0x348
    Magic key:  0x30471688
    MD5 chksum:  446f893a8c79a9e2a149f239d49c2eb
    ------------------------------
    Decode finished, got file [wrc-2533ghbk2-t_v1.23.bin.bin] with size 7098368 bytes
    header: Return OK
    

  • bootlog
    
    ===================================================================
                    MT7621   stage1 code Mar 12 2015 14:43:30 (ASIC)
                    CPU=500000000 HZ BUS=125000000 HZ
    ==================================================================
    Change MPLL source from XTAL to CR...
    do MEMPLL setting..
    MEMPLL Config : 0x11000000
    3PLL mode + External loopback
    === XTAL-40Mhz === DDR-1200Mhz ===
    PLL2 FB_DL: 0xe, 1/0 = 685/339 39000000
    PLL4 FB_DL: 0xe, 1/0 = 687/337 39000000
    PLL3 FB_DL: 0x10, 1/0 = 521/503 41000000
    do DDR setting..[01F40000]
    Apply DDR3 Setting...(use default 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    1
    000E:|    0    0    0    0    0    0    0    0    0    1    1    1    1    1    1    1
    000F:|    0    0    0    0    1    1    1    1    1    1    1    1    1    1    0    0
    0010:|    1    1    1    1    1    1    1    1    1    0    0    0    0    0    0    0
    0011:|    1    1    1    1    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
    DRAMC_DQSCTL1[0e0]=13000000
    DRAMC_DQSGCTL[124]=80000033
    rank 0 coarse = 15
    rank 0 fine = 72
    B:|    0    0    0    0    0    0    0    0    0    0    1    1    1    0    0    0
    opt_dle value:11
    DRAMC_DDR2CTL[07c]=C287223D
    DRAMC_PADCTL4[0e4]=000022B3
    DRAMC_DQIDLY1[210]=0A09080B
    DRAMC_DQIDLY2[214]=06090909
    DRAMC_DQIDLY3[218]=0B080806
    DRAMC_DQIDLY4[21c]=09080B08
    DRAMC_R0DELDLY[018]=00001F1F
    ==================================================================
                    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 |    8 5 6 7 6 6 6 6 2 7 
    10 |    6 8 6 10 7 9 
    --------------------------------------
    
    ==================================================================
    2.dqs window
    x=pass dqs delay value (min~max)center 
    y=0-7bit DQ of every group
    input delay:DQS0 =31 DQS1 = 31
    ==================================================================
    bit     DQS0     bit      DQS1
    0  (1~56)28  8  (1~54)27
    1  (1~56)28  9  (1~60)30
    2  (0~56)28  10  (1~58)29
    3  (1~56)28  11  (1~56)28
    4  (1~56)28  12  (0~58)29
    5  (1~56)28  13  (1~59)30
    6  (1~56)28  14  (1~59)30
    7  (2~61)31  15  (1~61)31
    ==================================================================
    3.dq delay value last
    ==================================================================
    bit|    0  1  2  3  4  5  6  7  8   9
    --------------------------------------
    0 |    11 8 9 10 9 9 9 6 6 8 
    10 |    8 11 8 11 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)
    DRAMC_DQODLY1[200]=88888888
    DRAMC_DQODLY2[204]=88888888
    20,data:88
    [EMI] DRAMC calibration passed
    
    ===================================================================
                    MT7621   stage1 code done 
                    CPU=500000000 HZ BUS=125000000 HZ
    ===================================================================
    
    
    U-Boot 1.1.3 (Jan 19 2016 - 10:46:13)
    
    Board: Ralink APSoC DRAM:  128 MB
    relocate_code Pointer at: 87fb8000
    
    Config XHCI 40M PLL 
    flash manufacture id: c2, device id 20 18
    find flash: MX25L12805D
    ============================================ 
    Ralink UBoot Version: 4.0.1.0
    ELX UBoot Version: 1.0.2
    -------------------------------------------- 
    ASIC 7621_MP (MAC to MT7530 Mode)
    DRAM_CONF_FROM: Auto-Detection 
    DRAM_TYPE: DDR3 
    DRAM bus: 16 bit
    Xtal Mode=3 OCP Ratio=1/4
    Flash component: SPI Flash
    Date:Jan 19 2016  Time:10:46:13
    ============================================ 
    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
    
    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.
       9: Load Boot Loader code then write to Flash via TFTP.                                                                                      0 
       
    3: System Boot system code via Flash.
    ## Booting image at bfc50000 ...
       Image Name:   Linux Kernel Image
       Image Type:   MIPS Linux Kernel Image (lzma compressed)
       Data Size:    1861650 Bytes =  1.8 MB
       Load Address: 80001000
       Entry Point:  80305660
       Verifying Checksum ... OK
       Uncompressing Kernel Image ... OK
    No initrd
    ## Transferring control to Linux (at address 80305660) ...
    ## Giving linux memsize in MB, 128
    
    Starting kernel ...
    
    Linux version 3.2.9 (root@edimax_cw) (gcc version 4.6.4 (Buildroot 2013.05) ) #3 SMP Fri Jan 25 09:14:04 CST 2019
    GCMP present
    bootconsole [early0] enabled
    CPU revision is: 0001992f (MIPS 1004Kc)
    Mediatek MT7621 ver:1 eco:3 running at 880.00 MHz
    Software DMA cache coherency
    Determined physical RAM map:
     memory: 08000000 @ 00000000 (usable)
    Initrd not found or empty - disabling initrd
    Zone PFN ranges:
      Normal   0x00000000 -> 0x00008000
    Movable zone start PFN for each node
    early_node_map[1] active PFN ranges
        0: 0x00000000 -> 0x00008000
    Detected 3 available secondary CPU(s)
    PERCPU: Embedded 7 pages/cpu @81103000 s4800 r8192 d15680 u32768
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
    Kernel command line:  console=ttyS0,57600 root=/dev/ram0 rootfstype=squashfs,jffs2
    PID hash table entries: 512 (order: -1, 2048 bytes)
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Primary instruction cache 32kB, VIPT, , 4-waylinesize 32 bytes.
    Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
    MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
    Writing ErrCtl register=00012136
    Readback ErrCtl register=00012136
    Memory: 124056k/131072k available (3134k kernel code, 7016k reserved, 699k data, 1804k init, 0k highmem)
    SLUB: Genslabs=9, HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    Hierarchical RCU implementation.
    NR_IRQS:128
    gic: revision 3.0
    CPU0: status register was 11000000
    CPU0: status register now 11001800
    CPU0: status register frc 1100dc00
    console [ttyS0] enabled, bootconsole disabled
    console [ttyS0] enabled, bootconsole disabled
    Calibrating delay loop... 577.53 BogoMIPS (lpj=1155072)
    pid_max: default: 32768 minimum: 301
    Mount-cache hash table entries: 512
    CPU revision is: 0001992f (MIPS 1004Kc)
    Primary instruction cache 32kB, VIPT, , 4-waylinesize 32 bytes.
    Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
    MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
    CPU revision is: 0001992f (MIPS 1004Kc)
    Primary instruction cache 32kB, VIPT, , 4-waylinesize 32 bytes.
    Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
    MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
    CPU revision is: 0001992f (MIPS 1004Kc)
    Primary instruction cache 32kB, VIPT, , 4-waylinesize 32 bytes.
    Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
    MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
    Brought up 4 CPUs
    Synchronize counters across 4 CPUs: done.
    NET: Registered protocol family 16
    MIPS: machine is Ralink MT7621
    before gpio setting:407ac
    after gpio setting:405ac
    release PCIe RST: RALINK_RSTCTRL = 3000000
    PCIE PHY initialize
    ***** Xtal 40MHz *****
    start MT7621 PCIe register access
    RALINK_RSTCTRL = 3000000
    RALINK_CLKCFG1 = 77ffeff8
    
    *************** MT7621 PCIe RC mode *************
    pcie_link status = 0x3
    RALINK_RSTCTRL= 3000000
    *** Configure Device number setting of Virtual PCI-PCI bridge ***
    RALINK_PCI_PCICFG_ADDR = 21007f2 -> 21007f2
    PCIE0 enabled
    PCIE1 enabled
    interrupt enable status: 300000
    Port 1 N_FTS = 1b105000
    Port 0 N_FTS = 1b105000
    config reg done
    init_rt2880pci done
    bio: create slab  at 0
    SCSI subsystem initialized
    pci 0000:00:00.0: BAR 0: can't assign mem (size 0x80000000)
    pci 0000:00:01.0: BAR 0: can't assign mem (size 0x80000000)
    pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
    pci 0000:00:01.0: BAR 8: assigned [mem 0x60100000-0x601fffff]
    pci 0000:00:00.0: BAR 1: assigned [mem 0x60200000-0x6020ffff]
    pci 0000:00:00.0: BAR 1: set to [mem 0x60200000-0x6020ffff] (PCI address [0x60200000-0x6020ffff])
    pci 0000:00:01.0: BAR 1: assigned [mem 0x60210000-0x6021ffff]
    pci 0000:00:01.0: BAR 1: set to [mem 0x60210000-0x6021ffff] (PCI address [0x60210000-0x6021ffff])
    pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
    pci 0000:01:00.0: BAR 0: set to [mem 0x60000000-0x600fffff 64bit] (PCI address [0x60000000-0x600fffff])
    pci 0000:00:00.0: PCI bridge to [bus 01-01]
    pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
    pci 0000:02:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit]
    pci 0000:02:00.0: BAR 0: set to [mem 0x60100000-0x601fffff 64bit] (PCI address [0x60100000-0x601fffff])
    pci 0000:00:01.0: PCI bridge to [bus 02-02]
    pci 0000:00:01.0:   bridge window [mem 0x60100000-0x601fffff]
    PCI: Enabling device 0000:00:00.0 (0004 -> 0006)
    PCI: Enabling device 0000:00:01.0 (0004 -> 0006)
    BAR0 at slot 0 = 0
    bus=0x0, slot = 0x0
    res[0]->start = 0
    res[0]->end = 0
    res[1]->start = 60200000
    res[1]->end = 6020ffff
    res[2]->start = 0
    res[2]->end = 0
    res[3]->start = 0
    res[3]->end = 0
    res[4]->start = 0
    res[4]->end = 0
    res[5]->start = 0
    res[5]->end = 0
    BAR0 at slot 1 = 0
    bus=0x0, slot = 0x1
    res[0]->start = 0
    res[0]->end = 0
    res[1]->start = 60210000
    res[1]->end = 6021ffff
    res[2]->start = 0
    res[2]->end = 0
    res[3]->start = 0
    res[3]->end = 0
    res[4]->start = 0
    res[4]->end = 0
    res[5]->start = 0
    res[5]->end = 0
    bus=0x1, slot = 0x0, irq=0x4
    res[0]->start = 60000000
    res[0]->end = 600fffff
    res[1]->start = 0
    res[1]->end = 0
    res[2]->start = 0
    res[2]->end = 0
    res[3]->start = 0
    res[3]->end = 0
    res[4]->start = 0
    res[4]->end = 0
    res[5]->start = 0
    res[5]->end = 0
    bus=0x2, slot = 0x1, irq=0x18
    res[0]->start = 60100000
    res[0]->end = 601fffff
    res[1]->start = 0
    res[1]->end = 0
    res[2]->start = 0
    res[2]->end = 0
    res[3]->start = 0
    res[3]->end = 0
    res[4]->start = 0
    res[4]->end = 0
    res[5]->start = 0
    res[5]->end = 0
    Switching to clocksource MIPS
    NET: Registered protocol family 2
    IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
    TCP: Hash tables configured (established 4096 bind 4096)
    TCP reno registered
    UDP hash table entries: 128 (order: 0, 4096 bytes)
    UDP-Lite hash table entries: 128 (order: 0, 4096 bytes)
    NET: Registered protocol family 1
    4 CPUs re-calibrate udelay(lpj = 1167360)
    Load Ralink Timer0 Module
    Load Ralink Timer1 Module
    Load Ralink Timer2 Module
    squashfs: version 4.0 (2009/01/31) Phillip Lougher
    JFFS2 version 2.2 (NAND) (SUMMARY) (ZLIB) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
    msgmni has been set to 242
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
    serial8250: ttyS0 at MMIO 0x1e000c00 (irq = 26) is a 16550A
    serial8250: ttyS1 at MMIO 0x1e000e00 (irq = 28) is a 16550A
    loop: module loaded
    flash manufacture id: c2, device id 20 18
    MX25L12805D(c2 2018c220) (16384 Kbytes)
    mtd .name = raspi, .size = 0x01000000 (16M) .erasesize = 0x00010000 (64K) .numeraseregions = 0
    Creating 10 MTD partitions on "raspi":
    0x000000000000-0x000001000000 : "ALL"
    0x000000000000-0x000000030000 : "Bootloader"
    0x000000030000-0x000000040000 : "Config"
    0x000000040000-0x000000050000 : "Factory"
    0x000000050000-0x0000007f0000 : "Kernel"
    0x000000220000-0x0000007f0000 : "user"
    0x0000007f0000-0x0000009f0000 : "TM_1"
    0x0000009f0000-0x000000df0000 : "TM_2"
    0x000000df0000-0x000000f80000 : "manufacture"
    0x000000f80000-0x000001000000 : "storage"
    rdm_major = 253
    IMQ driver loaded successfully. (numdevs = 2, numqueues = 1)
            Hooking IMQ after NAT on PREROUTING.
            Hooking IMQ before NAT on POSTROUTING.
    GMAC1_MAC_ADRH -- : 0x0000000c
    GMAC1_MAC_ADRL -- : 0x4328806b
    Ralink APSoC Ethernet Driver Initilization. v3.1  512 rx/tx descriptors allocated, mtu = 1500!
    GMAC1_MAC_ADRH -- : 0x0000000c
    GMAC1_MAC_ADRL -- : 0x432880e9
    PROC INIT OK!
    PPP generic driver version 2.4.2
    PPP BSD Compression module registered
    PPP Deflate Compression module registered
    PPP MPPE Compression module registered
    NET: Registered protocol family 24
    Registered button device:reset, gpio:16,code:408,index:10
    Registered button device:wps, gpio:18,code:529,index:12
    Registered button device:op_mode_1, gpio:13,code:263,index:7
    GACT probability on
    Mirror/redirect action on
    Simple TC action Loaded
    netem: version 1.3
    u32 classifier
        Performance counters on
        input device check on
        Actions configured
    Netfilter messages via NETLINK v0.30.
    nf_conntrack version 0.5.0 (3750 buckets, 26250 max, 3750 max0, 30000 reserved)
    xt_time: kernel timezone is -0000
    ip_tables: (C) 2000-2006 Netfilter Core Team
    TCP westwood registered
    NET: Registered protocol family 10
    ip6_tables: (C) 2000-2006 Netfilter Core Team
    IPv6 over IPv4 tunneling driver
    NET: Registered protocol family 17
    NET: Registered protocol family 2
    L2TP core driver, V2.0
    8021q: 802.1Q VLAN Support v1.8
    Freeing unused kernel memory: 1804k freed
    System Init version: 1.1 date: 1
    Setting up file systems ...
    Setting up /mnt/tmpfs directory with tmpfs/16384KB
    Setting up FLASH storage partition ...
    JFFS2 notice: (337) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
    Setting up /apps directory ...apps is in FLASH ...
    Setting FLASH up TM_1 partition ...
    JFFS2 notice: (375) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
    Setting FLASH up TM_2 partition ...
    JFFS2 notice: (380) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
    Setting up loopback device ...
    FINISHED
    Start Normal Operation Mode ...
    ************************************************************************
    *                                ---ELX---                             *
    ************************************************************************
    
    KernelApp version: 1.23.0 build date: 2019/01/25 build time: 09:08:40
    cmd> ln: /sbin/./start_all: File exists
    Share memory created:  keyid 6888 shm_id 0 size 335(KB)
    Warning: dbox_destroy_share_memory p_dbox_cfg is NULL!
    __create_share_mem keyid 6888 shm_id 0
    3F: 1: 1: 0: 0: 0
    Raeth v3.1 (Tasklet)
    phy_free_head is 0x6c7e000!!!
    phy_free_tail_phy is 0x6c7fff0!!!
    txd_pool=a6c1a000 phy_txd_pool=06C1A000
    ei_local->skb_free start address is 0x8702945c.
    free_txd: 06c1a010, ei_local->cpu_ptr: 06C1A000
     POOL  HEAD_PTR | DMA_PTR | CPU_PTR 
    ----------------+---------+--------
         0xa6c1a000 0x06C1A000 0x06C1A000
    
    phy_qrx_ring = 0x06c79000, qrx_ring = 0xa6c79000
    
    phy_rx_ring0 = 0x07366000, rx_ring0 = 0xa7366000
    GMAC1_MAC_ADRH -- : 0x0000000c
    GMAC1_MAC_ADRL -- : 0x432880e9
    GDMA2_MAC_ADRH -- : 0x000000aa
    GDMA2_MAC_ADRL -- : 0xbbccdd20
    eth3: ===> VirtualIF_open
    CDMA_CSG_CFG = 81000000
    GDMA1_FWD_CFG = 20710000
    GDMA2_FWD_CFG = 20710000
    ra2880stop()...Done
    eth3: ===> VirtualIF_close
    Free TX/RX Ring Memory!
    3F: 1: 1: 0: 0: 0
    Raeth v3.1 (Tasklet)
    phy_free_head is 0x6c86000!!!
    phy_free_tail_phy is 0x6c87ff0!!!
    txd_pool=a6da6000 phy_txd_pool=06DA6000
    ei_local->skb_free start address is 0x8702945c.
    free_txd: 06da6010, ei_local->cpu_ptr: 06DA6000
     POOL  HEAD_PTR | DMA_PTR | CPU_PTR 
    ----------------+---------+--------
         0xa6da6000 0x06DA6000 0x06DA6000
    
    phy_qrx_ring = 0x06c27000, qrx_ring = 0xa6c27000
    
    phy_rx_ring0 = 0x06d9c000, rx_ring0 = 0xa6d9c000
    GMAC1_MAC_ADRH -- : 0x0000bc5c
    GMAC1_MAC_ADRL -- : 0x4cxxxxfd
    eth3: ===> VirtualIF_open
    CDMA_CSG_CFG = 81000000
    GDMA1_FWD_CFG = 20710000
    GDMA2_FWD_CFG = 20710000
    GDMA2_MAC_ADRH -- : 0x0000bc5c
    GDMA2_MAC_ADRL -- : 0x4cxxxxfc
    eth3: ===> VirtualIF_open
    eth3: ===> VirtualIF_close
    GDMA2_MAC_ADRH -- : 0x0000bc5c
    GDMA2_MAC_ADRL -- : 0x4cxxxxfc
    eth3: ===> VirtualIF_open
    ADDRCONF(NETDEV_UP): br0: link is not ready
    device br_t.1 entered promiscuous mode
    device br_t entered promiscuous mode
    br0: port 1(br_t.1) entering forwarding state
    br0: port 1(br_t.1) entering forwarding state
    ADDRCONF(NETDEV_CHANGE): br0: link becomes ready
    br0: port 1(br_t.1) entering forwarding state
    device eth2 entered promiscuous mode
    br0: port 2(eth2) entering forwarding state
    br0: port 2(eth2) entering forwarding state
    br0: port 1(br_t.1) entering forwarding state
    br0: port 1(br_t.1) entering forwarding state
    
    
    ********************
    Initialize Radio_(24G) setting ... 
    rd[0]==1
    OK
    
    
    Configuring Ralink WiFi device ...Wlan is in
     AP Mode
    CMD[insmod /lib/rlt_wifi.ko]
    ChipOpsMCUHook
    create [wsc_24g] proc!
    ChipOpsMCUHook
    create [wsc_5g] proc!
    CMD[cp /lib/7615_SingleSKU.dat /etc/Wireless/RT2860/7615_SingleSKU.dat]
    Copy single SKU file for 7615...
    CMD[cp /lib/7615_SingleSKU_BF.dat /etc/Wireless/RT2860/7615_SingleSKU_BF.dat]
    Copy single SKU BF file for 7615...
    CMD[ifconfig ra0 0.0.0.0 up]
    efuse_probe: efuse = 10000212
    MT7615BBPInit():BBP Initialization.....
            Band 0: valid=1, isDBDC=0, Band=2, CBW=1, CentCh/PrimCh=1/1, prim_ch_idx=0, txStream=2
            Band 1: valid=0, isDBDC=0, Band=0, CBW=0, CentCh/PrimCh=0/0, prim_ch_idx=0, txStream=0
    RTMPSetLEDStatus: before AndesLedEnhanceOP , status=1, LED_CMD=2!
    AndesLedEnhanceOP: Success!
    CMD[ifconfig ra1 0.0.0.0 up]
    CMD[brctl addif br0 ra0]
    device ra0 entered promiscuous mode
    br0: port 3(ra0) entering forwarding state
    br0: port 3(ra0) entering forwarding state
    CMD[brctl addif br0 ra1]
    device ra1 entered promiscuous mode
    br0: port 4(ra1) entering forwarding state
    br0: port 4(ra1) entering forwarding state
    CMD[mkdir -p /etc/wsc_xml]
    CMD[ln -s /apps/etc/xml/* /etc/wsc_xml]
    CMD[route add -net 239.0.0.0 netmask 255.0.0.0 br0]
    CMD[wscd -i ra0 -m 1 -w /etc/wsc_xml -a 192.168.2.1&]
    CMD[iwpriv ra0 set IgmpSnEnable=0]
    CMD[iwpriv ra1 set IgmpSnEnable=0]
    CMD[iwpriv ra0 set WscConfMode=7]
    CMD[iwpriv ra0 set WscSetupLock=0]
    CMD[iwpriv ra0 set WscMaxPinAttack=5]
    CMD[iwpriv ra0 set HtMIMOPS=3]
    CMD[iwpriv ra0 set TxPowerFeatureCtrl=1:0:15]
    Interface doesn't accept private ioctl...
    set (8BE2): Invalid argument
    CMD[iwpriv ra0 set Channel=11]
    RTMPSetLEDStatus: before AndesLedEnhanceOP , status=0, LED_CMD=0!
    AndesLedEnhanceOP: Success!
    RTMPSetLEDStatus: before AndesLedEnhanceOP , status=1, LED_CMD=2!
    AndesLedEnhanceOP: Success!
    Reload iwevent...
    send 15 to pid:692
    CMD[iwevent &]
    Waiting for Wireless Events from interfaces...
    CMD[echo 1 1 > /proc/wsc_preled]
    
    
    ********************
    Initialize Radio_(5G) setting ... 
    rd[1]==1
    OK
    Configuring 5G radio setting ... 
    
    
    Configuring Ralink WiFi device ...Wlan is in
     AP Mode
    CMD[cp /lib/7615_SingleSKU.dat /etc/Wireless/RT2860/7615_SingleSKU.dat]
    Copy single SKU file for 7615...
    CMD[cp /lib/7615_SingleSKU_BF.dat /etc/Wireless/RT2860/7615_SingleSKU_BF.dat]
    Copy single SKU BF file for 7615...
    CMD[ifconfig rai0 0.0.0.0 up]
    efuse_probe: efuse = 10000212
    br0: port 2(eth2) entering forwarding state
    br0: port 1(br_t.1) entering forwarding state
    MT7615BBPInit():BBP Initialization.....
            Band 0: valid=1, isDBDC=0, Band=2, CBW=1, CentCh/PrimCh=1/1, prim_ch_idx=0, txStream=2
            Band 1: valid=0, isDBDC=0, Band=0, CBW=0, CentCh/PrimCh=0/0, prim_ch_idx=0, txStream=0
    RTMPSetLEDStatus: before AndesLedEnhanceOP , status=1, LED_CMD=2!
    AndesLedEnhanceOP: Success!
    CMD[brctl addif br0 rai0]
    device rai0 entered promiscuous mode
    br0: port 5(rai0) entering forwarding state
    br0: port 5(rai0) entering forwarding state
    CMD[mkdir -p /etc/wsc_xml]
    CMD[ln -s /apps/etc/xml/* /etc/wsc_xml]
    ln: /etc/wsc_xml/WFAWLANConfigSCPD.xml: File exists
    CMD[route add -net 239.0.0.0 netmask 255.0.0.0 br0]
    route: SIOCADDRT: File exists
    CMD[wscd -i rai0 -m 1 -w /etc/wsc_xml -a 192.168.2.1&]
    CMD[iwpriv rai0 set IgmpSnEnable=0]
    CMD[iwpriv rai0 set WscConfMode=7]
    CMD[iwpriv rai0 set WscSetupLock=0]
    CMD[iwpriv rai0 set WscMaxPinAttack=5]
    CMD[iwpriv rai0 set HtMIMOPS=3]
    CMD[iwpriv rai0 set TxPowerFeatureCtrl=1:0:15]
    Interface doesn't accept private ioctl...
    set (8BE2): Invalid argument
    CMD[iwpriv rai0 set Channel=36]
    Reload iwevent...
    send 15 to pid:983
    CMD[iwevent &]
    Waiting for Wireless Events from interfaces...
    CMD[echo 2 1 > /proc/wsc_preled]
    dsc: module license 'unspecified' taints kernel.
    Disabling lock debugging due to kernel taint
    
    
    
    
    
    
    
    
    eth3: ===> VirtualIF_close
    GDMA2_MAC_ADRH -- : 0x0000bc5c
    GDMA2_MAC_ADRL -- : 0x4cxxxxfc
    eth3: ===> VirtualIF_open
    RTMPSetLEDStatus: before AndesLedEnhanceOP , status=0, LED_CMD=0!
    AndesLedEnhanceOP: Success!
    RTMPSetLEDStatus: before AndesLedEnhanceOP , status=1, LED_CMD=2!
    AndesLedEnhanceOP: Success!
    Start wps_led driver
    Ebtables v2.0 registered
    sh: can't create /sys/devices/virtual/net/br0/bridge/multicast_snooping: nonexistent directory
    __create_share_mem keyid 6888 shm_id 0
    __create_share_mem keyid 6888 shm_id 0
    eth2 ifindex =4
    eth3 ifindex =8
    ***********dev->ifindex = c
    ***********dev->ifindex = e
    ***********dev->ifindex = f
    ***********dev->ifindex = 10
    ***********dev->ifindex = 11
    ***********dev->ifindex = d
    ***********dev->ifindex = 12
    ***********dev->ifindex = 13
    ***********dev->ifindex = 14
    ***********dev->ifindex = 15
    Err: read_to_buf failed to open file /proc/657/status!
    eth3: ===> VirtualIF_close
    eth3: ===> VirtualIF_open
    eth3: ===> VirtualIF_close
    eth3: ===> VirtualIF_open
    echo: write error: Invalid argument
    br0: port 3(ra0) entering forwarding state
    br0: port 4(ra1) entering forwarding state
    RTMPSetLEDStatus: before AndesLedEnhanceOP , status=0, LED_CMD=0!
    AndesLedEnhanceOP: Success!
    RTMPSetLEDStatus: before AndesLedEnhanceOP , status=1, LED_CMD=2!
    AndesLedEnhanceOP: Success!
    br0: port 5(rai0) entering forwarding state
    RTMPSetLEDStatus: before AndesLedEnhanceOP , status=0, LED_CMD=0!
    AndesLedEnhanceOP: Success!
    RTMPSetLEDStatus: before AndesLedEnhanceOP , status=1, LED_CMD=2!
    AndesLedEnhanceOP: Success!
    
    

WRC-2533GS2

某フリマサイトで眺めていたところ、”壊れて使えない” という出品を見つけて購入したもの。1,000円と少しであったことから、ダメならその時はその時と割り切って購入し取引中に詳しく症状を聞いてみたものの、特に知りたい詳細な点までは回答を引き出せず(こればかりはしょうがない)、結局のところ現物にあたってみるしかないということになった。状態によっては、WRC-1167GST2の時と同様にOpenWrtを仮組して復旧する必要があるかとも。
しかしながら、届いて確認したところ特段問題無くブートし、無線関連やネットワークへの疎通も特に問題は無く、確認した範囲では正常品であるように思えた。
弄っていくのでメモ。

Switch

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

MAC

  • LAN: 04:AB:18:xx:xx:FB (Factory, 0xFFF4 (hex))
  • WAN: 04:AB:18:xx:xx:FC (Factory, 0xFFFA (hex))
  • 2.4G: 04:AB:18:xx:xx:FD (Factory, 0x4 (hex))
  • 5G: 04:AB:18:xx:xx:FE (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 (Apr 19 2019 - 17:51:16)
    

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

  • tftpboot
    MT7621 # tftpboot
    
    KSEG1ADDR(NetTxPacket) = 0xA7FE6440
    
    NetLoop,call eth_halt !
    
    NetLoop,call eth_init !
    Trying Eth0 (10/100-M)
    
    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: *
    

Kernel

  • uname -a
    root@MT7621:/# uname -a
    Linux MT7621 3.10.14 #30 SMP Mon Oct 25 17:14:35 CST 2021 mips GNU/Linux
    

  • cat /proc/version
    root@MT7621:/# cat /proc/version
    Linux version 3.10.14 (*****@*****) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2013.05 r48067) ) #30 SMP Mon Oct 25 17:14:35 CST 2021
    

  • 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:         120276 kB
    MemFree:           96896 kB
    Buffers:            1432 kB
    Cached:             2704 kB
    SwapCached:            0 kB
    Active:             1588 kB
    Inactive:           3132 kB
    Active(anon):        588 kB
    Inactive(anon):        4 kB
    Active(file):       1000 kB
    Inactive(file):     3128 kB
    Unevictable:           0 kB
    Mlocked:               0 kB
    SwapTotal:             0 kB
    SwapFree:              0 kB
    Dirty:                 0 kB
    Writeback:             0 kB
    AnonPages:           552 kB
    Mapped:              592 kB
    Shmem:                 4 kB
    Slab:               8184 kB
    SReclaimable:        476 kB
    SUnreclaim:         7708 kB
    KernelStack:         376 kB
    PageTables:           96 kB
    NFS_Unstable:          0 kB
    Bounce:                0 kB
    WritebackTmp:          0 kB
    CommitLimit:       60136 kB
    Committed_AS:       1752 kB
    VmallocTotal:    1048372 kB
    VmallocUsed:       10896 kB
    VmallocChunk:    1037284 kB
    

  • cat /proc/mtd
    root@MT7621:/# cat /proc/mtd
    dev:    size   erasesize  name
    mtd0: 01000000 00010000 "ALL"
    mtd1: 00030000 00010000 "Bootloader"
    mtd2: 00010000 00010000 "Config"
    mtd3: 00010000 00010000 "Factory"
    mtd4: 00b00000 00010000 "firmware"
    mtd5: 00400000 00010000 "kernel"
    mtd6: 00700000 00010000 "rootfs"
    mtd7: 00380000 00010000 "tm_pattern"
    mtd8: 00080000 00010000 "tm_key"
    mtd9: 00030000 00010000 "nvram"
    mtd10: 00080000 00010000 "rootfs_data"
    

  • 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: 0xd, 1/0 = 530/494 35000000
    PLL3 FB_DL: 0xe, 1/0 = 680/344 39000000
    PLL4 FB_DL: 0x10, 1/0 = 656/368 41000000
    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    0    0
    000E:|    0    0    0    0    0    0    0    0    0    0    1    1    1    1    1    1
    000F:|    0    0    0    0    1    1    1    1    1    1    1    1    1    1    1    0
    0010:|    1    1    1    1    1    1    1    1    1    1    0    0    0    0    0    0
    0011:|    1    1    1    1    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 = 72
    B:|    0    0    0    0    0    0    0    0    1    1    1    0    0    0    0    0
    opt_dle value:9
    DRAMC_R0DELDLY[018]=00002221
    ==================================================================
    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 |    10 7 9 11 9 9 8 7 6 6
    10 |    9 9 9 10 9 9
    --------------------------------------
    
    ==================================================================
    2.dqs window
    x=pass dqs delay value (min~max)center
    y=0-7bit DQ of every group
    input delay:DQS0 =33 DQS1 = 34
    ==================================================================
    bit     DQS0     bit      DQS1
    0  (1~61)31  8  (1~60)30
    1  (1~62)31  9  (1~61)31
    2  (1~61)31  10  (1~65)33
    3  (1~65)33  11  (1~62)31
    4  (1~64)32  12  (2~66)34
    5  (1~64)32  13  (1~61)31
    6  (1~61)31  14  (1~65)33
    7  (2~65)33  15  (1~63)32
    ==================================================================
    3.dq delay value last
    ==================================================================
    bit|    0  1  2  3  4  5  6  7  8   9
    --------------------------------------
    0 |    12 9 11 11 10 10 10 7 10 9
    10 |    10 12 9 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 (Apr 19 2019 - 17:51:16)
    
    Board: Ralink APSoC DRAM:  128 MB
    relocate_code Pointer at: 87fb4000
    
    Config XHCI 40M PLL
    flash manufacture id: c2, device id 20 18
    find flash: MX25L12805D
    ============================================
    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:Apr 19 2019  Time:17:51:16
    ============================================
    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
    
    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:    9830336 Bytes =  9.4 MB
    Load Address: 81001000
    Entry Point:  8162ee90
    Verifying Checksum ... OK
    Uncompressing Kernel Image ... OK
    No initrd
    ## Transferring control to Linux (at address 8162ee90) ...
    ## Giving linux memsize in MB, 128
    
    Starting kernel ...
    
    LINUX started...
    
    THIS IS ASIC
    
    SDK 5.0.S.0
    [    0.000000] Linux version 3.10.14 (eason@eason) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2013.05 r48067) ) #30 SMP Mon Oct 25 17:14:35 CST 2021
    [    0.000000]
    [    0.000000]  The CPU feqenuce set to 880 MHz
    [    0.000000] GCMP present
    [    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
    [    0.000000] Software DMA cache coherency
    [    0.000000] Determined physical RAM map:
    [    0.000000]  memory: 08000000 @ 00000000 (usable)
    [    0.000000] Initrd not found or empty - disabling initrd
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x00000000-0x00ffffff]
    [    0.000000]   Normal   [mem 0x01000000-0x07ffffff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x00000000-0x07ffffff]
    [    0.000000] Detected 3 available secondary CPU(s)
    [    0.000000] Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
    [    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
    [    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
    [    0.000000] PERCPU: Embedded 7 pages/cpu @81a92000 s6848 r8192 d13632 u32768
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
    [    0.000000] Kernel command line: console=ttyS1,57600n8 root=/dev/mtdblock6 init=/etc/preinit
    [    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
    [    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.000000] Writing ErrCtl register=00041918
    [    0.000000] Readback ErrCtl register=00041918
    [    0.000000] Memory: 120024k/131072k available (6373k kernel code, 11048k reserved, 2265k data, 252k 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.160000] pid_max: default: 32768 minimum: 301
    [    0.164000] Mount-cache hash table entries: 512
    [    0.168000] launch: starting cpu1
    [    0.172000] launch: cpu1 gone!
    [    0.172000] CPU1 revision is: 0001992f (MIPS 1004Kc)
    [    0.172000] Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
    [    0.172000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
    [    0.172000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
    [    0.204000] Synchronize counters for CPU 1: done.
    [    0.212000] launch: starting cpu2
    [    0.216000] launch: cpu2 gone!
    [    0.216000] CPU2 revision is: 0001992f (MIPS 1004Kc)
    [    0.216000] Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
    [    0.216000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
    [    0.216000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
    [    0.248000] Synchronize counters for CPU 2: done.
    [    0.256000] launch: starting cpu3
    [    0.260000] launch: cpu3 gone!
    [    0.260000] CPU3 revision is: 0001992f (MIPS 1004Kc)
    [    0.260000] Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
    [    0.260000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
    [    0.260000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
    [    0.288000] Synchronize counters for CPU 3: done.
    [    0.296000] Brought up 4 CPUs
    [    0.300000] NET: Registered protocol family 16
    [    0.600000] release PCIe RST: RALINK_RSTCTRL = 7000000
    [    0.604000] PCIE PHY initialize
    [    0.608000] ***** Xtal 40MHz *****
    [    0.612000] start MT7621 PCIe register access
    [    1.204000] RALINK_RSTCTRL = 7000000
    [    1.208000] RALINK_CLKCFG1 = 77ffeff8
    [    1.212000]
    [    1.212000] *************** MT7621 PCIe RC mode *************
    [    1.708000] PCIE2 no card, disable it(RST&CLK)
    [    1.712000] pcie_link status = 0x3
    [    1.716000] RALINK_RSTCTRL= 3000000
    [    1.720000] *** Configure Device number setting of Virtual PCI-PCI bridge ***
    [    1.724000] RALINK_PCI_PCICFG_ADDR = 21007f2 -> 21007f2
    [    1.728000] PCIE0 enabled
    [    1.732000] PCIE1 enabled
    [    1.736000] interrupt enable status: 300000
    [    1.740000] Port 1 N_FTS = 1b105000
    [    1.744000] Port 0 N_FTS = 1b105000
    [    1.748000] config reg done
    [    1.752000] init_rt2880pci done
    [    1.768000] bio: create slab  at 0
    [    1.772000] vgaarb: loaded
    [    1.776000] SCSI subsystem initialized
    [    1.784000] PCI host bridge to bus 0000:00
    [    1.792000] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
    [    1.804000] pci_bus 0000:00: root bus resource [io  0x1e160000-0x1e16ffff]
    [    1.820000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
    [    1.836000] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    1.852000] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    1.868000] pci 0000:00:00.0: BAR 0: can't assign mem (size 0x80000000)
    [    1.880000] pci 0000:00:01.0: BAR 0: can't assign mem (size 0x80000000)
    [    1.896000] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
    [    1.908000] pci 0000:00:01.0: BAR 8: assigned [mem 0x60100000-0x601fffff]
    [    1.920000] pci 0000:00:00.0: BAR 1: assigned [mem 0x60200000-0x6020ffff]
    [    1.936000] pci 0000:00:01.0: BAR 1: assigned [mem 0x60210000-0x6021ffff]
    [    1.948000] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
    [    1.964000] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    1.972000] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
    [    1.988000] pci 0000:02:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit]
    [    2.000000] pci 0000:00:01.0: PCI bridge to [bus 02]
    [    2.012000] pci 0000:00:01.0:   bridge window [mem 0x60100000-0x601fffff]
    [    2.024000] PCI: Enabling device 0000:00:00.0 (0004 -> 0006)
    [    2.036000] PCI: Enabling device 0000:00:01.0 (0004 -> 0006)
    [    2.048000] BAR0 at slot 0 = 0
    [    2.052000] bus=0x0, slot = 0x0
    [    2.060000] res[0]->start = 0
    [    2.064000] res[0]->end = 0
    [    2.072000] res[1]->start = 60200000
    [    2.076000] res[1]->end = 6020ffff
    [    2.084000] res[2]->start = 0
    [    2.088000] res[2]->end = 0
    [    2.096000] res[3]->start = 0
    [    2.100000] res[3]->end = 0
    [    2.108000] res[4]->start = 0
    [    2.112000] res[4]->end = 0
    [    2.120000] res[5]->start = 0
    [    2.124000] res[5]->end = 0
    [    2.128000] BAR0 at slot 1 = 0
    [    2.136000] bus=0x0, slot = 0x1
    [    2.144000] res[0]->start = 0
    [    2.148000] res[0]->end = 0
    [    2.152000] res[1]->start = 60210000
    [    2.160000] res[1]->end = 6021ffff
    [    2.168000] res[2]->start = 0
    [    2.172000] res[2]->end = 0
    [    2.180000] res[3]->start = 0
    [    2.184000] res[3]->end = 0
    [    2.192000] res[4]->start = 0
    [    2.196000] res[4]->end = 0
    [    2.200000] res[5]->start = 0
    [    2.208000] res[5]->end = 0
    [    2.212000] bus=0x1, slot = 0x0, irq=0x4
    [    2.220000] res[0]->start = 60000000
    [    2.228000] res[0]->end = 600fffff
    [    2.236000] res[1]->start = 0
    [    2.240000] res[1]->end = 0
    [    2.248000] res[2]->start = 0
    [    2.252000] res[2]->end = 0
    [    2.256000] res[3]->start = 0
    [    2.264000] res[3]->end = 0
    [    2.268000] res[4]->start = 0
    [    2.276000] res[4]->end = 0
    [    2.280000] res[5]->start = 0
    [    2.288000] res[5]->end = 0
    [    2.292000] bus=0x2, slot = 0x1, irq=0x18
    [    2.300000] res[0]->start = 60100000
    [    2.308000] res[0]->end = 601fffff
    [    2.312000] res[1]->start = 0
    [    2.320000] res[1]->end = 0
    [    2.324000] res[2]->start = 0
    [    2.332000] res[2]->end = 0
    [    2.336000] res[3]->start = 0
    [    2.344000] res[3]->end = 0
    [    2.348000] res[4]->start = 0
    [    2.352000] res[4]->end = 0
    [    2.360000] res[5]->start = 0
    [    2.364000] res[5]->end = 0
    [    2.372000] Switching to clocksource MIPS
    [    2.380000] NET: Registered protocol family 2
    [    2.388000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
    [    2.404000] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
    [    2.416000] TCP: Hash tables configured (established 1024 bind 1024)
    [    2.428000] TCP: reno registered
    [    2.436000] UDP hash table entries: 256 (order: 1, 8192 bytes)
    [    2.444000] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    [    2.460000] NET: Registered protocol family 1
    [    2.468000] RPC: Registered named UNIX socket transport module.
    [    2.480000] RPC: Registered udp transport module.
    [    2.488000] RPC: Registered tcp transport module.
    [    2.500000] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    2.512000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    2.524000] jffs2: version 2.2. (NAND) (ZLIB) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
    [    2.544000] fuse init (API version 7.22)
    [    2.552000] msgmni has been set to 234
    [    2.560000] io scheduler noop registered (default)
    [    2.572000] reg_int_mask=0, INT_MASK= 0
    [    2.580000] HSDMA_init
    [    2.584000]
    [    2.584000]  hsdma_phy_tx_ring0 = 0x00c00000, hsdma_tx_ring0 = 0xa0c00000
    [    2.600000]
    [    2.600000]  hsdma_phy_rx_ring0 = 0x00c04000, hsdma_rx_ring0 = 0xa0c04000
    [    2.616000] TX_CTX_IDX0 = 0
    [    2.624000] TX_DTX_IDX0 = 0
    [    2.628000] RX_CRX_IDX0 = 3ff
    [    2.632000] RX_DRX_IDX0 = 0
    [    2.640000] set_fe_HSDMA_glo_cfg
    [    2.644000] HSDMA_GLO_CFG = 465
    [    2.652000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
    [    2.664000] serial8250: ttyS0 at MMIO 0x1e000d00 (irq = 27) is a 16550A
    [    2.680000] serial8250: ttyS1 at MMIO 0x1e000c00 (irq = 26) is a 16550A
    [    2.692000] Ralink gpio driver initialized
    [    2.704000] brd: module loaded
    [    2.712000] flash manufacture id: c2, device id 20 18
    [    2.720000] MX25L12805D(c2 2018c220) (16384 Kbytes)
    [    2.732000] mtd .name = raspi, .size = 0x01000000 (16M) .erasesize = 0x00010000 (64K) .numeraseregions = 0
    [    2.752000] Creating 11 MTD partitions on "raspi":
    [    2.760000] 0x000000000000-0x000001000000 : "ALL"
    [    2.772000] 0x000000000000-0x000000030000 : "Bootloader"
    [    2.780000] 0x000000030000-0x000000040000 : "Config"
    [    2.792000] 0x000000040000-0x000000050000 : "Factory"
    [    2.804000] 0x000000050000-0x000000b50000 : "firmware"
    [    2.812000] 0x000000050000-0x000000450000 : "kernel"
    [    2.824000] 0x000000450000-0x000000b50000 : "rootfs"
    [    2.836000] 0x000000b50000-0x000000ed0000 : "tm_pattern"
    [    2.844000] 0x000000ed0000-0x000000f50000 : "tm_key"
    [    2.856000] 0x000000f50000-0x000000f80000 : "nvram"
    [    2.864000] 0x000000f80000-0x000001000000 : "rootfs_data"
    [    2.876000] PPP generic driver version 2.4.2
    [    2.884000] PPP BSD Compression module registered
    [    2.896000] PPP MPPE Compression module registered
    [    2.904000] NET: Registered protocol family 24
    [    2.912000] PPTP driver version 0.8.5
    [    2.920000] register mt_drv
    [    2.936000]
    [    2.936000]
    [    2.936000] === pAd = c0201000, size = 3871424 ===
    [    2.936000]
    [    2.956000] <-- RTMPAllocAdapterBlock, Status=0
    [    2.964000] pAd->PciHif.CSRBaseAddress =0xc0100000, csr_addr=0xc0100000!
    [    2.980000] RTMPInitPCIeDevice():device_id=0x7615
    [    2.988000] DriverOwn()::Try to Clear FW Own...
    [    3.292000] DriverOwn()::Success to clear FW Own
    [    3.304000] mt_pci_chip_cfg(): HWVer=0x8a10, FWVer=0x8a10, pAd->ChipID=0x7615
    [    3.316000] mt_pci_chip_cfg(): HIF_SYS_REV=0x76150001
    [    3.328000] RtmpChipOpsHook(492): Not support for HIF_MT yet! MACVersion=0x0
    [    3.340000] mt7615_init()-->
    [    3.348000] Use 1st iPAiLNA default bin.
    [    3.356000] Use 0st /etc_ro/wlan/MT7615E_EEPROM1.bin default bin.
    [    3.368000] <--mt7615_init()
    [    3.372000] ChipOpsMCUHook
    [    3.384000] cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
    [    3.400000] cut_through_token_list_init(): 87725908,87725908
    [    3.412000] cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
    [    3.428000] cut_through_token_list_init(): 87725918,87725918
    [    3.436000] <-- RTMPAllocTxRxRingMemory, Status=0
    [    3.456000]
    [    3.456000]
    [    3.456000] === pAd = c0701000, size = 3871424 ===
    [    3.456000]
    [    3.476000] <-- RTMPAllocAdapterBlock, Status=0
    [    3.484000] pAd->PciHif.CSRBaseAddress =0xc0600000, csr_addr=0xc0600000!
    [    3.500000] RTMPInitPCIeDevice():device_id=0x7615
    [    3.508000] DriverOwn()::Try to Clear FW Own...
    [    3.816000] DriverOwn()::Success to clear FW Own
    [    3.824000] mt_pci_chip_cfg(): HWVer=0x8a10, FWVer=0x8a10, pAd->ChipID=0x7615
    [    3.836000] mt_pci_chip_cfg(): HIF_SYS_REV=0x76150001
    [    3.848000] RtmpChipOpsHook(492): Not support for HIF_MT yet! MACVersion=0x0
    [    3.860000] mt7615_init()-->
    [    3.868000] Use 2nd iPAiLNA default bin.
    [    3.876000] Use 1st /etc_ro/wlan/MT7615E_EEPROM2.bin default bin.
    [    3.888000] <--mt7615_init()
    [    3.892000] ChipOpsMCUHook
    [    3.904000] cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
    [    3.920000] cut_through_token_list_init(): 86cbfa88,86cbfa88
    [    3.932000] cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
    [    3.948000] cut_through_token_list_init(): 86cbfa98,86cbfa98
    [    3.960000] <-- RTMPAllocTxRxRingMemory, Status=0
    [    3.968000] rdm_major = 253
    [    3.976000] GMAC1_MAC_ADRH -- : 0x000004ab
    [    3.984000] GMAC1_MAC_ADRL -- : 0x18xxxxfb
    [    3.992000] Ralink APSoC Ethernet Driver Initilization. v3.1  1024 rx/tx descriptors allocated, mtu = 1500!
    [    4.008000] [LOG]|WIRE| LAN Starting
    [    4.016000] GMAC1_MAC_ADRH -- : 0x000004ab
    [    4.024000] GMAC1_MAC_ADRL -- : 0x18xxxxfb
    [    4.032000] PROC INIT OK!
    [    4.040000] nf_conntrack version 0.5.0 (1875 buckets, 7500 max)
    [    4.052000] xt_time: kernel timezone is -0000
    [    4.060000] gre: GRE over IPv4 demultiplexor driver
    [    4.068000] ip_tables: (C) 2000-2006 Netfilter Core Team
    [    4.080000] Type=Restricted Cone
    [    4.088000] TCP: cubic registered
    [    4.092000] NET: Registered protocol family 10
    [    4.104000] sit: IPv6 over IPv4 tunneling driver
    [    4.112000] NET: Registered protocol family 17
    [    4.124000] Bridge firewalling registered
    [    4.132000] Ebtables v2.0 registered
    [    4.136000] l2tp_core: L2TP core driver, V2.0
    [    4.148000] l2tp_ppp: PPPoL2TP kernel driver, V2.0
    [    4.156000] l2tp_netlink: L2TP netlink interface
    [    4.164000] 8021q: 802.1Q VLAN Support v1.8
    [    4.180000] VFS: Mounted root (squashfs filesystem) readonly on device 31:6.
    [    4.196000] Freeing unused kernel memory: 252K (81871000 - 818b0000)
    [    4.856000] init: Console is alive
    [    5.872000] 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
    [    8.428000] jffs2: notice: (100) jffs2_build_xattr_subsystem: complete building xattr subsystem, 2 of xdatum (0 unchecked, 1 orphan) and 31 of xref (0 dead, 21 orphan) found.
    [    8.460000] mount_root: switching to jffs2 overlay
    cp: can't stat '/etc/changemode': No such file or directory
    cp: can't stat '/etc/config/gxbk': [    8.508000] procd: - early -
    No such file or directory
    After mount_root
    [    9.120000] procd: - ubus -
    [   10.136000] procd: - init -
    Please press Enter to activate this console.
    [   15.324000] ip_gre: GRE over IPv4 tunneling driver
    [   15.348000] bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
    [   15.560000] /proc/router_ip created
    [   15.804000] ip6_tables: (C) 2000-2006 Netfilter Core Team
    [   15.824000] Netfilter messages via NETLINK v0.30.
    [   15.980000] ctnetlink v0.93: registering with nfnetlink.
    [   16.052000] u32 classifier
    [   16.056000]     Performance counters on
    [   16.064000]     Actions configured
    [   16.084000] Mirror/redirect action on
    [   16.104000] Failed to load ipt action
    [   18.612000]  4:FFFFFFAB:18:FFFFFF8B:77:FFFFFFFB
    [   18.620000] Raeth v3.1 (Tasklet)
    [   18.632000] set CLK_CFG_0 = 0x40a00020!!!!!!!!!!!!!!!!!!1
    [   18.644000] phy_free_head is 0xca8000!!!
    [   18.652000] phy_free_tail_phy is 0xca9ff0!!!
    [   18.660000] txd_pool=a0cb0000 phy_txd_pool=00CB0000
    [   18.672000] ei_local->skb_free start address is 0x86dea6cc.
    [   18.684000] free_txd: 00cb0010, ei_local->cpu_ptr: 00CB0000
    [   18.692000]  POOL  HEAD_PTR | DMA_PTR | CPU_PTR
    [   18.704000] ----------------+---------+--------
    [   18.712000]      0xa0cb0000 0x00CB0000 0x00CB0000
    [   18.720000]
    [   18.720000] phy_qrx_ring = 0x00caa000, qrx_ring = 0xa0caa000
    [   18.736000]
    [   18.736000] phy_rx_ring0 = 0x00cac000, rx_ring[0] = 0xa0cac000
    [   18.772000] MT7530 Reset Completed!!
    [   18.784000] change HW-TRAP to 0x117c8f
    [   18.796000] set LAN/WAN WLLLL
    [   18.804000] GMAC1_MAC_ADRH -- : 0x000004ab
    [   18.812000] GMAC1_MAC_ADRL -- : 0x18xxxxfb
    [   18.820000] GDMA2_MAC_ADRH -- : 0x000004ab
    [   18.828000] GDMA2_MAC_ADRL -- : 0x18xxxxfc
    [   18.840000] eth3: ===> VirtualIF_open
    [   18.848000] MT7621 GE2 link rate to 1G
    [   18.848000] CDMA_CSG_CFG = 81000000
    [   18.848000] GDMA1_FWD_CFG = 20710000
    [   18.848000] GDMA2_FWD_CFG = 20710000
    [   18.888000] eth3: ===> VirtualIF_open
    [   19.364000] eth3: ===> VirtualIF_close
    [   19.384000] ra2880stop()...Done
    [   19.388000] eth3: ===> VirtualIF_close
    [   19.400000] Free TX/RX Ring Memory!
    [   19.416000]  4:FFFFFFAB:18:FFFFFF8B:77:FFFFFFFB
    [   19.424000] Raeth v3.1 (Tasklet)
    [   19.436000] set CLK_CFG_0 = 0x40a00020!!!!!!!!!!!!!!!!!!1
    [   19.448000] phy_free_head is 0xca8000!!!
    [   19.456000] phy_free_tail_phy is 0xca9ff0!!!
    [   19.468000] txd_pool=a0cb0000 phy_txd_pool=00CB0000
    [   19.476000] ei_local->skb_free start address is 0x86dea6cc.
    [   19.488000] free_txd: 00cb0010, ei_local->cpu_ptr: 00CB0000
    [   19.500000]  POOL  HEAD_PTR | DMA_PTR | CPU_PTR
    [   19.508000] ----------------+---------+--------
    [   19.516000]      0xa0cb0000 0x00CB0000 0x00CB0000
    [   19.528000]
    [   19.528000] phy_qrx_ring = 0x00caa000, qrx_ring = 0xa0caa000
    [   19.544000]
    [   19.544000] phy_rx_ring0 = 0x00cac000, rx_ring[0] = 0xa0cac000
    [   19.576000] MT7530 Reset Completed!!
    [   19.592000] change HW-TRAP to 0x117c8f
    [   19.600000] set LAN/WAN WLLLL
    [   19.612000] GMAC1_MAC_ADRH -- : 0x000004ab
    [   19.620000] GMAC1_MAC_ADRL -- : 0x18xxxxfb
    [   19.628000] eth3: ===> VirtualIF_open
    [   19.636000] MT7621 GE2 link rate to 1G
    [   19.636000] CDMA_CSG_CFG = 81000000
    [   19.636000] GDMA1_FWD_CFG = 20710000
    [   19.636000] GDMA2_FWD_CFG = 20710000
    [   19.664000] device eth2 entered promiscuous mode
    [   19.676000] br-lan: port 1(eth2) entered forwarding state
    [   19.684000] br-lan: port 1(eth2) entered forwarding state
    [   19.708000] eth3: ===> VirtualIF_open
    dnsmasq
    dnsmasq [br-lan]
    [   21.688000] br-lan: port 1(eth2) entered forwarding state
    UHTTP crt Checked
    main init
    main init
    page=[/setup/index.html]
    page=[/setup/index.html]
    count=[43]
    count=[43]
    [   26.384000] Ralink HW NAT Module Enabled
    [   26.392000] Ralink HW NAT spin_lock_init
    [   26.400000] eth2 ifindex =4
    [   26.408000] eth3 ifindex =b
    [   30.496000] DriverOwn()::Return since already in Driver Own...
    [   30.508000] APWdsInitialize():WdsEntry[0]
    [   30.516000] APWdsInitialize():WdsEntry[1]
    [   30.524000] APWdsInitialize():WdsEntry[2]
    [   30.532000] APWdsInitialize():WdsEntry[3]
    [   30.544000]
    [   30.544000] [Force Roam] => Force Roam Support = 0
    [   30.556000] RT_CfgSetMacAddress : invalid length (0)
    [   30.568000] E2pAccessMode=2
    [   30.572000] SSID[0]=elecom-8b77fb, EdcaIdx=0
    [   30.580000] TriBandChGrp=0/0/0/0
    [   30.588000] cfg_mode=14
    [   30.592000] cfg_mode=14
    [   30.600000] wmode_band_equal(): Band Equal!
    [   30.608000] BandSteering=0
    [   30.612000] BndStrgBssIdx=
    [   30.620000] [TxPower] BAND0: 100
    [   30.628000] [SKUenable] BAND0: 1
    [   30.632000] [PERCENTAGEenable] BAND0: 1
    [   30.640000] [BFBACKOFFenable] BAND0: 1
    [   30.648000] CalCacheApply = 0
    [   30.656000] APEdca0
    [   30.660000] APEdca1
    [   30.664000] APEdca2
    [   30.668000] APEdca3
    [   30.676000] APSDCapable[0]=0
    [   30.680000] APSDCapable[1]=0
    [   30.688000] APSDCapable[2]=0
    [   30.692000] APSDCapable[3]=0
    [   30.700000] APSDCapable[4]=0
    [   30.704000] APSDCapable[5]=0
    [   30.712000] APSDCapable[6]=0
    [   30.716000] APSDCapable[7]=0
    [   30.720000] APSDCapable[8]=0
    [   30.728000] APSDCapable[9]=0
    [   30.732000] APSDCapable[10]=0
    [   30.740000] APSDCapable[11]=0
    [   30.744000] APSDCapable[12]=0
    [   30.752000] APSDCapable[13]=0
    [   30.756000] APSDCapable[14]=0
    [   30.764000] APSDCapable[15]=0
    [   30.768000] default ApCliAPSDCapable[0]=0
    [   30.776000] default ApCliAPSDCapable[1]=0
    [   30.788000] DfsZeroWait Support=0/0
    [   30.796000] DfsZeroWaitCacTime=0/0
    [   30.828000] rtmp_read_wds_from_file(): WDS Profile
    [   30.840000] APWdsInitialize():WdsEntry[0]
    [   30.848000] APWdsInitialize():WdsEntry[1]
    [   30.856000] APWdsInitialize():WdsEntry[2]
    [   30.864000] APWdsInitialize():WdsEntry[3]
    [   30.872000] WDS-Enable mode=0
    [   30.880000] AndesSendCmdMsg: Could not send in band command due to diablefRTMP_ADAPTER_MCU_SEND_IN_BAND_CMD
    [   30.900000] HT: WDEV[0] Ext Channel = ABOVE
    [   30.912000] HT: greenap_cap = 0
    [   30.948000] IcapMode = 0
    [   30.960000] WtcSetMaxStaNum: MaxStaNum:103, BssidNum:1, WdsNum:4, ApcliNum:2, MaxNumChipRept:16, MinMcastWcid:125
    [   30.980000] Top Init Done!
    [   30.988000] Use alloc_skb
    [   30.992000] RX[0] DESC a0ca4000 size = 16384
    [   31.004000] RX[1] DESC a0ca2000 size = 8192
    [   31.012000] Hif Init Done!
    [   31.020000] ctl->txq = c0aad2d4
    [   31.024000] ctl->rxq = c0aad2e0
    [   31.032000] ctl->ackq = c0aad2ec
    [   31.040000] ctl->kickq = c0aad2f8
    [   31.044000] ctl->tx_doneq = c0aad304
    [   31.052000] ctl->rx_doneq = c0aad310
    [   31.060000] mt7615_fw_prepare():FW(8a10), HW(8a10), CHIPID(7615))
    [   31.072000] mt7615_fw_prepare(2687): MT7615_E3, USE E3 patch and ram code binary image
    [   31.088000] AndesMTLoadRomMethodFwDlRing(1035), cap->rom_patch_len(11102)
    [   31.100000] AndesRestartCheck: Current TOP_MISC2(0x1)
    [   31.112000] AndesRestartCheck: (TOP_MISC2 = 1), ready to continue...RET(0)
    [   31.124000] 20170809192718a
    [   31.132000]
    [   31.132000] platform =
    [   31.140000] ALPS
    [   31.144000] hw/sw version =
    [   31.148000] 8a108a10
    [   31.152000] patch version =
    [   31.160000] 00000010
    [   31.164000] Patch SEM Status=2
    [   31.168000] MtCmdPatchSemGet:(ret = 0)
    [   31.176000]
    [   31.176000] Patch is not ready && get semaphore success, SemStatus(2)
    [   31.192000] EventGenericEventHandler: CMD Success
    [   31.200000] MtCmdAddressLenReq:(ret = 0)
    [   31.208000] MtCmdPatchFinishReq
    [   31.228000] EventGenericEventHandler: CMD Success
    [   31.236000] Send checksum req..
    [   31.244000] Patch SEM Status=3
    [   31.248000] MtCmdPatchSemGet:(ret = 0)
    [   31.256000]
    [   31.256000] Release patch semaphore, SemStatus(3)
    [   31.268000] AndesMTEraseRomPatch
    [   31.276000] WfMcuHwInit: Before NICLoadFirmware, check IcapMode=0
    [   31.288000] AndesMTLoadFwMethodFwDlRing(809), cap->fw_len(462248)
    [   31.300000] Build Date:_201708190346
    [   31.308000] Build Date:_201708190346
    [   31.312000] AndesRestartCheck: Current TOP_MISC2(0x1)
    [   31.324000] AndesRestartCheck: (TOP_MISC2 = 1), ready to continue...RET(0)
    [   31.336000] EventGenericEventHandler: CMD Success
    [   31.348000] MtCmdAddressLenReq:(ret = 0)
    [   31.360000] EventGenericEventHandler: CMD Success
    [   31.368000] MtCmdAddressLenReq:(ret = 0)
    [   31.376000] MtCmdFwStartReq: override = 1, address = 540672
    [   31.388000] EventGenericEventHandler: CMD Success
    [   31.396000] Build Date:_201707211524
    [   31.404000] EventGenericEventHandler: CMD Success
    [   31.416000] MtCmdAddressLenReq:(ret = 0)
    [   31.424000] MtCmdFwStartReq: override = 4, address = 0
    [   31.484000] EventGenericEventHandler: CMD Success
    [   31.536000] WfMcuHwInit: NICLoadFirmware OK, Check IcapMode=0
    [   31.548000] MCU Init Done!
    [   31.556000] efuse_probe: efuse = 10000212
    [   31.564000] RtmpChipOpsEepromHook::e2p_type=2, inf_Type=5
    [   31.572000] RtmpEepromGetDefault::e2p_dafault=1
    [   31.580000] RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 2, E2P default = 1
    [   31.596000] NVM is FLASH mode. dev_idx [1] FLASH OFFSET [0x8000]
    [   31.624000] NICReadEEPROMParameters: EEPROM 0x52 b317
    [   31.640000] MtCmdSetTxLpfCal:(ret = 0)
    [   31.648000] MtCmdSetTxIqCal:(ret = 0)
    [   31.656000] MtCmdSetTxDcCal:(ret = 0)
    [   31.660000] MtCmdSetRxFiCal:(ret = 0)
    [   31.668000] MtCmdSetRxFdCal:(ret = 0)
    [   31.676000] MtCmdSetRxFdCal:(ret = 0)
    [   31.684000] MtCmdSetRxFdCal:(ret = 0)
    [   31.692000] MtCmdSetRxFdCal:(ret = 0)
    [   31.700000] MtCmdSetRxFdCal:(ret = 0)
    [   31.704000] MtCmdSetRxFdCal:(ret = 0)
    [   31.712000] MtCmdSetRxFdCal:(ret = 0)
    [   31.720000] MtCmdSetRxFdCal:(ret = 0)
    [   31.728000] MtCmdSetRxFdCal:(ret = 0)
    [   31.736000] NICReadEEPROMParameters: EEPROM 0x52 b317
    [   32.288000] Country Region from e2p = 101
    [   32.296000] mt7615_antenna_default_reset(): TxPath = 4, RxPath = 4
    [   32.308000] mt7615_antenna_default_reset(): DBDC 2G TxPath = 2, 2G RxPath = 2
    [   32.320000] mt7615_antenna_default_reset(): DBDC 5G TxPath = 2, 2G RxPath = 2
    [   32.336000] rtmp_read_txpwr_from_eeprom(233): Don't Support this now!
    [   32.348000] RTMPReadTxPwrPerRate(1381): Don't Support this now!
    [   32.360000] RcRadioInit(): DbdcMode=0, ConcurrentBand=1
    [   32.372000] RcRadioInit(): pRadioCtrl=86cc0438,Band=0,rfcap=3,channel=1,PhyMode=2 extCha=0xf
    [   32.388000] Band Rf: 1, Phy Mode: 2
    [   32.396000] AntCfgInit(2766): Not support for HIF_MT yet!
    [   32.404000] MtSingleSkuLoadParam: RF_LOCKDOWN Feature OFF !!!
    [   32.460000] MtBfBackOffLoadTable: RF_LOCKDOWN Feature OFF !!!
    [   32.472000] EEPROM Init Done!
    [   32.476000] mt_mac_init()-->
    [   32.484000] mt_mac_pse_init(2750): Don't Support this now!
    [   32.492000] mt7615_init_mac_cr()-->
    [   32.500000] mt7615_init_mac_cr(): TMAC_TRCR0=0x82783c8c
    [   32.512000] MtAsicSetMacMaxLen(1300): Not finish Yet!
    [   32.520000] <--mt_mac_init()
    [   32.528000] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
    [   32.540000] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
    [   32.552000] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
    [   32.568000] MAC Init Done!
    [   32.572000] MT7615BBPInit():BBP Initialization.....
    [   32.580000]  Band 0: valid=1, isDBDC=0, Band=2, CBW=1, CentCh/PrimCh=1/1, prim_ch_idx=0, txStream=2
    [   32.600000]  Band 1: valid=0, isDBDC=0, Band=0, CBW=0, CentCh/PrimCh=0/0, prim_ch_idx=0, txStream=0
    [   32.620000] MT7615BBPInit() todo
    [   32.624000] PHY Init Done!
    [   32.632000] tx_pwr_comp_init():NotSupportYet!
    [   32.640000] MtCmdSetMacTxRx:(ret = 0)
    [   32.648000] CountryCode(2.4G/5G)=1/1, RFIC=25, PHY mode(2.4G/5G)=49/49, support 19 channels
    [   32.664000] ApAutoChannelAtBootUp----------------->
    [   32.676000] ApAutoChannelAtBootUp: AutoChannelBootup = 1, AutoChannelFlag = 1
    [   32.688000] MtCmdSetMacTxRx:(ret = 0)
    [   32.696000] mt7615_apply_dcoc() : reload Central CH [42] BW [2] from cetral freq [5210]  offset [1900]
    [   32.716000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   32.724000] mt7615_apply_dpd() : reload Central CH [42] BW [2] from cetral freq [5220] i[9] offset [2d98]
    [   32.744000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   32.752000] MtCmdChannelSwitch: control_chl = 36,control_ch2=0, central_chl = 42 DBDCIdx= 0, Band= 0
    [   32.772000] BW = 2,TXStream = 4, RXStream = 4, scan(1)
    [   33.128000] mt7615_apply_dcoc() : reload Central CH [42] BW [2] from cetral freq [5210]  offset [1900]
    [   33.144000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   33.152000] mt7615_apply_dpd() : reload Central CH [42] BW [2] from cetral freq [5220] i[9] offset [2d98]
    [   33.172000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   33.180000] MtCmdChannelSwitch: control_chl = 40,control_ch2=0, central_chl = 42 DBDCIdx= 0, Band= 0
    [   33.200000] BW = 2,TXStream = 4, RXStream = 4, scan(1)
    [   33.420000] mt7615_apply_dcoc() : reload Central CH [42] BW [2] from cetral freq [5210]  offset [1900]
    [   33.436000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   33.444000] mt7615_apply_dpd() : reload Central CH [42] BW [2] from cetral freq [5220] i[9] offset [2d98]
    [   33.464000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   33.472000] MtCmdChannelSwitch: control_chl = 44,control_ch2=0, central_chl = 42 DBDCIdx= 0, Band= 0
    [   33.492000] BW = 2,TXStream = 4, RXStream = 4, scan(1)
    [   33.716000] mt7615_apply_dcoc() : reload Central CH [42] BW [2] from cetral freq [5210]  offset [1900]
    [   33.732000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   33.740000] mt7615_apply_dpd() : reload Central CH [42] BW [2] from cetral freq [5220] i[9] offset [2d98]
    [   33.760000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   33.768000] MtCmdChannelSwitch: control_chl = 48,control_ch2=0, central_chl = 42 DBDCIdx= 0, Band= 0
    [   33.788000] BW = 2,TXStream = 4, RXStream = 4, scan(1)
    [   34.016000] mt7615_apply_dcoc() : reload Central CH [58] BW [2] from cetral freq [5290]  offset [1a00]
    [   34.032000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   34.040000] mt7615_apply_dpd() : reload Central CH [58] BW [2] from cetral freq [5300] i[13] offset [30f8]
    [   34.060000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   34.068000] MtCmdChannelSwitch: control_chl = 52,control_ch2=0, central_chl = 58 DBDCIdx= 0, Band= 0
    [   34.088000] BW = 2,TXStream = 4, RXStream = 4, scan(1)
    [   34.320000] mt7615_apply_dcoc() : reload Central CH [58] BW [2] from cetral freq [5290]  offset [1a00]
    [   34.336000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   34.344000] mt7615_apply_dpd() : reload Central CH [58] BW [2] from cetral freq [5300] i[13] offset [30f8]
    [   34.364000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   34.372000] MtCmdChannelSwitch: control_chl = 56,control_ch2=0, central_chl = 58 DBDCIdx= 0, Band= 0
    [   34.392000] BW = 2,TXStream = 4, RXStream = 4, scan(1)
    [   34.612000] mt7615_apply_dcoc() : reload Central CH [58] BW [2] from cetral freq [5290]  offset [1a00]
    [   34.628000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   34.636000] mt7615_apply_dpd() : reload Central CH [58] BW [2] from cetral freq [5300] i[13] offset [30f8]
    [   34.656000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   34.664000] MtCmdChannelSwitch: control_chl = 60,control_ch2=0, central_chl = 58 DBDCIdx= 0, Band= 0
    [   34.684000] BW = 2,TXStream = 4, RXStream = 4, scan(1)
    [   34.912000] mt7615_apply_dcoc() : reload Central CH [58] BW [2] from cetral freq [5290]  offset [1a00]
    [   34.928000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   34.936000] mt7615_apply_dpd() : reload Central CH [58] BW [2] from cetral freq [5300] i[13] offset [30f8]
    [   34.956000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   34.964000] MtCmdChannelSwitch: control_chl = 64,control_ch2=0, central_chl = 58 DBDCIdx= 0, Band= 0
    [   34.984000] BW = 2,TXStream = 4, RXStream = 4, scan(1)
    [   35.208000] mt7615_apply_dcoc() : reload Central CH [106] BW [2] from cetral freq [5530]  offset [1d00]
    [   35.224000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   35.232000] mt7615_apply_dpd() : reload Central CH [106] BW [2] from cetral freq [5540] i[25] offset [3b18]
    [   35.252000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   35.264000] MtCmdChannelSwitch: control_chl = 100,control_ch2=0, central_chl = 106 DBDCIdx= 0, Band= 0
    [   35.280000] BW = 2,TXStream = 4, RXStream = 4, scan(1)
    [   35.500000] mt7615_apply_dcoc() : reload Central CH [106] BW [2] from cetral freq [5530]  offset [1d00]
    [   35.516000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   35.524000] mt7615_apply_dpd() : reload Central CH [106] BW [2] from cetral freq [5540] i[25] offset [3b18]
    [   35.544000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   35.552000] MtCmdChannelSwitch: control_chl = 104,control_ch2=0, central_chl = 106 DBDCIdx= 0, Band= 0
    [   35.572000] BW = 2,TXStream = 4, RXStream = 4, scan(1)
    [   35.792000] mt7615_apply_dcoc() : reload Central CH [106] BW [2] from cetral freq [5530]  offset [1d00]
    [   35.808000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   35.816000] mt7615_apply_dpd() : reload Central CH [106] BW [2] from cetral freq [5540] i[25] offset [3b18]
    [   35.836000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   35.848000] MtCmdChannelSwitch: control_chl = 108,control_ch2=0, central_chl = 106 DBDCIdx= 0, Band= 0
    [   35.864000] BW = 2,TXStream = 4, RXStream = 4, scan(1)
    [   36.084000] mt7615_apply_dcoc() : reload Central CH [106] BW [2] from cetral freq [5530]  offset [1d00]
    [   36.100000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   36.108000] mt7615_apply_dpd() : reload Central CH [106] BW [2] from cetral freq [5540] i[25] offset [3b18]
    [   36.128000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   36.136000] MtCmdChannelSwitch: control_chl = 112,control_ch2=0, central_chl = 106 DBDCIdx= 0, Band= 0
    [   36.156000] BW = 2,TXStream = 4, RXStream = 4, scan(1)
    [   36.376000] mt7615_apply_dcoc() : reload Central CH [122] BW [2] from cetral freq [5610]  offset [1e00]
    [   36.392000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   36.400000] mt7615_apply_dpd() : reload Central CH [122] BW [2] from cetral freq [5620] i[29] offset [3e78]
    [   36.420000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   36.428000] MtCmdChannelSwitch: control_chl = 116,control_ch2=0, central_chl = 122 DBDCIdx= 0, Band= 0
    [   36.448000] BW = 2,TXStream = 4, RXStream = 4, scan(1)
    [   36.668000] mt7615_apply_dcoc() : reload Central CH [122] BW [2] from cetral freq [5610]  offset [1e00]
    [   36.684000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   36.692000] mt7615_apply_dpd() : reload Central CH [122] BW [2] from cetral freq [5620] i[29] offset [3e78]
    [   36.712000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   36.720000] MtCmdChannelSwitch: control_chl = 120,control_ch2=0, central_chl = 122 DBDCIdx= 0, Band= 0
    [   36.740000] BW = 2,TXStream = 4, RXStream = 4, scan(1)
    [   36.960000] mt7615_apply_dcoc() : reload Central CH [122] BW [2] from cetral freq [5610]  offset [1e00]
    [   36.976000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   36.984000] mt7615_apply_dpd() : reload Central CH [122] BW [2] from cetral freq [5620] i[29] offset [3e78]
    [   37.004000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   37.016000] MtCmdChannelSwitch: control_chl = 124,control_ch2=0, central_chl = 122 DBDCIdx= 0, Band= 0
    [   37.032000] BW = 2,TXStream = 4, RXStream = 4, scan(1)
    [   37.252000] mt7615_apply_dcoc() : reload Central CH [122] BW [2] from cetral freq [5610]  offset [1e00]
    [   37.268000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   37.276000] mt7615_apply_dpd() : reload Central CH [122] BW [2] from cetral freq [5620] i[29] offset [3e78]
    [   37.296000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   37.304000] MtCmdChannelSwitch: control_chl = 128,control_ch2=0, central_chl = 122 DBDCIdx= 0, Band= 0
    [   37.324000] BW = 2,TXStream = 4, RXStream = 4, scan(1)
    [   37.544000] ====================================================================
    [   37.556000] Channel  36 : Busy Time =   3654, Skip Channel = FALSE, BwCap = TRUE
    [   37.572000] Channel  40 : Busy Time =  14529, Skip Channel = FALSE, BwCap = TRUE
    [   37.588000] Channel  44 : Busy Time =   1033, Skip Channel = FALSE, BwCap = TRUE
    [   37.600000] Channel  48 : Busy Time =    666, Skip Channel = FALSE, BwCap = TRUE
    [   37.616000] Channel  52 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   37.632000] Channel  56 : Busy Time =     31, Skip Channel = FALSE, BwCap = TRUE
    [   37.644000] Channel  60 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   37.660000] Channel  64 : Busy Time =      2, Skip Channel = FALSE, BwCap = TRUE
    [   37.676000] Channel 100 : Busy Time =   1355, Skip Channel = FALSE, BwCap = TRUE
    [   37.688000] Channel 104 : Busy Time =    138, Skip Channel = FALSE, BwCap = TRUE
    [   37.704000] Channel 108 : Busy Time =    145, Skip Channel = FALSE, BwCap = TRUE
    [   37.720000] Channel 112 : Busy Time =   1670, Skip Channel = FALSE, BwCap = TRUE
    [   37.732000] Channel 116 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   37.748000] Channel 120 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   37.764000] Channel 124 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   37.776000] Channel 128 : Busy Time =     99, Skip Channel = FALSE, BwCap = TRUE
    [   37.792000] ====================================================================
    [   37.808000] Rule 3 Channel Busy time value : Select Primary Channel 52
    [   37.820000] Rule 3 Channel Busy time value : Min Channel Busy = 31
    [   37.832000] Rule 3 Channel Busy time value : BW = 80
    [   37.844000]  AutoChSelUpdateChannel(): Update channel for wdev0 for this band PhyMode = 49,Channel = 52
    [   37.864000] ApAutoChannelAtBootUp<-----------------
    [   37.872000] WifiSysOpen(), wdev idx = 0
    [   37.880000] wdev_attr_update(): wdevId0 = 04:ab:18:xx:xx:fe
    [   37.892000] Current Channel is 52. DfsZeroWaitSupport=0
    [   37.904000] MtAsicSetChBusyStat(840): Not support for HIF_MT yet!
    [   37.916000] [PMF]APPMFInit:: apidx=0, MFPC=0, MFPR=0, SHA256=0
    [   37.928000] [PMF]WPAMakeRsnIeCap: RSNIE Capability MFPC=0, MFPR=0
    [   37.940000]
    [   37.940000] [Force Roam] => Force Roam Support = 0
    [   37.952000] HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:49,Channel=52
    [   37.968000] CountryCode(2.4G/5G)=1/1, RFIC=25, PHY mode(2.4G/5G)=49/49, support 19 channels
    [   37.984000] Enable 20/40 BSSCoex Channel Scan(BssCoex=1)
    [   37.996000] wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:127 for WDEV_TYPE:1
    [   37.996000]  LinkToOmacIdx = 0, LinkToWdevType = 1
    [   38.028000] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO),                 CmdBssInfoBmcRate.u2BcTransmit= 8192,                 CmdBssInfoBmcRate.u2McTransmit = 8196
    [   38.160000]  [RadarStateCheck]Set into RD_SILENCE_MODE!
    [   38.188000] MtCmdTxPowerSKUCtrl: fgTxPowerSKUEn: 1, BandIdx: 0
    [   38.196000] MtCmdTxPowerPercentCtrl: fgTxPowerPercentEn: 1, BandIdx: 0
    [   38.212000] MtCmdTxBfBackoffCtrl: fgTxBFBackoffEn: 1, BandIdx: 0
    [   38.224000] mt7615_bbp_adjust():rf_bw=2, ext_ch=1, PrimCh=52, HT-CentCh=54, VHT-CentCh=58
    [   38.240000] mt7615_apply_dcoc() : reload Central CH [58] BW [2] from cetral freq [5290]  offset [1a00]
    [   38.260000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   38.268000] mt7615_apply_dpd() : reload Central CH [58] BW [2] from cetral freq [5300] i[13] offset [30f8]
    [   38.288000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   38.296000] MtCmdChannelSwitch: control_chl = 52,control_ch2=0, central_chl = 58 DBDCIdx= 0, Band= 0
    [   38.312000] BW = 2,TXStream = 4, RXStream = 4, scan(0)
    [   38.344000] ap_phy_rrm_init_byRf(): AP Set CentralFreq at 58(Prim=52, HT-CentCh=54, VHT-CentCh=58, BBP_BW=2)
    [   38.364000] [WrapDfsRadarDetectStart]: Band0Ch is 52
    [   38.372000] [WrapDfsRadarDetectStart]: Band1Ch is 0
    [   38.396000] LeadTimeForBcn, OmacIdx = 0, WDEV_WITH_BCN_ABILITY
    [   38.408000] MtAsicSetRalinkBurstMode(2605): Not support for HIF_MT yet!
    [   38.420000] MtAsicSetPiggyBack(777): Not support for HIF_MT yet!
    [   38.432000] MtAsicSetTxPreamble(2584): Not support for HIF_MT yet!
    [   38.444000] ap_ftkd> Initialize FT KDP Module...
    [   38.456000] Main bssid = 04:ab:18:xx:xx:fe
    [   38.464000] AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
    [   38.472000] MtCmdSetMacTxRx:(ret = 0)
    [   38.480000] MCS Set = ff ff ff ff 01
    [   38.488000] <==== mt_wifi_init, Status=0
    [   38.496000] MtCmdEDCCACtrl: BandIdx: 0, EDCCACtrl: 1
    [   38.504000] WDS_Init():
    [   38.512000] The new WDS interface MAC = FF:FF:FF:FF:FF:FF
    [   38.520000]   MacTabMatchWCID = 0
    [   38.528000] The new WDS interface MAC = FF:FF:FF:FF:FF:FF
    [   38.540000]   MacTabMatchWCID = 0
    [   38.548000] The new WDS interface MAC = FF:FF:FF:FF:FF:FF
    [   38.560000]   MacTabMatchWCID = 0
    [   38.568000] The new WDS interface MAC = FF:FF:FF:FF:FF:FF
    [   38.580000]   MacTabMatchWCID = 0
    [   38.588000] Total allocated 4 WDS interfaces!
    [   38.600000] WtcSetMaxStaNum: MaxStaNum:103, BssidNum:1, WdsNum:4, ApcliNum:2, MaxNumChipRept:16, MinMcastWcid:125
    [   38.660000] red_is_enabled: set CR4/N9 RED Enable to 1.
    [   38.672000] cp_support_is_enabled: set CR4 CP_SUPPORT to Mode 2.
    [   38.684000] Correct apidx from 0 to 0 for WscUUIDInit
    [   38.692000] Generate UUID for apidx(0)
    [   38.700000] PpeDevRegHandler : ineterface rai0 register (0)
    [   38.780000] device rai0 entered promiscuous mode
    [   38.788000] br-lan: port 2(rai0) entered forwarding state
    [   38.800000] br-lan: port 2(rai0) entered forwarding state
    [   38.968000] DriverOwn()::Return since already in Driver Own...
    [   38.984000] APWdsInitialize():WdsEntry[0]
    [   38.992000] APWdsInitialize():WdsEntry[1]
    [   39.000000] APWdsInitialize():WdsEntry[2]
    [   39.008000] APWdsInitialize():WdsEntry[3]
    [   39.016000]
    [   39.016000] [Force Roam] => Force Roam Support = 0
    [   39.028000] RT_CfgSetMacAddress : invalid length (0)
    [   39.040000] E2pAccessMode=2
    [   39.044000] SSID[0]=elecom-8b77fb, EdcaIdx=0
    [   39.056000] TriBandChGrp=0/0/0/0
    [   39.060000] cfg_mode=9
    [   39.068000] cfg_mode=9
    [   39.072000] wmode_band_equal(): Band Equal!
    [   39.080000] BandSteering=0
    [   39.088000] BndStrgBssIdx=
    [   39.092000] [TxPower] BAND0: 100
    [   39.100000] [SKUenable] BAND0: 1
    [   39.104000] [PERCENTAGEenable] BAND0: 1
    [   39.112000] [BFBACKOFFenable] BAND0: 1
    [   39.120000] CalCacheApply = 0
    [   39.128000] APEdca0
    [   39.132000] APEdca1
    [   39.136000] APEdca2
    [   39.140000] APEdca3
    [   39.148000] APSDCapable[0]=0
    [   39.152000] APSDCapable[1]=0
    [   39.160000] APSDCapable[2]=0
    [   39.164000] APSDCapable[3]=0
    [   39.172000] APSDCapable[4]=0
    [   39.176000] APSDCapable[5]=0
    [   39.184000] APSDCapable[6]=0
    [   39.188000] APSDCapable[7]=0
    [   39.192000] APSDCapable[8]=0
    [   39.200000] APSDCapable[9]=0
    [   39.204000] APSDCapable[10]=0
    [   39.212000] APSDCapable[11]=0
    [   39.216000] APSDCapable[12]=0
    [   39.224000] APSDCapable[13]=0
    [   39.228000] APSDCapable[14]=0
    [   39.236000] APSDCapable[15]=0
    [   39.240000] default ApCliAPSDCapable[0]=0
    [   39.248000] default ApCliAPSDCapable[1]=0
    [   39.260000] DfsZeroWait Support=0/0
    [   39.264000] DfsZeroWaitCacTime=0/0
    [   39.300000] rtmp_read_wds_from_file(): WDS Profile
    [   39.312000] APWdsInitialize():WdsEntry[0]
    [   39.320000] APWdsInitialize():WdsEntry[1]
    [   39.328000] APWdsInitialize():WdsEntry[2]
    [   39.336000] APWdsInitialize():WdsEntry[3]
    [   39.344000] WDS-Enable mode=0
    [   39.348000] AndesSendCmdMsg: Could not send in band command due to diablefRTMP_ADAPTER_MCU_SEND_IN_BAND_CMD
    [   39.372000] HT: WDEV[0] Ext Channel = ABOVE
    [   39.380000] HT: greenap_cap = 0
    [   39.420000] IcapMode = 0
    [   39.432000] WtcSetMaxStaNum: MaxStaNum:103, BssidNum:1, WdsNum:4, ApcliNum:2, MaxNumChipRept:16, MinMcastWcid:125
    [   39.452000] Top Init Done!
    [   39.456000] Use alloc_skb
    [   39.464000] :MtCmdPktBudgetCtrl: bssid(255),wcid(65535),type(0)
    [   39.464000] RX[0] DESC a0c14000 size = 16384
    [   39.468000] RX[1] DESC a0c12000 size = 8192
    [   39.468000] Hif Init Done!
    [   39.468000] ctl->txq = c05ad2d4
    [   39.468000] ctl->rxq = c05ad2e0
    [   39.468000] ctl->ackq = c05ad2ec
    [   39.468000] ctl->kickq = c05ad2f8
    [   39.468000] ctl->tx_doneq = c05ad304
    [   39.468000] ctl->rx_doneq = c05ad310
    [   39.468000] mt7615_fw_prepare():FW(8a10), HW(8a10), CHIPID(7615))
    [   39.468000] mt7615_fw_prepare(2687): MT7615_E3, USE E3 patch and ram code binary image
    [   39.468000] AndesMTLoadRomMethodFwDlRing(1035), cap->rom_patch_len(11102)
    [   39.468000] AndesRestartCheck: Current TOP_MISC2(0x1)
    [   39.468000] AndesRestartCheck: (TOP_MISC2 = 1), ready to continue...RET(0)
    [   39.468000] 20170809192718a
    [   39.468000]
    [   39.468000] platform =
    [   39.468000] ALPS
    [   39.468000] hw/sw version =
    [   39.472000] 8a108a10
    [   39.472000] patch version =
    [   39.472000] 00000010
    [   39.472000] Patch SEM Status=2
    [   39.472000] MtCmdPatchSemGet:(ret = 0)
    [   39.472000]
    [   39.472000] Patch is not ready && get semaphore success, SemStatus(2)
    [   39.472000] EventGenericEventHandler: CMD Success
    [   39.472000] MtCmdAddressLenReq:(ret = 0)
    [   39.472000] MtCmdPatchFinishReq
    [   39.480000] EventGenericEventHandler: CMD Success
    [   39.480000] Send checksum req..
    [   39.480000] Patch SEM Status=3
    [   39.480000] MtCmdPatchSemGet:(ret = 0)
    [   39.480000]
    [   39.480000] Release patch semaphore, SemStatus(3)
    [   39.480000] AndesMTEraseRomPatch
    [   39.480000] WfMcuHwInit: Before NICLoadFirmware, check IcapMode=0
    [   39.480000] AndesMTLoadFwMethodFwDlRing(809), cap->fw_len(462248)
    [   39.480000] Build Date:_201708190346
    [   39.480000] Build Date:_201708190346
    [   39.480000] AndesRestartCheck: Current TOP_MISC2(0x1)
    [   39.480000] AndesRestartCheck: (TOP_MISC2 = 1), ready to continue...RET(0)
    [   39.484000] EventGenericEventHandler: CMD Success
    [   39.484000] MtCmdAddressLenReq:(ret = 0)
    [   39.488000] EventGenericEventHandler: CMD Success
    [   39.488000] MtCmdAddressLenReq:(ret = 0)
    [   39.488000] MtCmdFwStartReq: override = 1, address = 540672
    [   39.488000] EventGenericEventHandler: CMD Success
    [   39.488000] Build Date:_201707211524
    [   39.488000] EventGenericEventHandler: CMD Success
    [   39.488000] MtCmdAddressLenReq:(ret = 0)
    [   39.492000] MtCmdFwStartReq: override = 4, address = 0
    [   39.544000] EventGenericEventHandler: CMD Success
    [   39.596000] WfMcuHwInit: NICLoadFirmware OK, Check IcapMode=0
    [   39.596000] MCU Init Done!
    [   39.596000] efuse_probe: efuse = 10000212
    [   39.596000] RtmpChipOpsEepromHook::e2p_type=2, inf_Type=5
    [   39.596000] RtmpEepromGetDefault::e2p_dafault=1
    [   39.596000] RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 2, E2P default = 1
    [   39.596000] NVM is FLASH mode. dev_idx [0] FLASH OFFSET [0x0]
    [   39.608000] NICReadEEPROMParameters: EEPROM 0x52 b317
    [   39.616000] MtCmdSetTxLpfCal:(ret = 0)
    [   39.616000] MtCmdSetTxIqCal:(ret = 0)
    [   39.616000] MtCmdSetTxDcCal:(ret = 0)
    [   39.616000] MtCmdSetRxFiCal:(ret = 0)
    [   39.616000] MtCmdSetRxFdCal:(ret = 0)
    [   39.616000] MtCmdSetRxFdCal:(ret = 0)
    [   39.616000] MtCmdSetRxFdCal:(ret = 0)
    [   39.616000] MtCmdSetRxFdCal:(ret = 0)
    [   39.616000] MtCmdSetRxFdCal:(ret = 0)
    [   39.616000] MtCmdSetRxFdCal:(ret = 0)
    [   39.616000] MtCmdSetRxFdCal:(ret = 0)
    [   39.616000] MtCmdSetRxFdCal:(ret = 0)
    [   39.616000] MtCmdSetRxFdCal:(ret = 0)
    [   39.616000] NICReadEEPROMParameters: EEPROM 0x52 b317
    [   40.164000] Country Region from e2p = 101
    [   40.172000] mt7615_antenna_default_reset(): TxPath = 4, RxPath = 4
    [   40.184000] mt7615_antenna_default_reset(): DBDC 2G TxPath = 2, 2G RxPath = 2
    [   40.196000] mt7615_antenna_default_reset(): DBDC 5G TxPath = 2, 2G RxPath = 2
    [   40.212000] rtmp_read_txpwr_from_eeprom(233): Don't Support this now!
    [   40.224000] RTMPReadTxPwrPerRate(1381): Don't Support this now!
    [   40.236000] RcRadioInit(): DbdcMode=0, ConcurrentBand=1
    [   40.248000] RcRadioInit(): pRadioCtrl=87726438,Band=0,rfcap=3,channel=1,PhyMode=2 extCha=0xf
    [   40.264000] Band Rf: 1, Phy Mode: 2
    [   40.272000] AntCfgInit(2766): Not support for HIF_MT yet!
    [   40.280000] MtSingleSkuLoadParam: RF_LOCKDOWN Feature OFF !!!
    [   40.296000] MtBfBackOffLoadTable: RF_LOCKDOWN Feature OFF !!!
    [   40.308000] EEPROM Init Done!
    [   40.312000] mt_mac_init()-->
    [   40.320000] mt_mac_pse_init(2750): Don't Support this now!
    [   40.328000] mt7615_init_mac_cr()-->
    [   40.336000] mt7615_init_mac_cr(): TMAC_TRCR0=0x82783c8c
    [   40.348000] MtAsicSetMacMaxLen(1300): Not finish Yet!
    [   40.356000] <--mt_mac_init()
    [   40.368000] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
    [   40.380000] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
    [   40.392000] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
    [   40.408000] MAC Init Done!
    [   40.412000] MT7615BBPInit():BBP Initialization.....
    [   40.420000]  Band 0: valid=1, isDBDC=0, Band=2, CBW=1, CentCh/PrimCh=1/1, prim_ch_idx=0, txStream=2
    [   40.440000]  Band 1: valid=0, isDBDC=0, Band=0, CBW=0, CentCh/PrimCh=0/0, prim_ch_idx=0, txStream=0
    [   40.456000] MT7615BBPInit() todo
    [   40.464000] PHY Init Done!
    [   40.472000] tx_pwr_comp_init():NotSupportYet!
    [   40.480000] MtCmdSetMacTxRx:(ret = 0)
    [   40.488000] CountryCode(2.4G/5G)=1/1, RFIC=25, PHY mode(2.4G/5G)=14/14, support 13 channels
    [   40.504000] ApAutoChannelAtBootUp----------------->
    [   40.516000] ApAutoChannelAtBootUp: AutoChannelBootup = 1, AutoChannelFlag = 1
    [   40.528000] MtCmdSetMacTxRx:(ret = 0)
    [   40.536000] mt7615_apply_dcoc() : reload Central CH [1] BW [0] from cetral freq [2417]  offset [2200]
    [   40.556000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   40.564000] mt7615_apply_dpd() : reload Central CH [1] BW [0] from cetral freq [2422] i[44] offset [4b20]
    [   40.584000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   40.592000] MtCmdChannelSwitch: control_chl = 1,control_ch2=0, central_chl = 1 DBDCIdx= 0, Band= 0
    [   40.608000] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   40.804000] br-lan: port 2(rai0) entered forwarding state
    [   40.840000] mt7615_apply_dcoc() : reload Central CH [2] BW [0] from cetral freq [2417]  offset [2200]
    [   40.856000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   40.864000] mt7615_apply_dpd() : reload Central CH [2] BW [0] from cetral freq [2422] i[44] offset [4b20]
    [   40.884000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   40.892000] MtCmdChannelSwitch: control_chl = 2,control_ch2=0, central_chl = 2 DBDCIdx= 0, Band= 0
    [   40.912000] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   41.132000] mt7615_apply_dcoc() : reload Central CH [3] BW [0] from cetral freq [2417]  offset [2200]
    [   41.148000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   41.156000] mt7615_apply_dpd() : reload Central CH [3] BW [0] from cetral freq [2422] i[44] offset [4b20]
    [   41.176000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   41.184000] MtCmdChannelSwitch: control_chl = 3,control_ch2=0, central_chl = 3 DBDCIdx= 0, Band= 0
    [   41.204000] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   41.424000] mt7615_apply_dcoc() : reload Central CH [4] BW [0] from cetral freq [2432]  offset [2300]
    [   41.440000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   41.448000] mt7615_apply_dpd() : reload Central CH [4] BW [0] from cetral freq [2422] i[44] offset [4b20]
    [   41.468000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   41.476000] MtCmdChannelSwitch: control_chl = 4,control_ch2=0, central_chl = 4 DBDCIdx= 0, Band= 0
    [   41.496000] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   41.716000] mt7615_apply_dcoc() : reload Central CH [5] BW [0] from cetral freq [2432]  offset [2300]
    [   41.732000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   41.740000] mt7615_apply_dpd() : reload Central CH [5] BW [0] from cetral freq [2442] i[45] offset [4bf8]
    [   41.760000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   41.768000] MtCmdChannelSwitch: control_chl = 5,control_ch2=0, central_chl = 5 DBDCIdx= 0, Band= 0
    [   41.788000] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   42.144000] mt7615_apply_dcoc() : reload Central CH [6] BW [0] from cetral freq [2432]  offset [2300]
    [   42.160000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   42.168000] mt7615_apply_dpd() : reload Central CH [6] BW [0] from cetral freq [2442] i[45] offset [4bf8]
    [   42.188000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   42.196000] MtCmdChannelSwitch: control_chl = 6,control_ch2=0, central_chl = 6 DBDCIdx= 0, Band= 0
    [   42.216000] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   42.436000] mt7615_apply_dcoc() : reload Central CH [7] BW [0] from cetral freq [2447]  offset [2400]
    [   42.452000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   42.460000] mt7615_apply_dpd() : reload Central CH [7] BW [0] from cetral freq [2442] i[45] offset [4bf8]
    [   42.480000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   42.488000] MtCmdChannelSwitch: control_chl = 7,control_ch2=0, central_chl = 7 DBDCIdx= 0, Band= 0
    [   42.508000] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   42.728000] mt7615_apply_dcoc() : reload Central CH [8] BW [0] from cetral freq [2447]  offset [2400]
    [   42.744000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   42.752000] mt7615_apply_dpd() : reload Central CH [8] BW [0] from cetral freq [2442] i[45] offset [4bf8]
    [   42.772000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   42.780000] MtCmdChannelSwitch: control_chl = 8,control_ch2=0, central_chl = 8 DBDCIdx= 0, Band= 0
    [   42.800000] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   43.020000] mt7615_apply_dcoc() : reload Central CH [9] BW [0] from cetral freq [2447]  offset [2400]
    [   43.036000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   43.044000] mt7615_apply_dpd() : reload Central CH [9] BW [0] from cetral freq [2442] i[45] offset [4bf8]
    [   43.064000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   43.072000] MtCmdChannelSwitch: control_chl = 9,control_ch2=0, central_chl = 9 DBDCIdx= 0, Band= 0
    [   43.092000] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   43.324000] mt7615_apply_dcoc() : reload Central CH [10] BW [0] from cetral freq [2467]  offset [2500]
    [   43.340000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   43.348000] mt7615_apply_dpd() : reload Central CH [10] BW [0] from cetral freq [2462] i[46] offset [4cd0]
    [   43.368000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   43.376000] MtCmdChannelSwitch: control_chl = 10,control_ch2=0, central_chl = 10 DBDCIdx= 0, Band= 0
    [   43.396000] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   43.616000] mt7615_apply_dcoc() : reload Central CH [11] BW [0] from cetral freq [2467]  offset [2500]
    [   43.632000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   43.640000] mt7615_apply_dpd() : reload Central CH [11] BW [0] from cetral freq [2462] i[46] offset [4cd0]
    [   43.660000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   43.668000] MtCmdChannelSwitch: control_chl = 11,control_ch2=0, central_chl = 11 DBDCIdx= 0, Band= 0
    [   43.688000] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   44.044000] ====================================================================
    [   44.056000] Channel   1 : Busy Time =   3711, Skip Channel = FALSE, BwCap = TRUE
    [   44.072000] Channel   2 : Busy Time =   3858, Skip Channel = FALSE, BwCap = TRUE
    [   44.088000] Channel   3 : Busy Time =   3177, Skip Channel = FALSE, BwCap = TRUE
    [   44.100000] Channel   4 : Busy Time =   5444, Skip Channel = FALSE, BwCap = TRUE
    [   44.116000] Channel   5 : Busy Time =  12774, Skip Channel = FALSE, BwCap = TRUE
    [   44.132000] Channel   6 : Busy Time =  16306, Skip Channel = FALSE, BwCap = TRUE
    [   44.144000] Channel   7 : Busy Time =  11009, Skip Channel = FALSE, BwCap = TRUE
    [   44.160000] Channel   8 : Busy Time =   6959, Skip Channel = FALSE, BwCap = TRUE
    [   44.176000] Channel   9 : Busy Time =   6311, Skip Channel = FALSE, BwCap = TRUE
    [   44.188000] Channel  10 : Busy Time =   4003, Skip Channel = FALSE, BwCap = TRUE
    [   44.204000] Channel  11 : Busy Time =  33557, Skip Channel = FALSE, BwCap = TRUE
    [   44.220000] ====================================================================
    [   44.232000] Rule 3 Channel Busy time value : Select Primary Channel 3
    [   44.248000] Rule 3 Channel Busy time value : Min Channel Busy = 3177
    [   44.260000] Rule 3 Channel Busy time value : BW = 20
    [   44.268000]  AutoChSelUpdateChannel(): Update channel for wdev0 for this band PhyMode = 14,Channel = 3
    [   44.288000] ApAutoChannelAtBootUp<-----------------
    [   44.300000] WifiSysOpen(), wdev idx = 0
    [   44.308000] wdev_attr_update(): wdevId0 = 04:ab:18:xx:xx:fd
    [   44.320000] Current Channel is 3. DfsZeroWaitSupport=0
    [   44.328000] MtAsicSetChBusyStat(840): Not support for HIF_MT yet!
    [   44.340000] [PMF]APPMFInit:: apidx=0, MFPC=0, MFPR=0, SHA256=0
    [   44.352000] [PMF]WPAMakeRsnIeCap: RSNIE Capability MFPC=0, MFPR=0
    [   44.364000]
    [   44.364000] [Force Roam] => Force Roam Support = 0
    [   44.376000] HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:14,Channel=3
    [   44.392000] CountryCode(2.4G/5G)=1/1, RFIC=25, PHY mode(2.4G/5G)=14/14, support 13 channels
    [   44.412000] Enable 20/40 BSSCoex Channel Scan(BssCoex=1)
    [   44.420000] MtCmdSetMacTxRx:(ret = 0)
    [   44.428000] mt7615_apply_dcoc() : reload Central CH [1] BW [0] from cetral freq [2417]  offset [2200]
    [   44.448000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   44.456000] mt7615_apply_dpd() : reload Central CH [1] BW [0] from cetral freq [2422] i[44] offset [4b20]
    [   44.476000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   44.484000] MtCmdChannelSwitch: control_chl = 1,control_ch2=0, central_chl = 1 DBDCIdx= 0, Band= 0
    [   44.500000] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   44.524000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   44.844000] mt7615_apply_dcoc() : reload Central CH [2] BW [0] from cetral freq [2417]  offset [2200]
    [   44.860000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   44.868000] mt7615_apply_dpd() : reload Central CH [2] BW [0] from cetral freq [2422] i[44] offset [4b20]
    [   44.888000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   44.896000] MtCmdChannelSwitch: control_chl = 2,control_ch2=0, central_chl = 2 DBDCIdx= 0, Band= 0
    [   44.916000] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   44.936000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   45.316000] :MtCmdPktBudgetCtrl: bssid(255),wcid(65535),type(0)
    [   45.348000] mt7615_apply_dcoc() : reload Central CH [3] BW [0] from cetral freq [2417]  offset [2200]
    [   45.364000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   45.372000] mt7615_apply_dpd() : reload Central CH [3] BW [0] from cetral freq [2422] i[44] offset [4b20]
    [   45.392000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   45.400000] MtCmdChannelSwitch: control_chl = 3,control_ch2=0, central_chl = 3 DBDCIdx= 0, Band= 0
    [   45.420000] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   45.440000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   45.752000] mt7615_apply_dcoc() : reload Central CH [4] BW [0] from cetral freq [2432]  offset [2300]
    [   45.768000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   45.776000] mt7615_apply_dpd() : reload Central CH [4] BW [0] from cetral freq [2422] i[44] offset [4b20]
    [   45.796000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   45.804000] MtCmdChannelSwitch: control_chl = 4,control_ch2=0, central_chl = 4 DBDCIdx= 0, Band= 0
    [   45.824000] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   45.844000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   46.176000] mt7615_apply_dcoc() : reload Central CH [5] BW [0] from cetral freq [2432]  offset [2300]
    [   46.192000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   46.200000] mt7615_apply_dpd() : reload Central CH [5] BW [0] from cetral freq [2442] i[45] offset [4bf8]
    [   46.220000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   46.228000] MtCmdChannelSwitch: control_chl = 5,control_ch2=0, central_chl = 5 DBDCIdx= 0, Band= 0
    [   46.248000] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   46.268000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   46.808000] mt7615_apply_dcoc() : reload Central CH [6] BW [0] from cetral freq [2432]  offset [2300]
    [   46.824000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   46.832000] mt7615_apply_dpd() : reload Central CH [6] BW [0] from cetral freq [2442] i[45] offset [4bf8]
    [   46.852000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   46.860000] MtCmdChannelSwitch: control_chl = 6,control_ch2=0, central_chl = 6 DBDCIdx= 0, Band= 0
    [   46.880000] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   46.900000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   47.208000] mt7615_apply_dcoc() : reload Central CH [7] BW [0] from cetral freq [2447]  offset [2400]
    [   47.224000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   47.232000] mt7615_apply_dpd() : reload Central CH [7] BW [0] from cetral freq [2442] i[45] offset [4bf8]
    [   47.252000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   47.260000] MtCmdChannelSwitch: control_chl = 7,control_ch2=0, central_chl = 7 DBDCIdx= 0, Band= 0
    [   47.280000] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   47.300000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   47.856000] mt7615_apply_dcoc() : reload Central CH [8] BW [0] from cetral freq [2447]  offset [2400]
    [   47.872000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   47.880000] mt7615_apply_dpd() : reload Central CH [8] BW [0] from cetral freq [2442] i[45] offset [4bf8]
    [   47.900000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   47.908000] MtCmdChannelSwitch: control_chl = 8,control_ch2=0, central_chl = 8 DBDCIdx= 0, Band= 0
    [   47.928000] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   47.948000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   48.312000] mt7615_apply_dcoc() : reload Central CH [9] BW [0] from cetral freq [2447]  offset [2400]
    [   48.328000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   48.336000] mt7615_apply_dpd() : reload Central CH [9] BW [0] from cetral freq [2442] i[45] offset [4bf8]
    [   48.356000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   48.364000] MtCmdChannelSwitch: control_chl = 9,control_ch2=0, central_chl = 9 DBDCIdx= 0, Band= 0
    [   48.384000] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   48.404000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   48.712000] mt7615_apply_dcoc() : reload Central CH [10] BW [0] from cetral freq [2467]  offset [2500]
    [   48.728000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   48.736000] mt7615_apply_dpd() : reload Central CH [10] BW [0] from cetral freq [2462] i[46] offset [4cd0]
    [   48.756000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   48.764000] MtCmdChannelSwitch: control_chl = 10,control_ch2=0, central_chl = 10 DBDCIdx= 0, Band= 0
    [   48.784000] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   48.804000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   49.112000] wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:127 for WDEV_TYPE:1
    [   49.112000]  LinkToOmacIdx = 0, LinkToWdevType = 1
    [   49.140000] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO),                 CmdBssInfoBmcRate.u2BcTransmit= 0,                 CmdBssInfoBmcRate.u2McTransmit = 0
    [   49.276000]  [RadarStateCheck]Set into RD_NORMAL_MODE
    [   49.288000] MtCmdTxPowerSKUCtrl: fgTxPowerSKUEn: 1, BandIdx: 0
    [   49.300000] MtCmdTxPowerPercentCtrl: fgTxPowerPercentEn: 1, BandIdx: 0
    [   49.312000] MtCmdTxBfBackoffCtrl: fgTxBFBackoffEn: 1, BandIdx: 0
    [   49.324000] mt7615_bbp_adjust():rf_bw=0, ext_ch=0, PrimCh=3, HT-CentCh=3, VHT-CentCh=0
    [   49.340000] mt7615_apply_dcoc() : reload Central CH [3] BW [0] from cetral freq [2417]  offset [2200]
    [   49.360000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   49.368000] mt7615_apply_dpd() : reload Central CH [3] BW [0] from cetral freq [2422] i[44] offset [4b20]
    [   49.388000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   49.396000] MtCmdChannelSwitch: control_chl = 3,control_ch2=0, central_chl = 3 DBDCIdx= 0, Band= 0
    [   49.412000] BW = 0,TXStream = 4, RXStream = 4, scan(0)
    [   49.444000] ap_phy_rrm_init_byRf(): AP Set CentralFreq at 3(Prim=3, HT-CentCh=3, VHT-CentCh=0, BBP_BW=0)
    [   49.476000] LeadTimeForBcn, OmacIdx = 0, WDEV_WITH_BCN_ABILITY
    [   49.488000] MtAsicSetRalinkBurstMode(2605): Not support for HIF_MT yet!
    [   49.504000] MtAsicSetPiggyBack(777): Not support for HIF_MT yet!
    [   49.516000] MtAsicSetTxPreamble(2584): Not support for HIF_MT yet!
    [   49.528000] ap_ftkd> Initialize FT KDP Module...
    [   49.536000] Main bssid = 04:ab:18:xx:xx:fd
    [   49.544000] AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
    [   49.556000] MtCmdSetMacTxRx:(ret = 0)
    [   49.560000] MCS Set = ff ff ff ff 01
    [   49.568000] <==== mt_wifi_init, Status=0
    [   49.576000] MtCmdEDCCACtrl: BandIdx: 0, EDCCACtrl: 1
    [   49.588000] WDS_Init():
    [   49.592000] The new WDS interface MAC = FF:FF:FF:FF:FF:FF
    [   49.604000]   MacTabMatchWCID = 0
    [   49.608000] wlan_operate_set_vht_bw(): new vht_bw:1 > cap_vht_bw: 0, correct to cap_vht_bw
    [   49.628000] The new WDS interface MAC = FF:FF:FF:FF:FF:FF
    [   49.636000]   MacTabMatchWCID = 0
    [   49.644000] wlan_operate_set_vht_bw(): new vht_bw:1 > cap_vht_bw: 0, correct to cap_vht_bw
    [   49.664000] The new WDS interface MAC = FF:FF:FF:FF:FF:FF
    [   49.672000]   MacTabMatchWCID = 0
    [   49.680000] wlan_operate_set_vht_bw(): new vht_bw:1 > cap_vht_bw: 0, correct to cap_vht_bw
    [   49.700000] The new WDS interface MAC = FF:FF:FF:FF:FF:FF
    [   49.708000]   MacTabMatchWCID = 0
    [   49.716000] wlan_operate_set_vht_bw(): new vht_bw:1 > cap_vht_bw: 0, correct to cap_vht_bw
    [   49.732000] Total allocated 4 WDS interfaces!
    [   49.744000] wlan_operate_set_vht_bw(): new vht_bw:1 > cap_vht_bw: 0, correct to cap_vht_bw
    [   49.760000] wlan_operate_set_vht_bw(): new vht_bw:1 > cap_vht_bw: 0, correct to cap_vht_bw
    [   49.780000] WtcSetMaxStaNum: MaxStaNum:103, BssidNum:1, WdsNum:4, ApcliNum:2, MaxNumChipRept:16, MinMcastWcid:125
    [   49.840000] red_is_enabled: set CR4/N9 RED Enable to 1.
    [   49.852000] cp_support_is_enabled: set CR4 CP_SUPPORT to Mode 2.
    [   49.864000] Correct apidx from 0 to 0 for WscUUIDInit
    [   49.876000] Generate UUID for apidx(0)
    [   49.884000] PpeDevRegHandler : ineterface ra0 register (1)
    [   49.956000] device ra0 entered promiscuous mode
    [   49.968000] br-lan: port 3(ra0) entered forwarding state
    [   49.976000] br-lan: port 3(ra0) entered forwarding state
    [   51.980000] br-lan: port 3(ra0) entered forwarding state
    [   52.304000] PpeDevRegHandler : ineterface apcli0 register (2)
    [   52.316000] wlan_operate_set_vht_bw(): new vht_bw:1 > cap_vht_bw: 0, correct to cap_vht_bw
    [   52.332000] WifiSysOpen(), wdev idx = 5
    [   52.340000] HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:14,Channel=3
    [   52.360000] HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:14,Channel=3
    [   52.376000] CountryCode(2.4G/5G)=1/1, RFIC=25, PHY mode(2.4G/5G)=14/14, support 13 channels
    [   52.396000] PpeDevRegHandler : ineterface apclii0 register (3)
    [   52.408000] WifiSysOpen(), wdev idx = 5
    [   52.416000] HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:49,Channel=52
    [   52.432000] HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:49,Channel=52
    [   52.452000] CountryCode(2.4G/5G)=1/1, RFIC=25, PHY mode(2.4G/5G)=49/49, support 19 channels
    dnsmasq
    dnsmasq [br-lan]
    [   53.112000]
    [   53.112000]  Set_Led_Proc ==> arg = 00-00-00-00-02-00-00-00
    [   53.124000]
    [   53.124000] Set_Led_Proc
    [   53.136000] 00
    [   53.136000] 00
    [   53.140000] 00
    [   53.144000] 00
    [   53.148000] 02
    [   53.152000] 00
    [   53.156000] 00
    [   53.156000] 00
    [   53.160000] AndesLedEnhanceOP: Success!
    [   53.224000]
    [   53.224000]  Set_Led_Proc ==> arg = 00-00-00-00-02-00-00-00
    [   53.240000]
    [   53.240000] Set_Led_Proc
    [   53.248000] 00
    [   53.248000] 00
    [   53.252000] 00
    [   53.256000] 00
    [   53.260000] 02
    [   53.264000] 00
    [   53.268000] 00
    [   53.272000] 00
    [   53.272000] AndesLedEnhanceOP: Success!
    start ddns
    
    add_cron
    add_cron data
    FC start
    FC Disable
    

WRC-X3200GST3 stock -> OpenWrt(non-UBI)

RootFSにUBIを使用しない構成の場合

[ 2528.639914] IDPfw: Exit IDPfw
[ 2528.643092] mod epilog takes 0 jiffies
[ 2528.646865] IDPfw: Exit IDPfw
[ 2528.667556] Exit chrdev /dev/idpfw with major 191
[ 2528.695567] Exit chrdev /dev/detector with major 190
XXX Begin firmware upgrade..., size(8519775)
dump: [4D 54 37 36 32 32 5F 45 4C 45 43 4F 4D 5F 57 52 43 2D 58 33 32 30 30 47 53 54 33 ]
check_hw_id_from_last_len = 27
image hw id [MT7622_ELECOM_WRC-X3200GST3]
sys_fw_hwid [MT7622_ELECOM_WRC-X3200GST3]
dump: [4D 54 37 36 32 32 5F 45 4C 45 43 4F 4D 5F 57 52 43 2D 58 33 32 30 30 47 53 54 33 ]
XX /sbin/sysupgrade_md5.sh 8519684 /tmp/filecIssN2 XX
Done, reboot now
upgrade_allow: TRUE
allow upgrade, return count_down.html page.
XXXXXX update_firmware 375: return count_down.html
XXX sysupgrade_new -c /tmp/fw.bin 1>/dev/null XXX
[ 2535.161037] no net device found for eth0 or
[ 2535.167236] no net device found for ra1 or apcli0
[ 2535.176785] no net device found for ra2 or apcli0
[ 2535.194696] Set_HotSpot_OnOff ==> wdev[0] is already in [OFF] STATE , skip.
[ 2535.217980] no net device found for ra3 or apcli0
[ 2535.227106] no net device found for ra4 or apcli0
[ 2535.236063] no net device found for ra5 or apcli0
[ 2535.241637] no net device found for ra6 or apcli0
[ 2535.246772] no net device found for ra7 or apcli0
[ 2535.251605] no net device found for ra8 or apcli0
[ 2535.256330] no net device found for ra9 or apcli0
[ 2535.261042] no net device found for ra10 or apcli0
[ 2535.265845] no net device found for ra11 or apcli0
[ 2535.270642] no net device found for ra12 or apcli0
[ 2535.275441] no net device found for ra13 or apcli0
[ 2535.280244] no net device found for ra14 or apcli0
[ 2535.285044] no net device found for ra15 or apcli0
[ 2535.289895] no net device found for rai1 or apclii0
[ 2535.294781] no net device found for rai2 or apclii0
[ 2535.299662] no net device found for rai3 or apclii0
[ 2535.304550] no net device found for rai4 or apclii0
[ 2535.309435] no net device found for rai5 or apclii0
[ 2535.314320] no net device found for rai6 or apclii0
[ 2535.319210] no net device found for rai7 or apclii0
[ 2535.324136] no net device found for rai8 or apclii0
[ 2535.329029] no net device found for rai9 or apclii0
[ 2535.333915] no net device found for rai10 or apclii0
[ 2535.338886] no net device found for rai11 or apclii0
[ 2535.343859] no net device found for rai12 or apclii0
[ 2535.348829] no net device found for rai13 or apclii0
[ 2535.353802] no net device found for rai14 or apclii0
[ 2535.358773] no net device found for rai15 or apclii0
[ 2535.363746] no net device found for rax0 or apclix0
[ 2535.368632] no net device found for rax1 or apclix0
[ 2535.373518] no net device found for rax2 or apclix0
[ 2535.378400] no net device found for rax3 or apclix0
[ 2535.383286] no net device found for rax4 or apclix0
[ 2535.388166] no net device found for rax5 or apclix0
[ 2535.393102] no net device found for rax6 or apclix0
[ 2535.397989] no net device found for rax7 or apclix0
[ 2535.402868] no net device found for rax8 or apclix0
[ 2535.407754] no net device found for rax9 or apclix0
[ 2535.412633] no net device found for rax10 or apclix0
[ 2535.417606] no net device found for rax11 or apclix0
[ 2535.422573] no net device found for rax12 or apclix0
[ 2535.427546] no net device found for rax13 or apclix0
[ 2535.432515] no net device found for rax14 or apclix0
[ 2535.437486] no net device found for rax15 or apclix0
[ 2535.442454] no net device found for wlan0 or wlan-apcli0
[ 2535.447781] no net device found for apclix0
[ 2535.451967] no net device found for wlan-apcli0
Please press Enter to activate this console.
Please press Enter to activate this console.
dnsmasq
dnsmasq [br-lan]
[ 2540.391356] br-lan: port 1(eth0) entered disabled state
[ 2540.400019] device eth0 left promiscuous mode
[ 2540.406957] br-lan: port 1(eth0) entered disabled state
[ 2540.415424] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 2540.434125] br-lan: port 3(rai0) entered disabled state
[ 2540.439438] br-lan: port 2(ra0) entered disabled state
[ 2540.446851] device rai0 left promiscuous mode
[ 2540.451497] br-lan: port 3(rai0) entered disabled state
[ 2540.457019] device ra0 left promiscuous mode
[ 2540.461385] br-lan: port 2(ra0) entered disabled state
[ 2540.496031] mtk_soc_eth 1b100000.ethernet eth0: RX flow is programmed, LRO should keep on
[ 2540.504820] device eth0 entered promiscuous mode
[ 2540.515667] br-lan: port 1(eth0) entered forwarding state
[ 2540.521134] br-lan: port 1(eth0) entered forwarding state
[ 2540.796486] mtk_soc_eth 1b100000.ethernet: path gmac1_sgmii in set_mux_gdm1_to_gmac1_esw updated = 1
[ 2540.809031] mtk_soc_eth 1b100000.ethernet: mux mux_gmac2_gmac0_to_gephy isn't present on the SoC
[ 2540.829058] mtk_soc_eth 1b100000.ethernet: mux mux_u3_gmac2_to_qphy isn't present on the SoC
[ 2540.845738] mtk_soc_eth 1b100000.ethernet: path gmac1_sgmii in set_mux_gmac1_gmac2_to_sgmii_rgmii updated = 1
[ 2540.859046] mtk_soc_eth 1b100000.ethernet: mux mux_gmac12_to_gephy_sgmii isn't present on the SoC
[ 2540.873916] mtk_soc_eth 1b100000.ethernet: path gmac2_rgmii in set_mux_gdm1_to_gmac1_esw updated = 0
[ 2540.887211] mtk_soc_eth 1b100000.ethernet: mux mux_gmac2_gmac0_to_gephy isn't present on the SoC
[ 2540.902179] mtk_soc_eth 1b100000.ethernet: mux mux_u3_gmac2_to_qphy isn't present on the SoC
[ 2540.911766] mtk_soc_eth 1b100000.ethernet: path gmac2_rgmii in set_mux_gmac1_gmac2_to_sgmii_rgmii updated = 0
[ 2540.922566] mtk_soc_eth 1b100000.ethernet: mux mux_gmac12_to_gephy_sgmii isn't present on the SoC
[ 2541.175432] Device Instance
[ 2541.178945]  WDEV 00:, Name:ra0, Wdev(list) Idx:0
[ 2541.184506]           Idx:9
[ 2541.186699] extif_put_dev(ra0)
[ 2541.190621] mtk_ppe_dev_unregister_hook : ineterface ra0 set null (1)
[ 2541.198065]
[ 2541.200040]
[ 2541.201877]
[ 2541.203569]
[ 2541.205475]
[ 2541.207009]
[ 2541.209009]
[ 2541.210498]
[ 2541.211982]
[ 2541.213538]
[ 2541.215024]
[ 2541.218859]
[ 2541.220354]
[ 2541.221882]
[ 2541.223370]
[ 2541.300859] ra0: ===> main_virtual_if_close
[ 2541.306168] wifi_sys_linkdown(), wdev idx = 0
[ 2541.331960] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
[ 2541.380650] wifi_sys_close(), wdev idx = 0
[ 2541.387640] APStop(), oper(0) bssid(0)=04:ab:18:xx:xx:79
[ 2541.395334] wifi_sys_close(), wdev idx = 0
[ 2541.400316] ap_ftkd> Release FT KDP Module...
[ 2541.405500] <=== APStop()
[ 2541.417180] CmdReStartDLRsp: WiFI FW Download Success
[ 2541.423467] cut_through_token_list_destroy(): ffffffc01e3b3310,ffffffc01e3b3310
[ 2541.433522] cut_through_token_list_destroy(): ffffffc01e3b3330,ffffffc01e3b3330
[ 2541.750834] RTMP_AllTimerListRelease: Size=33
[ 2541.755200] RTMP_AllTimerListRelease: Cancel timer obj ffffff800ae66200!
[ 2541.762093] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x58/0x128 [mt7622_mt_wifi],Valid:1,Lock:ffffff800b2ef600,State:0
[ 2541.774441] RTMP_AllTimerListRelease: Cancel timer obj ffffff800ae66260!
[ 2541.781288] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x70/0x128 [mt7622_mt_wifi],Valid:1,Lock:ffffff800b2ef600,State:0
[ 2541.793632] RTMP_AllTimerListRelease: Cancel timer obj ffffff800ae6ee88!
[ 2541.800460] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x58/0x128 [mt7622_mt_wifi],Valid:1,Lock:ffffff800b2ef600,State:0
[ 2541.812887] RTMP_AllTimerListRelease: Cancel timer obj ffffff800ae6eee8!
[ 2541.819725] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x70/0x128 [mt7622_mt_wifi],Valid:1,Lock:ffffff800b2ef600,State:0
[ 2541.832072] RTMP_AllTimerListRelease: Cancel timer obj ffffff800ae77b10!
[ 2541.838900] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x58/0x128 [mt7622_mt_wifi],Valid:1,Lock:ffffff800b2ef600,State:0
[ 2541.851245] RTMP_AllTimerListRelease: Cancel timer obj ffffff800ae77b70!
[ 2541.858070] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x70/0x128 [mt7622_mt_wifi],Valid:1,Lock:ffffff800b2ef600,State:0
[ 2541.870414] RTMP_AllTimerListRelease: Cancel timer obj ffffff800ae80798!
[ 2541.877256] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x58/0x128 [mt7622_mt_wifi],Valid:1,Lock:ffffff800b2ef600,State:0
[ 2541.889604] RTMP_AllTimerListRelease: Cancel timer obj ffffff800ae807f8!
[ 2541.896429] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x70/0x128 [mt7622_mt_wifi],Valid:1,Lock:ffffff800b2ef600,State:0
[ 2541.908780] RTMP_AllTimerListRelease: Cancel timer obj ffffff800ae89420!
[ 2541.915669] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x58/0x128 [mt7622_mt_wifi],Valid:1,Lock:ffffff800b2ef600,State:0
[ 2541.928022] RTMP_AllTimerListRelease: Cancel timer obj ffffff800ae89480!
[ 2541.934863] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x70/0x128 [mt7622_mt_wifi],Valid:1,Lock:ffffff800b2ef600,State:0
[ 2541.947214] RTMP_AllTimerListRelease: Cancel timer obj ffffff800ae920a8!
[ 2541.954033] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x58/0x128 [mt7622_mt_wifi],Valid:1,Lock:ffffff800b2ef600,State:0
[ 2541.966382] RTMP_AllTimerListRelease: Cancel timer obj ffffff800ae92108!
[ 2541.973200] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x70/0x128 [mt7622_mt_wifi],Valid:1,Lock:ffffff800b2ef600,State:0
[ 2541.985553] RTMP_AllTimerListRelease: Cancel timer obj ffffff800ae9ad30!
[ 2541.992379] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x58/0x128 [mt7622_mt_wifi],Valid:1,Lock:ffffff800b2ef600,State:0
[ 2542.004729] RTMP_AllTimerListRelease: Cancel timer obj ffffff800ae9ad90!
[ 2542.011558] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x70/0x128 [mt7622_mt_wifi],Valid:1,Lock:ffffff800b2ef600,State:0
[ 2542.024012] RTMP_AllTimerListRelease: Cancel timer obj ffffff800aea39b8!
[ 2542.030921] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x58/0x128 [mt7622_mt_wifi],Valid:1,Lock:ffffff800b2ef600,State:0
[ 2542.043272] RTMP_AllTimerListRelease: Cancel timer obj ffffff800aea3a18!
[ 2542.050099] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x70/0x128 [mt7622_mt_wifi],Valid:1,Lock:ffffff800b2ef600,State:0
[ 2542.062449] RTMP_AllTimerListRelease: Cancel timer obj ffffff800aeac640!
[ 2542.069269] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x58/0x128 [mt7622_mt_wifi],Valid:1,Lock:ffffff800b2ef600,State:0
[ 2542.081619] RTMP_AllTimerListRelease: Cancel timer obj ffffff800aeac6a0!
[ 2542.088436] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x70/0x128 [mt7622_mt_wifi],Valid:1,Lock:ffffff800b2ef600,State:0
[ 2542.100794] RTMP_AllTimerListRelease: Cancel timer obj ffffff800aeb52c8!
[ 2542.107613] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x58/0x128 [mt7622_mt_wifi],Valid:1,Lock:ffffff800b2ef600,State:0
[ 2542.119962] RTMP_AllTimerListRelease: Cancel timer obj ffffff800aeb5328!
[ 2542.126831] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x70/0x128 [mt7622_mt_wifi],Valid:1,Lock:ffffff800b2ef600,State:0
[ 2542.139180] RTMP_AllTimerListRelease: Cancel timer obj ffffff800aebdf50!
[ 2542.146002] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x58/0x128 [mt7622_mt_wifi],Valid:1,Lock:ffffff800b2ef600,State:0
[ 2542.158356] RTMP_AllTimerListRelease: Cancel timer obj ffffff800aebdfb0!
[ 2542.165220] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x70/0x128 [mt7622_mt_wifi],Valid:1,Lock:ffffff800b2ef600,State:0
[ 2542.177572] RTMP_AllTimerListRelease: Cancel timer obj ffffff800aec6bd8!
[ 2542.184402] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x58/0x128 [mt7622_mt_wifi],Valid:1,Lock:ffffff800b2ef600,State:0
[ 2542.196756] RTMP_AllTimerListRelease: Cancel timer obj ffffff800aec6c38!
[ 2542.203588] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x70/0x128 [mt7622_mt_wifi],Valid:1,Lock:ffffff800b2ef600,State:0
[ 2542.215936] RTMP_AllTimerListRelease: Cancel timer obj ffffff800aecf860!
[ 2542.222762] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x58/0x128 [mt7622_mt_wifi],Valid:1,Lock:ffffff800b2ef600,State:0
[ 2542.235150] RTMP_AllTimerListRelease: Cancel timer obj ffffff800aecf8c0!
[ 2542.241979] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x70/0x128 [mt7622_mt_wifi],Valid:1,Lock:ffffff800b2ef600,State:0
[ 2542.254323] RTMP_AllTimerListRelease: Cancel timer obj ffffff800aed84e8!
[ 2542.261146] RTMP_AllTimerListRelease: Timer is allocated by RRM_CfgInit+0x58/0x128 [mt7622_mt_wifi],Valid:1,Lock:ffffff800b2ef600,State:0
[ 2542.273494] RTMP_AllTimerListRelease: Cancel timer obj ffffff800aed8548!

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
RAM_CONSOLE preloader last status: 0x0 0x0 0x0 0x0 0x0 0x0
[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:     14
RGU LENGTH:   FFE0
RGU STA:      40000000
RGU INTERVAL: FFF
RGU SWSYSRST: 8000
==== Dump RGU Reg End ====
RGU: g_rgu_satus:2
mtk_wdt_mode_config  mode value=10, tmp:22000010
PL RGU RST: ??
SW reset with bypass power key flag
Find bypass powerkey flag
WDT NONRST=0x20000000
WDT IRQ_EN=0x300002
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 (0x2)=0x2
[BBT] BMT.v2 is found at 0x3FF
[PLFM] Init Boot Device: OK(0)

NAND read: device 0 offset 0x2c0000, size 0x2000
8192 bytes read: OK
[do_read_image_blks] This is a FIT image,img_size = 0x39e920
[do_read_image_blks] img_blks = 0x73e
[do_read_image_blks] img_align_size = 0x39f000

NAND read: device 0 offset 0x2c0000, size 0x39f000
3796992 bytes read: OK
bootm flag=0, states=70f
## Loading kernel from FIT Image at 4007ff28 ...
Using 'config-1' configuration
Trying 'kernel-1' kernel subimage
Description:  ARM64 OpenWrt Linux-5.10.75
Type:         Kernel Image
Compression:  lzma compressed
Data Start:   0x40080010
Data Size:    3764262 Bytes = 3.6 MiB
Architecture: AArch64
OS:           Linux
Load Address: 0x44000000
Entry Point:  0x44000000
Hash algo:    crc32
Hash value:   c953efc3
Hash algo:    sha1
Hash value:   add14333f99ffe0d1601f3d11b8817e2c0c13a57
Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading fdt from FIT Image at 4007ff28 ...
Using 'config-1' configuration
Trying 'fdt-1' fdt subimage
Description:  ARM64 OpenWrt elecom_wrc-x3200gst3 device tree blob
Type:         Flat Device Tree
Compression:  uncompressed
Data Start:   0x4041717c
Data Size:    29055 Bytes = 28.4 KiB
Architecture: AArch64
Hash algo:    crc32
Hash value:   447d446b
Hash algo:    sha1
Hash value:   6e08d95ed7635841b7deaa0b12cc233173d49d14
Verifying Hash Integrity ... crc32+ sha1+ OK
Booting using the fdt blob at 0x4041717c
Uncompressing Kernel Image ... OK
Loading Device Tree to 5cf45000, end 5cf4f17e ... OK

Starting kernel ...

[ATF][     7.799388]save kernel info
[ATF][     7.802325]Kernel_EL2
[ATF][     7.804995]Kernel is 64Bit
[ATF][     7.808083]pc=0x44000000, r0=0x5cf45000, r1=0x0
INFO:    BL3-1: Preparing for EL3 exit to normal world, Kernel
INFO:    BL3-1: Next image address = 0x44000000
INFO:    BL3-1: Next image spsr = 0x3c9
[ATF][     7.825781]el3_exit
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.10.75 ([email protected]) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 11.2.0 r0+17885-1cf1f6a9e0) 11.2.0, GNU ld (GNU Binutils) 2.37) #0 SMP Sat Oct 30 07:47:02 2021
[    0.000000] Machine model: ELECOM WRC-X3200GST3
[    0.000000] earlycon: uart8250 at MMIO32 0x0000000011002000 (options '')
[    0.000000] printk: bootconsole [uart8250] enabled
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000040000000-0x000000005fffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x0000000042ffffff]
[    0.000000]   node   0: [mem 0x0000000043000000-0x000000004302ffff]
[    0.000000]   node   0: [mem 0x0000000043030000-0x000000005fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000005fffffff]
[    0.000000] On node 0 totalpages: 131072
[    0.000000]   DMA zone: 2048 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 131072 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 20 pages/cpu s43800 r8192 d29928 u81920
[    0.000000] pcpu-alloc: s43800 r8192 d29928 u81920 alloc=20*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] CPU features: kernel page table isolation disabled by kernel configuration
[    0.000000] CPU features: detected: ARM erratum 843419
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129024
[    0.000000] Kernel command line: earlycon=uart8250,mmio32,0x11002000 console=ttyS0,115200n8 swiotlb=512
[    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 493800K/524288K available (7870K kernel code, 856K rwdata, 2140K rodata, 448K init, 289K bss, 30488K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GIC: GICv2 detected, but range too small and irqchip.gicv2_force_probe not set
[    0.000000] random: get_random_bytes called from start_kernel+0x340/0x484 with crng_init=0
[    0.000000] arch_timer: 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.008210] Calibrating delay loop (skipped), value calculated using timer frequency.. 25.00 BogoMIPS (lpj=125000)
[    0.018605] pid_max: default: 32768 minimum: 301
[    0.023307] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.030649] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.039366] rcu: Hierarchical SRCU implementation.
[    0.044278] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[    0.052145] smp: Bringing up secondary CPUs ...
[    0.057009] Detected VIPT I-cache on CPU1
[    0.057052] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.057110] smp: Brought up 1 node, 2 CPUs
[    0.071785] SMP: Total of 2 processors activated.
[    0.076501] CPU features: detected: 32-bit EL0 Support
[    0.081657] CPU features: detected: CRC32 instructions
[    0.086904] CPU: All CPU(s) started at EL2
[    0.091015] alternatives: patching kernel code
[    0.098665] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.108559] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.115453] pinctrl core: initialized pinctrl subsystem
[    0.121132] NET: Registered protocol family 16
[    0.126216] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[    0.133341] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.141129] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.149411] thermal_sys: Registered thermal governor 'fair_share'
[    0.149414] thermal_sys: Registered thermal governor 'bang_bang'
[    0.155528] thermal_sys: Registered thermal governor 'step_wise'
[    0.161573] thermal_sys: Registered thermal governor 'user_space'
[    0.167837] ASID allocator initialised with 65536 entries
[    0.179980] pstore: Registered ramoops as persistent store backend
[    0.186195] ramoops: using 0x10000@0x42ff0000, ecc: 0
[    0.217166] SCSI subsystem initialized
[    0.221035] libata version 3.00 loaded.
[    0.225028] usbcore: registered new interface driver usbfs
[    0.230590] usbcore: registered new interface driver hub
[    0.235939] usbcore: registered new device driver usb
[    0.242701] clocksource: Switched to clocksource arch_sys_counter
[    0.249485] NET: Registered protocol family 2
[    0.253980] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.261569] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.269968] TCP established hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.277773] TCP bind hash table entries: 4096 (order: 4, 65536 bytes, linear)
[    0.284988] TCP: Hash tables configured (established 4096 bind 4096)
[    0.291427] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.298001] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.305072] NET: Registered protocol family 1
[    0.309456] PCI: CLS 0 bytes, default 64
[    0.314348] workingset: timestamp_bits=46 max_order=17 bucket_order=0
[    0.323345] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.329201] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.375749] mt-pmic-pwrap 10001000.pwrap: unexpected interrupt int=0x1
[    0.390134] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    0.397216] printk: console [ttyS0] disabled
[    0.401557] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 21, base_baud = 1562500) is a 16550A
[    0.410539] printk: console [ttyS0] enabled
[    0.410539] printk: console [ttyS0] enabled
[    0.418907] printk: bootconsole [uart8250] disabled
[    0.418907] printk: bootconsole [uart8250] disabled
[    0.429453] mtk_rng 1020f000.rng: registered RNG driver
[    0.432858] random: fast init done
[    0.438211] random: crng init done
[    0.442405] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.450707] loop: module loaded
[    0.454678] mtk-snand 1100d000.snfi: chip is W25N01GV, size 128MB, page size 2048, oob size 64
[    0.464580] [BBT] BMT.v2 is found at 0x3ff
[    0.468848] 10 fixed-partitions partitions found on MTD device 1100d000.snfi
[    0.475896] Creating 10 MTD partitions on "1100d000.snfi":
[    0.481374] 0x000000000000-0x000000080000 : "Preloader"
[    0.487429] 0x000000080000-0x0000000c0000 : "ATF"
[    0.492609] 0x0000000c0000-0x000000140000 : "u-boot"
[    0.498300] 0x000000140000-0x0000001c0000 : "u-boot-env"
[    0.504336] 0x0000001c0000-0x0000002c0000 : "factory"
[    0.510611] 0x0000002c0000-0x000001bc0000 : "firmware"
[    0.541038] 2 fit-fw partitions found on MTD device firmware
[    0.546697] Creating 2 MTD partitions on "firmware":
[    0.551653] 0x000000000000-0x0000003a0000 : "kernel"
[    0.560417] 0x0000003a0000-0x000001900000 : "rootfs"
[    0.586806] mtd: device 7 (rootfs) set to be root filesystem
[    0.592598] 1 squashfs-split partitions found on MTD device rootfs
[    0.598780] 0x000000820000-0x000001900000 : "rootfs_data"
[    0.621120] 0x000001bc0000-0x0000020c0000 : "tm_pattern"
[    0.631675] 0x0000020c0000-0x0000021c0000 : "tm_key"
[    0.637897] 0x0000021c0000-0x0000030c0000 : "user_data"
[    0.658204] 0x0000030c0000-0x000008000000 : "reserved"
[    0.663343] mtd: partition "reserved" extends beyond the end of device "1100d000.snfi" -- size truncated to 0x4500000
[    0.760024] libphy: Fixed MDIO Bus: probed
[    0.787933] libphy: mdio: probed
[    0.792429] mtk_soc_eth 1b100000.ethernet eth0: mediatek frame engine at 0xffffffc0117c0000, irq 28
[    0.801966] i2c /dev entries driver
[    0.806393] mtk-wdt 10212000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
[    0.817087] NET: Registered protocol family 10
[    0.822283] Segment Routing with IPv6
[    0.825996] NET: Registered protocol family 17
[    0.830548] 8021q: 802.1Q VLAN Support v1.8
[    0.836026] pstore: Using crash dump compression: deflate
[    0.850510] mtk-pcie 1a143000.pcie: host bridge /pcie@1a143000 ranges:
[    0.857082] mtk-pcie 1a143000.pcie: Parsing ranges property...
[    0.862919] mtk-pcie 1a143000.pcie:      MEM 0x0020000000..0x0027ffffff -> 0x0020000000
[    0.897485] mtk-pcie 1a143000.pcie: PCI host bridge to bus 0000:00
[    0.903674] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.909153] pci_bus 0000:00: root bus resource [mem 0x20000000-0x27ffffff]
[    0.916028] pci_bus 0000:00: scanning bus
[    0.920071] pci 0000:00:00.0: [14c3:3258] type 01 class 0x060400
[    0.926101] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x1ffffffff 64bit pref]
[    0.935009] pci_bus 0000:00: fixups for bus
[    0.939188] pci 0000:00:00.0: scanning [bus 00-00] behind bridge, pass 0
[    0.945887] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.953900] pci 0000:00:00.0: scanning [bus 00-00] behind bridge, pass 1
[    0.960683] pci_bus 0000:01: scanning bus
[    0.964899] pci 0000:01:00.0: [14c3:7915] type 00 class 0x000280
[    0.971076] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit pref]
[    0.978399] pci 0000:01:00.0: reg 0x18: [mem 0x00000000-0x00003fff 64bit pref]
[    0.985722] pci 0000:01:00.0: reg 0x20: [mem 0x00000000-0x00000fff 64bit pref]
[    0.993676] pci 0000:01:00.0: supports D1 D2
[    0.997937] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.004570] pci 0000:01:00.0: PME# disabled
[    1.009049] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:00.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    1.053891] pci_bus 0000:01: fixups for bus
[    1.058069] pci_bus 0000:01: bus scan returning with max=01
[    1.063647] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.070257] pci_bus 0000:00: bus scan returning with max=01
[    1.075842] pci 0000:00:00.0: BAR 0: no space for [mem size 0x200000000 64bit pref]
[    1.083493] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x200000000 64bit pref]
[    1.091489] pci 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0x201fffff]
[    1.098275] pci 0000:01:00.0: BAR 0: assigned [mem 0x20000000-0x200fffff 64bit pref]
[    1.106097] pci 0000:01:00.0: BAR 2: assigned [mem 0x20100000-0x20103fff 64bit pref]
[    1.113921] pci 0000:01:00.0: BAR 4: assigned [mem 0x20104000-0x20104fff 64bit pref]
[    1.121738] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.126704] pci 0000:00:00.0:   bridge window [mem 0x20000000-0x201fffff]
[    1.133560] pcieport 0000:00:00.0: of_irq_parse_pci: failed with rc=-22
[    1.140165] pcieport 0000:00:00.0: assign IRQ: got 0
[    1.145135] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
[    1.151237] pcieport 0000:00:00.0: enabling bus mastering
[    1.157068] mtk_hsdma 1b007000.dma-controller: Using 3 as missing dma-requests property
[    1.165258] mtk_hsdma 1b007000.dma-controller: MediaTek HSDMA driver registered
[    1.209027] libphy: dsa slave smi: probed
[    1.214094] mt7530 mdio-bus:00 wan (uninitialized): PHY [dsa-0.0:00] driver [Generic PHY] (irq=POLL)
[    1.224524] mt7530 mdio-bus:00 lan4 (uninitialized): PHY [dsa-0.0:01] driver [Generic PHY] (irq=POLL)
[    1.234939] mt7530 mdio-bus:00 lan3 (uninitialized): PHY [dsa-0.0:02] driver [Generic PHY] (irq=POLL)
[    1.245342] mt7530 mdio-bus:00 lan2 (uninitialized): PHY [dsa-0.0:03] driver [Generic PHY] (irq=POLL)
[    1.255740] mt7530 mdio-bus:00 lan1 (uninitialized): PHY [dsa-0.0:04] driver [Generic PHY] (irq=POLL)
[    1.265856] mt7530 mdio-bus:00: configuring for fixed/2500base-x link mode
[    1.273424] mt7530 mdio-bus:00: Link is Up - 2.5Gbps/Full - flow control rx/tx
[    1.274028] DSA: tree 0 setup
[    1.289339] VFS: Mounted root (squashfs filesystem) readonly on device 31:14.
[    1.296691] Freeing unused kernel memory: 448K
[    1.322904] Run /sbin/init as init process
[    1.326991]   with arguments:
[    1.329948]     /sbin/init
[    1.332645]   with environment:
[    1.335783]     HOME=/
[    1.338132]     TERM=linux
[    1.605832] init: Console is alive
[    1.609327] init: - watchdog -
[    2.005894] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    2.079275] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    2.095763] init: - preinit -
[    2.456736] mtk_soc_eth 1b100000.ethernet eth0: configuring for fixed/2500base-x link mode
[    2.465263] mtk_soc_eth 1b100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[    2.474072] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    2.481000] mt7530 mdio-bus:00 lan1: configuring for phy/gmii link mode
[    2.488126] 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
[    6.534746] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[    6.542019] overlayfs: "xino" feature enabled using 2 upper inode bits.
[    6.549650] urandom-seed: Seed file not found (/etc/urandom.seed)
[    6.637548] procd: - early -
[    6.640492] procd: - watchdog -
[    7.198790] procd: - watchdog -
[    7.265580] procd: - ubus -
[    7.324867] procd: - init -
Please press Enter to activate this console.
[    7.641507] urngd: v1.0.2 started.
[    7.684419] kmodloader: loading kernel modules from /etc/modules.d/*
[    7.761961] Loading modules backported from Linux version v5.15-rc6-0-g519d81956ee2
[    7.769661] Backport generated by backports.git v5.15-rc6-1-0-gd44432d6
[    7.785432] xt_time: kernel timezone is -0000
[    7.839784] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[    7.850093] mt7915e 0000:01:00.0: assign IRQ: got 136
[    7.855249] pci 0000:00:00.0: enabling bus mastering
[    7.860231] mt7915e 0000:01:00.0: enabling device (0000 -> 0002)
[    7.866320] mt7915e 0000:01:00.0: enabling bus mastering
[    7.942125] mt7622-wmac 18000000.wmac: HW/SW Version: 0x8a108a10, Build Time: 20190801210006a
[    7.942125]
[    8.026812] mt7915e 0000:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20201105222230a
[    8.026812]
[    8.120658] mt7622-wmac 18000000.wmac: N9 Firmware Version: 2.0, Build Time: 20200131180931
[    8.318387] mt7915e 0000:01:00.0: WM Firmware Version: ____000000, Build Time: 20201105222304
[    8.425716] mt7915e 0000:01:00.0: WA Firmware Version: DEV_000000, Build Time: 20201105222323
[    8.556902] PPP generic driver version 2.4.2
[    8.562068] NET: Registered protocol family 24
[    8.572583] kmodloader: done loading kernel modules from /etc/modules.d/*
[   14.046128] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   14.075671] jffs2_build_filesystem(): unlocking the mtd device...
[   14.075678] done.
[   14.083784] jffs2_build_filesystem(): erasing all blocks after the end marker...
[   14.418603] mtk_soc_eth 1b100000.ethernet eth0: Link is Down
[   14.435902] mtk_soc_eth 1b100000.ethernet eth0: configuring for fixed/2500base-x link mode
[   14.444995] mtk_soc_eth 1b100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[   14.454002] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   14.461546] mt7530 mdio-bus:00 lan1: configuring for phy/gmii link mode
[   14.469359] 8021q: adding VLAN 0 to HW filter on device lan1
[   14.477482] br-lan: port 1(lan1) entered blocking state
[   14.482749] br-lan: port 1(lan1) entered disabled state
[   14.488343] device lan1 entered promiscuous mode
[   14.493015] device eth0 entered promiscuous mode
[   14.506058] mt7530 mdio-bus:00 lan2: configuring for phy/gmii link mode
[   14.513249] 8021q: adding VLAN 0 to HW filter on device lan2
[   14.521232] br-lan: port 2(lan2) entered blocking state
[   14.526622] br-lan: port 2(lan2) entered disabled state
[   14.534906] device lan2 entered promiscuous mode
[   14.547103] mt7530 mdio-bus:00 lan3: configuring for phy/gmii link mode
[   14.554601] 8021q: adding VLAN 0 to HW filter on device lan3
[   14.563954] br-lan: port 3(lan3) entered blocking state
[   14.569183] br-lan: port 3(lan3) entered disabled state
[   14.575504] device lan3 entered promiscuous mode
[   14.588488] mt7530 mdio-bus:00 lan4: configuring for phy/gmii link mode
[   14.595796] 8021q: adding VLAN 0 to HW filter on device lan4
[   14.603760] br-lan: port 4(lan4) entered blocking state
[   14.608981] br-lan: port 4(lan4) entered disabled state
[   14.615090] device lan4 entered promiscuous mode
[   14.626159] mt7530 mdio-bus:00 wan: configuring for phy/gmii link mode
[   14.633233] 8021q: adding VLAN 0 to HW filter on device wan
[   14.637546] mt7530 mdio-bus:00 wan: Link is Up - 1Gbps/Full - flow control rx/tx
[   14.646642] IPv6: ADDRCONF(NETDEV_CHANGE): wan: link becomes ready
[   15.710598] done.
[   15.712545] jffs2: notice: (1842) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   15.761757] overlayfs: upper fs does not support tmpfile.
[   15.769453] overlayfs: "xino" feature enabled using 32 upper inode bits.
[   19.636069] mt7530 mdio-bus:00 lan1: Link is Up - 1Gbps/Full - flow control off
[   19.643425] br-lan: port 1(lan1) entered blocking state
[   19.648643] br-lan: port 1(lan1) entered forwarding state
[   19.654912] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   20.673969] mt7530 mdio-bus:00 lan1: Link is Down
[   20.678775] br-lan: port 1(lan1) entered disabled state
[   22.756065] mt7530 mdio-bus:00 lan1: Link is Up - 1Gbps/Full - flow control off
[   22.763417] br-lan: port 1(lan1) entered blocking state
[   22.768635] br-lan: port 1(lan1) entered forwarding state

BusyBox v1.34.1 (2021-10-30 07:47:02 UTC) built-in shell (ash)

_______                     ________        __
|       |.-----.-----.-----.|  |  |  |.----.|  |_
|   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
|_______||   __|_____|__|__||________||__|  |____|
|__| W I R E L E S S   F R E E D O M
-----------------------------------------------------
OpenWrt SNAPSHOT, r0+17889-b1c65e4a83
-----------------------------------------------------
=== 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:/#

WRC-X3200GST3

WSR-3200AX4Sに続き、3つ目のMT7622機。
機種発表の直後くらいに総務省の技適DBからMT7622搭載機であることを把握しており、今回某氏よりご提供頂きました。感謝。
ざっと見た限りでは特殊な個所も無さそうで、factoryも作れそうな雰囲気。
サポートのため弄っていくのでメモ。

Switch

zone WAN LAN
port
(WRC-X3200GST3)
INTERNET LAN4 LAN3 LAN2 LAN1
port
(MT7531)
port0 port1 port2 port3 port4

MAC

  • LAN: 04:AB:18:xx:xx:77 (Factory, 0x7FFF4 (hex))
  • WAN: 04:AB:18:xx:xx:78 (Factory, 0x7FFFA (hex))
  • 2.4G: 04:AB:18:xx:xx:79 (Factory, 0x4 (hex))
  • 5G: 04:AB:18:xx:xx:7A (none)

U-Boot

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

  • help
    MT7622> help
    ?       - alias for 'help'
    backup_message- print backup message.
    backup_mode- Enter backup mode
    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.
    detect_button- detect button
    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
    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
    http_upgrade- http_upgrade
    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.
    uip     - uip   - uip command
    
    version - print monitor, compiler and linker version
    

  • version
    MT7622> version
    
    U-Boot 2014.04-rc1-g0ae1633-dirty (Jul 02 2020 - 14:11:39)
    arm-linux-gcc (Buildroot 2014.11) 4.9.2
    GNU ld (GNU Binutils) 2.24
    

  • printenv
    MT7622> printenv
    W_R_mode=NULL
    admin_password=********
    arch=arm
    atf_filename=trustzone.bin
    baudrate=115200
    board=mt7622_evb
    board_id=602111601752
    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=run boot_rd_img;bootm
    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} ${loadaddr};image_blks 2048;nand write ${loadaddr} 0x2C0000 ${filesize};fi
    bootcmd=No
    bootdelay=5
    bootfile=iverson_uImage
    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_10=b. System Load SingleImage then write to Flash via TFTP.=run boot10
    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_4=5. System Load U-Boot then write to Flash via Serial.=run boot4
    bootmenu_5=6. System Load ATF then write to Flash via TFTP.=run boot5
    bootmenu_6=7. System Load Preloader then write to Flash via TFTP.=run boot6
    bootmenu_7=8. System Load ROM header then write to Flash via TFTP.=run boot7
    bootmenu_8=9. System Load CTP then write to Flash via TFTP.=run boot8
    bootmenu_9=a. System Load CTP then Boot to CTP (via Flash).=run boot9
    bootmenu_delay=30
    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
    hw_version=A1
    invaild_env=no
    ipaddr=192.168.2.1
    kernel_filename=1019_g01.bin
    load_image=kernel
    loadaddr=0x4007FF28
    model_id=WRC-X3200GST3
    preloader_filename=preloader_fpga7622_64_ldvt.bin
    serverip=192.168.2.2
    soc=mt7622
    stderr=serial
    stdin=serial
    stdout=serial
    uboot_filename=u-boot-mtk.bin
    vendor=mediatek
    wlan0_domain=0x41
    wlan0_guest_key=********
    wlan0_guest_ssid=e-tomo-****77
    wlan0_key=**********
    wlan0_ssid=elecom-****77
    wlan1_key=**********
    wlan1_ssid=elecom-****77
    wps_pin=********
    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: 4105/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.2.1
    baudrate    = 115200 bps
    TLB addr    = 0x5EFF0000
    relocaddr   = 0x5EF52000
    reloc off   = 0x1D152000
    irq_sp      = 0x5CF50F40
    sp start    = 0x5CF50F30
    

  • 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 = 2828
    0x1f-115 = 5
    GE Rext AnaCal Done! (8)(0x28)
    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)(2)(0x21) 0x1e_172=0x2120
    GE Tx offset AnaCal Done! (pair-1)(5)(0x5) 0x1e_172=0x2105
    GE Tx offset AnaCal Done! (pair-2)(3)(0x22) 0x1e_173=0x2220
    GE Tx offset AnaCal Done! (pair-3)(3)(0x22) 0x1e_173=0x2222
    GE Tx amp AnaCal Done! (pair-0)(1e_12 = 0x681a)
    GE Tx amp AnaCal Done! (pair-1)(1e_17 = 0x2020)
    GE Tx amp AnaCal Done! (pair-2)(1e_19 = 0x1d25)
    GE Tx amp AnaCal Done! (pair-3)(1e_21 = 0x1a22)
    PORT 0 RX_DC_OFFSET
    before pairA output = f
    after pairA output = 0
    before pairB output = f
    after pairB output = fe
    before pairC output = f
    after pairC output = 0
    before pairD output = d
    after pairD output = 1
    -------- gephy-calbration (port:1) --------
    CALDLY = 40
    GE R50 AnaCal Done! (11) (0x31)(0xb1)
    GE R50 AnaCal Done! (10) (0x32)(0xb2)
    GE R50 AnaCal Done! (9) (0x34)(0xb4)
    GE R50 AnaCal Done! (10) (0x32)(0xb2)
    GE 1e_174(0xb1b2), 1e_175(0xb4b2)
    GE Tx offset AnaCal Done! (pair-0)(3)(0x22) 0x1e_172=0x2220
    GE Tx offset AnaCal Done! (pair-1)(1)(0x1) 0x1e_172=0x2201
    GE Tx offset AnaCal Done! (pair-2)(7)(0x26) 0x1e_173=0x2620
    GE Tx offset AnaCal Done! (pair-3)(2)(0x2) 0x1e_173=0x2602
    GE Tx amp AnaCal Done! (pair-0)(1e_12 = 0x6c1b)
    GE Tx amp AnaCal Done! (pair-1)(1e_17 = 0x2121)
    GE Tx amp AnaCal Done! (pair-2)(1e_19 = 0x1820)
    GE Tx amp AnaCal Done! (pair-3)(1e_21 = 0x1a22)
    PORT 1 RX_DC_OFFSET
    before pairA output = f
    after pairA output = 1
    before pairB output = 1e
    after pairB output = 0
    before pairC output = e
    after pairC output = fe
    before pairD output = e
    after pairD output = 0
    -------- gephy-calbration (port:2) --------
    CALDLY = 40
    GE R50 AnaCal Done! (9) (0x34)(0xb4)
    GE R50 AnaCal Done! (9) (0x34)(0xb4)
    GE R50 AnaCal Done! (9) (0x34)(0xb4)
    GE R50 AnaCal Done! (9) (0x34)(0xb4)
    GE 1e_174(0xb4b4), 1e_175(0xb4b4)
    GE Tx offset AnaCal Done! (pair-0)(4)(0x23) 0x1e_172=0x2320
    GE Tx offset AnaCal Done! (pair-1)(8)(0x27) 0x1e_172=0x2327
    GE Tx offset AnaCal Done! (pair-2)(3)(0x22) 0x1e_173=0x2220
    GE Tx offset AnaCal Done! (pair-3)(5)(0x24) 0x1e_173=0x2224
    GE Tx amp AnaCal Done! (pair-0)(1e_12 = 0x5c17)
    GE Tx amp AnaCal Done! (pair-1)(1e_17 = 0x1d1d)
    GE Tx amp AnaCal Done! (pair-2)(1e_19 = 0x131b)
    GE Tx amp AnaCal Done! (pair-3)(1e_21 = 0x1c24)
    PORT 2 RX_DC_OFFSET
    before pairA output = e
    after pairA output = 1
    before pairB output = f
    after pairB output = ff
    before pairC output = e
    after pairC output = ff
    before pairD output = 1e
    after pairD output = 0
    -------- gephy-calbration (port:3) --------
    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! (9) (0x34)(0xb4)
    GE 1e_174(0xb2b4), 1e_175(0xb4b4)
    GE Tx offset AnaCal Done! (pair-0)(3)(0x22) 0x1e_172=0x2220
    GE Tx offset AnaCal Done! (pair-1)(2)(0x21) 0x1e_172=0x2221
    GE Tx offset AnaCal Done! (pair-2)(2)(0x2) 0x1e_173=0x220
    GE Tx offset AnaCal Done! (pair-3)(5)(0x24) 0x1e_173=0x224
    GE Tx amp AnaCal Done! (pair-0)(1e_12 = 0x4010)
    GE Tx amp AnaCal Done! (pair-1)(1e_17 = 0x1717)
    GE Tx amp AnaCal Done! (pair-2)(1e_19 = 0x161e)
    GE Tx amp AnaCal Done! (pair-3)(1e_21 = 0x1a22)
    PORT 3 RX_DC_OFFSET
    before pairA output = 1e
    after pairA output = ff
    before pairB output = f
    after pairB output = ff
    before pairC output = 1c
    after pairC output = ff
    before pairD output = f
    after pairD output = 0
    -------- gephy-calbration (port:4) --------
    CALDLY = 40
    GE R50 AnaCal Done! (6) (0x40)(0xc0)
    GE R50 AnaCal Done! (6) (0x40)(0xc0)
    GE R50 AnaCal Done! (6) (0x40)(0xc0)
    GE R50 AnaCal Done! (7) (0x37)(0xb7)
    GE 1e_174(0xc0c0), 1e_175(0xc0b7)
    GE Tx offset AnaCal Done! (pair-0)(3)(0x22) 0x1e_172=0x2220
    GE Tx offset AnaCal Done! (pair-1)(4)(0x23) 0x1e_172=0x2223
    GE Tx offset AnaCal Done! (pair-2)(6)(0x25) 0x1e_173=0x2520
    GE Tx offset AnaCal Done! (pair-3)(4)(0x23) 0x1e_173=0x2523
    GE Tx amp AnaCal Done! (pair-0)(1e_12 = 0x4812)
    GE Tx amp AnaCal Done! (pair-1)(1e_17 = 0x1010)
    GE Tx amp AnaCal Done! (pair-2)(1e_19 = 0x121a)
    GE Tx amp AnaCal Done! (pair-3)(1e_21 = 0x121a)
    PORT 4 RX_DC_OFFSET
    before pairA output = e
    after pairA output = 1
    before pairB output = e
    after pairB output = 1
    before pairC output = e
    after pairC output = ff
    before pairD output = 1e
    after pairD output = 1
    0x1b000014 = 0x00110214
    Using mtk_eth device
    TFTP from server 192.168.2.2; our IP address is 192.168.2.1
    Filename 'iverson_uImage'.
    Load address: 0x4007ff28
    Loading: *
    

Kernel

コンソールにパスワードが掛けられている為ログイン不可
failsafeも削除されている模様

  • 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)
    
    NAND read: device 0 offset 0x2c0000, size 0x2000
    8192 bytes read: OK
    [do_read_image_blks] This is a FIT image,img_size = 0x283974
    [do_read_image_blks] img_blks = 0x508
    [do_read_image_blks] img_align_size = 0x284000
    
    NAND read: device 0 offset 0x2c0000, size 0x284000
    2637824 bytes read: OK
    bootm flag=0, states=70f
    ## Loading kernel from FIT Image at 4007ff28 ...
    Using 'config@1' configuration
    Trying 'kernel@1' kernel subimage
    Description:  ARM64 OpenWrt Linux-4.4.198
    Type:         Kernel Image
    Compression:  lzma compressed
    Data Start:   0x40080010
    Data Size:    2606535 Bytes = 2.5 MiB
    Architecture: AArch64
    OS:           Linux
    Load Address: 0x41080000
    Entry Point:  0x41080000
    Hash algo:    crc32
    Hash value:   bc27cf14
    Hash algo:    sha1
    Hash value:   600157de1c764a08723a8bd3235be2ce3a4e50eb
    Verifying Hash Integrity ... crc32+ sha1+ OK
    ## Loading fdt from FIT Image at 4007ff28 ...
    Using 'config@1' configuration
    Trying 'fdt@1' fdt subimage
    Description:  ARM64 OpenWrt MTK-AX3200-MT7531 device tree blob
    Type:         Flat Device Tree
    Compression:  uncompressed
    Data Start:   0x402fc71c
    Data Size:    28248 Bytes = 27.6 KiB
    Architecture: AArch64
    Hash algo:    crc32
    Hash value:   f922ef34
    Hash algo:    sha1
    Hash value:   b2a3095ec197bec41e11c083a7c5e3a66e1b357a
    Verifying Hash Integrity ... crc32+ sha1+ OK
    Booting using the fdt blob at 0x402fc71c
    Uncompressing Kernel Image ... OK
    Loading Device Tree to 5cf45000, end 5cf4ee57 ... OK
    
    Starting kernel ...
    
    [ATF][     7.421554]save kernel info
    [ATF][     7.424490]Kernel_EL2
    [ATF][     7.427161]Kernel is 64Bit
    [ATF][     7.430249]pc=0x41080000, r0=0x5cf45000, 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.447947]el3_exit
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.4.198 (dbshadow@dbshadow-VirtualBox) (gcc version 5.4.0 (LEDE GCC 5.4.0 unknown) ) #0 SMP PREEMPT Mon Dec 28 13:05:43 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 @ffffffc01ffaa000 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 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: 497412K/524096K available (5104K kernel code, 402K rwdata, 1816K rodata, 324K init, 391K bss, 26684K 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 : 0xffffff8008746000 - 0xffffff8008797000   (   324 KB)
    [    0.000000]       .text : 0xffffff8008080000 - 0xffffff800857d000   (  5108 KB)
    [    0.000000]     .rodata : 0xffffff800857d000 - 0xffffff8008746000   (  1828 KB)
    [    0.000000]       .data : 0xffffff8008797000 - 0xffffff80087fbaa0   (   403 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.000058] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 191126102035 ns
    [    0.000227] Console: colour dummy device 80x25
    [    0.000243] Calibrating delay loop (skipped), value calculated using timer frequency.. 25.00 BogoMIPS (lpj=50000)
    [    0.000250] pid_max: default: 32768 minimum: 301
    [    0.000299] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
    [    0.000305] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes)
    [    0.000796] sched-energy: CPU device node has no sched-energy-costs
    [    0.000802] Invalid sched_group_energy for CPU0
    [    0.000806] CPU0: update cpu_capacity 1024
    [    0.000835] ASID allocator initialised with 32768 entries
    [    0.032097] Detected VIPT I-cache on CPU1
    [    0.032126] Invalid sched_group_energy for CPU1
    [    0.032128] CPU1: update cpu_capacity 1024
    [    0.032130] CPU1: Booted secondary processor [410fd034]
    [    0.032164] Brought up 2 CPUs
    [    0.032176] SMP: Total of 2 processors activated.
    [    0.032182] CPU features: detected feature: 32-bit EL0 Support
    [    0.032188] CPU: All CPU(s) started at EL2
    [    0.032200] alternatives: patching kernel code
    [    0.032274] Invalid sched_group_energy for CPU1
    [    0.032279] Invalid sched_group_energy for Cluster1
    [    0.032282] Invalid sched_group_energy for CPU0
    [    0.032286] Invalid sched_group_energy for Cluster0
    [    0.036346] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.036364] futex hash table entries: 512 (order: 4, 65536 bytes)
    [    0.036470] pinctrl core: initialized pinctrl subsystem
    [    0.036965] NET: Registered protocol family 16
    [    0.037372] [SPM] spm_base = ffffff8008026000
    [    0.037376] [SPM] spm_irq_0 = 6, spm_irq_1 = 7
    [    0.037380] [SPM] spm_irq_2 = 8, spm_irq_3 = 9
    [    0.037383] [SPM] set spm as wakeup devcie.
    [    0.037387] [SPM] spm_rtc cnt: 24414.
    [    0.052059] cpuidle: using governor menu
    [    0.052112] vdso: 2 pages (1 code @ ffffff8008583000, 1 data @ ffffff800879c000)
    [    0.052267] DMA: preallocated 256 KiB pool for atomic allocations
    [    0.052365] Serial: AMBA PL011 UART driver
    [    0.052420] [SPM] PWAKE_EN:1, PCMWDT_EN:0, BYPASS_SYSPWREQ:0, I2C_CHANNEL:2
    [    0.052424] [SLP] SLEEP_DPIDLE_EN:1, REPLACE_DEF_WAKESRC:0, SUSPEND_LOG_EN:1
    [    0.077785] vgaarb: loaded
    [    0.078031] SCSI subsystem initialized
    [    0.079768] rbus 18000000.wbsys: PCI host bridge to bus 0000:00
    [    0.079780] pci_bus 0000:00: root bus resource [mem 0x18000000-0x180fffff]
    [    0.079787] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    0.079806] pci 0000:00:00.0: [14c3:7622] type 00 class 0x000280
    [    0.079822] pci 0000:00:00.0: reg 0x10: [mem 0x18000000-0x1800000f 64bit]
    [    0.079829] pci 0000:00:00.0: reg 0x18: [mem 0x00000000-0x0000000f]
    [    0.079835] pci 0000:00:00.0: reg 0x1c: [mem 0x00000000-0x0000000f]
    [    0.079841] pci 0000:00:00.0: reg 0x20: [mem 0x00000000-0x0000000f]
    [    0.079847] pci 0000:00:00.0: reg 0x24: [mem 0x00000000-0x0000000f]
    [    0.079877] pci 0000:00:00.0: of_irq_parse_pci() failed with rc=-22
    [    0.080296] clocksource: Switched to clocksource arch_sys_counter
    [    0.086843] NET: Registered protocol family 2
    [    0.087219] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    [    0.087253] TCP bind hash table entries: 4096 (order: 4, 65536 bytes)
    [    0.087312] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.087356] UDP hash table entries: 256 (order: 1, 8192 bytes)
    [    0.087369] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    [    0.087472] NET: Registered protocol family 1
    [    0.087625] RPC: Registered named UNIX socket transport module.
    [    0.087630] RPC: Registered udp transport module.
    [    0.087633] RPC: Registered tcp transport module.
    [    0.087636] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.087658] PCI: CLS 0 bytes, default 128
    [    0.095854] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.096469] jffs2: version 2.2 (NAND) (SUMMARY) (ZLIB) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
    [    0.096960] fuse init (API version 7.23)
    [    0.097612] io scheduler noop registered
    [    0.097798] io scheduler cfq registered (default)
    [    0.126341] mtk-pcie 1a143000.pcie: pcie rc 0 linkup success
    [    0.126490] mtk-pcie 1a143000.pcie: PCI host bridge to bus 0001:00
    [    0.126501] pci_bus 0001:00: root bus resource [??? 0x00000000 flags 0x0]
    [    0.126507] pci_bus 0001:00: root bus resource [mem 0x20000000-0x27ffffff]
    [    0.126514] pci_bus 0001:00: root bus resource [bus 00-ff]
    [    0.126550] pci 0001:00:00.0: [14c3:5396] type 01 class 0x060400
    [    0.126603] pci 0001:00:00.0: reg 0x10: [mem 0x00000000-0xffffffff 64bit pref]
    [    0.126724] pci 0001:00:00.0: of_irq_parse_pci() failed with rc=-22
    [    0.126849] pci 0001:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    0.127069] pci 0001:01:00.0: [14c3:7915] type 00 class 0x000280
    [    0.127374] pci 0001:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit pref]
    [    0.127487] pci 0001:01:00.0: reg 0x18: [mem 0x00000000-0x00003fff 64bit pref]
    [    0.127600] pci 0001:01:00.0: reg 0x20: [mem 0x00000000-0x00000fff 64bit pref]
    [    0.128113] pci 0001:01:00.0: supports D1 D2
    [    0.128119] pci 0001:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
    [    0.136374] pci_bus 0001:01: busn_res: [bus 01-ff] end is updated to 01
    [    0.136413] pci 0001:00:00.0: BAR 0: no space for [mem size 0xffffffff 64bit pref]
    [    0.136420] pci 0001:00:00.0: BAR 0: failed to assign [mem size 0xffffffff 64bit pref]
    [    0.136426] pci 0001:00:00.0: BAR 8: assigned [mem 0x20000000-0x201fffff]
    [    0.136435] pci 0001:01:00.0: BAR 0: assigned [mem 0x20000000-0x200fffff 64bit pref]
    [    0.136526] pci 0001:01:00.0: BAR 2: assigned [mem 0x20100000-0x20103fff 64bit pref]
    [    0.136616] pci 0001:01:00.0: BAR 4: assigned [mem 0x20104000-0x20104fff 64bit pref]
    [    0.136706] pci 0001:00:00.0: PCI bridge to [bus 01]
    [    0.136717] pci 0001:00:00.0:   bridge window [mem 0x20000000-0x201fffff]
    [    0.136775] pcieport 0001:00:00.0: of_irq_parse_pci() failed with rc=-22
    [    0.136790] pcieport 0001:00:00.0: enabling device (0000 -> 0002)
    [    0.136968] pcieport 0001:00:00.0: Signaling PME through PCIe PME interrupt
    [    0.136974] pci 0001:01:00.0: Signaling PME through PCIe PME interrupt
    [    0.136983] pcie_pme 0001:00:00.0:pcie01: service driver pcie_pme loaded
    [    0.237854] mtk-pcie 1a145000.pcie: Port1 link down
    [    0.238022] mtk-pcie 1a145000.pcie: PCI host bridge to bus 0002:00
    [    0.238029] pci_bus 0002:00: root bus resource [??? 0x00000000 flags 0x0]
    [    0.238035] pci_bus 0002:00: root bus resource [mem 0x28000000-0x2fffffff]
    [    0.238041] pci_bus 0002:00: root bus resource [bus 00-ff]
    [    0.242027] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    [    0.243093] console [ttyS0] disabled
    [    0.263328] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 232, base_baud = 1562500) is a ST16650V2
    [    1.155059] console [ttyS0] enabled
    [    1.159278] Unable to detect cache hierarchy for CPU 0
    [    1.167444] loop: module loaded
    [    1.171077] dump_power_table[0] = { .cpufreq_khz = 1350000,  .cpufreq_ncpu = 2,      .cpufreq_power = 995 }
    [    1.180301] dump_power_table[1] = { .cpufreq_khz = 1262500,  .cpufreq_ncpu = 2,      .cpufreq_power = 811 }
    [    1.189520] dump_power_table[2] = { .cpufreq_khz = 1137500,  .cpufreq_ncpu = 2,      .cpufreq_power = 736 }
    [    1.198759] dump_power_table[3] = { .cpufreq_khz = 1025000,  .cpufreq_ncpu = 2,      .cpufreq_power = 624 }
    [    1.207977] dump_power_table[4] = { .cpufreq_khz = 1350000,  .cpufreq_ncpu = 1,      .cpufreq_power = 517 }
    [    1.217192] dump_power_table[5] = { .cpufreq_khz = 812500,   .cpufreq_ncpu = 2,      .cpufreq_power = 492 }
    [    1.226321] dump_power_table[6] = { .cpufreq_khz = 1262500,  .cpufreq_ncpu = 1,      .cpufreq_power = 377 }
    [    1.235537] dump_power_table[7] = { .cpufreq_khz = 600000,   .cpufreq_ncpu = 2,      .cpufreq_power = 376 }
    [    1.244667] dump_power_table[8] = { .cpufreq_khz = 1137500,  .cpufreq_ncpu = 1,      .cpufreq_power = 333 }
    [    1.253881] dump_power_table[9] = { .cpufreq_khz = 437500,   .cpufreq_ncpu = 2,      .cpufreq_power = 295 }
    [    1.263011] dump_power_table[10] = { .cpufreq_khz = 1025000, .cpufreq_ncpu = 1,      .cpufreq_power = 258 }
    [    1.272316] dump_power_table[11] = { .cpufreq_khz = 300000,  .cpufreq_ncpu = 2,      .cpufreq_power = 225 }
    [    1.281531] dump_power_table[12] = { .cpufreq_khz = 812500,  .cpufreq_ncpu = 1,      .cpufreq_power = 204 }
    [    1.290745] dump_power_table[13] = { .cpufreq_khz = 600000,  .cpufreq_ncpu = 1,      .cpufreq_power = 166 }
    [    1.299958] dump_power_table[14] = { .cpufreq_khz = 437500,  .cpufreq_ncpu = 1,      .cpufreq_power = 140 }
    [    1.309173] dump_power_table[15] = { .cpufreq_khz = 300000,  .cpufreq_ncpu = 1,      .cpufreq_power = 119 }
    [    1.319568] [cal] calefuse1  = 0x82f4eb80
    [    1.323502] [cal] calefuse2  = 0x728010
    [    1.327252] [cal] g_adc_ge_t = 0x34e
    [    1.330824] [cal] g_adc_oe_t = 0x20b
    [    1.334398] [cal] g_degc_cali        = 0x2e
    [    1.337969] [cal] g_adc_cali_en_t    = 0x1
    [    1.341803] [cal] g_o_slope  = 0x0
    [    1.345114] [cal] g_o_slope_sign     = 0x0
    [    1.348861] [cal] g_id               = 0x0
    [    1.351818] [cal] g_o_vtsmcu1        = 0x0
    [    1.355302] [cal] g_o_vtsmcu2        = 0x1ca
    [    1.358960] [cal] g_o_vtsmcu3        = 0x0
    [    1.362444] [cal] g_o_vtsmcu4        = 0x0
    [    1.365928] [cal] g_ge               = 0x32f
    [    1.369063] [cal] g_gain             = 0x2a3f
    [    1.372460] [cal] g_x_roomt1 = 0x1f51
    [    1.379035] MTK-BTIF[E]hal_btif_clk_get_and_prepare(286):[CCF]clk_btif=ffffffc003196280
    [    1.387062] MTK-BTIF[E]hal_btif_clk_get_and_prepare(292):[CCF]clk_btif_apdma=ffffffc003196580
    [    1.397412] [btmtk_err] btmtk_get_irq: irq_id:239 irq_flags:8
    [    1.414122] Recognize NAND: ID [
    [    1.417193] ef aa
    [    1.419202] 21 [    1.420959] ], [Winbond 1Gb], Page[2048]B, Spare [64]B Total [128]MB
    [    1.427496] nand: device found, Manufacturer ID: 0xef, Chip ID: 0xaa
    [    1.433850] nand: Winbond NAND 128MiB 1,8V 8-bit
    [    1.438465] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    [    1.446033] [NAND]select ecc bit:4, sparesize :64
    [    1.451622] [BBT] BMT.v2 is found at 0x3ff
    [    1.455742] 9 ofpart partitions found on MTD device MTK-SNAND
    [    1.461486] Creating 9 MTD partitions on "MTK-SNAND":
    [    1.466537] 0x000000000000-0x000000080000 : "Preloader"
    [    1.472876] 0x000000080000-0x0000000c0000 : "ATF"
    [    1.478326] 0x0000000c0000-0x000000140000 : "Bootloader"
    [    1.488699] 0x000000140000-0x0000001c0000 : "Config"
    [    1.494693] 0x0000001c0000-0x0000002c0000 : "Factory"
    [    1.501350] 0x0000002c0000-0x000001bc0000 : "firmware"
    [    1.539159] 2 fit-fw partitions found on MTD device firmware
    [    1.544818] 0x0000002c0000-0x000000560000 : "kernel"
    [    1.553261] 0x000000560000-0x000001bc0000 : "rootfs"
    [    1.584286] mtd: device 7 (rootfs) set to be root filesystem
    [    1.589966] 0x000001bc0000-0x0000020c0000 : "tm_pattern"
    [    1.601446] 0x0000020c0000-0x0000021c0000 : "tm_key"
    [    1.608023] 0x0000021c0000-0x0000030c0000 : "rootfs_data"
    [    1.631047] mtk-snand 1100d000.snfi: [mtk_snand] probe successfully!
    [    1.638080] libphy: Fixed MDIO Bus: probed
    [    1.642612] sean debug physpeed = 2500
    [    1.669055] libphy: mdio: probed
    [    1.672309] mtk_soc_eth 1b100000.ethernet: generated random MAC address 5a:3f:9e:62:a8:6f
    [    1.680666] mtk_soc_eth 1b100000.ethernet: connected mac 0 to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY]
    [    1.691341] mtk_soc_eth 1b100000.ethernet eth0: mediatek frame engine at 0xffffff8008940000, irq 248
    [    1.700498] mtk_soc_eth 1b100000.ethernet: generated random MAC address ea:30:fd:6b:f0:2f
    [    1.708834] mtk_soc_eth 1b100000.ethernet: connected mac 1 to PHY at fixed-0:01 [uid=00000000, driver=Generic PHY]
    [    1.719462] mtk_soc_eth 1b100000.ethernet eth1: mediatek frame engine at 0xffffff8008940000, irq 248
    [    1.728600] netif_napi_add() called with weight 256 on device
    [    1.735628] MTK_WDT_NONRST_REG(20000000)
    [    1.739740] mtk-wdt 10212000.watchdog: register restart_handler on reboot_notifier_list for psci reset
    [    1.749062] mtk-wdt 10212000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
    [    1.756989] register cpuidle driver!!!!!!!!!!!!!!!!!
    [    1.764491] nf_conntrack version 0.5.0 (3886 buckets, 15544 max)
    [    1.771324] NET: Registered protocol family 10
    [    1.776535] sit: IPv6 over IPv4 tunneling driver
    [    1.781561] NET: Registered protocol family 17
    [    1.786086] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
    [    1.798696] 8021q: 802.1Q VLAN Support v1.8
    [    1.803276] registered taskstats version 1
    [    2.344624] mt753x gsw@0: Switch is MediaTek MT7531BE rev 1
    [    2.354784] mt753x gsw@0: HWSTRAP=0xff XTAL=25MHz
    [    2.630099] random: nonblocking pool is initialized
    [    2.680318] mtk_soc_eth 1b100000.ethernet: path gmac1_sgmii in set_mux_gdm1_to_gmac1_esw updated = 1
    [    2.689456] mtk_soc_eth 1b100000.ethernet: mux mux_gmac2_gmac0_to_gephy isn't present on the SoC
    [    2.698242] mtk_soc_eth 1b100000.ethernet: mux mux_u3_gmac2_to_qphy isn't present on the SoC
    [    2.706679] mtk_soc_eth 1b100000.ethernet: path gmac1_sgmii in set_mux_gmac1_gmac2_to_sgmii_rgmii updated = 1
    [    2.716588] mtk_soc_eth 1b100000.ethernet: mux mux_gmac12_to_gephy_sgmii isn't present on the SoC
    [    2.725538] mtk_soc_eth 1b100000.ethernet: path gmac2_rgmii in set_mux_gdm1_to_gmac1_esw updated = 0
    [    2.728352] libphy: mt753x_mdio: probed
    [    2.728354] [LOG]|WIRE| LAN Starting
    [    2.742080] mtk_soc_eth 1b100000.ethernet: mux mux_gmac2_gmac0_to_gephy isn't present on the SoC
    [    2.750870] mtk_soc_eth 1b100000.ethernet: mux mux_u3_gmac2_to_qphy isn't present on the SoC
    [    2.759312] mtk_soc_eth 1b100000.ethernet: path gmac2_rgmii in set_mux_gmac1_gmac2_to_sgmii_rgmii updated = 0
    [    2.769236] mtk_soc_eth 1b100000.ethernet: mux mux_gmac12_to_gephy_sgmii isn't present on the SoC
    [    3.001631] mt753x gsw@0: >>>>>>>>>>>>>>>>>>>>>>>>>>>>> START CALIBRATION:
    [    3.009912] mt753x gsw@0: -------- gephy-calbration (port:0) --------
    [    3.027494] CALDLY = 40
    [    3.098186] 0x1e-e0 = 2828
    [    3.103057] 0x1f-115 = 5
    [    3.105589]   GE Rext AnaCal Done! (8)(0x28)
    [    3.185586]  GE R50 AnaCal Done! (10) (0x32)(0xb2)
    [    3.253980]  GE R50 AnaCal Done! (9) (0x34)(0xb4)
    [    3.322283]  GE R50 AnaCal Done! (9) (0x34)(0xb4)
    [    3.395309]  GE R50 AnaCal Done! (10) (0x32)(0xb2)
    [    3.403702]  GE 1e_174(0xb2b4), 1e_175(0xb4b2)
    [    3.447003]  GE Tx offset AnaCal Done! (pair-0)(2)(0x21) 0x1e_172=0x2120
    [    3.491396]  GE Tx offset AnaCal Done! (pair-1)(5)(0x5) 0x1e_172=0x2105
    [    3.524934]  GE Tx offset AnaCal Done! (pair-2)(3)(0x22) 0x1e_173=0x2220
    [    3.558552]  GE Tx offset AnaCal Done! (pair-3)(3)(0x22) 0x1e_173=0x2222
    [    3.652512]  GE Tx amp AnaCal Done! (pair-0)(1e_12 = 0x681a)
    [    3.743394]  GE Tx amp AnaCal Done! (pair-1)(1e_17 = 0x2020)
    [    3.817982]  GE Tx amp AnaCal Done! (pair-2)(1e_19 = 0x1d25)
    [    3.866017]  GE Tx amp AnaCal Done! (pair-3)(1e_21 = 0x1a22)
    [    3.920215] PORT 0 RX_DC_OFFSET
    [    3.934632] before pairA output = f
    [    3.940223] after pairA output = ff
    [    3.945729] before pairB output = f
    [    3.951314] after pairB output = fe
    [    3.956822] before pairC output = f
    [    3.962409] after pairC output = 0
    [    3.967831] before pairD output = d
    [    3.973421] after pairD output = 1
    [    3.977126] mt753x gsw@0: -------- gephy-calbration (port:1) --------
    [    3.993938] CALDLY = 40
    [    4.067052]  GE R50 AnaCal Done! (11) (0x31)(0xb1)
    [    4.136704]  GE R50 AnaCal Done! (10) (0x32)(0xb2)
    [    4.200974]  GE R50 AnaCal Done! (9) (0x34)(0xb4)
    [    4.270506]  GE R50 AnaCal Done! (10) (0x32)(0xb2)
    [    4.278907]  GE 1e_174(0xb1b2), 1e_175(0xb4b2)
    [    4.327560]  GE Tx offset AnaCal Done! (pair-0)(3)(0x22) 0x1e_172=0x2220
    [    4.350417]  GE Tx offset AnaCal Done! (pair-1)(1)(0x1) 0x1e_172=0x2201
    [    4.405519]  GE Tx offset AnaCal Done! (pair-2)(7)(0x26) 0x1e_173=0x2620
    [    4.433743]  GE Tx offset AnaCal Done! (pair-3)(2)(0x2) 0x1e_173=0x2602
    [    4.527599]  GE Tx amp AnaCal Done! (pair-0)(1e_12 = 0x6c1b)
    [    4.618478]  GE Tx amp AnaCal Done! (pair-1)(1e_17 = 0x2121)
    [    4.653104]  GE Tx amp AnaCal Done! (pair-2)(1e_19 = 0x1820)
    [    4.701148]  GE Tx amp AnaCal Done! (pair-3)(1e_21 = 0x1a22)
    [    4.755454] PORT 1 RX_DC_OFFSET
    [    4.769754] before pairA output = f
    [    4.775344] after pairA output = 1
    [    4.780768] before pairB output = 1e
    [    4.786442] after pairB output = 0
    [    4.791864] before pairC output = d
    [    4.797449] after pairC output = 1
    [    4.802865] before pairD output = e
    [    4.808466] after pairD output = 0
    [    4.812164] mt753x gsw@0: -------- gephy-calbration (port:2) --------
    [    4.829002] CALDLY = 40
    [    4.891195]  GE R50 AnaCal Done! (9) (0x34)(0xb4)
    [    4.955330]  GE R50 AnaCal Done! (9) (0x34)(0xb4)
    [    5.019500]  GE R50 AnaCal Done! (9) (0x34)(0xb4)
    [    5.083668]  GE R50 AnaCal Done! (9) (0x34)(0xb4)
    [    5.091964]  GE 1e_174(0xb4b4), 1e_175(0xb4b4)
    [    5.146013]  GE Tx offset AnaCal Done! (pair-0)(4)(0x23) 0x1e_172=0x2320
    [    5.206539]  GE Tx offset AnaCal Done! (pair-1)(8)(0x27) 0x1e_172=0x2327
    [    5.240142]  GE Tx offset AnaCal Done! (pair-2)(3)(0x22) 0x1e_173=0x2220
    [    5.279163]  GE Tx offset AnaCal Done! (pair-3)(4)(0x23) 0x1e_173=0x2223
    [    5.352991]  GE Tx amp AnaCal Done! (pair-0)(1e_12 = 0x5c17)
    [    5.429952]  GE Tx amp AnaCal Done! (pair-1)(1e_17 = 0x1e1e)
    [    5.490838]  GE Tx amp AnaCal Done! (pair-2)(1e_19 = 0x131b)
    [    5.551763]  GE Tx amp AnaCal Done! (pair-3)(1e_21 = 0x1c24)
    [    5.605619] PORT 2 RX_DC_OFFSET
    [    5.619927] before pairA output = e
    [    5.625503] after pairA output = 1
    [    5.630905] before pairB output = f
    [    5.636470] after pairB output = ff
    [    5.641952] before pairC output = e
    [    5.647521] after pairC output = ff
    [    5.653010] before pairD output = 1e
    [    5.658667] after pairD output = ff
    [    5.662458] mt753x gsw@0: -------- gephy-calbration (port:3) --------
    [    5.679183] CALDLY = 40
    [    5.746294]  GE R50 AnaCal Done! (10) (0x32)(0xb2)
    [    5.809847]  GE R50 AnaCal Done! (9) (0x34)(0xb4)
    [    5.873978]  GE R50 AnaCal Done! (9) (0x34)(0xb4)
    [    5.941761]  GE R50 AnaCal Done! (9) (0x34)(0xb4)
    [    5.950321]  GE 1e_174(0xb2b4), 1e_175(0xb4b4)
    [    6.002115]  GE Tx offset AnaCal Done! (pair-0)(3)(0x22) 0x1e_172=0x2220
    [    6.026086]  GE Tx offset AnaCal Done! (pair-1)(1)(0x1) 0x1e_172=0x2201
    [    6.055727]  GE Tx offset AnaCal Done! (pair-2)(2)(0x2) 0x1e_173=0x220
    [    6.102619]  GE Tx offset AnaCal Done! (pair-3)(5)(0x24) 0x1e_173=0x224
    [    6.231292]  GE Tx amp AnaCal Done! (pair-0)(1e_12 = 0x4010)
    [    6.270766]  GE Tx amp AnaCal Done! (pair-1)(1e_17 = 0x1717)
    [    6.314593]  GE Tx amp AnaCal Done! (pair-2)(1e_19 = 0x161e)
    [    6.358421]  GE Tx amp AnaCal Done! (pair-3)(1e_21 = 0x1a22)
    [    6.416195] PORT 3 RX_DC_OFFSET
    [    6.431394] before pairA output = 1e
    [    6.437218] after pairA output = ff
    [    6.442863] before pairB output = f
    [    6.448592] after pairB output = ff
    [    6.454240] before pairC output = 1c
    [    6.460057] after pairC output = ff
    [    6.465709] before pairD output = f
    [    6.471444] after pairD output = 0
    [    6.475173] mt753x gsw@0: -------- gephy-calbration (port:4) --------
    [    6.492742] CALDLY = 40
    [    6.547730]  GE R50 AnaCal Done! (7) (0x37)(0xb7)
    [    6.604495]  GE R50 AnaCal Done! (7) (0x37)(0xb7)
    [    6.655508]  GE R50 AnaCal Done! (6) (0x40)(0xc0)
    [    6.718073]  GE R50 AnaCal Done! (8) (0x35)(0xb5)
    [    6.726650]  GE 1e_174(0xb7b7), 1e_175(0xc0b5)
    [    6.777823]  GE Tx offset AnaCal Done! (pair-0)(3)(0x22) 0x1e_172=0x2220
    [    6.811436]  GE Tx offset AnaCal Done! (pair-1)(3)(0x22) 0x1e_172=0x2222
    [    6.860845]  GE Tx offset AnaCal Done! (pair-2)(6)(0x25) 0x1e_173=0x2520
    [    6.899442]  GE Tx offset AnaCal Done! (pair-3)(4)(0x23) 0x1e_173=0x2523
    [    7.005871]  GE Tx amp AnaCal Done! (pair-0)(1e_12 = 0x4812)
    [    7.082694]  GE Tx amp AnaCal Done! (pair-1)(1e_17 = 0x1010)
    [    7.150267]  GE Tx amp AnaCal Done! (pair-2)(1e_19 = 0x121a)
    [    7.217848]  GE Tx amp AnaCal Done! (pair-3)(1e_21 = 0x121a)
    [    7.271702] PORT 4 RX_DC_OFFSET
    [    7.286032] before pairA output = e
    [    7.291596] after pairA output = 1
    [    7.296992] before pairB output = e
    [    7.302558] after pairB output = 0
    [    7.307953] before pairC output = e
    [    7.313521] after pairC output = fe
    [    7.319008] before pairD output = 1e
    [    7.324660] after pairD output = 1
    [    7.331318] [SPM] pwrap node has not register regmap
    [    7.336764] regulator regulator.1: info->modeset_reg 0xc = 0x181c32a2
    [    7.343963] [SVS] DCVALUES is minus, set 0
    [    7.348229] regulator regulator.1: info->modeset_reg 0xc = 0x101c32a2
    [    7.381374] VFS: Mounted root (squashfs filesystem) readonly on device 31:7.
    [    7.388821] Freeing unused kernel memory: 324K
    [    7.393277] This architecture does not have kernel memory protection.
    [    7.731352] init: Console is alive
    [    7.734892] init: - watchdog -
    [    8.193995] kmodloader: loading kernel modules from /etc/modules-boot.d/*
    [    8.224354] gpio-keys gpio-keys: failed to set debounce_interval for gpio:511
    [    8.238177] libata version 3.00 loaded.
    [    8.243915] ahci 1a200000.sata: forcing port_map 0x0 -> 0x1
    [    8.249588] ahci 1a200000.sata: AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl platform mode
    [    8.258126] ahci 1a200000.sata: flags: ncq sntf pm clo only pmp pio slum part ccc apst
    [    8.270716] scsi host0: ahci
    [    8.273826] ata1: SATA max UDMA/133 mmio [mem 0x1a200000-0x1a2010ff] port 0x100 irq 247
    [    8.600315] ata1: SATA link down (SStatus 0 SControl 300)
    [    8.606046] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
    [    8.614069] init: - preinit -
    Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
    [   13.404730] jffs2: notice: (844) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
    [   13.422516] mount_root: switching to jffs2 overlay
    [   13.438279] urandom-seed: Seeding with /etc/urandom.seed
    [   13.515617] procd: - early -
    [   13.518569] procd: - watchdog -
    [   14.084579] procd: - watchdog -
    [   14.087834] procd: - ubus -
    [   14.175961] procd: - init -
    Please press Enter to activate this console.
    [   14.707469] kmodloader: loading kernel modules from /etc/modules.d/*
    [   14.733025] l2tp_core: L2TP core driver, V2.0
    [   14.737965] l2tp_netlink: L2TP netlink interface
    [   14.743055] gre: GRE over IPv4 demultiplexor driver
    [   14.748454] ip_gre: GRE over IPv4 tunneling driver
    [   14.755166] ip6_tables: (C) 2000-2006 Netfilter Core Team
    [   15.160088] cryptodev: driver 1.8 loaded.
    [   15.348868] clink: Unknown symbol wifi_led_2g_update (err 0)
    [   15.354731] clink: Unknown symbol wifi_led_5g_update (err 0)
    [   15.418273] Bridge firewalling registered
    [   15.422608] clink: Unknown symbol wifi_led_2g_update (err 0)
    [   15.428391] clink: Unknown symbol wifi_led_5g_update (err 0)
    [   15.447991] Ebtables v2.0 registered
    [   15.453371] ip_tables: (C) 2000-2006 Netfilter Core Team
    [   15.461356] -->mtfwd_init(ver:1.0)<--
    [   15.467307] mediatek_soc_hnat 1b100000.hnat: wan = eth1
    [   15.473135] mediatek_soc_hnat 1b100000.hnat: lan = eth0
    [   15.478590] mediatek_soc_hnat 1b100000.hnat: ppd = eth0
    [   15.483914] mediatek_soc_hnat 1b100000.hnat: gmac num = 2
    [   15.490019] mediatek_soc_hnat 1b100000.hnat: FOE entry number = 8192
    [   15.496965] mediatek_soc_hnat 1b100000.hnat: hwnat start
    [   15.619017] Netfilter messages via NETLINK v0.30.
    [   15.639981] xt_time: kernel timezone is -0000
    [   15.645614] clink: Unknown symbol wifi_led_2g_update (err 0)
    [   15.651666] clink: Unknown symbol wifi_led_5g_update (err 0)
    [   16.555135] register mt_drv
    [   16.558302] mt_drv 0001:01:00.0: enabling device (0000 -> 0002)
    [   16.570298]
    [   16.570298]
    [   16.570298] === pAd = ffffff8009901000, size = 13398784 ===
    [   16.570298]
    [   16.580851] <-- RTMPAllocAdapterBlock, Status=0
    [   16.585390] PCI CSRBaseAddress =0xffffff8009800000, csr_addr=0xffffff8009800000!
    [   16.592806] RTMPInitPCIeDevice():device_id=0x7915
    [   16.597512] mt7915_init()-->
    [   16.600395] Use 1st iPAiLNA default bin.
    [   16.604378] <--mt7915_init()
    [   16.607984] Rx[0] Ring: total 24576 bytes allocated
    [   16.612944] Rx[1] Ring: total 24576 bytes allocated
    [   16.618299] Rx[2] Ring: total 8192 bytes allocated
    [   16.623959] Rx[3] Ring: total 16384 bytes allocated
    [   16.629307] Rx[4] Ring: total 8192 bytes allocated
    [   16.634119] <-- pci_alloc_tx_rx_ring_mem, Status=0
    [   16.997723] mt7622_mt_wifi: module license 'Proprietary' taints kernel.
    [   17.004393] Disabling lock debugging due to kernel taint
    [   17.025605] register mt_drv
    [   17.032179]
    [   17.032179] == pAd = ffffff800ad01000, size = 6220544, Status=0 ==
    [   17.039963] AP Driver version-5.0.5.4
    [   17.043698] read sub id = 2
    [   17.046555] Use 1st iPAiLNA default bin.
    [   17.050536] Use 1st /etc_ro/wlan/MT7622_EEPROM.bin default bin.
    [   17.056490] <--mt7622_init()
    [   17.060123] <-- RTMPAllocTxRxRingMemory, Status=0
    [   17.073154] PPP generic driver version 2.4.2
    [   17.078269] PPP MPPE Compression module registered
    [   17.084122] NET: Registered protocol family 24
    [   17.089539] PPTP driver version 0.8.5
    [   17.094459] Inserting Cameo Netlink module.
    [   17.102095] l2tp_ppp: PPPoL2TP kernel driver, V2.0
    [   17.108497] whnat_module_init(): module init and register callback for whnat
    [   17.115745] create whnat_ctrl ok!!!
    [   17.119402] wed_slot_map_get(): assign slot_id:0 for entry: 0!
    [   17.125420] wed_slot_map_get(): assign slot_id:1 for entry: 1!
    [   17.131428] whnat_hif_pcie_mirror_probe(): hif_cfg base addr=ffffff80097d2400
    [   17.140269] kmodloader: done loading kernel modules from /etc/modules.d/*
    UHTTP crt Checked
    [   22.471073] device eth0 entered promiscuous mode
    [   22.485524] br-lan: port 1(eth0) entered forwarding state
    [   22.491016] br-lan: port 1(eth0) entered forwarding state
    main init
    main init
    page=[/setup/index.html]
    count=[43]
    [   22.951249] jffs2: CLEANMARKER node found at 0x00000000 has totlen 0xc != normal 0x0
    page=[/setup/index.html]
    count=[43]
    [   23.027494] jffs2: Empty flash at 0x0000fffc ends at 0x00010000
    [   23.036263] jffs2: CLEANMARKER node found at 0x00010000 has totlen 0xc != normal 0x0
    [   23.076572] jffs2: CLEANMARKER node found at 0x00020000 has totlen 0xc != normal 0x0
    [   23.137868] jffs2: Empty flash at 0x0002fffc ends at 0x00030000
    [   23.144187] jffs2: CLEANMARKER node found at 0x00030000 has totlen 0xc != normal 0x0
    [   23.160490] jffs2: CLEANMARKER node found at 0x00040000 has totlen 0xc != normal 0x0
    [   23.189239] jffs2: CLEANMARKER node found at 0x00050000 has totlen 0xc != normal 0x0
    [   23.241586] jffs2: CLEANMARKER node found at 0x00060000 has totlen 0xc != normal 0x0
    [   23.275352] jffs2: CLEANMARKER node found at 0x00070000 has totlen 0xc != normal 0x0
    [   23.321857] jffs2: CLEANMARKER node found at 0x00080000 has totlen 0xc != normal 0x0
    [   23.364383] jffs2: CLEANMARKER node found at 0x00090000 has totlen 0xc != normal 0x0
    [   23.410071] jffs2: CLEANMARKER node found at 0x000a0000 has totlen 0xc != normal 0x0
    [   23.431635] jffs2: CLEANMARKER node found at 0x000b0000 has totlen 0xc != normal 0x0
    [   23.440253] jffs2: CLEANMARKER node found at 0x000c0000 has totlen 0xc != normal 0x0
    [   23.462910] jffs2: CLEANMARKER node found at 0x000d0000 has totlen 0xc != normal 0x0
    [   23.472227] jffs2: CLEANMARKER node found at 0x000e0000 has totlen 0xc != normal 0x0
    [   23.494812] jffs2: CLEANMARKER node found at 0x000f0000 has totlen 0xc != normal 0x0
    [   23.503792] jffs2: CLEANMARKER node found at 0x00100000 has totlen 0xc != normal 0x0
    [   23.533421] jffs2: CLEANMARKER node found at 0x00110000 has totlen 0xc != normal 0x0
    [   23.544388] jffs2: CLEANMARKER node found at 0x00120000 has totlen 0xc != normal 0x0
    [   23.657519] jffs2: notice: (3264) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
    [   24.333926] ra0: ===> main_virtual_if_open
    [   24.338292] load l1profile succeed!
    [   24.492303] br-lan: port 1(eth0) entered forwarding state
    [   24.645328] APWdsInitialize():WdsEntry Number=4
    [   24.651997] RtmpOSFileOpen(): Error 2 opening /etc/Wireless/RT2860/RT2860_5G.dat
    [   24.659498] Open file "/etc/Wireless/RT2860/RT2860_5G.dat" failed!
    [   24.666101] E2pAccessMode=2
    [   24.669189] SSID[0]=elecom-bf0477, EdcaIdx=0
    [   24.673758] BSS0 PhyMode=14
    [   24.676584] wmode_band_equal(): Band Equal!
    [   24.680853] auto_ch_select_set_cfg(): BandIdx0, AutoChannelAtBootup=1, AutoChannelAlg = 3
    [   24.689705] BandSteering=0
    [   24.692478] BndStrgBssIdx=
    [   24.695291] [TxPower] BAND0: 100
    [   24.698895] 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
    [   24.731129] [PERCENTAGEenable] BAND0: 1
    [   24.735156] [BFBACKOFFenable] BAND0: 1
    [   24.738601] jffs2: CLEANMARKER node found at 0x00000000 has totlen 0xc != normal 0x0
    [   24.747644] FragThreshold[0]=2346
    [   24.751028] FragThreshold[1]=2346
    [   24.754362] FragThreshold[2]=2346
    [   24.757701] FragThreshold[3]=2346
    [   24.763665] DfsZeroWait Support=0/0
    dnsmasq
    dnsmasq [br-la[   24.768211] read_etxbf: ETxBfEnCond = 1
    n]
    [   24.773207] read_etxbf: BSSID[0]
    [   24.776741] read_etxbf: MBSS[0] ETxBfEnCond = 1
    [   24.777820] jffs2: notice: (3823) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
    [   24.806990] MAP_MODE=2
    [   24.811166] If/wds0 - PeerPhyOpMode=255
    [   24.815584] APWdsInitialize():WdsEntry Number=4
    [   24.820121] WDS-Enable mode=0
    [   24.823188] AndesSendCmdMsg: Could not send in band command due to diablefRTMP_ADAPTER_MCU_SEND_IN_BAND_CMD
    [   24.832933] AndesSendCmdMsg: Command type = ed, Extension command type = 48
    [   24.841456] HT: WDEV[0] Ext Channel = ABOVE
    [   24.845749] HT: greenap_cap = 1
    [   24.848977] ChipI=7622, Value=0, pcie_aspm in profile=0
    [   24.876376] ICapMode = 0
    [   24.882427] WtcSetMaxStaNum: BssidNum:1, MaxStaNum:125 (WdsNum:4, ApcliNum:1, MaxNumChipRept:16), MinMcastWcid:126
    [   24.892912] Fair Queueing Scheduler Initialization...
    [   24.898132] Top Init Done!
    [   24.900853] Use dev_alloc_skb
    [   24.904192] RX[0] DESC ffffffc019b0e000 size = 8192
    [   24.909225] RX[1] DESC ffffffc019348000 size = 8192
    [   24.914228] cut_through_init(): ct sw token number = 4095
    [   24.919767] cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
    [   24.927516] cut_through_token_list_init(): ffffffc019745d90,ffffffc019745d90
    [   24.934690] cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
    [   24.942439] cut_through_token_list_init(): ffffffc019745db0,ffffffc019745db0
    [   24.949548] Hif Init Done!
    [   24.952248] ctl->txq = ffffff800b2e93f0
    [   24.956092] ctl->rxq = ffffff800b2e9408
    [   24.959932] ctl->ackq = ffffff800b2e9420
    [   24.963858] ctl->kickq = ffffff800b2e9438
    [   24.967870] ctl->tx_doneq = ffffff800b2e9450
    [   24.972141] ctl->rx_doneq = ffffff800b2e9468
    [   24.976566] mt_rbus 0000:00:00.0: Direct firmware load for mt7622_patch_e2_hdr.bin failed with error -2
    [   24.985974] Parsing patch header
    [   24.989206]  Built date: 20200724205908a
    [   24.993211]
    [   24.994693]  Platform: ALPS
    [   24.997517]  HW/SW version: 0x8a108a10
    [   25.001300]  Patch version: 0x00000010
    [   25.005085]  Target address: 0x9c000, length: 82080
    [   25.010060] patch is not ready && get semaphore success
    [   25.015325] EventGenericEventHandler: CMD Success
    [   25.020535] MtCmdPatchFinishReq
    [   25.034921] EventGenericEventHandler: CMD Success
    [   25.039670] release patch semaphore
    [   25.043165] WfMcuHwInit: Before NICLoadFirmware, check ICapMode = 0
    [   25.049446] Parsing CPU 0 fw tailer
    [   25.052937]  Chip ID: 0x06
    [   25.055649]  Eco version: 0x00
    [   25.058722]  Region number: 0x00
    [   25.061970]  Format version: 0x00
    [   25.065303]  Ram version: _reserved_
    [   25.068935]  Built date: 20200724210254
    [   25.072937]  Common crc: 0x0
    [   25.075810] Parsing tailer region 0
    [   25.079306]  Feature set: 0x01
    [   25.082377]  Target address: 0xb7000, Download size: 249856
    [   25.087954] Parsing tailer region 1
    [   25.091449]  Feature set: 0x01
    [   25.094520]  Target address: 0x203dc00, Download size: 50144
    [   25.100219] EventGenericEventHandler: CMD Success
    [   25.108868] EventGenericEventHandler: CMD Success
    [   25.113928] MtCmdFwStartReq: override = 0x0, address = 0x0
    [   25.160915] EventGenericEventHandler: CMD Success
    [   25.165640] MCU Init Done!
    [   25.168443] efuse_probe: efuse = 2
    [   25.171852] RtmpChipOpsEepromHook::e2p_type=2, inf_Type=4
    [   25.177259] RtmpEepromGetDefault::e2p_dafault=2
    [   25.181797] RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 2, E2P default = 2
    [   25.189374] NVM is FLASH mode. dev_idx [0] FLASH OFFSET [0x0]
    [   25.196248] NICReadEEPROMParameters: EEPROM 0x52 bb08
    [   25.202092] MtCmdSetTxLpfCal_7622:(ret = 0)
    [   25.206320] MtCmdSetTxDcIqCal_7622:(ret = 0)
    [   25.210624] MtCmdSetTxDpdCal_7622:(ret = 0)
    [   25.214839] MtCmdSetTxDpdCal_7622:(ret = 0)
    [   25.219052] MtCmdSetTxDpdCal_7622:(ret = 0)
    [   25.223260] MtCmdSetTxDpdCal_7622:(ret = 0)
    [   25.227472] MtCmdSetTxDpdCal_7622:(ret = 0)
    [   25.231681] MtCmdSetTxDpdCal_7622:(ret = 0)
    [   25.235893] MtCmdSetTxDpdCal_7622:(ret = 0)
    [   25.240101] MtCmdSetTxDpdCal_7622:(ret = 0)
    [   25.244314] MtCmdSetTxDpdCal_7622:(ret = 0)
    [   25.248523] MtCmdSetTxDpdCal_7622:(ret = 0)
    [   25.252733] MtCmdSetTxDpdCal_7622:(ret = 0)
    [   25.256942] MtCmdSetTxDpdCal_7622:(ret = 0)
    [   25.261152] MtCmdSetTxDpdCal_7622:(ret = 0)
    [   25.265341] mt7622_pa_lna_set(): read antCtrl = 0, polCtrl = 4, wifiStreams = 44
    [   25.272744] mt7622_tssi_set(): nic_cfg1=20, mode=1
    [   26.242321] Country Region from e2p = 0
    [   26.246190] read sub id = 2
    [   26.249206] RcRadioInit(): DbdcMode=0, ConcurrentBand=1
    [   26.254446] RcRadioInit(): pRadioCtrl=ffffffc01e1b2db0,Band=0,rfcap=1,channel=1,PhyMode=2 extCha=0xf
    [   26.263588] MtSingleSkuLoadParam: RF_LOCKDOWN Feature OFF !!!
    [   26.279215] MtBfBackOffLoadParam: RF_LOCKDOWN Feature OFF !!!
    [   26.285127] EEPROM Init Done!
    [   26.288093] mt_mac_init()-->
    [   26.290999] mt7622_init_mac_cr(): TMAC_TRCR0=0x82783c8c
    [   26.296248] <--mt_mac_init()
    [   26.317727] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
    [   26.334793] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
    [   26.351858] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
    [   26.358394] MAC Init Done!
    [   26.361128] MT7622BBPInit() todo
    [   26.364363] PHY Init Done!
    [   26.367645] MtCmdSetMacTxRx:(ret = 0)
    [   26.371431] ap_ftkd> Initialize FT KDP Module...
    [   26.376073] Main bssid = 00:00:00:00:00:00
    [   26.380342] MtCmdSetMacTxRx:(ret = 0)
    [   26.391295] MtCmdSetMacTxRx:(ret = 0)
    [   26.394964] <==== mt_wifi_init, Status=0
    [   26.398894] TxBfModuleEnCtrl:It's not DBDC mode
    [   26.403457] MtCmdEDCCACtrl: BandIdx: 0, EDCCACtrl: 1
    [   26.408542] The new WDS interface MAC = 00:00:00:00:00:00, MacTabMatchWCID = 0
    [   26.416389] The new WDS interface MAC = 00:00:00:00:00:00, MacTabMatchWCID = 0
    [   26.424612] The new WDS interface MAC = 00:00:00:00:00:00, MacTabMatchWCID = 0
    [   26.434518] The new WDS interface MAC = 00:00:00:00:00:00, MacTabMatchWCID = 0
    [   26.442975] Total allocated 4 WDS interfaces!
    [   26.448122] WtcSetMaxStaNum: BssidNum:1, MaxStaNum:125 (WdsNum:4, ApcliNum:1, MaxNumChipRept:16), MinMcastWcid:126
    [   26.483793] RedInit: set Driver/N9 RED Enable to 1.
    [   26.488742] RedInit: RED Initiailize Done.
    [   26.492882] cp_support_is_enabled: set Driver CP_SUPPORT to Mode 2.
    [   26.500020] RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
    [   26.507647] wifi_sys_open(), wdev idx = 0
    [   26.511768] wdev_attr_update(): wdevId0 = 04:ab:18:**:**:79
    [   26.517416] [RcGetHdevByPhyMode] channel 0 fix for rdev fetching
    [   26.523807]  [RadarStateCheck] RD_NORMAL_MODE
    [   26.529602] phy_freq_adjust : no prim_ch value for adjust!
    [   26.535375] Caller: wlan_operate_init+0xd8/0x108 [mt7622_mt_wifi]
    [   26.541527] phy_mode=14, ch=0, wdev_type=1
    [   26.545686] ht_cap->HtCapInfo: ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=0
    [   26.555160] ht_cap->HtCapParm: mdpu_density=5, ampdu_factor=3
    [   26.563772] AP inf up for ra_0(func_idx) OmacIdx=0
    [   26.570998] mtd_isr::DriverOwn = TRUE
    [   26.575470] AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
    [   26.587399] ApAutoChannelAtBootUp----------------->
    [   26.592361] ApAutoChannelAtBootUp: AutoChannelBootup[0] = 1
    [   26.598219] MtCmdSetMacTxRx:(ret = 0)
    [   26.601952] MtCmdChannelSwitch: control_chl = 1,control_ch2=0, central_chl = 1 DBDCIdx= 0, Band= 0
    [   26.610987] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   26.868419] MtCmdChannelSwitch: control_chl = 2,control_ch2=0, central_chl = 2 DBDCIdx= 0, Band= 0
    [   26.877642] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   27.148374] MtCmdChannelSwitch: control_chl = 3,control_ch2=0, central_chl = 3 DBDCIdx= 0, Band= 0
    [   27.158838] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   27.420407] MtCmdChannelSwitch: control_chl = 4,control_ch2=0, central_chl = 4 DBDCIdx= 0, Band= 0
    [   27.432672] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   27.680419] MtCmdChannelSwitch: control_chl = 5,control_ch2=0, central_chl = 5 DBDCIdx= 0, Band= 0
    [   27.689416] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   27.952421] MtCmdChannelSwitch: control_chl = 6,control_ch2=0, central_chl = 6 DBDCIdx= 0, Band= 0
    [   27.961495] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   28.200420] MtCmdChannelSwitch: control_chl = 7,control_ch2=0, central_chl = 7 DBDCIdx= 0, Band= 0
    [   28.209996] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   28.444428] MtCmdChannelSwitch: control_chl = 8,control_ch2=0, central_chl = 8 DBDCIdx= 0, Band= 0
    [   28.453744] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   28.732324] MtCmdChannelSwitch: control_chl = 9,control_ch2=0, central_chl = 9 DBDCIdx= 0, Band= 0
    [   28.741318] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   28.948317] MtCmdChannelSwitch: control_chl = 10,control_ch2=0, central_chl = 10 DBDCIdx= 0, Band= 0
    [   28.957460] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   29.164315] MtCmdChannelSwitch: control_chl = 11,control_ch2=0, central_chl = 11 DBDCIdx= 0, Band= 0
    [   29.173449] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   29.380310] ====================================================================
    [   29.387730] Channel   1 : Busy Time =   4980, Skip Channel = FALSE, BwCap = TRUE
    [   29.395135] Channel   2 : Busy Time =   5173, Skip Channel = FALSE, BwCap = TRUE
    [   29.402536] Channel   3 : Busy Time =   2569, Skip Channel = FALSE, BwCap = TRUE
    [   29.409934] Channel   4 : Busy Time =   6714, Skip Channel = FALSE, BwCap = TRUE
    [   29.417332] Channel   5 : Busy Time =   5929, Skip Channel = FALSE, BwCap = TRUE
    [   29.424730] Channel   6 : Busy Time =   6267, Skip Channel = FALSE, BwCap = TRUE
    [   29.432147] Channel   7 : Busy Time =   6457, Skip Channel = FALSE, BwCap = TRUE
    [   29.439564] Channel   8 : Busy Time =   4529, Skip Channel = FALSE, BwCap = TRUE
    [   29.446963] Channel   9 : Busy Time =   2613, Skip Channel = FALSE, BwCap = TRUE
    [   29.454362] Channel  10 : Busy Time =   4109, Skip Channel = FALSE, BwCap = TRUE
    [   29.461760] Channel  11 : Busy Time =   5167, Skip Channel = FALSE, BwCap = TRUE
    [   29.469155] ====================================================================
    [   29.476665] Rule 3 Channel Busy time value : Select Primary Channel 3
    [   29.483113] Rule 3 Channel Busy time value : Min Channel Busy = 2569
    [   29.489470] Rule 3 Channel Busy time value : BW = 20
    [   29.494442] [SelectClearChannelBusyTime] - band0 END
    [   29.499413] ApAutoChannelAtBootUp : Auto channel selection: Selected channel = 3, IsAband = 0
    [   29.507943]  AutoChSelUpdateChannel(): Update channel for wdev for this band PhyMode = 14, Channel = 3
    [   29.518051] MtCmdChannelSwitch: control_chl = 3,control_ch2=0, central_chl = 5 DBDCIdx= 0, Band= 0
    [   29.527014] BW = 1,TXStream = 4, RXStream = 4, scan(0)
    [   29.551087] ApAutoChannelAtBootUp<-----------------
    [   29.556008] [PMF]APPMFInit:: apidx=0, MFPC=0, MFPR=0, SHA256=0
    [   29.561894] wifi_sys_linkup(), wdev idx = 0
    [   29.566089] wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:127 for WDEV_TYPE:1
    [   29.566089]  LinkToOmacIdx = 0, LinkToWdevType = 1
    [   29.628000] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
    [   29.687762] UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 0
    [   29.693535] APStartUpForMbss: BssIndex = 0 channel = 3
    [   29.698779] MtCmdTxPowerDropCtrl: ucPowerDrop: 100, BandIdx: 0
    [   29.704660] TxCCKStreamCtrl: set wrong parameters
    [   29.711251] Enable 20/40 BSSCoex Channel Scan(BssCoex=1)
    [   29.724102] MtCmdSetMacTxRx:(ret = 0)
    [   29.727868] MtCmdChannelSwitch: control_chl = 1,control_ch2=0, central_chl = 1 DBDCIdx= 0, Band= 0
    [   29.736834] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   29.763793] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   30.064313] MtCmdChannelSwitch: control_chl = 2,control_ch2=0, central_chl = 2 DBDCIdx= 0, Band= 0
    [   30.073315] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   30.097425] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   30.400311] MtCmdChannelSwitch: control_chl = 3,control_ch2=0, central_chl = 3 DBDCIdx= 0, Band= 0
    [   30.409270] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   30.433360] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   30.736305] MtCmdChannelSwitch: control_chl = 4,control_ch2=0, central_chl = 4 DBDCIdx= 0, Band= 0
    [   30.745267] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   30.769356] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   31.072304] MtCmdChannelSwitch: control_chl = 5,control_ch2=0, central_chl = 5 DBDCIdx= 0, Band= 0
    [   31.081292] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   31.105380] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   31.408303] MtCmdChannelSwitch: control_chl = 6,control_ch2=0, central_chl = 6 DBDCIdx= 0, Band= 0
    [   31.417262] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   31.441367] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   31.744312] MtCmdChannelSwitch: control_chl = 7,control_ch2=0, central_chl = 7 DBDCIdx= 0, Band= 0
    [   31.753274] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   31.777378] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   32.080324] MtCmdChannelSwitch: control_chl = 8,control_ch2=0, central_chl = 8 DBDCIdx= 0, Band= 0
    [   32.089301] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   32.113428] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   32.416306] MtCmdChannelSwitch: control_chl = 9,control_ch2=0, central_chl = 9 DBDCIdx= 0, Band= 0
    [   32.425268] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   32.433556] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   32.736312] MtCmdChannelSwitch: control_chl = 10,control_ch2=0, central_chl = 10 DBDCIdx= 0, Band= 0
    [   32.745449] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   32.753713] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   33.060317] Channel[Idx=0, Ch=1].bEffectedChannel=0x2!
    [   33.065471] needFallBack=TRUE due to OP/OT!
    [   33.069679] Channel[Idx=1, Ch=2].bEffectedChannel=0x2!
    [   33.074821] needFallBack=TRUE due to OP/OT!
    [   33.079007] Channel[Idx=2, Ch=3].bEffectedChannel=0x2!
    [   33.084150] Channel[Idx=3, Ch=4].bEffectedChannel=0x4!
    [   33.089293] needFallBack=TRUE due to OP/OT!
    [   33.093492] Channel[Idx=4, Ch=5].bEffectedChannel=0x2!
    [   33.098634] needFallBack=TRUE due to OP/OT!
    [   33.102820] Channel[Idx=5, Ch=6].bEffectedChannel=0x2!
    [   33.107961] needFallBack=TRUE due to OP/OT!
    [   33.112149] Channel[Idx=6, Ch=7].bEffectedChannel=0x1!
    [   33.117291] Channel[Idx=7, Ch=8].bEffectedChannel=0x2!
    [   33.122437] needFallBack=TRUE due to OP/OT!
    [   33.126623] Channel[Idx=8, Ch=9].bEffectedChannel=0x0!
    [   33.131764] Channel[Idx=9, Ch=10].bEffectedChannel=0x4!
    [   33.136991] needFallBack=TRUE due to OP/OT!
    [   33.141197] MtCmdChannelSwitch: control_chl = 3,control_ch2=0, central_chl = 5 DBDCIdx= 0, Band= 0
    [   33.150161] BW = 1,TXStream = 4, RXStream = 4, scan(0)
    [   33.174285] apidx 0 for WscUUIDInit
    [   33.177781] Generate UUID for apidx(0)
    [   33.181615] mtk_ppe_dev_register_hook : ineterface ra0 register (1)
    [   33.191802] add tx_src: 04:ab:18:**:**:79
    [   33.195978] add tx_src: 02:ab:18:bf:04:79
    [   33.200406] nf_unregister_hooks()
    [   33.206003] no net device found for ra1 or apcli0
    [   33.210737] no net device found for ra2 or apcli0
    [   33.217705] no net device found for ra3 or apcli0
    [   33.222547] no net device found for ra4 or apcli0
    [   33.228039] no net device found for ra5 or apcli0
    [   33.232832] no net device found for ra6 or apcli0
    [   33.237582] no net device found for ra7 or apcli0
    [   33.242322] no net device found for ra8 or apcli0
    [   33.247931] no net device found for ra9 or apcli0
    [   33.254893] no net device found for ra10 or apcli0
    start ddns[   33.260444] device ra0 entered promiscuous mode
    
    add_cron
    [   33.265693] no net device found for ra11 or apcli0
    add_cron data
    [   33.271539] br-lan: port 2(ra0) entered forwarding state
    [   33.277955] br-lan: port 2(ra0) entered forwarding state
    [   33.283819] no net device found for ra12 or apcli0
    [   33.288711] no net device found for ra13 or apcli0
    [   33.294679] no net device found for ra14 or apcli0
    [   33.301856] no net device found for ra15 or apcli0
    [   33.306774] Mac: 04:ab:18:**:**:79 was aleady existed.
    [   33.767330] Device Instance
    [   33.770164]  WDEV 00:, Name:ra0, Wdev(list) Idx:0
    [   33.774908]           Idx:9
    [   33.777120] mtk_ppe_dev_register_hook : ra0 has been registered in wifi_hook_if table[1]
    [   33.785222]
    [   33.786705]
    [   33.788187]
    [   33.789684]
    [   33.791167]
    [   33.792689]
    [   33.794172]
    [   33.795654]
    [   33.797152]
    [   33.798636]
    [   33.800118]
    [   33.801613]
    [   33.803098]
    [   33.804625]
    [   33.806108]
    [   33.884122] rai0: ===> main_virtual_if_open
    [   33.888427] RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_INIT
    [   33.895262] load l1profile succeed!
    [   33.898926] WHNAT=0
    [   33.901041] whnat_cap_support(): chip_id=7915 is in WHNAT support list
    [   33.907573] whnat_driver_init(): chip not enable wifi hardware nat feature!
    [   33.914574] mt_service_open: wlan service opens successfully!
    [   33.921408] APWdsInitialize():WdsEntry[0~15]
    [   33.927108] BssidNum=1
    [   33.929476] Pf2MbssIdxMap:
    [   33.932175]  0
    [   33.934636] E2pAccessMode=2
    [   33.937706] SSID[0]=elecom-bf0477, EdcaIdx=0
    [   33.942168] RTMPSetProfileParameters(): DBDC Mode=0, eDBDC_mode = 0
    [   33.948660] cfg_mode=17
    [   33.951098] cfg_mode=17
    [   33.953550] cfg_mode=17
    [   33.955994] wmode_band_equal(): Band Equal!
    [   33.960380] auto_ch_select_set_cfg(): BandIdx0, AutoChannelAtBootup=1, AutoChannelAlg = 3
    [   33.968558] auto_ch_select_set_cfg(): BandIdx1, AutoChannelAtBootup=0, AutoChannelAlg = 0
    [   33.976828] Index0 Channel=0
    [   33.980190] BandSteering=0
    [   33.982941] BndStrgBssIdx=
    [   33.985760] [TxPower] BAND0: 100
    [   33.991056] [SKUenable] BAND0: 1
    [   33.994414] [SkuTableIdx]: 0
    [   33.997407] [CCKTxStream] BAND0: 4
    [   34.000898] [PERCENTAGEenable] BAND0: 1
    [   34.004774] [BFBACKOFFenable] BAND0: 1
    [   34.008575] [Disable160RuMu] BAND0: 1
    [   34.012318] [MaxRuOfdma] BAND0: 8
    [   34.015703] [MaxDLMuMimo] BAND0: 4
    [   34.019189] [MaxULMuMimo] BAND0: 2
    [   34.023078] profile: FragThreshold[0]=2346
    [   34.027566] APEdca0
    [   34.029815] APEdca1
    [   34.032050] APEdca2
    [   34.034298] APEdca3
    [   34.037500] UAPSDCapable[0]=1
    [   34.040475] UAPSDCapable[1]=1
    [   34.043435] UAPSDCapable[2]=1
    [   34.046409] UAPSDCapable[3]=1
    [   34.049380] UAPSDCapable[4]=1
    [   34.052351] UAPSDCapable[5]=1
    [   34.055310] UAPSDCapable[6]=1
    [   34.058286] UAPSDCapable[7]=1
    [   34.061257] UAPSDCapable[8]=1
    [   34.064216] UAPSDCapable[9]=1
    [   34.067189] UAPSDCapable[10]=1
    [   34.070247] UAPSDCapable[11]=1
    [   34.073304] UAPSDCapable[12]=1
    [   34.076365] UAPSDCapable[13]=1
    [   34.079411] UAPSDCapable[14]=1
    [   34.082471] UAPSDCapable[15]=1
    [   34.085531] UAPSDCapable[16]=1
    [   34.088589] UAPSDCapable[17]=1
    [   34.091635] UAPSDCapable[18]=1
    [   34.094708] UAPSDCapable[19]=1
    [   34.097767] UAPSDCapable[20]=1
    [   34.100824] UAPSDCapable[21]=1
    [   34.103870] UAPSDCapable[22]=1
    [   34.106929] UAPSDCapable[23]=1
    [   34.109987] UAPSDCapable[24]=1
    [   34.113044] UAPSDCapable[25]=1
    [   34.116090] UAPSDCapable[26]=1
    [   34.119149] UAPSDCapable[27]=1
    [   34.122207] UAPSDCapable[28]=1
    [   34.125263] UAPSDCapable[29]=1
    [   34.128322] UAPSDCapable[30]=1
    [   34.131368] UAPSDCapable[31]=1
    [   34.134427] default ApCliUAPSDCapable[0]=1
    [   34.138526] default ApCliUAPSDCapable[1]=1
    [   34.143305] DfsZeroWait Support=0/0
    [   34.147124] DfsZeroWaitCacTime=255/255
    [   34.151324] read_itxbf: ITxBfEn = 0
    [   34.154817] read_itxbf: BSSID[0]
    [   34.158058] read_itxbf: MBSS[0] ITxBfEn = 0
    [   34.162251] read_itxbf: Common.ITxBfEn = 0
    [   34.166408] read_etxbf: ETxBfEnCond = 1
    [   34.170249] read_etxbf: BSSID[0]
    [   34.173486] read_etxbf: MBSS[0] ETxBfEnCond = 1
    [   34.178221] HeraStbcPriority[0] = 0
    [   34.182702] MBSS[0] MuOfdmaDlEnable = 1
    [   34.186685] MBSS[0] MuOfdmaUlEnable = 1
    [   34.190666] MBSS[0] MuMimoDlEnable = 1
    [   34.194576] MBSS[0] MuMimoUlEnable = 1
    [   34.212787] [PMF]Set_PMFMFPC_Proc:: apidx=0, Desired MFPC=0
    [   34.218442] [PMF]Set_PMFMFPR_Proc:: apidx=0, Desired MFPR=0
    [   34.224104] [PMF]Set_PMFSHA256_Proc:: apidx=0, Desired PMFSHA256=0
    [   34.230717] MAP_MODE=2
    [   34.233135] ApCliEntry[0].Enable=0
    [   34.238088] APCLI[0] ApCliMuOfdmaDlEnable = 1
    [   34.242481] APCLI[0] ApCliMuOfdmaUlEnable = 0
    [   34.246874] APCLI[0] ApCliMuMimoDlEnable = 0
    [   34.251181] APCLI[0] ApCliMuMimoUlEnable = 0
    [   34.255783] rtmp_read_wds_from_file(): WDS Profile
    [   34.260723] WDS Number: band[0]=0, band[1]=0
    [   34.265131] WDS-Enable mode=0
    [   34.268368] If/wds0 - PeerPhyMode=0xb1
    [   34.273906] HT_BAWinSize: wdev[0]: (TX=256, RX=256)
    [   34.279088] HT: WDEV[0] Ext Channel = ABOVE
    [   34.283387] HT: greenap_cap = 0
    [   34.286642] 0:rai0 TWTsupport = 1
    [   34.340639] ICapMode = 0
    [   34.348634] WtcSetMaxStaNum: MaxStaNum:237, BssidNum:1, WdsNum:16, MSTANum:1, MaxNumChipRept:32, MinMcastWcid:286
    [   34.358911] Top Init Done!
    [   34.361645] Use dev_alloc_skb
    [   34.364620] token_tx_queue_init(): ct sw token number = 8191
    [   34.370720] token_tx_queue_init(): token que inited done!id_head/tail=0/8192
    [   34.377775] token_tx_queue_init(): ffffffc01720ce08,ffffffc01720ce08
    [   34.385320] TxRing[0]: attr:0, total 2048 entry initialized
    [   34.391711] TxRing[1]: attr:0, total 2048 entry initialized
    [   34.397450] RX[0] DESC ffffff8009744000 size = 24576
    [   34.403479] RX[1] DESC ffffff800974b000 size = 24576
    [   34.409500] RX[2] DESC ffffff8009752000 size = 8192
    [   34.414725] RX[3] DESC ffffff8009755000 size = 16384
    [   34.420369] RX[4] DESC ffffff800975a000 size = 8192
    [   34.425758] -->TX_RING_0[0xd7300]: Attr:0, Base=0x5b3f0000, Cnt=2048!
    [   34.432212] -->TX_RING_1[0xd7310]: Attr:0, Base=0x5b3f8000, Cnt=2048!
    [   34.438658] -->TX_RING_2[0xd5400]: Attr:3, Base=0x5b3b2000, Cnt=128!
    [   34.445016] -->TX_RING_3[0xd5410]: Attr:2, Base=0x5b3b3000, Cnt=256!
    [   34.451378] -->TX_RING_4[0xd5440]: Attr:1, Base=0x5a284000, Cnt=256!
    [   34.457735] -->RX_RING0[0xd4500]: Base=0x5a2b8000, Cnt=1536
    [   34.463314] -->RX_RING1[0xd4510]: Base=0x5a2e0000, Cnt=1536
    [   34.468891] -->RX_RING2[0xd5500]: Base=0x5a2a2000, Cnt=512
    [   34.474381] -->RX_RING3[0xd7410]: Base=0x59e08000, Cnt=1024
    [   34.479958] -->RX_RING4[0xd5520]: Base=0x59e0c000, Cnt=512
    [   34.485447] whnat_ring_init(): cookie=ffffff8009901000
    [   34.490589] whnat_ring_init(): whnat can't find for cookie:ffffff8009901000
    [   34.497573] Hif Init Done!
    [   34.503402] pci_driver_own_by_port: success to clear p=0 fw own, from(1): 1 is interrupt mode, 2 is polling mode.
    [   34.513661] driver_own: port=1 is not enabled
    [   34.518024] fw_prepare():using E2 ROM patch
    [   34.522212] fw_prepare():using E2 RAM
    [   34.525889] Parsing patch header
    [   34.529123]  Built date: 20201016112241a
    [   34.533124]
    [   34.534606]  Platform: ALPS
    [   34.537430]  HW/SW version: 0x8a108a10
    [   34.541211]  Patch version: 0xffffffff
    [   34.544995]  Section num: 0x2, subsys: 0x4
    [   34.549099]  Section 0: type = 0x30002, offset = 0xe0, size = 0xfc90
    [   34.555458]  Target address: 0x200000, length: 0xfc90
    [   34.560512]  Section 1: type = 0x30002, offset = 0xfd70, size = 0x13720
    [   34.567135]  Target address: 0xe000f000, length: 0x13720
    [   34.572643] Patch SEM Status = 2
    [   34.575889] patch is not ready && get semaphore success
    [   34.581130] Start address = 0x200000, DL length = 64656, Data mode = 0x80000000
    [   34.589607] EventGenericEventHandler: CMD Success
    [   34.594346] MtCmdAddressLenReq:(ret = 0)
    [   34.598784] Start address = 0xe000f000, DL length = 79648, Data mode = 0x80000000
    [   34.607452] EventGenericEventHandler: CMD Success
    [   34.612180] MtCmdAddressLenReq:(ret = 0)
    [   34.616692] MtCmdPatchFinishReq
    [   34.623646] EventGenericEventHandler: CMD Success
    [   34.628514] Patch SEM Status = 3
    [   34.631755] release patch semaphore
    [   34.635248]  WfMcuHwInit: Before NICLoadFirmware, check ICapMode = 0
    [   34.642405] Parsing CPU 0 fw tailer
    [   34.645900]  Chip ID: 0x0b
    [   34.648623]  Eco version: 0x01
    [   34.651681]  Region number: 0x07
    [   34.654928]  Format version: 0x02
    [   34.658261]  Format flag: 0x01
    [   34.661333]  Ram version: ____000000
    [   34.664965]  Built date: 20201016112316
    [   34.668971]  Common crc: 0xc03cfb90
    [   34.672469] Parsing tailer region 0
    [   34.675949]  Decomp crc: 0x0
    [   34.678836]  Decomp size: 0x0
    [   34.681810]  Decomp block size: 0x0
    [   34.685304]  Target address: 0x21fc00
    [   34.688968]  Download size: 110592
    [   34.692373]  Feature set: 0x20
    [   34.695433] Parsing tailer region 1
    [   34.698931]  Decomp crc: 0x0
    [   34.701816]  Decomp size: 0x0
    [   34.704785]  Decomp block size: 0x0
    [   34.708264]  Target address: 0x31dc00
    [   34.711931]  Download size: 205824
    [   34.715335]  Feature set: 0x00
    [   34.718405] Parsing tailer region 2
    [   34.721899]  Decomp crc: 0x0
    [   34.724783]  Decomp size: 0x0
    [   34.727743]  Decomp block size: 0x0
    [   34.731235]  Target address: 0x417400
    [   34.734900]  Download size: 31744
    [   34.738217]  Feature set: 0x00
    [   34.741286] Parsing tailer region 3
    [   34.744781]  Decomp crc: 0x0
    [   34.747654]  Decomp size: 0x0
    [   34.750627]  Decomp block size: 0x0
    [   34.754119]  Target address: 0xe0022800
    [   34.757957]  Download size: 395776
    [   34.761360]  Feature set: 0x00
    [   34.764432] Parsing tailer region 4
    [   34.767913]  Decomp crc: 0x0
    [   34.770799]  Decomp size: 0x0
    [   34.773776]  Decomp block size: 0x0
    [   34.777289]  Target address: 0xe0083200
    [   34.781138]  Download size: 347648
    [   34.784544]  Feature set: 0x00
    [   34.787602] Parsing tailer region 5
    [   34.791097]  Decomp crc: 0x0
    [   34.793982]  Decomp size: 0x0
    [   34.796964]  Decomp block size: 0x0
    [   34.800457]  Target address: 0x23ac00
    [   34.804110]  Download size: 87040
    [   34.807455]  Feature set: 0x00
    [   34.810528] Parsing tailer region 6
    [   34.814023]  Decomp crc: 0x0
    [   34.816908]  Decomp size: 0x0
    [   34.819867]  Decomp block size: 0x0
    [   34.823360]  Target address: 0x400000
    [   34.827023]  Download size: 81920
    [   34.830340]  Feature set: 0x00
    [   34.833409]  Release info: header tag = 0, total length = 68
    [   34.839081]  tag 1, padding length = 3, tag length = 61
    [   34.844307]  payload: t-neptune-main-mt7915-1953-MT7915D_1953_MT7621-20201016111902
    [   34.852262] Start address = 0x21fc00, DL length = 110592, Data mode = 0x80000000
    [   34.860867] EventGenericEventHandler: CMD Success
    [   34.865589] MtCmdAddressLenReq:(ret = 0)
    [   34.870202] Start address = 0x31dc00, DL length = 205824, Data mode = 0x80000000
    [   34.878794] EventGenericEventHandler: CMD Success
    [   34.883521] MtCmdAddressLenReq:(ret = 0)
    [   34.888725] Start address = 0x417400, DL length = 31744, Data mode = 0x80000000
    [   34.897245] EventGenericEventHandler: CMD Success
    [   34.901966] MtCmdAddressLenReq:(ret = 0)
    [   34.906086] Start address = 0xe0022800, DL length = 395776, Data mode = 0x80000000
    [   34.914880] EventGenericEventHandler: CMD Success
    [   34.919615] MtCmdAddressLenReq:(ret = 0)
    [   34.926078] Start address = 0xe0083200, DL length = 347648, Data mode = 0x80000000
    [   34.934845] EventGenericEventHandler: CMD Success
    [   34.939570] MtCmdAddressLenReq:(ret = 0)
    [   34.945709] Start address = 0x23ac00, DL length = 87040, Data mode = 0x80000000
    [   34.954204] EventGenericEventHandler: CMD Success
    [   34.958929] MtCmdAddressLenReq:(ret = 0)
    [   34.963391] Start address = 0x400000, DL length = 81920, Data mode = 0x80000000
    [   34.971899] EventGenericEventHandler: CMD Success
    [   34.976625] MtCmdAddressLenReq:(ret = 0)
    [   34.981057] MtCmdFwStartReq: override = 0x1, address = 0x21fc00
    [   34.988171] EventGenericEventHandler: CMD Success
    [   34.992901] Parsing CPU 1 fw tailer
    [   34.996414]  Chip ID: 0x00
    [   34.999126]  Eco version: 0x01
    [   35.002201]  Region number: 0x03
    [   35.005446]  Format version: 0x02
    [   35.008780]  Format flag: 0x01
    [   35.011838]  Ram version: DEV_000000
    [   35.015470]  Built date: 20200814164415
    [   35.019472]  Common crc: 0x1110cdc1
    [   35.022968] Parsing tailer region 0
    [   35.026460]  Decomp crc: 0x0
    [   35.029344]  Decomp size: 0x0
    [   35.032315]  Decomp block size: 0x0
    [   35.035794]  Target address: 0x10200000
    [   35.039634]  Download size: 88016
    [   35.042951]  Feature set: 0x00
    [   35.046022] Parsing tailer region 1
    [   35.049516]  Decomp crc: 0x0
    [   35.052400]  Decomp size: 0x0
    [   35.055359]  Decomp block size: 0x0
    [   35.058853]  Target address: 0x10300000
    [   35.062691]  Download size: 19408
    [   35.066008]  Feature set: 0x00
    [   35.069078] Parsing tailer region 2
    [   35.072572]  Decomp crc: 0x0
    [   35.075447]  Decomp size: 0x0
    [   35.078418]  Decomp block size: 0x0
    [   35.081911]  Target address: 0xe0000000
    [   35.085749]  Download size: 8768
    [   35.088978]  Feature set: 0x00
    [   35.092036]  Release info: header tag = 0, total length = 0
    [   35.097635] Start address = 0x10200000, DL length = 88016, Data mode = 0x80000010
    [   35.106315] EventGenericEventHandler: CMD Success
    [   35.111043] MtCmdAddressLenReq:(ret = 0)
    [   35.115504] Start address = 0x10300000, DL length = 19408, Data mode = 0x80000010
    [   35.124224] EventGenericEventHandler: CMD Success
    [   35.128962] MtCmdAddressLenReq:(ret = 0)
    [   35.132997] Start address = 0xe0000000, DL length = 8768, Data mode = 0x80000010
    [   35.141607] EventGenericEventHandler: CMD Success
    [   35.146331] MtCmdAddressLenReq:(ret = 0)
    [   35.150329] MtCmdFwStartReq: override = 0x4, address = 0x0
    [   35.256090] EventGenericEventHandler: CMD Success
    [   35.260831] MCU Init Done!
    [   35.263540] efuse_probe: efuse = 10000012
    [   35.267558] RtmpChipOpsEepromHook::e2p_type=2, inf_Type=5
    [   35.272961] RtmpEepromGetDefault::e2p_dafault=1
    [   35.277495] RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 2, E2P default = 1
    [   35.285066] br-lan: port 2(ra0) entered forwarding state
    [   35.290437] NVM is FLASH mode. dev_idx [0] FLASH OFFSET [0x5000]
    [   35.296472] rtmp_nv_init(): EEPROM Size[131072]
    [   35.302226] [EEPROMImage - PreCalImageInfo - PreCalImage - TxDPDImage]
    [   35.302226] [0xffffffc016760000 - 0xffffffc016760e00 - 0xffffffc016760e10 - 0xffffffc01676d220]
    [   35.318858] validFlashEepromID(): eeFlashId=7915, pAd->ChipID=7915
    [   35.325835] [d-die version:1]
    [   35.361985] [a-die version:2]
    [   35.490435]
    [   35.491933] NICReadEEPROMParameters: EEPROM 0x62 7
    [   35.497439] NICReadEEPROMParameters: Group Pre-Cal finished, load Group Pre-Cal data
    [   35.506033] NICReadEEPROMParameters: DPD 5G Pre-Cal finished!
    [   35.511810] NICReadEEPROMParameters: DPD 2G Pre-Cal finished!
    [   35.656010] Country Region from e2p = 0
    [   35.659867] antenna_default_reset() todo
    [   35.663804] antenna_default_reset() value = 0x2424, TxPath = 4, RxPath = 4
    [   35.670686] RTMPReadTxPwrPerRate(458): Don't Support this now!
    [   35.676523] rc_radio_init(): DBDC MODE=0, ConcurrentBand=1
    [   35.682018] rc_radio_init(): radio_ctrl=ffffffc01b3e9ee0,Band=0,rfcap=3,channel=1,PhyMode=2 extCha=0xf
    [   35.691329] ucAction = 0, ucBandIdx = 0, ucSmthIntlBypass = 0
    [   35.697102] AntCfgInit(2765): Not support for HIF_MT yet!
    [   35.702518] mt7915_check_RF_lock_down: RFlockDown Enable: 0
    [   35.708095] MtReadPwrLimitTable: sku table idx: 0
    mt7915_check_RF_lock_down: RFlockDown Enable: 0
    [   35.720219] mt7915_check_RF_lock_down: RFlockDown Enable: 0
    [   35.725800] MtReadPwrLimitTable: sku table idx: 0
    mt7915_check_RF_lock_down: RFlockDown Enable: 0
    [   35.738055] EEPROM Init Done!
    [   35.741050] mac_init()-->
    [   35.743664] init_mac_cr()-->
    [   35.746568] <--mac_init()
    [   35.752303] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
    [   35.760600] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
    [   35.768884] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
    [   35.775447] MAC Init Done!
    [   35.778170] BBPInit():BBP Initialization.....
    [   35.782537]  Band 0: valid=1, isDBDC=0, Band=2, CBW=1, CentCh/PrimCh=1/1, prim_ch_idx=0, txStream=2
    [   35.791588]  Band 1: valid=0, isDBDC=0, Band=0, CBW=0, CentCh/PrimCh=0/0, prim_ch_idx=0, txStream=0
    [   35.800651] BBPInit() todo
    [   35.803350] PHY Init Done!
    [   35.809244] tx_pwr_comp_init():NotSupportYet!
    [   35.813802] MtCmdSetMacTxRx:(ret = 0)
    [   35.817793] ap_ftkd> Initialize FT KDP Module...
    [   35.822472] Main bssid = 00:00:00:00:00:00
    [   35.826577] SetMuruPlatformTypeProc: param.ucPlatformType = 2
    [   35.832378] muru_cfg_dlul_limits:(Ret = 1
    [   35.836419] muru_cfg_dlul_limits:(Ret = 1
    [   35.840660] MtCmdSetMacTxRx:(ret = 0)
    [   35.844341] <==== mt_wifi_init, Status=0
    [   35.848255] TxBfModuleEnCtrl:It's not DBDC mode
    [   35.852845] CmdHeraStbcPriorityCtrl: u1BandIdx=0, u1Operation=1, u1StbcPriority=0
    [   35.860364] MSTA_Init (1) ---> ApCli
    [   35.863969] Register MSTA IF (apclii0) , pAd->MSTANum = 1
    [   35.869684] Caller: RTMPSetHT+0x2d0/0x328 [mt_wifi]
    [   35.874586]
    [   35.874586] phy_mode=177, ch=0, wdev_type=2
    [   35.880253] ht_cap: ht_cap->HtCapInfo,
    [   35.884092] ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=1
    [   35.891750] ht_cap: ht_cap->HtCapParm,
    [   35.895597] mdpu_density=0, ampdu_factor=3
    [   35.900339] mt_service_init: wlan service inits successfully!
    [   35.906187] WtcSetMaxStaNum: MaxStaNum:237, BssidNum:1, WdsNum:16, MSTANum:1, MaxNumChipRept:32, MinMcastWcid:286
    [   36.039069] RedInit: set CR4/N9 RED Enable to 1.
    [   36.043821] RedInit: RED Initiailize Done.
    [   36.048455] cp_support_is_enabled: set Driver CP_SUPPORT to Mode 2.
    [   36.054794] RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
    [   36.061122] wifi_sys_open(), wdev idx = 0
    [   36.065205] ucAction = 0, ucBandIdx = 0, ucSmthIntlBypass = 0
    [   36.071145] BuildChannelList() BandIdx = 0, PhyMode = 177, ChListNum = 20:
    [   36.078195] DfsBuildChannelList(): Done
    [   36.082309] phy_oper_init(): operate TxStream = 4, RxStream = 4
    [   36.088432]  [RadarStateCheck] RD_NORMAL_MODE
    [   36.094038] phy_freq_adjust : no prim_ch value for adjust!
    [   36.099932] Caller: wlan_operate_init+0xf4/0x120 [mt_wifi]
    [   36.105777]
    [   36.105777] phy_mode=177, ch=0, wdev_type=1
    [   36.111775] ht_cap: ht_cap->HtCapInfo,
    [   36.115712] ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=1
    [   36.123444] ht_cap: ht_cap->HtCapParm,
    [   36.127367] mdpu_density=5, ampdu_factor=3
    [   36.131666] wdev_attr_update(): wdevId0 = 04:ab:18:**:**:7a
    [   36.137594] AP inf up for ra_0(func_idx) OmacIdx=0
    [   36.142588] AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
    [   36.148184] ApAutoChannelAtBootUp----------------->
    [   36.153143] ApAutoChannelAtBootUp: AutoChannelBootup[0] = 1
    [   36.159067] MtCmdSetMacTxRx:(ret = 0)
    [   36.162832] [AutoChSelBuildChannelListFor5G] ChListNum5G = 20
    [   36.168776] mt7915_apply_dpd_flatness_data: DPD Pre-Cal finished, load DPD Pre-Cal data
    [   36.176960] MtCmdChannelSwitch: ctrl_chl=36, ctrl_ch2=0, cent_ch=36 DBDCIdx=0, ChBand=1, BW=0, TXStream=4, RXStream=4, scan(1)
    [   36.203317] MtCmdSetTxRxPath: ctrl_chl=36, ctrl_ch2=0, cent_ch=36, RxPath=f, BandIdx=0, ChBand=1, BW=0,TXStream=4, RXStream=15, scan(1)
    [   36.424500] mt7915_apply_dpd_flatness_data: DPD Pre-Cal finished, load DPD Pre-Cal data
    [   36.432577] MtCmdChannelSwitch: ctrl_chl=40, ctrl_ch2=0, cent_ch=40 DBDCIdx=0, ChBand=1, BW=0, TXStream=4, RXStream=4, scan(1)
    [   36.458664] MtCmdSetTxRxPath: ctrl_chl=40, ctrl_ch2=0, cent_ch=40, RxPath=f, BandIdx=0, ChBand=1, BW=0,TXStream=4, RXStream=15, scan(1)
    [   36.668529] mt7915_apply_dpd_flatness_data: DPD Pre-Cal finished, load DPD Pre-Cal data
    [   36.676618] MtCmdChannelSwitch: ctrl_chl=44, ctrl_ch2=0, cent_ch=44 DBDCIdx=0, ChBand=1, BW=0, TXStream=4, RXStream=4, scan(1)
    [   36.702706] MtCmdSetTxRxPath: ctrl_chl=44, ctrl_ch2=0, cent_ch=44, RxPath=f, BandIdx=0, ChBand=1, BW=0,TXStream=4, RXStream=15, scan(1)
    [   36.912556] mt7915_apply_dpd_flatness_data: DPD Pre-Cal finished, load DPD Pre-Cal data
    [   36.920656] MtCmdChannelSwitch: ctrl_chl=48, ctrl_ch2=0, cent_ch=48 DBDCIdx=0, ChBand=1, BW=0, TXStream=4, RXStream=4, scan(1)
    [   36.946743] MtCmdSetTxRxPath: ctrl_chl=48, ctrl_ch2=0, cent_ch=48, RxPath=f, BandIdx=0, ChBand=1, BW=0,TXStream=4, RXStream=15, scan(1)
    [   37.156520] mt7915_apply_dpd_flatness_data: DPD Pre-Cal finished, load DPD Pre-Cal data
    [   37.164637] MtCmdChannelSwitch: ctrl_chl=52, ctrl_ch2=0, cent_ch=52 DBDCIdx=0, ChBand=1, BW=0, TXStream=4, RXStream=4, scan(1)
    [   37.190767] MtCmdSetTxRxPath: ctrl_chl=52, ctrl_ch2=0, cent_ch=52, RxPath=f, BandIdx=0, ChBand=1, BW=0,TXStream=4, RXStream=15, scan(1)
    [   37.400513] mt7915_apply_dpd_flatness_data: DPD Pre-Cal finished, load DPD Pre-Cal data
    [   37.408592] MtCmdChannelSwitch: ctrl_chl=56, ctrl_ch2=0, cent_ch=56 DBDCIdx=0, ChBand=1, BW=0, TXStream=4, RXStream=4, scan(1)
    [   37.434746] MtCmdSetTxRxPath: ctrl_chl=56, ctrl_ch2=0, cent_ch=56, RxPath=f, BandIdx=0, ChBand=1, BW=0,TXStream=4, RXStream=15, scan(1)
    [   37.644529] mt7915_apply_dpd_flatness_data: DPD Pre-Cal finished, load DPD Pre-Cal data
    [   37.652639] MtCmdChannelSwitch: ctrl_chl=60, ctrl_ch2=0, cent_ch=60 DBDCIdx=0, ChBand=1, BW=0, TXStream=4, RXStream=4, scan(1)
    [   37.678732] MtCmdSetTxRxPath: ctrl_chl=60, ctrl_ch2=0, cent_ch=60, RxPath=f, BandIdx=0, ChBand=1, BW=0,TXStream=4, RXStream=15, scan(1)
    [   37.888540] mt7915_apply_dpd_flatness_data: DPD Pre-Cal finished, load DPD Pre-Cal data
    [   37.896634] MtCmdChannelSwitch: ctrl_chl=64, ctrl_ch2=0, cent_ch=64 DBDCIdx=0, ChBand=1, BW=0, TXStream=4, RXStream=4, scan(1)
    [   37.922730] MtCmdSetTxRxPath: ctrl_chl=64, ctrl_ch2=0, cent_ch=64, RxPath=f, BandIdx=0, ChBand=1, BW=0,TXStream=4, RXStream=15, scan(1)
    [   38.132501] mt7915_apply_dpd_flatness_data: DPD Pre-Cal finished, load DPD Pre-Cal data
    [   38.140612] MtCmdChannelSwitch: ctrl_chl=100, ctrl_ch2=0, cent_ch=100 DBDCIdx=0, ChBand=1, BW=0, TXStream=4, RXStream=4, scan(1)
    [   38.166878] MtCmdSetTxRxPath: ctrl_chl=100, ctrl_ch2=0, cent_ch=100, RxPath=f, BandIdx=0, ChBand=1, BW=0,TXStream=4, RXStream=15, scan(1)
    [   38.376520] mt7915_apply_dpd_flatness_data: DPD Pre-Cal finished, load DPD Pre-Cal data
    [   38.384608] MtCmdChannelSwitch: ctrl_chl=104, ctrl_ch2=0, cent_ch=104 DBDCIdx=0, ChBand=1, BW=0, TXStream=4, RXStream=4, scan(1)
    [   38.410909] MtCmdSetTxRxPath: ctrl_chl=104, ctrl_ch2=0, cent_ch=104, RxPath=f, BandIdx=0, ChBand=1, BW=0,TXStream=4, RXStream=15, scan(1)
    [   38.620534] mt7915_apply_dpd_flatness_data: DPD Pre-Cal finished, load DPD Pre-Cal data
    [   38.628697] MtCmdChannelSwitch: ctrl_chl=108, ctrl_ch2=0, cent_ch=108 DBDCIdx=0, ChBand=1, BW=0, TXStream=4, RXStream=4, scan(1)
    [   38.654958] MtCmdSetTxRxPath: ctrl_chl=108, ctrl_ch2=0, cent_ch=108, RxPath=f, BandIdx=0, ChBand=1, BW=0,TXStream=4, RXStream=15, scan(1)
    [   38.864524] mt7915_apply_dpd_flatness_data: DPD Pre-Cal finished, load DPD Pre-Cal data
    [   38.872605] MtCmdChannelSwitch: ctrl_chl=112, ctrl_ch2=0, cent_ch=112 DBDCIdx=0, ChBand=1, BW=0, TXStream=4, RXStream=4, scan(1)
    [   38.898868] MtCmdSetTxRxPath: ctrl_chl=112, ctrl_ch2=0, cent_ch=112, RxPath=f, BandIdx=0, ChBand=1, BW=0,TXStream=4, RXStream=15, scan(1)
    [   39.108530] mt7915_apply_dpd_flatness_data: DPD Pre-Cal finished, load DPD Pre-Cal data
    [   39.116625] MtCmdChannelSwitch: ctrl_chl=116, ctrl_ch2=0, cent_ch=116 DBDCIdx=0, ChBand=1, BW=0, TXStream=4, RXStream=4, scan(1)
    [   39.142963] MtCmdSetTxRxPath: ctrl_chl=116, ctrl_ch2=0, cent_ch=116, RxPath=f, BandIdx=0, ChBand=1, BW=0,TXStream=4, RXStream=15, scan(1)
    [   39.352525] mt7915_apply_dpd_flatness_data: DPD Pre-Cal finished, load DPD Pre-Cal data
    [   39.360667] MtCmdChannelSwitch: ctrl_chl=120, ctrl_ch2=0, cent_ch=120 DBDCIdx=0, ChBand=1, BW=0, TXStream=4, RXStream=4, scan(1)
    [   39.386941] MtCmdSetTxRxPath: ctrl_chl=120, ctrl_ch2=0, cent_ch=120, RxPath=f, BandIdx=0, ChBand=1, BW=0,TXStream=4, RXStream=15, scan(1)
    [   39.596524] mt7915_apply_dpd_flatness_data: DPD Pre-Cal finished, load DPD Pre-Cal data
    [   39.604644] MtCmdChannelSwitch: ctrl_chl=124, ctrl_ch2=0, cent_ch=124 DBDCIdx=0, ChBand=1, BW=0, TXStream=4, RXStream=4, scan(1)
    [   39.630971] MtCmdSetTxRxPath: ctrl_chl=124, ctrl_ch2=0, cent_ch=124, RxPath=f, BandIdx=0, ChBand=1, BW=0,TXStream=4, RXStream=15, scan(1)
    [   39.840514] mt7915_apply_dpd_flatness_data: DPD Pre-Cal finished, load DPD Pre-Cal data
    [   39.848594] MtCmdChannelSwitch: ctrl_chl=128, ctrl_ch2=0, cent_ch=128 DBDCIdx=0, ChBand=1, BW=0, TXStream=4, RXStream=4, scan(1)
    [   39.874854] MtCmdSetTxRxPath: ctrl_chl=128, ctrl_ch2=0, cent_ch=128, RxPath=f, BandIdx=0, ChBand=1, BW=0,TXStream=4, RXStream=15, scan(1)
    [   40.084444] ====================================================================
    [   40.091855] Channel  36 : Busy Time =   1737, Skip Channel = FALSE, BwCap = TRUE
    [   40.099254] Channel  40 : Busy Time =   1270, Skip Channel = FALSE, BwCap = TRUE
    [   40.106652] Channel  44 : Busy Time =    642, Skip Channel = FALSE, BwCap = TRUE
    [   40.114048] Channel  48 : Busy Time =    733, Skip Channel = FALSE, BwCap = TRUE
    [   40.121444] Channel  52 : Busy Time =     54, Skip Channel = FALSE, BwCap = TRUE
    [   40.128912] Channel  56 : Busy Time =     36, Skip Channel = FALSE, BwCap = TRUE
    [   40.136310] Channel  60 : Busy Time =     43, Skip Channel = FALSE, BwCap = TRUE
    [   40.143707] Channel  64 : Busy Time =      5, Skip Channel = FALSE, BwCap = TRUE
    [   40.151102] Channel 100 : Busy Time =    230, Skip Channel = FALSE, BwCap = TRUE
    [   40.158498] Channel 104 : Busy Time =    113, Skip Channel = FALSE, BwCap = TRUE
    [   40.165897] Channel 108 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   40.173292] Channel 112 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   40.180688] Channel 116 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   40.188084] Channel 120 : Busy Time =    307, Skip Channel = FALSE, BwCap = TRUE
    [   40.195480] Channel 124 : Busy Time =     11, Skip Channel = FALSE, BwCap = TRUE
    [   40.202875] Channel 128 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   40.210270] ====================================================================
    [   40.217672] Rule 3 Channel Busy time value : Select Primary Channel 108
    [   40.224285] Rule 3 Channel Busy time value : Min Channel Busy = 307
    [   40.230588] Rule 3 Channel Busy time value : BW = 160
    [   40.235644] [SelectClearChannelBusyTime] - band0 END
    [   40.240610] ApAutoChannelAtBootUp : Auto channel selection: Selected channel = 108, IsAband = 1
    [   40.249313]  [RadarStateCheck] RD_SILENCE_MODE
    [   40.254813] [DfsCacNormalStart][RDM] CAC 65 seconds start . Disable MAC TX
    [   40.261743] [DfsSwitchCheck]: DFS ByPass TX calibration.
    [   40.267143] mt7195_find_both_central_for_bw160() : BW_160 CtrlCh [108] CentCh [114]
    [   40.267143]  => PrimCentral [106] , SecCentral [122]
    [   40.279753] mt7915_apply_dpd_flatness_data: DPD Pre-Cal finished, load DPD Pre-Cal data
    [   40.287820] mt7915_apply_dpd_flatness_data: DPD Pre-Cal finished, load DPD Pre-Cal data
    [   40.295885] MtCmdChannelSwitch: T/RX stream (4) should not be larger than 2 when BW160 is set
    [   40.305105] MtCmdChannelSwitch: ctrl_chl=108, ctrl_ch2=0, cent_ch=114 DBDCIdx=0, ChBand=1, BW=3, TXStream=4, RXStream=4, scan(0)
    [   40.349574] MtCmdSetTxRxPath: ctrl_chl=108, ctrl_ch2=0, cent_ch=114, RxPath=f, BandIdx=0, ChBand=1, BW=3,TXStream=4, RXStream=15, scan(0)
    [   40.362171] DfsBuildChannelList(): Done
    [   40.366034] zero_wait_dfs_switch_ch(): outband ch 0, ch_stat 0
    [   40.371865] ApAutoChannelAtBootUp<-----------------
    [   40.376749] [PMF]APPMFInit:: apidx=0, MFPC=0, MFPR=0, SHA256=0
    [   40.382857] Caller: RTMPSetHT+0x2d0/0x328 [mt_wifi]
    [   40.387750]
    [   40.387750] phy_mode=177, ch=108, wdev_type=1
    [   40.393588] ht_cap: ht_cap->HtCapInfo,
    [   40.397424] ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=1
    [   40.405080] ht_cap: ht_cap->HtCapParm,
    [   40.408916] mdpu_density=5, ampdu_factor=3
    [   40.413030] wifi_sys_linkup(), wdev idx = 0
    [   40.417219] wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:287 for WDEV_TYPE:1
    [   40.417219]  LinkToOmacIdx = 0, LinkToWdevType = 1
    [   40.430155] TRTableInsertMcastEntry:band0 group_idx[0]=0
    [   40.504780] (bssUpdateChannel), ucPrimCh=108, ucCentChSeg0=114, ucCentChSeg1=0, BW=3, ucHetbRU26Disable=0, ucHetbAllDisable=1
    [   40.516087] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 8320, CmdBssInfoBmcRate.u2McTransmit = 8320
    [   40.532520] UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 0 (rai0)
    [   40.538882]  Band0 BcnInitedRnd = 45
    [   40.542667] MtCmdTxPowerSKUCtrl: tx_pwr_sku_en: 1, BandIdx: 0
    [   40.548481] MtCmdTxBfBackoffCtrl: fgTxBFBackoffEn: 1, BandIdx: 0
    [   40.554548] MtCmdTxPowerPercentCtrl: fgTxPowerPercentEn: 1, BandIdx: 0
    [   40.561128] TxCCKStreamCtrl: set wrong parameters
    [   40.573183] set muru_update_he_cfg()!!!!
    [   40.577110] PrintSrCmd:
    [   40.577110] u1CmdSubId = 1, u1ArgNum = 0, u1DbdcIdx = 0, u1Status = 0
    [   40.577110] u1DropTaIdx = 0, u1StaIdx = 0, u4Value = 1
    [   40.591141] PrintSrCmd:
    [   40.591141] u1CmdSubId = 5, u1ArgNum = 0, u1DbdcIdx = 0, u1Status = 0
    [   40.591141] u1DropTaIdx = 0, u1StaIdx = 0, u4Value = 0
    [   40.605217] PrintSrCmd:
    [   40.605217] u1CmdSubId = 3, u1ArgNum = 0, u1DbdcIdx = 0, u1Status = 0
    [   40.605217] u1DropTaIdx = 0, u1StaIdx = 0, u4Value = 1
    [   40.619304] apidx 0 for WscUUIDInit
    [   40.622796] Generate UUID for apidx(0)
    [   40.626588] WDS_Init():wds_num[0]=0, count=0, MAX_WDS_ENTRY=16, if_idx=0, flg_wds_init=0
    [   40.634835] Total allocated 0 WDS(es) for band0!
    [   40.639469] mtk_ppe_dev_register_hook : ineterface rai0 register (2)
    [   40.646607] add tx_src: 04:ab:18:**:**:7a
    [   40.651354] add tx_src: 02:ab:18:bf:04:7a
    [   40.655765] no net device found for rai1 or apclii0
    [   40.660732] no net device found for rai2 or apclii0
    [   40.660976] device rai0 entered promiscuous mode
    [   40.661010] br-lan: port 3(rai0) entered forwarding state
    [   40.661028] br-lan: port 3(rai0) entered forwarding state
    [   40.682128] no net device found for rai3 or apclii0
    [   40.688026] no net device found for rai4 or apclii0
    [   40.693014] no net device found for rai5 or apclii0
    [   40.698259] no net device found for rai6 or apclii0
    [   40.703561] no net device found for rai7 or apclii0
    [   40.708534] no net device found for rai8 or apclii0
    [   40.710292] mtk_ppe_dev_register_hook : rai0 has been registered in wifi_hook_if table[2]
    [   40.721882] no net device found for rai9 or apclii0
    [   40.726849] no net device found for rai10 or apclii0
    [   40.731917] no net device found for rai11 or apclii0
    [   40.737294] no net device found for rai12 or apclii0
    [   40.742363] no net device found for rai13 or apclii0
    [   40.749907] no net device found for rai14 or apclii0
    [   40.754998] no net device found for rai15 or apclii0
    [   41.039699] Enable GAS service for MBSSID[0]
    [   41.054275] Enable GAS service for MBSSID[0]
    [   41.059399] Unknow Parameter:8
    [   41.063092] Unknow Parameter:0
    [   42.664305] br-lan: port 3(rai0) entered forwarding state
    [   46.279069] Set_MapR2_Proc: MAP R2 is enabled
    [   46.285398] Set_MapTS_Proc: MAP TS is enabled
    [   46.295775] Set_MapR2_Proc: MAP R2 is enabled
    [   46.302083] Set_MapTS_Proc: MAP TS is enabled
    [   52.624173] Enable GAS service for MBSSID[0]
    [   52.628953] Enable GAS service for MBSSID[0]
    [   52.633252] Unknow Parameter:8
    [   52.753311] Unknow Parameter:0
    [   52.756408] Unknow Parameter:1
    [   52.759457] Unknow Parameter:2
    [   52.762873] Unknow Parameter:3
    [   52.765998] Set_AP_VENDOR_SPECIFIC_IE: Unknown OUIType = 16
    [   52.771757] Set_AP_VENDOR_SPECIFIC_IE: Unknown OUIType = 9
    [   52.777431] set_wapp_cmm_ie: Unknown IE(EID = 111)
    [   52.782491] set_wapp_cmm_ie: Unknown IE(EID = 110)
    [   52.787397] Set_HotSpot_OnOff ==> wdev[0] is already in [OFF] STATE , skip.
    [   52.797776] Set_Fh_Bss_Proc ra0 wdev->MAPCfg.DevOwnRole 0x0
    [   52.806929] Set_Fh_Bss_Proc ra0 wdev->MAPCfg.DevOwnRole 0x20
    [   52.819994] Set_Fh_Bss_Proc rai0 wdev->MAPCfg.DevOwnRole 0x0
    [   52.829269] Set_Fh_Bss_Proc rai0 wdev->MAPCfg.DevOwnRole 0x20
    [  107.040560] [DfsCacEndUpdate][RDM] CAC end. Enable MAC TX.
    
    

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
    
    

WRC-2533GHBK-I

数日前、久しぶりに春日部のハードオフへ行った際に確保。しばらく前にこの店舗に行った際からあったものの、その際は見送っていたが今度はなんとなく購入。
MT7621であることは予め把握しており、サポート投げ込みのため弄っていくのでメモ。

Switch

zone WAN LAN
port
(WRC-2533GHBK-I)
INTERNET LAN4 LAN3 LAN2 LAN1
port
(MT7530)
port0 port1 port2 port3 port4

MAC

  • LAN: BC:5C:4C:xx:xx:89 (Config, ethaddr (text))
  • WAN: BC:5C:4C:xx:xx:88 (Config, wanaddr (text))
  • 2.4G: BC:5C:4C:xx:xx:8A (Factory, 0x4 (hex))
  • 5G: BC:5C:4C:xx:xx:8B (Factory, 0x8004 (hex))

U-Boot

  • help
    MT7621 # help
    ?       - alias for 'help'
    bootm   - boot application image from memory
    elx_check      - check ELX image
    go      - start application at address 'addr'
    help    - print online help
    md      - memory display
    mdio   - Ralink PHY register R/W command !!
    mm      - memory modify (auto-incrementing)
    mw      - memory write (fill)
    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
    tftpboot- boot image via network using TFTP protocol
    version - print monitor version
    

  • version
    MT7621 # version
    
    U-Boot 1.1.3 (Jan 19 2016 - 10:46:13)
    

  • printenv
    MT7621 # printenv
    bootcmd=tftp
    baudrate=57600
    ethaddr="BC:5C:4C:**:**:**"
    ramargs=setenv bootargs root=/dev/ram rw
    addip=setenv bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):$(netdev):off
    addmisc=setenv bootargs $(bootargs) console=ttyS0,$(baudrate) ethaddr=$(ethaddr) panic=1
    flash_self=run ramargs addip addmisc;bootm $(kernel_addr) $(ramdisk_addr)
    kernel_addr=BFC40000
    u-boot=u-boot.bin
    load=tftp 8A100000 $(u-boot)
    u_b=protect off 1:0-1;era 1:0-1;cp.b 8A100000 BC400000 $(filesize)
    loadfs=tftp 8A100000 root.cramfs
    u_fs=era bc540000 bc83ffff;cp.b 8A100000 BC540000 $(filesize)
    test_tftp=tftp 8A100000 root.cramfs;run test_tftp
    ethact=Eth0 (10/100-M)
    language_code=jp
    hw_id=0107002d
    domain=1
    pincode=********
    wlanaddr=BC:5C:4C:**:**:**
    kver=1.20.0
    sn=12345678901234567890123456789012
    usboot=0
    bver=4.0.1.5
    dom2=1
    wanaddr=BC:5C:4C:**:**:**
    bootdelay=2
    filesize=52a000
    fileaddr=80A00000
    ipaddr=192.168.99.9
    serverip=192.168.99.8
    autostart=no
    bootfile=uImage_ELECOM-WRC-2533GHBK-I
    op_mode=0
    stdin=serial
    stdout=serial
    stderr=serial
    
    Environment size: 1051/4092 bytes
    

  • tftpboot
    MT7621 # tftpboot
    
    netboot_common, argc= 1
    
    NetTxPacket = 0x87FE42C0
    
    KSEG1ADDR(NetTxPacket) = 0xA7FE42C0
    
    NetLoop,call eth_halt !
    
    NetLoop,call eth_init !
    Trying Eth0 (10/100-M)
    
    Waitting for RX_DMA_BUSY status Start... done
    
    ETH_STATE_ACTIVE!!
    Using Eth0 (10/100-M) device
    TFTP from server 192.168.99.8; our IP address is 192.168.99.9
    Filename 'uImage_ELECOM-WRC-2533GHBK-I'.
    
    TIMEOUT_COUNT=10,Load address: 0x80100000
    Loading: *
    

  • help elx_check
    MT7621 # help elx_check
    elx_check usage:
    elx_check <addr>        - check image in <addr>
    

Kernel

パスワードが掛けられている

  • uname -a
    # uname -a
    Linux localhost.localdomain 3.2.9 #3 SMP Wed Jan 25 16:24:22 CST 2017 mips GNU/Linux
    

  • cat /proc/version
    # cat /proc/version
    Linux version 3.2.9 (root@ubuntu) (gcc version 4.6.4 (Buildroot 2013.05) ) #3 SMP Wed Jan 25 16:24:22 CST 2017
    

  • cat /proc/cpuinfo
    # cat /proc/cpuinfo
    system type             : Mediatek MT7621 ver:1 eco:3
    machine                 : Ralink MT7621
    processor               : 0
    cpu model               : MIPS 1004Kc V2.15
    BogoMIPS                : 583.68
    wait instruction        : yes
    microsecond timers      : yes
    tlb_entries             : 32
    extra interrupt vector  : yes
    hardware watchpoint     : yes, count: 4, address/irw mask: [0x0000, 0x0000, 0x0000, 0x0000]
    ASEs implemented        : mips16 dsp mt
    shadow register sets    : 1
    kscratch registers      : 0
    core                    : 0
    VCED exceptions         : not available
    VCEI exceptions         : not available
    
    processor               : 1
    cpu model               : MIPS 1004Kc V2.15
    BogoMIPS                : 583.68
    wait instruction        : yes
    microsecond timers      : yes
    tlb_entries             : 32
    extra interrupt vector  : yes
    hardware watchpoint     : yes, count: 4, address/irw mask: [0x0000, 0x0000, 0x0000, 0x0000]
    ASEs implemented        : mips16 dsp mt
    shadow register sets    : 1
    kscratch registers      : 0
    core                    : 0
    VCED exceptions         : not available
    VCEI exceptions         : not available
    
    processor               : 2
    cpu model               : MIPS 1004Kc V2.15
    BogoMIPS                : 583.68
    wait instruction        : yes
    microsecond timers      : yes
    tlb_entries             : 32
    extra interrupt vector  : yes
    hardware watchpoint     : yes, count: 4, address/irw mask: [0x0000, 0x0000, 0x0000, 0x0000]
    ASEs implemented        : mips16 dsp mt
    shadow register sets    : 1
    kscratch registers      : 0
    core                    : 1
    VCED exceptions         : not available
    VCEI exceptions         : not available
    
    processor               : 3
    cpu model               : MIPS 1004Kc V2.15
    BogoMIPS                : 583.68
    wait instruction        : yes
    microsecond timers      : yes
    tlb_entries             : 32
    extra interrupt vector  : yes
    hardware watchpoint     : yes, count: 4, address/irw mask: [0x0000, 0x0000, 0x0000, 0x0000]
    ASEs implemented        : mips16 dsp mt
    shadow register sets    : 1
    kscratch registers      : 0
    core                    : 1
    VCED exceptions         : not available
    VCEI exceptions         : not available
    

  • cat /proc/meminfo
    # cat /proc/meminfo
    MemTotal:         125868 kB
    MemFree:           82984 kB
    Buffers:            2820 kB
    Cached:            10300 kB
    SwapCached:            0 kB
    Active:             4272 kB
    Inactive:          11020 kB
    Active(anon):       2200 kB
    Inactive(anon):     1212 kB
    Active(file):       2072 kB
    Inactive(file):     9808 kB
    Unevictable:           0 kB
    Mlocked:               0 kB
    SwapTotal:             0 kB
    SwapFree:              0 kB
    Dirty:                 0 kB
    Writeback:             0 kB
    AnonPages:          2260 kB
    Mapped:             1864 kB
    Shmem:              1240 kB
    Slab:              15580 kB
    SReclaimable:        868 kB
    SUnreclaim:        14712 kB
    KernelStack:         808 kB
    PageTables:          400 kB
    NFS_Unstable:          0 kB
    Bounce:                0 kB
    WritebackTmp:          0 kB
    CommitLimit:       62932 kB
    Committed_AS:     349940 kB
    VmallocTotal:    1048372 kB
    VmallocUsed:        7108 kB
    VmallocChunk:    1038468 kB
    

  • cat /proc/mtd
    # cat /proc/mtd
    dev:    size   erasesize  name
    mtd0: 01000000 00010000 "ALL"
    mtd1: 00030000 00010000 "Bootloader"
    mtd2: 00010000 00010000 "Config"
    mtd3: 00010000 00010000 "Factory"
    mtd4: 009a0000 00010000 "Kernel"
    mtd5: 007d0000 00010000 "user"
    mtd6: 00200000 00010000 "TM_1"
    mtd7: 00200000 00010000 "TM_2"
    mtd8: 00180000 00010000 "manufacture"
    mtd9: 00010000 00010000 "backup"
    mtd10: 00080000 00010000 "storage"
    

  • ls -al /sys/class/leds/
    # ls -al /sys/class/leds/
    lrwxrwxrwx    1         0 Sep  1 00:10 PoE -> ../../devices/platform/leds-gpio/leds/PoE
    lrwxrwxrwx    1         0 Sep  1 00:00 2g_led -> ../../devices/platform/leds-gpio/leds/2g_led
    lrwxrwxrwx    1         0 Sep  1 00:00 5g_led -> ../../devices/platform/leds-gpio/leds/5g_led
    lrwxrwxrwx    1         0 Sep  1 00:00 wps_led -> ../../devices/platform/leds-gpio/leds/wps_led
    lrwxrwxrwx    1         0 Sep  1 00:00 power_led -> ../../devices/platform/leds-gpio/leds/power_led
    drwxr-xr-x   20         0 Sep  1 00:00 ..
    drwxr-xr-x    2         0 Sep  1 00:00 .
    

  • elecom_header –help
    # elecom_header --help
    usage:    head    [-h?]      -h This help
    -s    Source filename
    -d    Destination filename
    -x    Remove ELECOM Header
    -c    Customer Name
    -p    Product Name
    -v    Version
    

  • header –help
    # header --help
    usage:    head    [-h?]      -h This help
    -s    Source filename
    -d    Destination filename
    -a    Auto set parameter
    -t    Types:
    bootloader (1)
    kernel (3)
    apps (5)
    factoryapps (11)
    userconfig (7)
    langpack (13)
    cust_logo (15)
    cust_apps (17)
    -v    Version
    -x    Recovery MD5 file [-u Magickey]
    -r    Vendor ID
    -p    Product ID
    -m    Magic Key(32 bits)
    -c    Code Version
    

  • elecom_header -x wrc-2533ghbk-i_v1.20.bin
    header -x wrc-2533ghbk-i_v1.20.bin

    # elecom_header -x wrc-2533ghbk-i_v1.20.bin
    ### Remove Customer Header ####
    ------- Customer Header Info -------
    Customer Name : ELECOM
    Product  Name : WRC-2533GHBK-I
    Product  Version : 1.20
    ------------------------------
    Header-Remove finished, got file [wrc-2533ghbk-i_v1.20.bin] with size 5496960 bytes
    header: Return OK
    # header -x wrc-2533ghbk-i_v1.20.bin
    ### Decoding  image ####
    Decode source file [wrc-2533ghbk-i_v1.20.bin]
    ------- Header Info -------
    Vendor  id:  0x0107
    Product id:  0x002d
    Hardware id:  0x0107002d
    Version id:  3047
    Code Version:  1.20.0
    Type: 0x3 [kernel]
    comp_file_len:  5496832
    comp_file_sum:  0x0
    Header sum:  0x231
    Magic key:  0x30471688
    MD5 chksum:  82aceff9d45fa388673d28e1182f
    ------------------------------
    Decode finished, got file [wrc-2533ghbk-i_v1.20.bin.bin] with size 5496832 bytes
    header: Return OK
    

  • bootlog
    ===================================================================
    MT7621   stage1 code Mar 12 2015 14:43:30 (ASIC)
    CPU=500000000 HZ BUS=125000000 HZ
    ==================================================================
    Change MPLL source from XTAL to CR...
    do MEMPLL setting..
    MEMPLL Config : 0x11000000
    3PLL mode + External loopback
    === XTAL-40Mhz === DDR-1200Mhz ===
    PLL4 FB_DL: 0x7, 1/0 = 545/479 1D000000
    PLL2 FB_DL: 0xc, 1/0 = 531/493 31000000
    PLL3 FB_DL: 0xd, 1/0 = 514/510 35000000
    do DDR setting..[01F40000]
    Apply DDR3 Setting...(use default 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    0    0    1    1    1    1    1    1    1
    000F:|    0    0    0    0    1    1    1    1    1    1    1    1    1    1    0    0
    0010:|    1    1    1    1    1    1    1    1    1    0    0    0    0    0    0    0
    0011:|    1    1    1    1    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
    DRAMC_DQSCTL1[0e0]=13000000
    DRAMC_DQSGCTL[124]=80000033
    rank 0 coarse = 15
    rank 0 fine = 72
    B:|    0    0    0    0    0    0    0    1    1    1    0    0    0    0    0    0
    opt_dle value:8
    DRAMC_DDR2CTL[07c]=C287220D
    DRAMC_PADCTL4[0e4]=000022B3
    DRAMC_DQIDLY1[210]=0B0A080D
    DRAMC_DQIDLY2[214]=060A070A
    DRAMC_DQIDLY3[218]=0E090908
    DRAMC_DQIDLY4[21c]=0B090E0A
    DRAMC_R0DELDLY[018]=00001F1E
    ==================================================================
    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 |    11 6 9 9 8 6 9 6 3 9
    10 |    7 10 7 11 6 9
    --------------------------------------
    
    ==================================================================
    2.dqs window
    x=pass dqs delay value (min~max)center
    y=0-7bit DQ of every group
    input delay:DQS0 =30 DQS1 = 31
    ==================================================================
    bit     DQS0     bit      DQS1
    0  (1~56)28  8  (1~52)26
    1  (1~56)28  9  (2~60)31
    2  (1~58)29  10  (2~56)29
    3  (1~56)28  11  (1~54)27
    4  (1~56)28  12  (1~56)28
    5  (1~58)29  13  (1~56)28
    6  (1~57)29  14  (1~56)28
    7  (1~60)30  15  (1~57)29
    ==================================================================
    3.dq delay value last
    ==================================================================
    bit|    0  1  2  3  4  5  6  7  8   9
    --------------------------------------
    0 |    13 8 10 11 10 7 10 6 8 9
    10 |    9 14 10 14 9 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 = ffff01aa
    DQ loop=14, cmp_err_1 = ffff00aa
    dqs_perbyte_dly.last_dqdly_pass[1]=14,  finish count=1
    DQ loop=13, cmp_err_1 = ffff0082
    DQ loop=12, cmp_err_1 = ffff0000
    dqs_perbyte_dly.last_dqdly_pass[0]=12,  finish count=2
    byte:0, (DQS,DQ)=(9,8)
    byte:1, (DQS,DQ)=(8,8)
    DRAMC_DQODLY1[200]=88888888
    DRAMC_DQODLY2[204]=88888888
    20,data:89
    [EMI] DRAMC calibration passed
    
    ===================================================================
    MT7621   stage1 code done
    CPU=500000000 HZ BUS=125000000 HZ
    ===================================================================
    
    U-Boot 1.1.3 (Jan 19 2016 - 10:46:13)
    
    Board: Ralink APSoC DRAM:  128 MB
    relocate_code Pointer at: 87fb8000
    
    Config XHCI 40M PLL
    flash manufacture id: c2, device id 20 18
    find flash: MX25L12805D
    ============================================
    Ralink UBoot Version: 4.0.1.0
    ELX UBoot Version: 1.0.2
    --------------------------------------------
    ASIC 7621_MP (MAC to MT7530 Mode)
    DRAM_CONF_FROM: Auto-Detection
    DRAM_TYPE: DDR3
    DRAM bus: 16 bit
    Xtal Mode=3 OCP Ratio=1/4
    Flash component: SPI Flash
    Date:Jan 19 2016  Time:10:46:13
    ============================================
    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
    
    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.
    9: Load Boot Loader code then write to Flash via TFTP.                                                                                           0
    
    3: System Boot system code via Flash.
    ## Booting image at bfc50000 ...
    Image Name:   Linux Kernel Image
    Image Type:   MIPS Linux Kernel Image (lzma compressed)
    Data Size:    1852551 Bytes =  1.8 MB
    Load Address: 80001000
    Entry Point:  803027c0
    Verifying Checksum ... OK
    Uncompressing Kernel Image ... OK
    No initrd
    ## Transferring control to Linux (at address 803027c0) ...
    ## Giving linux memsize in MB, 128
    
    Starting kernel ...
    
    Linux version 3.2.9 (root@ubuntu) (gcc version 4.6.4 (Buildroot 2013.05) ) #3 SMP Wed Jan 25 16:24:22 CST 2017
    GCMP present
    bootconsole [early0] enabled
    CPU revision is: 0001992f (MIPS 1004Kc)
    Mediatek MT7621 ver:1 eco:3 running at 880.00 MHz
    Software DMA cache coherency
    Determined physical RAM map:
    memory: 08000000 @ 00000000 (usable)
    Initrd not found or empty - disabling initrd
    Zone PFN ranges:
    Normal   0x00000000 -> 0x00008000
    Movable zone start PFN for each node
    early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00008000
    Detected 3 available secondary CPU(s)
    PERCPU: Embedded 7 pages/cpu @81103000 s4800 r8192 d15680 u32768
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
    Kernel command line:  console=ttyS0,57600 root=/dev/ram0 rootfstype=squashfs,jffs2
    PID hash table entries: 512 (order: -1, 2048 bytes)
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Primary instruction cache 32kB, VIPT, , 4-waylinesize 32 bytes.
    Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
    MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
    Writing ErrCtl register=00016041
    Readback ErrCtl register=00016041
    Memory: 124076k/131072k available (3122k kernel code, 6996k reserved, 703k data, 1792k init, 0k highmem)
    SLUB: Genslabs=9, HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    Hierarchical RCU implementation.
    NR_IRQS:128
    gic: revision 3.0
    CPU0: status register was 11000000
    CPU0: status register now 11001800
    CPU0: status register frc 1100dc00
    console [ttyS0] enabled, bootconsole disabled
    console [ttyS0] enabled, bootconsole disabled
    Calibrating delay loop... 574.46 BogoMIPS (lpj=1148928)
    pid_max: default: 32768 minimum: 301
    Mount-cache hash table entries: 512
    CPU revision is: 0001992f (MIPS 1004Kc)
    Primary instruction cache 32kB, VIPT, , 4-waylinesize 32 bytes.
    Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
    MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
    CPU revision is: 0001992f (MIPS 1004Kc)
    Primary instruction cache 32kB, VIPT, , 4-waylinesize 32 bytes.
    Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
    MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
    CPU revision is: 0001992f (MIPS 1004Kc)
    Primary instruction cache 32kB, VIPT, , 4-waylinesize 32 bytes.
    Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
    MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
    Brought up 4 CPUs
    Synchronize counters across 4 CPUs: done.
    NET: Registered protocol family 16
    MIPS: machine is Ralink MT7621
    before gpio setting:407ac
    after gpio setting:405ac
    release PCIe RST: RALINK_RSTCTRL = 3000000
    PCIE PHY initialize
    ***** Xtal 40MHz *****
    start MT7621 PCIe register access
    RALINK_RSTCTRL = 3000000
    RALINK_CLKCFG1 = 77ffeff8
    
    *************** MT7621 PCIe RC mode *************
    pcie_link status = 0x3
    RALINK_RSTCTRL= 3000000
    *** Configure Device number setting of Virtual PCI-PCI bridge ***
    RALINK_PCI_PCICFG_ADDR = 21007f2 -> 21007f2
    PCIE0 enabled
    PCIE1 enabled
    interrupt enable status: 300000
    Port 1 N_FTS = 1b105000
    Port 0 N_FTS = 1b105000
    config reg done
    init_rt2880pci done
    bio: create slab  at 0
    SCSI subsystem initialized
    pci 0000:00:00.0: BAR 0: can't assign mem (size 0x80000000)
    pci 0000:00:01.0: BAR 0: can't assign mem (size 0x80000000)
    pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
    pci 0000:00:01.0: BAR 8: assigned [mem 0x60100000-0x601fffff]
    pci 0000:00:00.0: BAR 1: assigned [mem 0x60200000-0x6020ffff]
    pci 0000:00:00.0: BAR 1: set to [mem 0x60200000-0x6020ffff] (PCI address [0x60200000-0x6020ffff])
    pci 0000:00:01.0: BAR 1: assigned [mem 0x60210000-0x6021ffff]
    pci 0000:00:01.0: BAR 1: set to [mem 0x60210000-0x6021ffff] (PCI address [0x60210000-0x6021ffff])
    pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
    pci 0000:01:00.0: BAR 0: set to [mem 0x60000000-0x600fffff 64bit] (PCI address [0x60000000-0x600fffff])
    pci 0000:00:00.0: PCI bridge to [bus 01-01]
    pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
    pci 0000:02:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit]
    pci 0000:02:00.0: BAR 0: set to [mem 0x60100000-0x601fffff 64bit] (PCI address [0x60100000-0x601fffff])
    pci 0000:00:01.0: PCI bridge to [bus 02-02]
    pci 0000:00:01.0:   bridge window [mem 0x60100000-0x601fffff]
    PCI: Enabling device 0000:00:00.0 (0004 -> 0006)
    PCI: Enabling device 0000:00:01.0 (0004 -> 0006)
    BAR0 at slot 0 = 0
    bus=0x0, slot = 0x0
    res[0]->start = 0
    res[0]->end = 0
    res[1]->start = 60200000
    res[1]->end = 6020ffff
    res[2]->start = 0
    res[2]->end = 0
    res[3]->start = 0
    res[3]->end = 0
    res[4]->start = 0
    res[4]->end = 0
    res[5]->start = 0
    res[5]->end = 0
    BAR0 at slot 1 = 0
    bus=0x0, slot = 0x1
    res[0]->start = 0
    res[0]->end = 0
    res[1]->start = 60210000
    res[1]->end = 6021ffff
    res[2]->start = 0
    res[2]->end = 0
    res[3]->start = 0
    res[3]->end = 0
    res[4]->start = 0
    res[4]->end = 0
    res[5]->start = 0
    res[5]->end = 0
    bus=0x1, slot = 0x0, irq=0x4
    res[0]->start = 60000000
    res[0]->end = 600fffff
    res[1]->start = 0
    res[1]->end = 0
    res[2]->start = 0
    res[2]->end = 0
    res[3]->start = 0
    res[3]->end = 0
    res[4]->start = 0
    res[4]->end = 0
    res[5]->start = 0
    res[5]->end = 0
    bus=0x2, slot = 0x1, irq=0x18
    res[0]->start = 60100000
    res[0]->end = 601fffff
    res[1]->start = 0
    res[1]->end = 0
    res[2]->start = 0
    res[2]->end = 0
    res[3]->start = 0
    res[3]->end = 0
    res[4]->start = 0
    res[4]->end = 0
    res[5]->start = 0
    res[5]->end = 0
    Switching to clocksource MIPS
    NET: Registered protocol family 2
    IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
    TCP: Hash tables configured (established 4096 bind 4096)
    TCP reno registered
    UDP hash table entries: 128 (order: 0, 4096 bytes)
    UDP-Lite hash table entries: 128 (order: 0, 4096 bytes)
    NET: Registered protocol family 1
    4 CPUs re-calibrate udelay(lpj = 1167360)
    Load Ralink Timer0 Module
    Load Ralink Timer1 Module
    Load Ralink Timer2 Module
    squashfs: version 4.0 (2009/01/31) Phillip Lougher
    JFFS2 version 2.2 (NAND) (SUMMARY) (ZLIB) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
    msgmni has been set to 242
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
    serial8250: ttyS0 at MMIO 0x1e000c00 (irq = 26) is a 16550A
    serial8250: ttyS1 at MMIO 0x1e000e00 (irq = 28) is a 16550A
    loop: module loaded
    flash manufacture id: c2, device id 20 18
    MX25L12805D(c2 2018c220) (16384 Kbytes)
    mtd .name = raspi, .size = 0x01000000 (16M) .erasesize = 0x00010000 (64K) .numeraseregions = 0
    Creating 11 MTD partitions on "raspi":
    0x000000000000-0x000001000000 : "ALL"
    0x000000000000-0x000000030000 : "Bootloader"
    0x000000030000-0x000000040000 : "Config"
    0x000000040000-0x000000050000 : "Factory"
    0x000000050000-0x0000009f0000 : "Kernel"
    0x000000220000-0x0000009f0000 : "user"
    0x0000009f0000-0x000000bf0000 : "TM_1"
    0x000000bf0000-0x000000df0000 : "TM_2"
    0x000000df0000-0x000000f70000 : "manufacture"
    0x000000f70000-0x000000f80000 : "backup"
    0x000000f80000-0x000001000000 : "storage"
    rdm_major = 253
    IMQ driver loaded successfully. (numdevs = 2, numqueues = 1)
    Hooking IMQ after NAT on PREROUTING.
    Hooking IMQ before NAT on POSTROUTING.
    GMAC1_MAC_ADRH -- : 0x0000000c
    GMAC1_MAC_ADRL -- : 0x43288052
    Ralink APSoC Ethernet Driver Initilization. v3.1  512 rx/tx descriptors allocated, mtu = 1500!
    GMAC1_MAC_ADRH -- : 0x0000000c
    GMAC1_MAC_ADRL -- : 0x43288025
    PROC INIT OK!
    PPP generic driver version 2.4.2
    PPP BSD Compression module registered
    PPP Deflate Compression module registered
    PPP MPPE Compression module registered
    NET: Registered protocol family 24
    Registered button device:reset, gpio:16,code:408,index:10
    Registered button device:wps, gpio:18,code:529,index:12
    Registered button device:op_mode_1, gpio:13,code:263,index:7
    GACT probability on
    Mirror/redirect action on
    Simple TC action Loaded
    netem: version 1.3
    u32 classifier
    Performance counters on
    input device check on
    Actions configured
    Netfilter messages via NETLINK v0.30.
    nf_conntrack version 0.5.0 (3750 buckets, 26250 max, 3750 max0, 30000 reserved)
    xt_time: kernel timezone is -0000
    ip_tables: (C) 2000-2006 Netfilter Core Team
    TCP westwood registered
    NET: Registered protocol family 10
    ip6_tables: (C) 2000-2006 Netfilter Core Team
    IPv6 over IPv4 tunneling driver
    NET: Registered protocol family 17
    NET: Registered protocol family 2
    L2TP core driver, V2.0
    8021q: 802.1Q VLAN Support v1.8
    Freeing unused kernel memory: 1792k freed
    System Init version: 1.1 date: 1
    Setting up file systems ...
    Setting up /mnt/tmpfs directory with tmpfs/16384KB
    Setting up FLASH storage partition ...
    JFFS2 notice: (343) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
    Setting up /apps directory ...apps is in FLASH ...
    Setting up loopback device ...
    FINISHED
    Start Normal Operation Mode ...
    ************************************************************************
    *                                ---ELX---                             *
    ************************************************************************
    
    KernelApp version: 1.20.0 build date: 2017/01/25 build time: 16:20:28
    cmd> ln: /sbin/./start_all: File exists
    Share memory created:  keyid 6888 shm_id 0 size 279(KB)
    Warning: dbox_destroy_share_memory p_dbox_cfg is NULL!
    nat_session_manager: module license 'unspecified' taints kernel.
    Disabling lock debugging due to kernel taint
    Start nat_session_reservation_init_driver
    __create_share_mem keyid 6888 shm_id 0
    FFFFFFFF:FFFFFFFF:FFFFFFFF:FFFFFFFF:FFFFFFFF:FFFFFFFF
    Raeth v3.1 (Tasklet)
    phy_free_head is 0x6c04000!!!
    phy_free_tail_phy is 0x6c05ff0!!!
    txd_pool=a73e4000 phy_txd_pool=073E4000
    ei_local->skb_free start address is 0x8703145c.
    free_txd: 073e4010, ei_local->cpu_ptr: 073E4000
    POOL  HEAD_PTR | DMA_PTR | CPU_PTR
    ----------------+---------+--------
    0xa73e4000 0x073E4000 0x073E4000
    
    phy_qrx_ring = 0x073c9000, qrx_ring = 0xa73c9000
    
    phy_rx_ring0 = 0x07332000, rx_ring0 = 0xa7332000
    GMAC1_MAC_ADRH -- : 0x0000000c
    GMAC1_MAC_ADRL -- : 0x43288025
    GDMA2_MAC_ADRH -- : 0x000000aa
    GDMA2_MAC_ADRL -- : 0xbbccdd20
    eth3: ===> VirtualIF_open
    CDMA_CSG_CFG = 81000000
    GDMA1_FWD_CFG = 20710000
    GDMA2_FWD_CFG = 20710000
    ra2880stop()...Done
    eth3: ===> VirtualIF_close
    Free TX/RX Ring Memory!
    FFFFFFFF:FFFFFFFF:FFFFFFFF:FFFFFFFF:FFFFFFFF:FFFFFFFF
    Raeth v3.1 (Tasklet)
    phy_free_head is 0x6d14000!!!
    phy_free_tail_phy is 0x6d15ff0!!!
    txd_pool=a6d10000 phy_txd_pool=06D10000
    ei_local->skb_free start address is 0x8703145c.
    free_txd: 06d10010, ei_local->cpu_ptr: 06D10000
    POOL  HEAD_PTR | DMA_PTR | CPU_PTR
    ----------------+---------+--------
    0xa6d10000 0x06D10000 0x06D10000
    
    phy_qrx_ring = 0x073e4000, qrx_ring = 0xa73e4000
    
    phy_rx_ring0 = 0x06d12000, rx_ring0 = 0xa6d12000
    GMAC1_MAC_ADRH -- : 0x0000bc5c
    GMAC1_MAC_ADRL -- : 0x4c****89
    eth3: ===> VirtualIF_open
    CDMA_CSG_CFG = 81000000
    GDMA1_FWD_CFG = 20710000
    GDMA2_FWD_CFG = 20710000
    GDMA2_MAC_ADRH -- : 0x0000bc5c
    GDMA2_MAC_ADRL -- : 0x4c****88
    eth3: ===> VirtualIF_open
    eth3: ===> VirtualIF_close
    GDMA2_MAC_ADRH -- : 0x0000bc5c
    GDMA2_MAC_ADRL -- : 0x4c****88
    eth3: ===> VirtualIF_open
    ADDRCONF(NETDEV_UP): br0: link is not ready
    device br_t.1 entered promiscuous mode
    device br_t entered promiscuous mode
    br0: port 1(br_t.1) entering forwarding state
    br0: port 1(br_t.1) entering forwarding state
    ADDRCONF(NETDEV_CHANGE): br0: link becomes ready
    br0: port 1(br_t.1) entering forwarding state
    device eth2 entered promiscuous mode
    br0: port 2(eth2) entering forwarding state
    br0: port 2(eth2) entering forwarding state
    br0: port 1(br_t.1) entering forwarding state
    br0: port 1(br_t.1) entering forwarding state
    device eth3 entered promiscuous mode
    br0: port 3(eth3) entering forwarding state
    br0: port 3(eth3) entering forwarding state
    
    ********************
    Initialize Radio_(24G) setting ...
    rd[0]==1
    OK
    
    Configuring Ralink WiFi device ...Wlan is in
    AP Mode
    CMD[insmod /lib/rlt_wifi.ko]
    ChipOpsMCUHook
    create [wsc_24g] proc!
    ChipOpsMCUHook
    create [wsc_5g] proc!
    CMD[cp /lib/7615_SingleSKU.dat /etc/Wireless/RT2860/7615_SingleSKU.dat]
    Copy single SKU file for 7615...
    CMD[cp /lib/7615_SingleSKU_BF.dat /etc/Wireless/RT2860/7615_SingleSKU_BF.dat]
    Copy single SKU BF file for 7615...
    CMD[ifconfig ra0 0.0.0.0 up]
    efuse_probe: efuse = 10000212
    MT7615BBPInit():BBP Initialization.....
    Band 0: valid=1, isDBDC=0, Band=2, CBW=1, CentCh/PrimCh=1/1, prim_ch_idx=0, txStream=2
    Band 1: valid=0, isDBDC=0, Band=0, CBW=0, CentCh/PrimCh=0/0, prim_ch_idx=0, txStream=0
    RTMPSetLEDStatus: before AndesLedEnhanceOP , status=1, LED_CMD=2!
    AndesLedEnhanceOP: Success!
    CMD[iwpriv ra0 set RadioOn=0]
    RTMPSetLEDStatus: before AndesLedEnhanceOP , status=0, LED_CMD=0!
    AndesLedEnhanceOP: Success!
    CMD[brctl addif br0 ra0]
    device ra0 entered promiscuous mode
    br0: port 4(ra0) entering forwarding state
    br0: port 4(ra0) entering forwarding state
    CMD[brctl addif br0 ra1]
    can't add ra1 to bridge br0: Invalid argument
    CMD[mkdir -p /etc/wsc_xml]
    CMD[ln -s /apps/etc/xml/* /etc/wsc_xml]
    CMD[route add -net 239.0.0.0 netmask 255.0.0.0 br0]
    CMD[wscd -i ra0 -m 1 -w /etc/wsc_xml -a 192.168.2.1&]
    CMD[iwpriv ra0 set RadioOn=1]
    br0: port 2(eth2) entering forwarding state
    br0: port 1(br_t.1) entering forwarding state
    br0: port 3(eth3) entering forwarding state
    RTMPSetLEDStatus: before AndesLedEnhanceOP , status=1, LED_CMD=2!
    AndesLedEnhanceOP: Success!
    CMD[iwpriv ra0 set WscConfMode=7]
    CMD[iwpriv ra0 set WscSetupLock=0]
    CMD[iwpriv ra0 set WscMaxPinAttack=5]
    CMD[iwpriv ra0 set HtMIMOPS=3]
    CMD[iwpriv ra0 set TxPowerFeatureCtrl=1:0:15]
    Interface doesn't accept private ioctl...
    set (8BE2): Invalid argument
    CMD[iwpriv ra0 set ChannRTMPSetLEDStatus: before AndesLedEnhanceOP , status=0, LED_CMD=0!
    el=11]
    AndesLedEnhanceOP: Success!
    RTMPSetLEDStatus: before AndesLedEnhanceOP , status=1, LED_CMD=2!
    AndesLedEnhanceOP: Success!
    Reload iwevent...
    send 15 to pid:682
    CMD[iwevent &]
    Waiting for Wireless Events from interfaces...
    
    ********************
    Initialize Radio_(5G) setting ...
    rd[1]==1
    OK
    Configuring 5G radio setting ...
    
    Configuring Ralink WiFi device ...Wlan is in
    AP Mode
    CMD[cp /lib/7615_SingleSKU.dat /etc/Wireless/RT2860/7615_SingleSKU.dat]
    Copy single SKU file for 7615...
    CMD[cp /lib/7615_SingleSKU_BF.dat /etc/Wireless/RT2860/7615_SingleSKU_BF.dat]
    Copy single SKU BF file for 7615...
    CMD[ifconfig rai0 0.0.0.0 up]
    efuse_probe: efuse = 10000212
    MT7615BBPInit():BBP Initialization.....
    Band 0: valid=1, isDBDC=0, Band=2, CBW=1, CentCh/PrimCh=1/1, prim_ch_idx=0, txStream=2
    Band 1: valid=0, isDBDC=0, Band=0, CBW=0, CentCh/PrimCh=0/0, prim_ch_idx=0, txStream=0
    RTMPSetLEDStatus: before AndesLedEnhanceOP , status=1, LED_CMD=2!
    AndesLedEnhanceOP: Success!
    br0: port 4(ra0) entering forwarding state
    CMD[iwpriv rai0 set RadioOn=0]
    RTMPSetLEDStatus: before AndesLedEnhanceOP , status=0, LED_CMD=0!
    AndesLedEnhanceOP: Success!
    CMD[brctl addif br0 rai0]
    device rai0 entered promiscuous mode
    br0: port 5(rai0) entering forwarding state
    br0: port 5(rai0) entering forwarding state
    CMD[mkdir -p /etc/wsc_xml]
    CMD[ln -s /apps/etc/xml/* /etc/wsc_xml]
    ln: /etc/wsc_xml/WFAWLANConfigSCPD.xml: File exists
    CMD[route add -net 239.0.0.0 netmask 255.0.0.0 br0]
    route: SIOCADDRT: File exists
    CMD[wscd -i rai0 -m 1 -w /etc/wsc_xml -a 192.168.2.1&]
    CMD[iwpriv rai0 set RadioOn=1]
    RTMPSetLEDStatus: before AndesLedEnhanceOP , status=1, LED_CMD=2!
    AndesLedEnhanceOP: Success!
    CMD[iwpriv rai0 set WscConfMode=7]
    CMD[iwpriv rai0 set WscSetupLock=0]
    CMD[iwpriv rai0 set WscMaxPinAttack=5]
    CMD[iwpriv rai0 set HtMIMOPS=3]
    CMD[iwpriv rai0 set TxPowerFeatureCtrl=1:0:15]
    Interface doesn't accept private ioctl...
    set (8BE2): Invalid argument
    CMD[iwpriv rai0 set Channel=36]
    Reload iwevent...
    send 15 to pid:985
    CMD[iwevent &]
    Waiting for Wireless Events from interfaces...
    
    RTMPSetLEDStatus: before AndesLedEnhanceOP , status=0, LED_CMD=0!
    AndesLedEnhanceOP: Success!
    RTMPSetLEDStatus: before AndesLedEnhanceOP , status=1, LED_CMD=2!
    AndesLedEnhanceOP: Success!
    Start wps_led driver
    Ebtables v2.0 registered
    __create_share_mem keyid 6888 shm_id 0
    __create_share_mem keyid 6888 shm_id 0
    RTMPSetLEDStatus: before AndesLedEnhanceOP , status=0, LED_CMD=0!
    AndesLedEnhanceOP: Success!
    RTMPSetLEDStatus: before AndesLedEnhanceOP , status=1, LED_CMD=2!
    AndesLedEnhanceOP: Success!
    RTMPSetLEDStatus: before AndesLedEnhanceOP , status=0, LED_CMD=0!
    AndesLedEnhanceOP: Success!
    RTMPSetLEDStatus: before AndesLedEnhanceOP , status=1, LED_CMD=2!
    AndesLedEnhanceOP: Success!
    br0: port 5(rai0) entering forwarding state