WXR-2533DHP2 pinmux ctl_reg

確認の為取得 devmem2コマンドがメーカーファームに存在してはいたが何となくBusyBoxをipq806xのSDKを使用してコンパイルし投入して使用した

WXR-2533DHPは以下の記事を参照
WXR-2533DHP pinmux ctl_reg

root@AP6084BD****28:~# echo -e "pin\treg\t\tval"; for p in $(seq 0 68); do print
f "%2d\t0x801%02x0\t" $p $p; ./busybox devmem 0x801$(printf "%02x" $p)0; done
pin	reg			val
0	0x801000	0x000000C0
1	0x801010	0x000002C0
2	0x801020	0x000000C0
3	0x801030	0x00000200
4	0x801040	0x00000001
5	0x801050	0x00000001
6	0x801060	0x00000003
7	0x801070	0x00000203
8	0x801080	0x00000203
9	0x801090	0x00000203
10	0x8010a0	0x00000344
11	0x8010b0	0x00000344
12	0x8010c0	0x00000144
13	0x8010d0	0x00000144
14	0x8010e0	0x000000C5
15	0x8010f0	0x00000203
16	0x801100	0x00000203
17	0x801110	0x00000003
18	0x801120	0x00000105
19	0x801130	0x00000105
20	0x801140	0x00000107
21	0x801150	0x00000145
22	0x801160	0x00000203
23	0x801170	0x00000203
24	0x801180	0x00000203
25	0x801190	0x00000203
26	0x8011a0	0x00000200
27	0x8011b0	0x000000C8
28	0x8011c0	0x000000C8
29	0x8011d0	0x000000C8
30	0x8011e0	0x000000C8
31	0x8011f0	0x000000C8
32	0x801200	0x000000C8
33	0x801210	0x00000301
34	0x801220	0x00000304
35	0x801230	0x00000304
36	0x801240	0x00000304
37	0x801250	0x00000304
38	0x801260	0x00000304
39	0x801270	0x00000307
40	0x801280	0x00000306
41	0x801290	0x00000306
42	0x8012a0	0x00000306
43	0x8012b0	0x00000306
44	0x8012c0	0x00000306
45	0x8012d0	0x00000306
46	0x8012e0	0x00000306
47	0x8012f0	0x00000306
48	0x801300	0x00000200
49	0x801310	0x00000001
50	0x801320	0x00000001
51	0x801330	0x000000C8
52	0x801340	0x000000C8
53	0x801350	0x00000200
54	0x801360	0x00000003
55	0x801370	0x00000003
56	0x801380	0x00000003
57	0x801390	0x00000003
58	0x8013a0	0x00000003
59	0x8013b0	0x000000C8
60	0x8013c0	0x000000C8
61	0x8013d0	0x000000C8
62	0x8013e0	0x000000C8
63	0x8013f0	0x00000200
64	0x801400	0x00000003
65	0x801410	0x00000003
66	0x801420	0x00000001
67	0x801430	0x00000003
68	0x801440	0x00000203

WXR-2533DHP2

とある方より、メーカーファームウェアの更新失敗品におけるOpenWrt化が上手くいかないということで検証/復旧依頼を受けたもの。どうもNAND Flashにおけるbadblockで問題を起こしているように思われ、根本的な対処はNAND交換してしまうことくらいしか無さそうに思える。ひとまず回避策としてOSイメージ領域2つを同一の状態に揃え、U-Bootでのチェックで書き込み操作が発生しない状態にすることで復旧させた。
このため特にUBIの構成に関してはWXR-2533DHP2本来のものとは異なる可能性もあることに留意。

Switch

zone WAN LAN
port
(WXR-2533DHP2)
INTERNET LAN4 LAN3 LAN2 LAN1
port
(QCA8337)
port5 port4 port3 port2 port1

MAC

  • LAN: 60:84:BD:xx:xx:28 (ART, 0x0 (hex))
  • WAN: 60:84:BDxx:xx:29 (ART, 0x6 (hex))
  • 2.4G: 60:84:BD:xx:xx:2A (ART, 0x18 (hex))
  • 5G: 60:84:BD:xx:xx:2B (ART, 0x1E (hex))

U-Boot

  • help
    (IPQ) # help
    ?       - alias for 'help'
    all_led_off- All LED Off
    all_led_on- All LED On
    base    - print or set address offset
    bootipq - bootipq from flash device
    bootm   - boot application image from memory
    bootmbn - bootmbn from flash device
    bootp   - boot image via network using BOOTP/TFTP protocol
    bootz   - boot Linux zImage image from memory
    button_status- Show all switch and button status
    chpart  - change active partition
    cmp     - memory compare
    cp      - memory copy
    crc32   - checksum calculation
    dhcp    - boot image via network using DHCP/TFTP protocol
    download- Download Image or Uboot to flash
    dumpipq_data- dumpipq_data crashdump collection from memory
    echo    - echo args to console
    env     - environment handling commands
    exit    - exit script
    false   - do nothing, unsuccessfully
    fdt     - flattened device tree utility commands
    getfirmware- Get Firmware from Tftp server and write to flash. [option]:single or dual
    go      - start application at address 'addr'
    help    - print command description/usage
    hwclear - Clear hardware variables
    hwcommit- Save hardware variables to persistent storage
    hwget   - Hardware variables get
    hwset   - Hardware variables set
    i2c     - I2C sub-system
    iminfo  - print header information for application image
    imxtract- extract a part of a multi-image
    ipq_nand- Switch between SBL and Linux kernel page layout.
    loop    - infinite loop on address range
    md      - memory display
    mii     - MII utility commands
    mm      - memory modify (auto-incrementing address)
    mmc     - MMC sub system
    mmcinfo - display MMC info
    mphyrd  - qca8511 packet processor PHY register display
    mphyrw  - qca8511 packet processor PHY register write (fill)
    mprd    - qca8511 packet processor register display
    mprw    - qca8511 packet processor register write (fill)
    mtdparts- define flash/nand partitions
    mtest   - simple RAM read/write test
    mw      - memory write (fill)
    nand    - NAND sub-system
    nboot   - boot from NAND device
    nm      - memory modify (constant address)
    ping    - send ICMP ECHO_REQUEST to network host
    printenv- print environment variables
    reset   - Perform RESET of the CPU
    run     - run commands in an environment variable
    saveenv - save environment variables to persistent storage
    setenv  - set environment variables
    sf      - SPI flash sub-system
    showvar - print local hushshell variables
    smeminfo- print SMEM FLASH information
    source  - run script from memory
    test    - minimal test like /bin/sh
    tftpboot- boot image via network using TFTP protocol
    tftpput - TFTP put command, for uploading files to a server
    tftpsrv - act as a TFTP server and boot the first received file
    true    - do nothing, successfully
    ubi     - ubi commands
    usb     - USB sub-system
    usbboot - boot from USB device
    version - print monitor, compiler and linker version
    

  • version
    (IPQ) # version
    
    BUFFALO WXR-2533DHP2 U-Boot Ver 1.15 (May 09 2016 - 17:25:22)
    arm-openwrt-linux-uclibcgnueabi-gcc (Linaro GCC 4.6-2012.02) 4.6.3 20120201 (prerelease)
    GNU ld (GNU Binutils) 2.22
    

  • nand bad
    (IPQ) # nand bad
    
    Device 0 bad blocks:
    02140000
    02180000
    025e0000
    02620000
    03380000
    04800000
    04fe0000
    063e0000
    06420000
    07c60000
    07ca0000
    08b60000
    08ba0000
    09940000
    0ab40000
    0ab80000
    0d260000
    0e5a0000
    0ecc0000
    0f540000
    0f580000
    

  • smeminfo
    (IPQ) # smeminfo
    flash_type:             0x6
    flash_index:            0x0
    flash_chip_select:      0x0
    flash_block_size:       0x10000
    partition table offset 0x0
    No.: Name             Attributes            Start             Size
    0: 0:SBL1           0x0000ffff              0x0          0x10000
    1: 0:MIBIB          0x0000ffff          0x10000          0x20000
    2: 0:SBL2           0x0000ffff          0x30000          0x30000
    3: 0:SBL3           0x0000ffff          0x60000          0x30000
    4: 0:DDRCONFIG      0x0000ffff          0x90000          0x10000
    5: 0:SSD            0x0000ffff          0xa0000          0x10000
    6: 0:TZ             0x0000ffff          0xb0000          0x30000
    7: 0:RPM            0x0000ffff          0xe0000          0x20000
    8: 0:APPSBL         0x0000ffff         0x100000          0x70000
    9: 0:APPSBLENV      0x0000ffff         0x170000          0x10000
    10: 0:ART            0x0000ffff         0x180000          0x40000
    11: 0:BOOTCONFIG     0x0000ffff         0x1c0000          0x10000
    12: 0:APPSBL_1       0x0000ffff         0x1d0000          0x70000
    

  • printenv
    (IPQ) # printenv
    baudrate=115200
    bootargs=console=ttyHSL1,115200n8
    bootcmd=bootipq
    bootdelay=2
    ethact=eth1
    inspection_env=set bootargs console=ttyHSL1,115200n8 earlyprintk=ocd,keep ignore_loglevel rootfstype=ramfs
    ipaddr=192.168.11.1
    machid=1260
    ramboot=set bootargs console=ttyHSL1,115200n8 earlyprintk=ocd,keep ignore_loglevel rootfstype=ramfs; tftpboot 0x44000000 wxr2300dhp-initramfs.uImage;bootm 0x44000000
    resetnorenv=sf probe;sf erase 0x170000 +0x10000
    serverip=192.168.11.10
    stderr=serial
    stdin=serial
    stdout=serial
    unand=tftpboot 0x43000000 nand-ipq806x-single.img;imgaddr=0x43000000 && source $imgaddr:script
    unandapp=tftpboot 0x43000000 ipq806x-nand-apps.img;imgaddr=0x43000000 && source $imgaddr:script
    unona=tftpboot 0x42000000 nornand-ipq806x-single.img;sf probe;imgaddr=0x42000000 && source $imgaddr:script
    unonaapp=tftpboot 0x42000000 ipq806x-nornand-apps.img;sf probe;imgaddr=0x42000000 && source $imgaddr:script
    unor=tftpboot 0x42000000 nor-ipq806x-single.img;sf probe;imgaddr=0x42000000 && source $imgaddr:script
    unorapp=tftpboot 0x42000000 ipq806x-nor-apps.img;sf probe;imgaddr=0x42000000 && source $imgaddr:script
    
    Environment size: 1163/65532 bytes
    

Kernel

  • uname -a
    root@AP6084BD****28:/# uname -a
    Linux AP6084BD****28 3.4.103 #1 SMP PREEMPT Fri Jan 31 06:23:28 EST 2020 armv7l GNU/Linux
    

  • cat /proc/version
    root@AP6084BD****28:/# cat /proc/version
    Linux version 3.4.103 (***@*************) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 SMP PREEMPT Fri Jan 31 06:23:28 EST 2020
    

  • cat /proc/cpuinfo
    root@AP6084BD****28:/# cat /proc/cpuinfo
    Processor       : ARMv7 Processor rev 0 (v7l)
    processor       : 0
    BogoMIPS        : 12.56
    
    processor       : 1
    BogoMIPS        : 12.56
    
    Features        : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4
    CPU implementer : 0x51
    CPU architecture: 7
    CPU variant     : 0x2
    CPU part        : 0x04d
    CPU revision    : 0
    
    Hardware        : Qualcomm Atheros AP148 reference board
    Revision        : 0000
    Serial          : 0000000000000000
    

  • cat /proc/meminfo
    root@AP6084BD****28:/# cat /proc/meminfo
    MemTotal:         478344 kB
    MemFree:          348968 kB
    Buffers:            8416 kB
    Cached:            23092 kB
    SwapCached:            0 kB
    Active:            12664 kB
    Inactive:          22936 kB
    Active(anon):       4260 kB
    Inactive(anon):      216 kB
    Active(file):       8404 kB
    Inactive(file):    22720 kB
    Unevictable:           0 kB
    Mlocked:               0 kB
    HighTotal:             0 kB
    HighFree:              0 kB
    LowTotal:         478344 kB
    LowFree:          348968 kB
    SwapTotal:             0 kB
    SwapFree:              0 kB
    Dirty:                 0 kB
    Writeback:             0 kB
    AnonPages:          4120 kB
    Mapped:             2912 kB
    Shmem:               384 kB
    Slab:              63428 kB
    SReclaimable:       3572 kB
    SUnreclaim:        59856 kB
    KernelStack:         832 kB
    PageTables:          704 kB
    NFS_Unstable:          0 kB
    Bounce:                0 kB
    WritebackTmp:          0 kB
    CommitLimit:      239172 kB
    Committed_AS:      23984 kB
    VmallocTotal:     524288 kB
    VmallocUsed:       49964 kB
    VmallocChunk:     360444 kB
    

  • cat /proc/mtd
    root@AP6084BD****28:/# cat /proc/mtd
    dev:    size   erasesize  name
    mtd0: 04000000 00020000 "rootfs"
    mtd1: 04000000 00020000 "rootfs_1"
    mtd2: 00010000 00010000 "SBL1"
    mtd3: 00020000 00010000 "MIBIB"
    mtd4: 00030000 00010000 "SBL2"
    mtd5: 00030000 00010000 "SBL3"
    mtd6: 00010000 00010000 "DDRCONFIG"
    mtd7: 00010000 00010000 "SSD"
    mtd8: 00030000 00010000 "TZ"
    mtd9: 00020000 00010000 "RPM"
    mtd10: 00070000 00010000 "APPSBL"
    mtd11: 00010000 00010000 "APPSBLENV"
    mtd12: 00040000 00010000 "ART"
    mtd13: 00010000 00010000 "BOOTCONFIG"
    mtd14: 00070000 00010000 "APPSBL_1"
    mtd15: 00516000 0001f000 "kernel"
    mtd16: 01e08000 0001f000 "ubi_rootfs"
    mtd17: 00516000 0001f000 "ubi_rootfs_data"
    

  • ubinfo -a
    root@AP6084BD****28:/# ubinfo -a
    UBI version:                    1
    Count of UBI devices:           1
    UBI control device major/minor: 10:58
    Present UBI devices:            ubi0
    
    ubi0
    Volumes count:                           3
    Logical eraseblock size:                 126976 bytes, 124.0 KiB
    Total amount of logical eraseblocks:     507 (64376832 bytes, 61.4 MiB)
    Amount of available logical eraseblocks: 166 (21078016 bytes, 20.1 MiB)
    Maximum count of volumes                 128
    Count of bad physical eraseblocks:       5
    Count of reserved physical eraseblocks:  5
    Current maximum erase counter value:     3
    Minimum input/output unit size:          2048 bytes
    Character device major/minor:            248:0
    Present volumes:                         0, 1, 2
    
    Volume ID:   0 (on ubi0)
    Type:        dynamic
    Alignment:   1
    Size:        42 LEBs (5332992 bytes, 5.1 MiB)
    State:       OK
    Name:        kernel
    Character device major/minor: 248:1
    -----------------------------------
    Volume ID:   1 (on ubi0)
    Type:        dynamic
    Alignment:   1
    Size:        248 LEBs (31490048 bytes, 30.0 MiB)
    State:       OK
    Name:        ubi_rootfs
    Character device major/minor: 248:2
    -----------------------------------
    Volume ID:   2 (on ubi0)
    Type:        dynamic
    Alignment:   1
    Size:        42 LEBs (5332992 bytes, 5.1 MiB)
    State:       OK
    Name:        ubi_rootfs_data
    Character device major/minor: 248:3
    

  • ls -1 /sys/class/leds
    root@AP6084BD****28:/# ls -1 /sys/class/leds
    control:fwupgradelockcontrol
    green:guestport
    green:usb-enable
    green:usb1
    orange:diagnostic-led
    orange:internet-led
    orange:router-auto-led
    orange:wireless-org-led
    switchreset
    white:internet-led
    white:power-led
    white:router-led
    white:wireless-led
    

  • cat /sys/kernel/debug/gpio
    root@AP6084BD****28:/# cat /sys/kernel/debug/gpio
    GPIOs 0-151, platform/msmgpio, msmgpio:
    gpio-0   (mdio                ) in  hi
    gpio-1   (mdc                 ) out lo
    gpio-3   (rst_n               ) out hi
    gpio-6   (usb_eject           ) in  hi
    gpio-7   (green:usb1          ) out lo
    gpio-8   (green:guestport     ) out lo
    gpio-9   (orange:diagnostic-le) out lo
    gpio-15  (control:fwupgradeloc) out hi
    gpio-16  (orange:internet-led ) out lo
    gpio-22  (white:internet-led  ) out hi
    gpio-23  (orange:wireless-org-) out lo
    gpio-24  (white:wireless-led  ) out hi
    gpio-25  (orange:router-auto-l) out lo
    gpio-26  (white:router-led    ) out lo
    gpio-48  (rst_n               ) out hi
    gpio-53  (white:power-led     ) out hi
    gpio-54  (reset               ) in  hi
    gpio-55  (routerswitch0       ) in  hi
    gpio-56  (routerswitch1       ) in  lo
    gpio-57  (autoswitch          ) in  hi
    gpio-58  (powerswitch         ) in  lo
    gpio-63  (switchreset         ) out lo
    gpio-64  (guestportswitch     ) in  hi
    gpio-65  (wps                 ) in  hi
    gpio-67  (usboverload         ) in  hi
    gpio-68  (green:usb-enable    ) out hi
    

  • /proc/ar8xxx/reg
    root@AP6084BD****28:/# for reg in 0x4 0x8 0xc 0x50 0x54 0x58 0x5c 0xe0 0xe4 0x7c
    0x94; do echo r $reg > /proc/ar8xxx/reg; done
    [ 4331.823024] Read command : subcmd=r
    [ 4331.825523] Read command : regval=4
    [ 4331.830146] reg 0x4=0x7600000
    [ 4331.832240] Read command : subcmd=r
    [ 4331.835582] Read command : regval=8
    [ 4331.840300] reg 0x8=0x1000000
    [ 4331.842361] Read command : subcmd=r
    [ 4331.845767] Read command : regval=c
    [ 4331.850421] reg 0xc=0x80
    [ 4331.852046] Read command : subcmd=r
    [ 4331.855389] Read command : regval=50
    [ 4331.860168] reg 0x50=0xcc35cc35
    [ 4331.862418] Read command : subcmd=r
    [ 4331.865792] Read command : regval=54
    [ 4331.870478] reg 0x54=0xca35ca35
    [ 4331.872727] Read command : subcmd=r
    [ 4331.876070] Read command : regval=58
    [ 4331.881006] reg 0x58=0xc935c935
    [ 4331.883224] Read command : subcmd=r
    [ 4331.886598] Read command : regval=5c
    [ 4331.891377] reg 0x5c=0x3ffff00
    [ 4331.893533] Read command : subcmd=r
    [ 4331.896907] Read command : regval=e0
    [ 4331.901687] reg 0xe0=0xc74164de
    [ 4331.903936] Read command : subcmd=r
    [ 4331.907310] Read command : regval=e4
    [ 4331.912090] reg 0xe4=0x6a545
    [ 4331.914089] Read command : subcmd=r
    [ 4331.917432] Read command : regval=7c
    [ 4331.921993] reg 0x7c=0x7e
    [ 4331.923773] Read command : subcmd=r
    [ 4331.927085] Read command : regval=94
    [ 4331.931584] reg 0x94=0x7e
    

  • bootlog
    BUFFALO WXR-2533DHP2 U-Boot Ver 1.15 (May 09 2016 - 17:25:22)
    
    CPU:   IPQ8064 clock 1.4 GHz
    DRAM:  DDR3 512 MiB clock 533 MHz
    NAND:  ECC 4 bits, 256 MiB
    SF: Detected W25Q32 with page size 64 KiB, total 4 MiB
    MMC:
    *** Warning - bad CRC, using default environment
    
    In:    serial
    Out:   serial
    Err:   serial
    cdp: get part failed for 0:HLOS
    cdp: get part failed for rootfs
    Net:   MAC2 addr:60:84:bd:49:7b:28
    athrs17_reg_init: complete
    athrs17_vlan_config ...done
    S17c init  done
    eth1
    Memory Test Start
    Pattern: 55555555
    Pattern: AAAAAAAA
    Pattern: 00000000
    Memory Test Pass
    
    Hit any key to stop autoboot:  0
    Checking Bank1 Image ...
    Creating 1 MTD partitions on "nand0":
    0x000000000000-0x000004000000 : "mtd=0"
    Bank1 Image is good
    kernel_checksum is 0x6654973d , rootfs_checksum is 0x33
    Checking Bank2 Image ...
    Creating 1 MTD partitions on "nand0":
    0x000004000000-0x000008000000 : "mtd=0"
    Bank2 Image is good
    kernel_checksum is 0x6654973d , rootfs_checksum is 0x33
    Bank1 Image the same as Bank2 Image
    MMC Device 0 not found
    
    dmagic1 0 dmagic2 0
    
    MMC Device 0 not found
    Device 1: nand1... is now current device
    Creating 1 MTD partitions on "nand0":
    0x000000000000-0x000004000000 : "mtd=0"
    Image Name:   Linux-3.4.103
    Image Type:   ARM Linux Kernel Image (uncompressed)
    Data Size:    1827736 Bytes = 1.7 MiB
    Load Address: 41508000
    Entry Point:  41508000
    Verifying Checksum ... OK
    Loading Kernel Image ... OK
    OK
    Setting up atags for msm partition: rootfs
    
    device nand0 , # parts = 1
    #: name                size            offset          mask_flags
    0: fs                  0x04000000      0x00000000      0
    
    active partition: nand0,0 - (fs) 0x04000000 @ 0x00000000
    
    defaults:
    mtdids  : none
    mtdparts: none
    Using machid 0x1260 from environment
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0
    [    0.000000] Linux version 3.4.103 (leo@TWTPEB2S1F203) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 SMP PREEMPT Fri Jan 31 06:23:28 EST 2020
    [    0.000000] CPU: ARMv7 Processor [512f04d0] revision 0 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] Machine: Qualcomm Atheros AP148 reference board
    [    0.000000] Partition (from atag) rootfs -- Offset:0 Size:200
    [    0.000000] Partition (from atag) rootfs_1 -- Offset:200 Size:200
    [    0.000000] msm_reserve_memory: 0x44000000, 0x600000
    [    0.000000] msm_reserve_memory: 0x44600000, 0x200000
    [    0.000000] memory pool 3 (start 5fc00000 size 400000) initialized
    [    0.000000] Memory policy: ECC disabled, Data cache writealloc
    [    0.000000] smem_find(137, 80): wrong size 72
    [    0.000000] socinfo_init: v6, id=202, ver=2.0, raw_id=2064, raw_ver=2064, hw_plat=0,  hw_plat_ver=65536
    [    0.000000]  accessory_chip=0 hw_plat_subtype=0
    [    0.000000] PERCPU: Embedded 8 pages/cpu @c0c64000 s10624 r8192 d13952 u32768
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 121642
    [    0.000000] Kernel command line: console=ttyHSL1,115200n8 ubi.mtd=rootfs root=mtd:ubi_rootfs rootfstype=squashfs
    [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Memory: 43MB 436MB = 479MB total
    [    0.000000] Memory: 477312k/489600k available, 13184k reserved, 0K highmem
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    [    0.000000]     vmalloc : 0xdf000000 - 0xff000000   ( 512 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xdeb00000   ( 491 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc050d000   (5140 kB)
    [    0.000000]       .init : 0xc0600000 - 0xc0702980   (1035 kB)
    [    0.000000]       .data : 0xc0704000 - 0xc07a14d0   ( 630 kB)
    [    0.000000]        .bss : 0xc07a14f4 - 0xc08608d4   ( 765 kB)
    [    0.000000] SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000] NR_IRQS:1689
    [    0.000000] sched_clock: 32 bits at 32kHz, resolution 31240ns, wraps every 134175798ms
    [    0.000000] Console: colour dummy device 80x30
    [    0.150390] Calibrating delay using timer specific routine.. 12.56 BogoMIPS (lpj=62809)
    [    0.150421] pid_max: default: 32768 minimum: 301
    [    0.150890] Mount-cache hash table entries: 512
    [    0.152327] CPU: Testing write buffer coherency: ok
    [    0.152546] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.152546] hw perfevents: enabled with ARMv7 Krait PMU driver, 5 counters available
    [    0.152671] Setting up static identity map for 0x418879d8 - 0x41887a60
    [    0.154951] CPU1: Booted secondary processor
    [    0.155014] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.155107] Brought up 2 CPUs
    [    0.155139] SMP: Total of 2 processors activated (25.12 BogoMIPS).
    [    0.171758] dummy:
    [    0.172477] NET: Registered protocol family 16
    [    0.173258] AXI: msm_bus_fabric_init_driver(): msm_bus_fabric_init_driver
    [    0.175632] meminfo_init: smem ram ptable found: ver: 0 len: 5
    [    0.175663] Found 1 memory banks grouped into 8 memory regions
    [    0.175945] gpiochip_add: registered GPIOs 0 to 151 on device: msmgpio
    [    0.176601] smem_find(137, 80): wrong size 72
    [    0.176601] socinfo_init: v6, id=202, ver=2.0, raw_id=2064, raw_ver=2064, hw_plat=0,  hw_plat_ver=65536
    [    0.176601]  accessory_chip=0 hw_plat_subtype=0
    [    0.176663] msm_rpm_init: RPM firmware 3.0.16777342
    [    0.184629] clk_tbl_nss - loaded
    [    0.212902] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.212902] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.213308] msm_dmov_memcpy_init: Success
    [    0.220993] sps:BAM 0x12244000 enabled: ver:0x5, number of pipes:20
    [    0.220993] sps:BAM 0x12244000 is registered.
    [    0.221243] sps:sps is ready.
    [    0.260793] msm_pcie_setup: link initialized
    [    0.261168] PCI host bridge to bus 0000:00
    [    0.261199] pci_bus 0000:00: root bus resource [mem 0x08000000-0x0fefffff]
    [    0.261699] PCI: bus0: Fast back to back transfers disabled
    [    0.261699] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    0.262417] PCI: bus1: Fast back to back transfers disabled
    [    0.300999] msm_pcie_setup: link initialized
    [    0.301343] PCI host bridge to bus 0000:02
    [    0.301343] pci_bus 0000:02: root bus resource [mem 0x2e000000-0x31efffff]
    [    0.301843] PCI: bus2: Fast back to back transfers disabled
    [    0.301843] pci 0000:02:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    0.302655] PCI: bus3: Fast back to back transfers disabled
    [    0.421274] msm_pcie_setup: link initialization failed
    [    0.421493] pci 0000:02:00.0: BAR 8: assigned [mem 0x2e000000-0x2e1fffff]
    [    0.421524] pci 0000:03:00.0: BAR 0: assigned [mem 0x2e000000-0x2e1fffff 64bit]
    [    0.421555] pci 0000:02:00.0: PCI bridge to [bus 03-03]
    [    0.421587] pci 0000:02:00.0:   bridge window [mem 0x2e000000-0x2e1fffff]
    [    0.421649] PCI: enabling device 0000:02:00.0 (0140 -> 0143)
    [    0.421711] pci 0000:00:00.0: BAR 8: assigned [mem 0x08000000-0x081fffff]
    [    0.421743] pci 0000:01:00.0: BAR 0: assigned [mem 0x08000000-0x081fffff 64bit]
    [    0.421774] pci 0000:00:00.0: PCI bridge to [bus 01-01]
    [    0.421805] pci 0000:00:00.0:   bridge window [mem 0x08000000-0x081fffff]
    [    0.421836] PCI: enabling device 0000:00:00.0 (0140 -> 0143)
    [    0.440362] bio: create slab  at 0
    [    0.441986] SCSI subsystem initialized
    [    0.443205] spi_qsd spi_qsd.5: master is unqueued, this is deprecated
    [    0.445610] spi_qsd spi_qsd.6: master is unqueued, this is deprecated
    [    0.449765] Switching to clocksource gp_timer
    [    0.470165] NET: Registered protocol family 2
    [    0.480880] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.481537] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
    [    0.481724] TCP bind hash table entries: 16384 (order: 5, 131072 bytes)
    [    0.481911] TCP: Hash tables configured (established 16384 bind 16384)
    [    0.481943] TCP: reno registered
    [    0.481943] UDP hash table entries: 256 (order: 1, 8192 bytes)
    [    0.481974] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    [    0.482411] NET: Registered protocol family 1
    [    0.483786] Detected 5 counters on the L2CC PMU.
    [    0.484879] smd: register irq failed on wcnss_a11
    [    0.484910] smd: deregistering IRQs
    [    0.484942] SMD: smd_core_platform_init() failed
    [    0.485691] Partition(from smem) SBL1 -- Offset:0 Size:10000
    [    0.485723] Partition(from smem) MIBIB -- Offset:10000 Size:20000
    [    0.485754] Partition(from smem) SBL2 -- Offset:30000 Size:30000
    [    0.485754] Partition(from smem) SBL3 -- Offset:60000 Size:30000
    [    0.485785] Partition(from smem) DDRCONFIG -- Offset:90000 Size:10000
    [    0.485785] Partition(from smem) SSD -- Offset:a0000 Size:10000
    [    0.485816] Partition(from smem) TZ -- Offset:b0000 Size:30000
    [    0.485816] Partition(from smem) RPM -- Offset:e0000 Size:20000
    [    0.485848] Partition(from smem) APPSBL -- Offset:100000 Size:70000
    [    0.485879] Partition(from smem) APPSBLENV -- Offset:170000 Size:10000
    [    0.485879] Partition(from smem) ART -- Offset:180000 Size:40000
    [    0.485910] Partition(from smem) BOOTCONFIG -- Offset:1c0000 Size:10000
    [    0.485910] Partition(from smem) APPSBL_1 -- Offset:1d0000 Size:70000
    [    0.485941] SMEM boot info a5a3a1a0, 0: 3
    [    0.499781] acpuclk-ipq806x acpuclk-ipq806x: SPEED BIN: 0
    [    0.499843] acpuclk-ipq806x acpuclk-ipq806x: ACPU PVS: 1
    [    0.506497] acpuclk-ipq806x acpuclk-ipq806x: CPU0: 6 frequencies supported
    [    0.506497] acpuclk-ipq806x acpuclk-ipq806x: CPU1: 6 frequencies supported
    [    0.508122] msm_rpm_log_probe: OK
    [    0.532552] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.532583] jffs2: version 2.2. (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc.
    [    0.533895] msgmni has been set to 932
    [    0.536176] io scheduler noop registered
    [    0.536207] io scheduler deadline registered (default)
    [    0.538050] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
    [    0.541487] msm_serial_hs.0: ttyHS0 at MMIO 0x12490000 (irq = 227) is a MSM HS UART
    [    0.542080] msm_serial_hs module loaded
    [    0.542268] msm_serial_hsl: detected port #1
    [    0.542393] msm_serial_hsl.1: ttyHSL1 at MMIO 0x16340000 (irq = 184) is a MSM
    [    0.542799] msm_serial_hsl: console setup on port #1
    [    1.332989] console [ttyHSL1] enabled
    [    1.336207] msm_serial_hsl: driver initialized
    [    1.343767] msm_nand_probe: phys addr 0x1ac00000
    [    1.347453] msm_nand_probe: dmac 0x3
    [    1.351140] msm_nand_probe: allocated dma buffer at ffdfc000, dma_addr 5f5c0000
    [    1.359825] status: 20
    [    1.361168] nandid: 1590aa2c maker 2c device aa
    [    1.365698] ONFI probe : Found an ONFI compliant device MT29F2G08ABBEAH4    ,
    [    1.372977] Found a supported NAND device
    [    1.376788] NAND Controller ID : 0x4030
    [    1.380662] NAND Device ID  : 0x1590aa2c
    [    1.384536] Buswidth : 8 Bits
    [    1.387472] Density  : 256 MByte
    [    1.390784] Pagesize : 2048 Bytes
    [    1.393970] Erasesize: 131072 Bytes
    [    1.397469] Oobsize  : 64 Bytes
    [    1.400624] CFG0 Init  : 0xa8d408c0
    [    1.404061] CFG1 Init  : 0x0004745c
    [    1.407528] ECCBUFCFG  : 0x00000203
    [    1.411840] Creating 2 MTD partitions on "msm_nand":
    [    1.415963] 0x000000000000-0x000004000000 : "rootfs"
    [    1.570446] mtd: partition "rootfs" set to be root filesystem
    [    1.576007] split_squashfs: no squashfs found in "msm_nand"
    [    1.580787] 0x000004000000-0x000008000000 : "rootfs_1"
    [    1.738831] m25p80 spi5.0: found w25q32, expected s25fl512s
    [    1.743455] m25p80 spi5.0: w25q32 (4096 Kbytes)
    [    1.748516] Creating 13 MTD partitions on "m25p80":
    [    1.752920] 0x000000000000-0x000000010000 : "SBL1"
    [    1.760106] 0x000000010000-0x000000030000 : "MIBIB"
    [    1.766323] 0x000000030000-0x000000060000 : "SBL2"
    [    1.772571] 0x000000060000-0x000000090000 : "SBL3"
    [    1.778725] 0x000000090000-0x0000000a0000 : "DDRCONFIG"
    [    1.785442] 0x0000000a0000-0x0000000b0000 : "SSD"
    [    1.791658] 0x0000000b0000-0x0000000e0000 : "TZ"
    [    1.797563] 0x0000000e0000-0x000000100000 : "RPM"
    [    1.803842] 0x000000100000-0x000000170000 : "APPSBL"
    [    1.810121] 0x000000170000-0x000000180000 : "APPSBLENV"
    [    1.816682] 0x000000180000-0x0000001c0000 : "ART"
    [    1.822836] 0x0000001c0000-0x0000001d0000 : "BOOTCONFIG"
    [    1.829553] 0x0000001d0000-0x000000240000 : "APPSBL_1"
    [    1.837300] UBI: attaching mtd0 to ubi0
    [    1.840268] UBI: physical eraseblock size:   131072 bytes (128 KiB)
    [    1.846360] UBI: logical eraseblock size:    126976 bytes
    [    1.852077] UBI: smallest flash I/O unit:    2048
    [    1.856419] UBI: VID header offset:          2048 (aligned 2048)
    [    1.862480] UBI: data offset:                4096
    [    2.923273] UBI: max. sequence number:       182
    [    2.950640] UBI: attached mtd0 to ubi0
    [    2.953389] UBI: MTD device name:            "rootfs"
    [    2.958419] UBI: MTD device size:            64 MiB
    [    2.963417] UBI: number of good PEBs:        507
    [    2.967885] UBI: number of bad PEBs:         5
    [    2.972352] UBI: number of corrupted PEBs:   0
    [    2.976726] UBI: max. allowed volumes:       128
    [    2.981380] UBI: wear-leveling threshold:    4096
    [    2.986004] UBI: number of internal volumes: 1
    [    2.990502] UBI: number of user volumes:     3
    [    2.994876] UBI: available PEBs:             166
    [    2.999468] UBI: total number of reserved PEBs: 341
    [    3.004373] UBI: number of PEBs reserved for bad PEB handling: 5
    [    3.010371] UBI: max/mean erase counter: 3/1
    [    3.014557] UBI: image sequence number:  1181454198
    [    3.019462] UBI: background thread "ubi_bgt0d" started, PID 616
    [    3.067635] GPIO Bitbanged MDIO: probed
    [    3.077569] cpuidle: using governor ladder
    [    3.080787] cpuidle: using governor menu
    [    3.086316] TCP: cubic registered
    [    3.088597] Initializing XFRM netlink socket
    [    3.092970] NET: Registered protocol family 17
    [    3.097375] L2TP core driver, V2.0
    [    3.100749] L2TP netlink interface
    [    3.104092] 8021q: 802.1Q VLAN Support v1.8
    [    3.108372] VFP support v0.3: implementor 51 architecture 64 part 4d variant 2 rev 0
    [    3.115995] Registering SWP/SWPB emulation handler
    [    3.120774] clock_late_init: Removing enables held for handed-off clocks
    [    3.136269] ipq_nss_get_mac_addr: MAC[0]: 60:84:bd:49:7b:28
    [    3.140955] ipq_nss_get_mac_addr: MAC[1]: 60:84:bd:49:7b:29
    [    3.146485] ipq_nss_get_mac_addr: MAC[2]: 60:84:bd:49:7b:28
    [    3.152046] ipq_nss_get_mac_addr: MAC[3]: 60:84:bd:49:7b:29
    [    3.157700] no pmic restart interrupt specified
    [    3.163667] msm_cache_dump_probe: could not register L2 buffer ret = -22.
    [    3.178163] VFS: Mounted root (squashfs filesystem) readonly on device 31:16.
    [    3.184879] Freeing init memory: 1032K
    - preinit -
    Press the [f] key and hit [enter] to enter failsafe mode
    - regular preinit -
    [    8.550890] UBIFS: recovery needed
    [    8.768447] UBIFS: recovery completed
    [    8.771134] UBIFS: mounted UBI device 0, volume 2, name "ubi_rootfs_data"
    [    8.777881] UBIFS: file system size:   4190208 bytes (4092 KiB, 3 MiB, 33 LEBs)
    [    8.785160] UBIFS: journal size:       1015809 bytes (992 KiB, 0 MiB, 6 LEBs)
    [    8.792283] UBIFS: media format:       w4/r0 (latest is w4/r0)
    [    8.798063] UBIFS: default compressor: lzo
    [    8.802186] UBIFS: reserved for root:  197913 bytes (193 KiB)
    switching to ubifs
    - init -
    i=/etc/init.d/S10boot
    [   10.119962] ssdk_plat_init start
    [   10.122180] Register QCA PHY driver
    [   10.126429] ######## Make proc simple_phy_proc_entry directory success ########
    [   10.133208] ######## Create proc file reg success ########
    [   10.138363] ######## Create proc file ledctl success ########
    [   10.144111] ######## Create proc file debug success ########
    [   10.773601] qca-ssdk module init succeeded!
    [   11.087472] Bridge firewalling registered
    [   11.260855] NET: Registered protocol family 10
    [   11.562011] usbcore: registered new interface driver usbfs
    [   11.566604] usbcore: registered new interface driver hub
    [   11.571946] usbcore: registered new device driver usb
    [   11.714620] md: linear personality registered for level -1
    [   11.748547] md: raid0 personality registered for level 0
    [   11.763105] md: raid1 personality registered for level 1
    [   11.793314] Button Hotplug driver version 0.4.1
    [   11.928928] NTFS driver 2.1.30 [Flags: R/O MODULE].
    [   12.134208] NET: Registered protocol family 15
    [   12.300905] PPP generic driver version 2.4.2
    [   12.669821] PPP MPPE Compression module registered
    [   12.703780] **********************************************************
    [   12.709090] * Driver    :NSS GMAC Driver for RTL v(3.72a)
    [   12.714495] * Version   :1.0
    [   12.717338] * Copyright :Copyright (c) 2013-2014 The Linux Foundation. All rights reserved.
    [   12.725710] **********************************************************nss_driver - fw of size 352256  bytes copied to load addr: 40000000, nss_id : 0
    [   14.359887] nss_driver - Turbo Support 1
    [   14.364042] bf310ca5: NSS Shaping is enabled, handler id: 0
    [   14.408434] nss_driver - fw of size 5400  bytes copied to load addr: 40800000, nss_id : 1
    [   14.416619] Error - Duplicate Interface CB Registered for interface 75
    [   14.422149] Error - Duplicate Interface CB Registered for interface 78
    [   14.465979] IPv6 over IPv4 tunneling driver
    [   14.510527] nss_macsec init success
    [   14.545891] asf: module license 'Proprietary' taints kernel.
    [   14.550577] Disabling lock debugging due to kernel taint
    [   14.828522] ath_hal: 0.9.17.1 (AR5416, AR9380, WRITE_EEPROM, 11D)
    [   14.844392] ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved
    [   14.863074] ath_dfs: Version 2.0.0
    [   14.863074] Copyright (c) 2005-2006 Atheros Communications, Inc. All Rights Reserved
    [   14.883786] ath_spectral: Version 2.0.0
    [   14.883817] Copyright (c) 2005-2009 Atheros Communications, Inc. All Rights Reserved
    [   14.894376] SPECTRAL module built on Jan 31 2020 05:22:31
    [   14.934676] ath_tx99: Version 2.0
    [   14.934676] Copyright (c) 2010 Atheros Communications, Inc, All Rights Reserved
    [   15.138456] ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved
    [   15.146016] create channel init
    [   15.149078] create channel 5g init
    [   15.152764] create wds init
    [   15.155232] create mac init
    [   15.158013] create mac 5g init
    [   15.161043] create wds lock
    [   15.163917] create wds 5g lock
    [   16.114339] ath_pci:  (Atheros/multi-bss)
    [   16.117338] ath_pci_probe
    [   16.119962] PCI device id is 0040 :0040
    [   16.123742] PCI: enabling device 0000:01:00.0 (0140 -> 0142)
    [   16.129584] ath_pci 0000:01:00.0: ath DEBUG: sc=0xdd4f5a00
    [   16.134864]
    [   16.134864]  ol_ath_pci_configure : num_desired MSI set to 0
    [   16.141986]
    [   16.141986]  Using PCI Legacy Interrupt
    [   16.147266] chip_id 9 chip_revision 1
    [   16.151483]
    [   16.151483]  address 4008f8 data db565c30
    [   16.157575]
    [   16.157575]  address 401e90 data db565c34
    [   16.164198]
    [   16.164198]  address 401e94 data db565c38
    [   16.171071]
    [   16.171071]  address 401eb0 data db565c3c
    [   16.177631]
    [   16.177663]  address 400900 data db565c3c
    [   16.184254]
    [   16.184254]  CLOCK PLL skipped
    [   16.187847] HIF_PCIDeviceProbed: setting the target pll frac ffffffff intval ffffffff
    [   16.195657] HIF_PCIDeviceProbed: no frac provided, skipping pre-configuring PLL
    [   16.202936] HIF_PCIDeviceProbed: ar900b_20_targ_clk is not provided, skipping pre-configuring PLL
    [   16.211808]
    [   16.211808]  address 4008cc data db565c3c
    [   16.219431] __ol_ath_attach: ath_attach TODO
    [   16.222649] __ol_ath_attach 1732 host_enable 0 nss_nwifi_offload 0
    [   16.228803] __ol_ath_attach: dev name wifi0
    [   16.232989] ol_ath_set_default_tgt_config : AC Minfree buffer allocation through module param (umac.ko)
    [   16.242361]  OL_ACBKMinfree : 0
    [   16.245485]  OL_ACBEMinfree : 0
    [   16.248609]  OL_ACVIMinfree : 0
    [   16.251733]  OL_ACVOMinfree : 0
    [   16.254857] ol_ath_attach() BMI inited.
    [   16.258794] ol_ath_attach() BMI Get Target Info.
    [   16.263323] ol_ath_attach() TARGET TYPE: 9 Vers 0x1000000
    [   16.268666]
    [   16.268666]  CE WAR Disabled
    [   16.273164] NUM_DEV=1 FWMODE=0x2 FWSUBMODE=0x0 FWBR_BUF 0
    [   16.278600] ol_ath_attach() configure Target .
    [   16.282974]
    [   16.282974]  Target Version is 1000000
    [   16.288034]
    [   16.288034]  Flash Download Address  c0000
    [   16.293689] ol_transfer_bin_file: flash data file defined
    [   16.299062] Cal location [0]: 00000000
    [   16.302811]
    [   16.302811]  Wifi0 Select OFFSET 1000
    [   16.327272] qc98xx_verify_checksum: flash checksum passed: 0xb3f4
    [   16.332396] ol_transfer_bin_file 2876: Download Flash data len 12064
    [   16.338862] Board extended Data download address: 0x0
    [   16.363917]
    [   16.363917]  Board data initialized
    [   16.367916] Flash download ADDRESS 0xc0000
    [   16.371946]
    [   16.371946]  Selecting  OTP binary for CHIP Version 1
    [   16.489940]
    [   16.489940]  First OTP send param 8000
    [   16.793720] [WIRED eth0: wan port is up...]
    [   21.107997] ol_ath_download_firmware :First  OTP download and Execute is good  return param 33792
    [   21.115870]
    [   21.115870] ##Board Id 1
    [   21.119868]
    [   21.119868] ##CHIP Id 1
    [   21.123836]
    [   21.123836]  BOARDDATA DOWNLOAD TO address c0000
    [   21.214151] ol_transfer_bin_file: Board data file: AR900B/hw.2/boardData_AR900B_CUS239_5G_v2_001.bin ARXXXX v=0x1
    [   21.232802] Board extended Data download address: 0x0
    [   21.257200] ol_ath_download_firmware: Using 0x1234 for the remainder of init
    [   21.263261]
    [   21.263261]  Selecting  OTP binary for CHIP Version 1
    [   21.311059]
    [   21.311059]  Second otp download Param 10000
    [   25.937332] ol_ath_download_firmware : OTP download and Execute is good
    [   25.943049]
    [   25.943049]  FIRMWARE : Beeliner CHIP Version 1
    [   25.958356] ol_swap_seg_alloc: Successfully allocated memory for SWAP size=131072
    [   25.974101] Swap: bytes_left to copy: fw:16; dma_page:42024
    [   25.978662] Swap: wrong length read:0
    [   25.982349] ol_swap_wlan_memory_expansion: Swap total_bytes copied: 89048 Target address 4175c8
    [   25.991221] scn=da740480  target_write_addr=4175c8 seg_info=de1d7510
    [   25.997500] ol_transfer_swap_struct:Code swap structure successfully downloaded for bin type =2
    [   26.006279] bin_filename=AR900B/hw.2/athwlan.bin swap_filename=/lib/firmware/AR900B/hw.2/athwlan.codeswap.bin
    [   27.520618] ol_ath_attach() Download FW.
    [   27.523617] ol_ath_attach() HT Create .
    [   27.527428] ol_ath_attach() HIF Claim.
    [   27.531271] ol_ath_attach() BMI Done.
    [   27.534895] ol_ath_attach() WMI attached. wmi_handle db0c0000
    [   27.540706] +HWT
    [   27.545392] CE_recv_buf_enqueue 809 Populate last entry 512 for CE 5
    [   27.550702] CE_recv_buf_enqueue 818 CE 5 wi 511 dest_ptr 0x5b82b040 nbytes 0 recv_ctxt 0xdd950240
    [   27.559981] Target:dd48f000 HTC Service:0x0001, ULpipe:0 DLpipe:1 id:0 Ready
    [   27.566604] -HWT
    [   27.568416]
    [   27.568416] <=== cfg max peer id 1056 ====>
    [   27.574195] Target:dd48f000 HTC Service:0x0300, ULpipe:4 DLpipe:5 id:1 Ready
    [   27.581162] HTC Service:0x0300 ep:1 TX flow control disabled
    [   27.588534] CE_pkt_dl_len_set CE 4 Pkt download length 64
    [   27.592970] ol_txrx_pdev_attach: 1424 tx desc's allocated ; range starts from da040000
    [   27.601062] Target:dd48f000 HTC Service:0x0100, ULpipe:3 DLpipe:2 id:2 Ready
    [   27.607841] HTC Service:0x0100 ep:2 TX flow control disabled
    [   27.614245] wmi_service_ready_event_rx:  WMI UNIFIED SERVICE READY event
    [   27.620243] num_rf_chain : 00000004
    [   27.623680] ht_cap_info: : 0000085b
    [   27.627179] vht_cap_info : 339b79b2
    [   27.630646] vht_supp_mcs : 0000ffea
    [   27.634114] ol_ath_service_ready_event: tt_support: 1
    [   27.639144] Peer Caching Enabled ; num_peers = 528, num_active_peers = 66 num_tids = 132, num_vdevs = 16
    [   27.648609] idx 0 req 1  num_units 0 num_unit_info 2 unit size 1296 actual units 529
    [   27.656857] idx 1 req 2  num_units 1 num_unit_info 4 unit size 256 actual units 67
    [   27.664073] idx 2 req 3  num_units 1 num_unit_info 4 unit size 1024 actual units 67
    [   27.671852] idx 3 req 4  num_units 1 num_unit_info 4 unit size 4096 actual units 67
    [   27.679693] idx 4 req 6  num_units 35 num_unit_info 0 unit size 3072 actual units 35
    [   27.687378] idx 5 req 7  num_units 1 num_unit_info 0 unit size 6144 actual units 1
    [   27.694970] idx 6 req 5  num_units 0 num_unit_info 2 unit size 1628 actual units 529
    [   27.703155] chunk 0 len 685584 requested ,ptr  0x5b600000
    [   27.708247] chunk 1 len 17152 requested ,ptr  0x5b538000
    [   27.713620] chunk 2 len 68608 requested ,ptr  0x5b580000
    [   27.718994] chunk 3 len 274432 requested ,ptr  0x5b700000
    [   27.724461] chunk 4 len 107520 requested ,ptr  0x5b5a0000
    [   27.729990] chunk 5 len 6144 requested ,ptr  0x5c634000
    [   27.735238] chunk 6 len 861212 requested ,ptr  0x5b000000
    [   27.792783] wmi_ready_event_rx:  WMI UNIFIED READY event
    [   27.798125] ol_ath_connect_htc() WMI is ready
    [   27.801499] ol_ath_set_host_app_area TODO
    [   27.805529] target uses HTT version 2.1; host uses 2.1
    [   27.815651] ol_ath_attach() connect HTC.
    [   27.818619] ol_regdmn_start: reg-domain param: regdmn=0, countryName=, wModeSelect=FFFFFFFF, netBand=FFFFFFFF, extendedChanMode=0.
    [   27.830427] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2) flags 0x2150
    [   27.837394] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4) flags 0xa0
    [   27.844298] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x8) flags 0xc0
    [   27.851109] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x20) flags 0xd0
    [   27.858044] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x40) flags 0x150
    [   27.865104] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x800) flags 0x10080
    [   27.872383] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2000) flags 0x20080
    [   27.879787] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4000) flags 0x40080
    [   27.887222] Add VHT80 channel: 5210
    [   27.890627] Add VHT80 channel: 5290
    [   27.894064] Add VHT80 channel: 5530
    [   27.897532] Add VHT80 channel: 5610
    [   27.901030] Add VHT80 channel: 5690
    [   27.904498] Add VHT80 channel: 5775
    [   27.907966] Skipping VHT80 channel 5825
    [   27.912121] ol_ath_phyerr_attach: called
    [   27.915745] OL Resmgr Init-ed
    [   27.918681] ieee80211_bsteering_attach: Band steering initialized
    [   27.924742] ol_if_spectral_setup
    [   27.927928] SPECTRAL : get_capability not registered
    [   27.932895] HAL_CAP_PHYDIAG : Capable
    [   27.936519] SPECTRAL : Need to fix the capablity check for RADAR (spectral_attach : 231)
    [   27.944642] SPECTRAL : get_capability not registered
    [   27.949547] HAL_CAP_RADAR   : Capable
    [   27.953202] SPECTRAL : Need to fix the capablity check for SPECTRAL
    [   27.953202]  (spectral_attach : 236)
    [   27.963011] SPECTRAL : get_capability not registered
    [   27.967947] HAL_CAP_SPECTRAL_SCAN : Capable
    [   27.972133] SPECTRAL : get_tsf64 not registered
    [   27.976632] spectral_init_netlink 65 NULL SKB
    [   27.980974] Green-AP : Green-AP : Attached
    [   27.980974]
    [   27.986504] Green-AP : Attached
    [   27.989628] rate power table override is only supported for AR98XX
    [   27.995970] ol_ath_smart_ant_attach: Hardware doest not support Smart Antenna.
    [   28.003061] ieee80211com_init_netlink: 3223: Wifipos 1st Netlink socket created:dd9bfe00
    [   28.011121] ol_if_dfs_setup: called
    [   28.014651] ol_if_dfs_attach: called; ptr=db149984, radar_info=db565be0
    [   28.021493] ol_ath_rtt_meas_report_attach: called
    [   28.026241] ol_ath_attach() UMAC attach .
    [   28.030053] ol_if_dfs_configure: called
    [   28.033833] ol_if_dfs_configure: FCC domain
    [   28.037988] ol_if_dfs_disable: called
    [   28.041736] ol_ath_attach: Calling ol_if_dfs_configure
    [   28.046766]
    [   28.046766]  BURSTING enabled by default
    [   28.052296] osif_wrap_attach:400 osif wrap attached
    [   28.057013] osif_wrap_devt_init:361 osif wrap dev table init done
    [   28.063105]  Wrap Attached: Wrap_com =dd9bf400 ic->ic_wrap_com=dd9bf400 &wrap_com->wc_devt=dd9bf400
    [   28.072227] __ol_ath_attach: init tx/rx TODO
    [   28.076444] __ol_ath_attach: needed_headroom reservation 44
    [   28.082474] ol_ath_thermal_mitigation_attach: ++
    [   28.086629] ol_ath_thermal_mitigation_attach: --
    [   28.091408] ath_pci_probe
    [   28.093814] PCI device id is 0040 :0040
    [   28.097656] PCI: enabling device 0000:03:00.0 (0140 -> 0142)
    [   28.103530] ath_pci 0000:03:00.0: ath DEBUG: sc=0xddfd8c00
    [   28.108747]
    [   28.108747]  ol_ath_pci_configure : num_desired MSI set to 0
    [   28.115901]
    [   28.115901]  Using PCI Legacy Interrupt
    [   28.121180] chip_id 9 chip_revision 1
    [   28.125148]
    [   28.125148]  address 4008f8 data db565c30
    [   28.131490]
    [   28.131490]  address 401e90 data db565c34
    [   28.138081]
    [   28.138081]  address 401e94 data db565c38
    [   28.144704]
    [   28.144736]  address 401eb0 data db565c3c
    [   28.151296]
    [   28.151296]  address 400900 data db565c3c
    [   28.157888]
    [   28.157888]  CLOCK PLL skipped
    [   28.161480] HIF_PCIDeviceProbed: setting the target pll frac ffffffff intval ffffffff
    [   28.169290] HIF_PCIDeviceProbed: no frac provided, skipping pre-configuring PLL
    [   28.176601] HIF_PCIDeviceProbed: ar900b_20_targ_clk is not provided, skipping pre-configuring PLL
    [   28.185442]
    [   28.185442]  address 4008cc data db565c3c
    [   28.193158] __ol_ath_attach: ath_attach TODO
    [   28.196407] __ol_ath_attach 1732 host_enable 0 nss_nwifi_offload 0
    [   28.202592] __ol_ath_attach: dev name wifi1
    [   28.206716] ol_ath_set_default_tgt_config : AC Minfree buffer allocation through module param (umac.ko)
    [   28.216119]  OL_ACBKMinfree : 0
    [   28.219212]  OL_ACBEMinfree : 0
    [   28.222368]  OL_ACVIMinfree : 0
    [   28.225460]  OL_ACVOMinfree : 0
    [   28.228616] ol_ath_attach() BMI inited.
    [   28.232521] ol_ath_attach() BMI Get Target Info.
    [   28.237019] ol_ath_attach() TARGET TYPE: 9 Vers 0x1000000
    [   28.242455]
    [   28.242455]  CE WAR Disabled
    [   28.246891] NUM_DEV=1 FWMODE=0x2 FWSUBMODE=0x0 FWBR_BUF 0
    [   28.252358] ol_ath_attach() configure Target .
    [   28.256638]
    [   28.256638]  Target Version is 1000000
    [   28.261793]
    [   28.261793]  Flash Download Address  c0000
    [   28.267416] ol_transfer_bin_file: flash data file defined
    [   28.272789] Cal location [1]: 00004000
    [   28.276538]
    [   28.276538]  Wifi1 Select OFFSET 5000
    [   28.301030] qc98xx_verify_checksum: flash checksum passed: 0x4fcd
    [   28.306091] ol_transfer_bin_file 2876: Download Flash data len 12064
    [   28.312621] Board extended Data download address: 0x0
    [   28.337769]
    [   28.337769]  Board data initialized
    [   28.341830] Flash download ADDRESS 0xc0000
    [   28.345798]
    [   28.345798]  Selecting  OTP binary for CHIP Version 1
    [   28.393908]
    [   28.393908]  First OTP send param 8000
    [   28.540456] [wifi0] FWLOG: [28218] WAL_DBGID_TX_AC_BUFFER_SET ( 0x3, 0x1e, 0x518, 0x518, 0x0 )
    [   28.548016] [wifi0] FWLOG: [28218] WAL_DBGID_TX_AC_BUFFER_SET ( 0x12, 0x1e, 0x518, 0x518, 0x0 )
    [   28.556701] [wifi0] FWLOG: [28218] WAL_DBGID_TX_AC_BUFFER_SET ( 0x45, 0x1e, 0x518, 0x518, 0x0 )
    [   28.565385] [wifi0] FWLOG: [28218] WAL_DBGID_TX_AC_BUFFER_SET ( 0x67, 0x1e, 0x518, 0x518, 0x0 )
    [   33.012058] ol_ath_download_firmware :First  OTP download and Execute is good  return param 34816
    [   33.019993]
    [   33.019993] ##Board Id 2
    [   33.023898]
    [   33.023898] ##CHIP Id 1
    [   33.027897]
    [   33.027897]  BOARDDATA DOWNLOAD TO address c0000
    [   33.033958] ol_transfer_bin_file: Board data file: AR900B/hw.2/boardData_AR900B_CUS260_2G_v2_002.bin ARXXXX v=0x1
    [   33.053264] Board extended Data download address: 0x0
    [   33.077788] ol_ath_download_firmware: Using 0x1234 for the remainder of init
    [   33.083848]
    [   33.083848]  Selecting  OTP binary for CHIP Version 1
    [   33.131771]
    [   33.131771]  Second otp download Param 10000
    [   37.758106] ol_ath_download_firmware : OTP download and Execute is good
    [   37.763792]
    [   37.763792]  FIRMWARE : Beeliner CHIP Version 1
    [   37.779069] ol_swap_seg_alloc: Successfully allocated memory for SWAP size=131072
    [   37.794689] Swap: bytes_left to copy: fw:16; dma_page:42024
    [   37.799250] Swap: wrong length read:0
    [   37.802905] ol_swap_wlan_memory_expansion: Swap total_bytes copied: 89048 Target address 4175c8
    [   37.811808] scn=d9c00480  target_write_addr=4175c8 seg_info=de1d1c10
    [   37.818088] ol_transfer_swap_struct:Code swap structure successfully downloaded for bin type =2
    [   37.826866] bin_filename=AR900B/hw.2/athwlan.bin swap_filename=/lib/firmware/AR900B/hw.2/athwlan.codeswap.bin
    [   38.914620] ol_ath_attach() Download FW.
    [   38.917619] ol_ath_attach() HT Create .
    [   38.921462] ol_ath_attach() HIF Claim.
    [   38.925210] ol_ath_attach() BMI Done.
    [   38.928897] ol_ath_attach() WMI attached. wmi_handle d9be0000
    [   38.934707] +HWT
    [   38.939268] CE_recv_buf_enqueue 809 Populate last entry 512 for CE 5
    [   38.944611] CE_recv_buf_enqueue 818 CE 5 wi 511 dest_ptr 0x5adb7040 nbytes 0 recv_ctxt 0xda2629c0
    [   38.953858] Target:dd48b000 HTC Service:0x0001, ULpipe:0 DLpipe:1 id:0 Ready
    [   38.960512] -HWT
    [   38.962449]
    [   38.962449] <=== cfg max peer id 1056 ====>
    [   38.968072] Target:dd48b000 HTC Service:0x0300, ULpipe:4 DLpipe:5 id:1 Ready
    [   38.975039] HTC Service:0x0300 ep:1 TX flow control disabled
    [   38.982286] CE_pkt_dl_len_set CE 4 Pkt download length 64
    [   38.986691] ol_txrx_pdev_attach: 1424 tx desc's allocated ; range starts from d95c0000
    [   38.994814] Target:dd48b000 HTC Service:0x0100, ULpipe:3 DLpipe:2 id:2 Ready
    [   39.001593] HTC Service:0x0100 ep:2 TX flow control disabled
    [   39.007997] wmi_service_ready_event_rx:  WMI UNIFIED SERVICE READY event
    [   39.013964] num_rf_chain : 00000004
    [   39.017432] ht_cap_info: : 0000085b
    [   39.020930] vht_cap_info : 339b79b2
    [   39.024398] vht_supp_mcs : 0000ffea
    [   39.027866] ol_ath_service_ready_event: tt_support: 1
    [   39.032895] Peer Caching Enabled ; num_peers = 528, num_active_peers = 66 num_tids = 132, num_vdevs = 16
    [   39.042361] idx 0 req 1  num_units 0 num_unit_info 2 unit size 1296 actual units 529
    [   39.050609] idx 1 req 2  num_units 1 num_unit_info 4 unit size 256 actual units 67
    [   39.057825] idx 2 req 3  num_units 1 num_unit_info 4 unit size 1024 actual units 67
    [   39.065573] idx 3 req 4  num_units 1 num_unit_info 4 unit size 4096 actual units 67
    [   39.073508] idx 4 req 6  num_units 35 num_unit_info 0 unit size 3072 actual units 35
    [   39.081162] idx 5 req 7  num_units 1 num_unit_info 0 unit size 6144 actual units 1
    [   39.088722] idx 6 req 5  num_units 0 num_unit_info 2 unit size 1628 actual units 529
    [   39.096938] chunk 0 len 685584 requested ,ptr  0x5ab00000
    [   39.102030] chunk 1 len 17152 requested ,ptr  0x5a400000
    [   39.107372] chunk 2 len 68608 requested ,ptr  0x5a420000
    [   39.112777] chunk 3 len 274432 requested ,ptr  0x5a480000
    [   39.118213] chunk 4 len 107520 requested ,ptr  0x5a440000
    [   39.123711] chunk 5 len 6144 requested ,ptr  0x5b7d4000
    [   39.128990] chunk 6 len 861212 requested ,ptr  0x5a500000
    [   39.188972] wmi_ready_event_rx:  WMI UNIFIED READY event
    [   39.193377] ol_ath_connect_htc() WMI is ready
    [   39.197688] ol_ath_set_host_app_area TODO
    [   39.201749] target uses HTT version 2.1; host uses 2.1
    [   39.210840] ol_ath_attach() connect HTC.
    [   39.213808] ol_regdmn_start: reg-domain param: regdmn=0, countryName=, wModeSelect=FFFFFFFF, netBand=FFFFFFFF, extendedChanMode=0.
    [   39.225585] ol_regdmn_init_channels: !avail mode 0x680c (0x2) flags 0x2150
    [   39.232427] ol_regdmn_init_channels: !avail mode 0x680c (0x1) flags 0x140
    [   39.239175] ol_regdmn_init_channels: !avail mode 0x680c (0x20) flags 0xd0
    [   39.245954] ol_regdmn_init_channels: !avail mode 0x680c (0x40) flags 0x150
    [   39.252858] ol_regdmn_init_channels: !avail mode 0x680c (0x1000) flags 0x10100
    [   39.260012] ol_regdmn_init_channels: !avail mode 0x680c (0x8000) flags 0x20100
    [   39.267260] ol_regdmn_init_channels: !avail mode 0x680c (0x10000) flags 0x40100
    [   39.274507] ol_regdmn_init_channels: !avail mode 0x680c (0x20000) flags 0x100100
    [   39.281911] ol_regdmn_init_channels: !avail mode 0x680c (0x40000) flags 0x200100
    [   39.289253] ol_regdmn_init_channels: !avail mode 0x680c (0x80000) flags 0x400100
    [   39.296657] ol_regdmn_init_channels: !avail mode 0x680c (0x100000) flags 0x800100
    [   39.304217] ol_ath_phyerr_attach: called
    [   39.308059] OL Resmgr Init-ed
    [   39.310996] ieee80211_bsteering_attach: Band steering initialized
    [   39.317025] ol_if_spectral_setup
    [   39.320274] SPECTRAL : get_capability not registered
    [   39.325210] HAL_CAP_PHYDIAG : Capable
    [   39.328834] SPECTRAL : Need to fix the capablity check for RADAR (spectral_attach : 231)
    [   39.336925] SPECTRAL : get_capability not registered
    [   39.341861] HAL_CAP_RADAR   : Capable
    [   39.345485] SPECTRAL : Need to fix the capablity check for SPECTRAL
    [   39.345517]  (spectral_attach : 236)
    [   39.355357] SPECTRAL : get_capability not registered
    [   39.360262] HAL_CAP_SPECTRAL_SCAN : Capable
    [   39.364417] SPECTRAL : get_tsf64 not registered
    [   39.368947] spectral_init_netlink 65 NULL SKB
    [   39.373383] Green-AP : Green-AP : Attached
    [   39.373383]
    [   39.378850] Green-AP : Attached
    [   39.382005] rate power table override is only supported for AR98XX
    [   39.388159] ol_ath_smart_ant_attach: Hardware doest not support Smart Antenna.
    [   39.395376] ieee80211com_init_netlink: Socket already created dd9bfe00
    [   39.401905] ol_if_dfs_setup: called
    [   39.405404] ol_if_dfs_attach: called; ptr=da1dd984, radar_info=db565be0
    [   39.412214] ol_ath_rtt_meas_report_attach: called
    [   39.416807] ol_ath_attach() UMAC attach .
    [   39.420837] ol_if_dfs_configure: called
    [   39.424586] ol_if_dfs_configure: FCC domain
    [   39.428741] ol_if_dfs_disable: called
    [   39.432458] ol_ath_attach: Calling ol_if_dfs_configure
    [   39.437519]
    [   39.437519]  BURSTING enabled by default
    [   39.443049] osif_wrap_attach:400 osif wrap attached
    [   39.447797] osif_wrap_devt_init:361 osif wrap dev table init done
    [   39.453889]  Wrap Attached: Wrap_com =dafcbc00 ic->ic_wrap_com=dafcbc00 &wrap_com->wc_devt=dafcbc00
    [   39.462980] __ol_ath_attach: init tx/rx TODO
    [   39.467197] __ol_ath_attach: needed_headroom reservation 44
    [   39.473320] ol_ath_thermal_mitigation_attach: ++
    [   39.477382] ol_ath_thermal_mitigation_attach: --
    [   39.516276] Initializing Pktlogs for 11ac
    [   39.519306] Initializing Pktlogs for 11ac
    [   39.556169] __sa_init_module
    [   39.623149] gre: GRE over IPv4 demultiplexor driver
    [   39.657981] ip_gre: GRE over IPv4 tunneling driver
    [   39.696938] bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
    [   39.825335] ip_tables: (C) 2000-2006 Netfilter Core Team
    [   39.930802] [wifi1] FWLOG: [39848] WAL_DBGID_TX_AC_BUFFER_SET ( 0x3, 0x1e, 0x518, 0x518, 0x0 )
    [   39.938363] [wifi1] FWLOG: [39848] WAL_DBGID_TX_AC_BUFFER_SET ( 0x12, 0x1e, 0x518, 0x518, 0x0 )
    [   39.947079] [wifi1] FWLOG: [39848] WAL_DBGID_TX_AC_BUFFER_SET ( 0x45, 0x1e, 0x518, 0x518, 0x0 )
    [   39.955732] [wifi1] FWLOG: [39848] WAL_DBGID_TX_AC_BUFFER_SET ( 0x67, 0x1e, 0x518, 0x518, 0x0 )
    [   40.057107] br10_ip: Module loaded.
    [   40.097094] NET: Registered protocol family 24
    [   40.132333] QCA Hy-Fi multicast installation successfully
    [   40.136769] QCA Hy-Fi netfilter installation: OK
    [   40.291752] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [   40.297344] msm_hsusb_host msm_hsusb_host: unable to find transceiver
    [   40.417525] nf_conntrack version 0.5.0 (7474 buckets, 29896 max)
    [   40.583755] PPPoL2TP kernel driver, V2.0
    [   40.596875] PPTP driver version 0.8.5
    [   40.976757] xt_time: kernel timezone is -0000
    [   41.418400] nf_conntrack_rtsp v0.6.21 loading
    [   41.431927] nf_nat_rtsp v0.6.21 loading
    [   41.444298] xt_RAWNAT: Unknown symbol ipv6_find_hdr (err 0)
    [   41.459169] Netfilter messages via NETLINK v0.30.
    [   41.489378] Ebtables v2.0 registered
    [   41.712746] ip6_tables: (C) 2000-2006 Netfilter Core Team
    [   41.868853] ctnetlink v0.93: registering with nfnetlink.
    [   41.980474] ipq-dwc3 ipq-dwc3.0: unable to read platform data num of dbm eps
    [   42.087566] xhci-hcd xhci-hcd.0: xHCI Host Controller
    [   42.091658] xhci-hcd xhci-hcd.0: new USB bus registered, assigned bus number 1
    [   42.098875] xhci-hcd xhci-hcd.0: irq 142, io mem 0x11000000
    [   42.105060] hub 1-0:1.0: USB hub found
    [   42.108059] hub 1-0:1.0: 1 port detected
    [   42.112152] xhci-hcd xhci-hcd.0: xHCI Host Controller
    [   42.117025] xhci-hcd xhci-hcd.0: new USB bus registered, assigned bus number 2
    [   42.124773] hub 2-0:1.0: USB hub found
    [   42.127960] hub 2-0:1.0: 1 port detected
    [   42.133614] ipq-dwc3 ipq-dwc3.1: unable to read platform data num of dbm eps
    [   42.240299] xhci-hcd xhci-hcd.1: xHCI Host Controller
    [   42.244329] xhci-hcd xhci-hcd.1: new USB bus registered, assigned bus number 3
    [   42.251640] xhci-hcd xhci-hcd.1: irq 237, io mem 0x10000000
    [   42.257700] hub 3-0:1.0: USB hub found
    [   42.260824] hub 3-0:1.0: 1 port detected
    [   42.264854] xhci-hcd xhci-hcd.1: xHCI Host Controller
    [   42.269759] xhci-hcd xhci-hcd.1: new USB bus registered, assigned bus number 4
    [   42.277475] hub 4-0:1.0: USB hub found
    [   42.280693] hub 4-0:1.0: 1 port detected
    [   42.545454] ECM init
    [   42.549359] ECM init complete
    [   42.624086] input: gpio-keys as /devices/platform/gpio-keys/input/input0
    [   42.832021] Initializing USB Mass Storage driver...
    [   42.836051] usbcore: registered new interface driver usb-storage
    [   42.841861] USB Mass Storage support registered.
    [   42.891315] fuse init (API version 7.18)
    mount: mounting sys on /sys failed: Device or resource busy
    i=/etc/init.d/S11ubus
    i=/etc/init.d/S15bootup_start
    rootdir=/
    table='/etc/device_table.txt'
    makedevs: line 102: can't create node dev/watchdog: File exists
    Thu Jan  1 00:00:00 GMT 2015
    ###########control to LOW #########
    User can't press power switch button to reset board
    [   44.455607] buf_qos: Module loaded.
    [   44.460949] dev_traffic: Module loaded.
    
    *********************nvram_build_update.sh Enter*****************
    nvram_last_ver = 2, nvram_current_ver=2
    *********************nvram_build_update.sh End*****************
    read_downgrade :Success get APPSBLENV mtd device name - 11
    read_downgrade: buff=/dev/mtd11
    the downgrade magic ID is not correct
    cat: can't open '/tmp/downgrade': No such file or directory
    
    $Shutting down /usr/bin/usb_power_saving:
    killall: usb_power_saving: no process killed
    
    firmware_version = 1.46_1.08JP
    $Starting syslogd:
    syslogd -m -1
    
    wan_hwaddr=60:84:BD:49:7B:29
    ************* MANUAL ROUTER MODE ****************
    cat: can't open '/tmp/fw_upgrade_running': No such file or directory
    ######################### bootup_inet_status_reserve is not exist
    cat: can't open 'var/run/monbutton.pid': No such file or directory
    cat: can't open '/tmp/wan_mode_was': No such file or directory
    BOOTCODE VER            : 1.15
    ============================start monbutton=========================
    show_buffddns :Success get APPSBLENV mtd device name - 11
    show_buffddns: buff=/dev/mtd11
    the ddns user magic ID is not correct
    cat: can't open '/tmp/mtd1_ddns': No such file or directory
    i=/etc/init.d/S20create_chans
    i=/etc/init.d/S31lan_start
    lan_start.sh
    did
    Configuring LAN , lan_ifname = br0 ........
    [   50.952264] device eth1 entered promiscuous mode
    LAN_IPADDR = 192.168.11.1
    [   50.958356] br0: port 1(eth1) entered forwarding state
    [   50.963355] br0: port 1(eth1) entered forwarding state
    set igmp aging time 300
    [   51.033958] ADDRCONF(NETDEV_UP): eth0: link is not ready
    
    SSDK Init OK!
    operate done.
    
    i=/etc/init.d/S39usb
    i=/etc/init.d/S40guest_start
    cat: can't open 'var/run/monGuestAuth.pid': No such file or directory
    cat: can't open 'var/run/Guest_countdown.pid': No such file or directory
    test button start
    guest stop
    i=/etc/init.d/S50cron
    i=/etc/init.d/S50radvd
    i=/etc/init.d/S50slpd
    [   51.793626] [WIRED eth0: wan port not up carrier]
    ifconfig: br-lan: error fetching interface information: Device not found
    i=/etc/init.d/S50wlan_buf
    wps_use_transfer_2g=0,wps_use_transfer_5g=0
    Has_2g_transfer=0,Has_5g_transfer=0
    rnd_port: 50248
    # This array MUST NOT be flushed until system reboot. #
    ============================start wps configure daemon=========================
    [   54.310621] ***************************************
    [   54.314464] ath_proc_write_wds_init : wds_status=1
    [   54.489597] ***************************************
    [   54.493658] ath_proc_write_wds_init : wds_status=1
    [   54.515370] isCountryCodeValid: EEPROM regdomain 0x0
    [   54.519337] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2) flags 0x2150
    [   54.526710] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4) flags 0xa0
    [   54.533333] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x8) flags 0xc0
    [   54.540206] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x20) flags 0xd0
    [   54.546985] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x40) flags 0x150
    [   54.554233] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x800) flags 0x10080
    [   54.561512] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2000) flags 0x20080
    [   54.568697] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4000) flags 0x40080
    [   54.576288] Add VHT80 channel: 5210
    [   54.579537] Add VHT80 channel: 5290
    [   54.583192] Add VHT80 channel: 5530
    [   54.586504] Add VHT80 channel: 5610
    [   54.590159] Skipping VHT80 channel 5660
    [   54.593783] Skipping VHT80 channel 5680
    [   54.597594] Skipping VHT80 channel 5700
    [   54.604748] isCountryCodeValid: EEPROM regdomain 0x0
    [   54.608684] ol_regdmn_init_channels: !avail mode 0x680c (0x2) flags 0x2150
    [   54.615776] ol_regdmn_init_channels: !avail mode 0x680c (0x1) flags 0x140
    [   54.622461] ol_regdmn_init_channels: !avail mode 0x680c (0x20) flags 0xd0
    [   54.629084] ol_regdmn_init_channels: !avail mode 0x680c (0x40) flags 0x150
    [   54.636144] ol_regdmn_init_channels: !avail mode 0x680c (0x1000) flags 0x10100
    [   54.643267] ol_regdmn_init_channels: !avail mode 0x680c (0x8000) flags 0x20100
    [   54.650484] ol_regdmn_init_channels: !avail mode 0x680c (0x10000) flags 0x40100
    [   54.657638] ol_regdmn_init_channels: !avail mode 0x680c (0x20000) flags 0x100100
    [   54.665229] ol_regdmn_init_channels: !avail mode 0x680c (0x40000) flags 0x200100
    [   54.672508] ol_regdmn_init_channels: !avail mode 0x680c (0x80000) flags 0x400100
    [   54.679912] ol_regdmn_init_channels: !avail mode 0x680c (0x100000) flags 0x800100
    start: wlan_buf.sh...
    create AP
    [   54.743861] eth0: 1000Mbps FullDuplex
    [   54.746422] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [   54.793689] [WIRED eth0: wan port is up...]
    [   54.841674] ath_ioctl: SIOC80211IFCREATE CALLED
    [   54.845204] Current id = 0
    [   54.847860] end Current id = 0
    [   54.850984] wmi_unified_vdev_create_send: ID = 0 Type = 1, Subtype = 0 VAP Addr = 60:84:bd:49:7b:2a:
    [   54.860106] ieee80211_wifipos_vattach: 3824: Wifipos intialization starting
    [   54.867072]
    [   54.867072]  BRINGUP:pointer of pvt_wifiposdata is d8380000 and socket val is dd9bfe00 and socket id is 0
    [   54.878038] ieee80211_wifipos_vattach: 3876: Wifipos intialization work q & timer alloc complete
    [   54.886785] ieee80211_wifipos_vattach: 3889: Wifipos intialization data store 1 alloc complete
    [   54.895376] ieee80211_wifipos_vattach: 3927: Wifipos intialization data store 2 alloc complete
    [   54.904092] ieee80211_wifipos_vattach: 3939: Wifipos intialization complete with ic:d9c00480
    [   54.912402] ieee80211_wifipos_vattach: 3940: vap addr(60:84:bd:49:7b:2a) idx(0)
    [   54.920024] __ieee80211_smart_ant_init: Smart Antenna is not supported
    [   54.926273] Enabling SG bit for the vap ath1 features 4000
    [   54.931833] Enabling TSO bit for the vap ath1 features 4000
    [   54.937457] Enabling LRO bit for the vap ath1 features 4000
    [   54.943142] VAP device ath1 created osifp: (dda7fc80) os_if: (d8efc000)
    ath1
    [   54.952452] ath_ioctl: SIOC80211IFCREATE CALLED
    [   54.955982] get Current id = 0
    [   54.958981] end get Current id = 0
    [   54.962417] Current id = 1
    [   54.965073] end Current id = 1
    [   54.968103] wmi_unified_vdev_create_send: ID = 1 Type = 1, Subtype = 0 VAP Addr = 60:84:bd:49:7b:2c:
    [   54.977288] ieee80211_wifipos_vattach: 3824: Wifipos intialization starting
    [   54.984286]
    [   54.984286]  BRINGUP:pointer of pvt_wifiposdata is d8400000 and socket val is dd9bfe00 and socket id is 0
    [   54.995251] ieee80211_wifipos_vattach: 3876: Wifipos intialization work q & timer alloc complete
    [   55.003998] ieee80211_wifipos_vattach: 3889: Wifipos intialization data store 1 alloc complete
    [   55.012589] ieee80211_wifipos_vattach: 3927: Wifipos intialization data store 2 alloc complete
    [   55.021305] ieee80211_wifipos_vattach: 3939: Wifipos intialization complete with ic:d9c00480
    [   55.029553] ieee80211_wifipos_vattach: 3940: vap addr(60:84:bd:49:7b:2a) idx(0)
    [   55.036957] __ieee80211_smart_ant_init: Smart Antenna is not supported
    [   55.043486] Enabling SG bit for the vap ath2 features 4000
    [   55.049015] Enabling TSO bit for the vap ath2 features 4000
    [   55.054670] Enabling LRO bit for the vap ath2 features 4000
    [   55.060324] VAP device ath2 created osifp: (dda7f480) os_if: (d8bf0000)
    ath2
    [   55.069353] ath_ioctl: SIOC80211IFCREATE CALLED
    [   55.072883] get Current id = 0
    [   55.075882] end get Current id = 0
    [   55.079256] get Current id = 0
    [   55.082318] end get Current id = 0
    [   55.085691] Current id = 2
    [   55.088378] end Current id = 2
    [   55.091471] wmi_unified_vdev_create_send: ID = 2 Type = 1, Subtype = 0 VAP Addr = 60:84:bd:49:7b:2e:
    [   55.100624] ieee80211_wifipos_vattach: 3824: Wifipos intialization starting
    [   55.107560]
    [   55.107560]  BRINGUP:pointer of pvt_wifiposdata is d8480000 and socket val is dd9bfe00 and socket id is 0
    [   55.118556] ieee80211_wifipos_vattach: 3876: Wifipos intialization work q & timer alloc complete
    [   55.127303] ieee80211_wifipos_vattach: 3889: Wifipos intialization data store 1 alloc complete
    [   55.135895] ieee80211_wifipos_vattach: 3927: Wifipos intialization data store 2 alloc complete
    [   55.144579] ieee80211_wifipos_vattach: 3939: Wifipos intialization complete with ic:d9c00480
    [   55.152920] ieee80211_wifipos_vattach: 3940: vap addr(60:84:bd:49:7b:2a) idx(0)
    [   55.160262] __ieee80211_smart_ant_init: Smart Antenna is not supported
    [   55.166760] Enabling SG bit for the vap ath21 features 4000
    [   55.172446] Enabling TSO bit for the vap ath21 features 4000
    [   55.178131] Enabling LRO bit for the vap ath21 features 4000
    [   55.183911] VAP device ath21 created osifp: (d8319c80) os_if: (d832c000)
    ath21
    [   55.193033] ath_ioctl: SIOC80211IFCREATE CALLED
    [   55.196532] get Current id = 0
    [   55.199562] end get Current id = 0
    [   55.202967] get Current id = 0
    [   55.205966] end get Current id = 0
    [   55.209372] get Current id = 0
    [   55.212433] end get Current id = 0
    [   55.215807] Current id = 3
    [   55.218494] end Current id = 3
    [   55.221555] wmi_unified_vdev_create_send: ID = 3 Type = 1, Subtype = 0 VAP Addr = 62:84:bd:49:7b:2a:
    [   55.230709] ieee80211_wifipos_vattach: 3824: Wifipos intialization starting
    [   55.237675]
    [   55.237675]  BRINGUP:pointer of pvt_wifiposdata is d8500000 and socket val is dd9bfe00 and socket id is 0
    [   55.248641] ieee80211_wifipos_vattach: 3876: Wifipos intialization work q & timer alloc complete
    [   55.257419] ieee80211_wifipos_vattach: 3889: Wifipos intialization data store 1 alloc complete
    [   55.266010] ieee80211_wifipos_vattach: 3927: Wifipos intialization data store 2 alloc complete
    [   55.274695] ieee80211_wifipos_vattach: 3939: Wifipos intialization complete with ic:d9c00480
    [   55.283005] ieee80211_wifipos_vattach: 3940: vap addr(60:84:bd:49:7b:2a) idx(0)
    [   55.290346] __ieee80211_smart_ant_init: Smart Antenna is not supported
    [   55.296875] Enabling SG bit for the vap ath3 features 4000
    [   55.302467] Enabling TSO bit for the vap ath3 features 4000
    [   55.308059] Enabling LRO bit for the vap ath3 features 4000
    [   55.313745] VAP device ath3 created osifp: (d831bc80) os_if: (d8338000)
    ath3
    [   55.322805] ath_ioctl: SIOC80211IFCREATE CALLED
    [   55.326304] get Current id = 0
    [   55.329334] end get Current id = 0
    [   55.332739] get Current id = 0
    [   55.335770] end get Current id = 0
    [   55.339144] get Current id = 0
    [   55.342205] end get Current id = 0
    [   55.345579] get Current id = 0
    [   55.348609] end get Current id = 0
    [   55.352046] Current id = 4
    [   55.354670] end Current id = 4
    [   55.357731] wmi_unified_vdev_create_send: ID = 4 Type = 1, Subtype = 0 VAP Addr = 62:84:bd:49:7b:2c:
    [   55.366916] ieee80211_wifipos_vattach: 3824: Wifipos intialization starting
    [   55.373883]
    [   55.373883]  BRINGUP:pointer of pvt_wifiposdata is d8580000 and socket val is dd9bfe00 and socket id is 0
    [   55.384848] ieee80211_wifipos_vattach: 3876: Wifipos intialization work q & timer alloc complete
    [   55.393595] ieee80211_wifipos_vattach: 3889: Wifipos intialization data store 1 alloc complete
    [   55.402186] ieee80211_wifipos_vattach: 3927: Wifipos intialization data store 2 alloc complete
    [   55.410871] ieee80211_wifipos_vattach: 3939: Wifipos intialization complete with ic:d9c00480
    [   55.419181] ieee80211_wifipos_vattach: 3940: vap addr(60:84:bd:49:7b:2a) idx(0)
    [   55.426554] __ieee80211_smart_ant_init: Smart Antenna is not supported
    [   55.433114] Enabling SG bit for the vap ath23 features 4000
    [   55.438706] Enabling TSO bit for the vap ath23 features 4000
    [   55.444454] Enabling LRO bit for the vap ath23 features 4000
    [   55.450203] VAP device ath23 created osifp: (d831dc80) os_if: (d8328000)
    ath23
    create 5G AP
    [   55.459450] ath_ioctl: SIOC80211IFCREATE CALLED
    [   55.463261] Current id = 0
    [   55.465885] end Current id = 0
    [   55.468915] wmi_unified_vdev_create_send: ID = 0 Type = 1, Subtype = 0 VAP Addr = 60:84:bd:49:7b:2b:
    [   55.478100] ieee80211_wifipos_vattach: 3824: Wifipos intialization starting
    [   55.485098]
    [   55.485098]  BRINGUP:pointer of pvt_wifiposdata is d8600000 and socket val is dd9bfe00 and socket id is 0
    [   55.496063] ieee80211_wifipos_vattach: 3876: Wifipos intialization work q & timer alloc complete
    [   55.504810] ieee80211_wifipos_vattach: 3889: Wifipos intialization data store 1 alloc complete
    [   55.513402] ieee80211_wifipos_vattach: 3927: Wifipos intialization data store 2 alloc complete
    [   55.522086] ieee80211_wifipos_vattach: 3939: Wifipos intialization complete with ic:da740480
    [   55.530427] ieee80211_wifipos_vattach: 3940: vap addr(60:84:bd:49:7b:2b) idx(0)
    [   55.537738] __ieee80211_smart_ant_init: Smart Antenna is not supported
    [   55.544298] Enabling SG bit for the vap ath6 features 4000
    [   55.549859] Enabling TSO bit for the vap ath6 features 4000
    [   55.555451] Enabling LRO bit for the vap ath6 features 4000
    [   55.561137] VAP device ath6 created osifp: (d831fc80) os_if: (d8350000)
    ath6
    [   55.570196] ath_ioctl: SIOC80211IFCREATE CALLED
    [   55.573726] get Current id = 0
    [   55.576726] end get Current id = 0
    [   55.580162] Current id = 1
    [   55.582817] end Current id = 1
    [   55.585848] wmi_unified_vdev_create_send: ID = 1 Type = 1, Subtype = 0 VAP Addr = 60:84:bd:49:7b:2d:
    [   55.595064] ieee80211_wifipos_vattach: 3824: Wifipos intialization starting
    [   55.602030]
    [   55.602030]  BRINGUP:pointer of pvt_wifiposdata is d8680000 and socket val is dd9bfe00 and socket id is 0
    [   55.612964] ieee80211_wifipos_vattach: 3876: Wifipos intialization work q & timer alloc complete
    [   55.621743] ieee80211_wifipos_vattach: 3889: Wifipos intialization data store 1 alloc complete
    [   55.630334] ieee80211_wifipos_vattach: 3927: Wifipos intialization data store 2 alloc complete
    [   55.638987] ieee80211_wifipos_vattach: 3939: Wifipos intialization complete with ic:da740480
    [   55.647328] ieee80211_wifipos_vattach: 3940: vap addr(60:84:bd:49:7b:2b) idx(0)
    [   55.654701] __ieee80211_smart_ant_init: Smart Antenna is not supported
    [   55.661230] Enabling SG bit for the vap ath7 features 4000
    [   55.666760] Enabling TSO bit for the vap ath7 features 4000
    [   55.672414] Enabling LRO bit for the vap ath7 features 4000
    [   55.678038] VAP device ath7 created osifp: (d8369c80) os_if: (d8360000)
    ath7
    [   55.687097] ath_ioctl: SIOC80211IFCREATE CALLED
    [   55.690659] get Current id = 0
    [   55.693626] end get Current id = 0
    [   55.697032] get Current id = 0
    [   55.700093] end get Current id = 0
    [   55.703467] Current id = 2
    [   55.706123] end Current id = 2
    [   55.709184] wmi_unified_vdev_create_send: ID = 2 Type = 1, Subtype = 0 VAP Addr = 60:84:bd:49:7b:2f:
    [   55.718369] ieee80211_wifipos_vattach: 3824: Wifipos intialization starting
    [   55.725367]
    [   55.725367]  BRINGUP:pointer of pvt_wifiposdata is d7b80000 and socket val is dd9bfe00 and socket id is 0
    [   55.736301] ieee80211_wifipos_vattach: 3876: Wifipos intialization work q & timer alloc complete
    [   55.745079] ieee80211_wifipos_vattach: 3889: Wifipos intialization data store 1 alloc complete
    [   55.753670] ieee80211_wifipos_vattach: 3927: Wifipos intialization data store 2 alloc complete
    [   55.762355] ieee80211_wifipos_vattach: 3939: Wifipos intialization complete with ic:da740480
    [   55.770665] ieee80211_wifipos_vattach: 3940: vap addr(60:84:bd:49:7b:2b) idx(0)
    [   55.777975] __ieee80211_smart_ant_init: Smart Antenna is not supported
    [   55.784567] Enabling SG bit for the vap ath20 features 4000
    [   55.790190] Enabling TSO bit for the vap ath20 features 4000
    [   55.795907] Enabling LRO bit for the vap ath20 features 4000
    [   55.801686] VAP device ath20 created osifp: (d836bc80) os_if: (d8378000)
    ath20
    [   55.810809] ath_ioctl: SIOC80211IFCREATE CALLED
    [   55.814308] get Current id = 0
    [   55.817338] end get Current id = 0
    [   55.820993] get Current id = 0
    [   55.823742] end get Current id = 0
    [   55.827147] get Current id = 0
    [   55.830427] end get Current id = 0
    [   55.833583] Current id = 3
    [   55.836238] end Current id = 3
    [   55.839300] wmi_unified_vdev_create_send: ID = 3 Type = 1, Subtype = 0 VAP Addr = 62:84:bd:49:7b:2b:
    [   55.848766] ieee80211_wifipos_vattach: 3824: Wifipos intialization starting
    [   55.855576]
    [   55.855576]  BRINGUP:pointer of pvt_wifiposdata is d7c00000 and socket val is dd9bfe00 and socket id is 0
    [   55.866604] ieee80211_wifipos_vattach: 3876: Wifipos intialization work q & timer alloc complete
    [   55.875351] ieee80211_wifipos_vattach: 3889: Wifipos intialization data store 1 alloc complete
    [   55.883848] ieee80211_wifipos_vattach: 3927: Wifipos intialization data store 2 alloc complete
    [   55.892564] ieee80211_wifipos_vattach: 3939: Wifipos intialization complete with ic:da740480
    [   55.900905] ieee80211_wifipos_vattach: 3940: vap addr(60:84:bd:49:7b:2b) idx(0)
    [   55.908091] __ieee80211_smart_ant_init: Smart Antenna is not supported
    [   55.914839] Enabling SG bit for the vap ath8 features 4000
    [   55.920306] Enabling TSO bit for the vap ath8 features 4000
    [   55.925835] Enabling LRO bit for the vap ath8 features 4000
    [   55.931677] VAP device ath8 created osifp: (d836dc80) os_if: (d7b58000)
    ath8
    [   55.940706] ath_ioctl: SIOC80211IFCREATE CALLED
    [   55.944204] get Current id = 0
    [   55.947204] end get Current id = 0
    [   55.950859] get Current id = 0
    [   55.953639] end get Current id = 0
    [   55.957013] get Current id = 0
    [   55.960324] end get Current id = 0
    [   55.963448] get Current id = 0
    [   55.966479] end get Current id = 0
    [   55.970103] Current id = 4
    [   55.972571] end Current id = 4
    [   55.975601] wmi_unified_vdev_create_send: ID = 4 Type = 1, Subtype = 0 VAP Addr = 62:84:bd:49:7b:2d:
    [   55.985004] ieee80211_wifipos_vattach: 3824: Wifipos intialization starting
    [   55.991877]
    [   55.991877]  BRINGUP:pointer of pvt_wifiposdata is d7c80000 and socket val is dd9bfe00 and socket id is 0
    [   56.002905] ieee80211_wifipos_vattach: 3876: Wifipos intialization work q & timer alloc complete
    [   56.011652] ieee80211_wifipos_vattach: 3889: Wifipos intialization data store 1 alloc complete
    [   56.020181] ieee80211_wifipos_vattach: 3927: Wifipos intialization data store 2 alloc complete
    [   56.028741] ieee80211_wifipos_vattach: 3939: Wifipos intialization complete with ic:da740480
    [   56.037269] ieee80211_wifipos_vattach: 3940: vap addr(60:84:bd:49:7b:2b) idx(0)
    [   56.044517] __ieee80211_smart_ant_init: Smart Antenna is not supported
    [   56.051077] Enabling SG bit for the vap ath22 features 4000
    [   56.056607] Enabling TSO bit for the vap ath22 features 4000
    [   56.062511] Enabling LRO bit for the vap ath22 features 4000
    [   56.068072] VAP device ath22 created osifp: (d836fc80) os_if: (d7b5c000)
    ath22
    Interface doesn't accept private ioctl...
    AMPDU (8BE0): Operation not permitted
    Interface doesn't accept private ioctl...
    AMPDUFrames (8BE0): Operation not permitted
    Interface doesn't accept private ioctl...
    AMPDULim (8BE0): Operation not permitted
    active_list= 1 6
    ath1: basic settings
    ath1: mixed no WIFITEST
    MCAST_RATE : 0
    [   57.647891]
    [   57.647891]  DES SSID SET=wxr-24g
    [   57.654732] Set freq vap 0 stop send + d8efc000
    [   57.658200] OL vap_stop +
    [   57.661012] wmi_unified_vdev_stop_send for vap 0 (d9be0000)
    [   57.666385] OL vap_stop -
    [   57.666416] STOPPED EVENT for vap 0 (d9be0000)
    [   57.673726] Set freq vap 0 stop send -d8efc000
    [   57.700656] Set wait done --d8efc000
    [   57.703186] Set freq vap 0 stop send + d8bf0000
    [   57.707685] OL vap_stop +
    [   57.710527] wmi_unified_vdev_stop_send for vap 1 (d9be0000)
    [   57.715870] OL vap_stop -
    [   57.715901] STOPPED EVENT for vap 1 (d9be0000)
    [   57.723180] Set freq vap 0 stop send -d8bf0000
    [   57.750734] Set wait done --d8bf0000
    [   57.753264] Set freq vap 0 stop send + d832c000
    [   57.757763] OL vap_stop +
    [   57.760606] wmi_unified_vdev_stop_send for vap 2 (d9be0000)
    [   57.765916] OL vap_stop -
    [   57.765948] STOPPED EVENT for vap 2 (d9be0000)
    [   57.773258] Set freq vap 0 stop send -d832c000
    [   57.800656] Set wait done --d832c000
    [   57.803186] Set freq vap 0 stop send + d8338000
    [   57.807685] OL vap_stop +
    [   57.810527] wmi_unified_vdev_stop_send for vap 3 (d9be0000)
    [   57.815870] OL vap_stop -
    [   57.815901] STOPPED EVENT for vap 3 (d9be0000)
    [   57.823180] Set freq vap 0 stop send -d8338000
    [   57.850671] Set wait done --d8338000
    [   57.853202] Set freq vap 0 stop send + d8328000
    [   57.857700] OL vap_stop +
    [   57.860574] wmi_unified_vdev_stop_send for vap 4 (d9be0000)
    [   57.865885] OL vap_stop -
    [   57.865916] STOPPED EVENT for vap 4 (d9be0000)
    [   57.873195] Set freq vap 0 stop send -d8328000
    [   57.900656] Set wait done --d8328000
    aging_time : 300000
    wlan_buf.sh igmp_snooping
    [   57.995876] ME Pool succesfully initialized vaddr - d7e00000 paddr - 0
    [   57.995876] num_elems = 10424 buf_size - 64 pool_size = 708832
    [   58.007435] Enable MCAST_TO_UCAST
    [   58.088784] ME Pool succesfully initialized vaddr - d7700000 paddr - 0
    [   58.088784] num_elems = 10424 buf_size - 64 pool_size = 708832
    [   58.100374] Enable MCAST_TO_UCAST
    aging_time : 300000
    [   58.155232] Setting Max Stations:63
    ath1: ACL Start....
    ath6: basic settings 5G
    [   58.481380]
    [   58.481412]  DES SSID SET=wxr-5g
    config channel for ath6 6
    [   58.487910] Set freq vap 0 stop send + d8350000
    [   58.492127] OL vap_stop +
    [   58.494720] wmi_unified_vdev_stop_send for vap 0 (db0c0000)
    [   58.500343] OL vap_stop -
    [   58.500406] STOPPED EVENT for vap 0 (db0c0000)
    [   58.507341] Set freq vap 0 stop send -d8350000
    [   58.540737] Set wait done --d8350000
    [   58.543267] Set freq vap 0 stop send + d8360000
    [   58.547766] OL vap_stop +
    [   58.550421] wmi_unified_vdev_stop_send for vap 1 (db0c0000)
    [   58.555951] OL vap_stop -
    [   58.558575] STOPPED EVENT for vap 1 (db0c0000)
    [   58.558606] Set freq vap 0 stop send -d8360000
    [   58.580662] Set wait done --d8360000
    [   58.583192] Set freq vap 0 stop send + d8378000
    [   58.587722] OL vap_stop +
    [   58.590565] wmi_unified_vdev_stop_send for vap 2 (db0c0000)
    [   58.595876] OL vap_stop -
    [   58.595938] STOPPED EVENT for vap 2 (db0c0000)
    [   58.603186] Set freq vap 0 stop send -d8378000
    [   58.630677] Set wait done --d8378000
    [   58.633208] Set freq vap 0 stop send + d7b58000
    [   58.637738] OL vap_stop +
    [   58.640581] wmi_unified_vdev_stop_send for vap 3 (db0c0000)
    [   58.645891] OL vap_stop -
    [   58.648547] STOPPED EVENT for vap 3 (db0c0000)
    [   58.648547] Set freq vap 0 stop send -d7b58000
    [   58.670665] Set wait done --d7b58000
    [   58.673195] Set freq vap 0 stop send + d7b5c000
    [   58.677694] OL vap_stop +
    [   58.680349] wmi_unified_vdev_stop_send for vap 4 (db0c0000)
    [   58.685879] OL vap_stop -
    [   58.688503] STOPPED EVENT for vap 4 (db0c0000)
    [   58.688534] Set freq vap 0 stop send -d7b5c000
    [   58.710684] Set wait done --d7b5c000
    aging_time : 300000
    wlan_buf.sh igmp_snooping
    [   58.791565] ol_tx_me_init:Already Enabled!!
    [   58.794720] Enable MCAST_TO_UCAST
    [   58.875570] ol_tx_me_init:Already Enabled!!
    [   58.878694] Enable MCAST_TO_UCAST
    aging_time : 300000
    [   58.933958] Setting Max Stations:63
    ath6: ACL Start....
    ath1: Security 1
    ath1: Start WPS Configuration
    ath6: Security Sec_1_5g
    ath6: Start WPS Configuration
    -----------------------------------------
    [   63.750515] device ath1 entered promiscuous mode
    [   63.756201] device ath6 entered promiscuous mode
    [   63.762043] device ath20 entered promiscuous mode
    [   63.767978] device ath21 entered promiscuous mode
    [   63.773758] device ath22 entered promiscuous mode
    [   63.779756] device ath23 entered promiscuous mode
    aoss_status=0,transfer_enable=0
    Configuration file: /tmp/hostapd/hostapd_ath1.conf
    Line 31: DEPRECATED: 'dump_file' configuration variable is not used anymore
    Configuration file: /tmp/hostapd/hostapd_ath6.conf
    Line 31: DEPRECATED: 'dump_file' configuration variable is not used anymore
    [   64.239737]  ieee80211_ioctl_siwmode: imr.ifm_active=131712, new mode=3, valid=1
    [   64.290003]  DEVICE IS DOWN ifname=ath1
    [   64.292877]  DEVICE IS DOWN ifname=ath1
    ath1: Could not connect to kernel driver
    Using interface ath1 with hwaddr 60:84:bd:49:7b:2a and ssid "wxr-24g"
    [   64.379943] OL vap_stop +
    [   64.381568] wmi_unified_vdev_stop_send for vap 0 (d9be0000)
    [   64.387160] OL vap_stop -
    [   64.390034] STOPPED EVENT for vap 0 (d9be0000)
    [   64.421024] 8021q: adding VLAN 0 to HW filter on device ath1
    [   64.425741] br0: port 2(ath1) entered forwarding state
    [   64.430802] br0: port 2(ath1) entered forwarding state
    http_server_init
    
    ath1: interface state UNINITIALIZED->ENABLED
    ath1: AP-ENABLED
    start led_security
    -------------------led_security
    [   64.519743]  ieee80211_ioctl_siwmode: imr.ifm_active=66176, new mode=3, valid=1
    killall: wirelessled: no process killed
    [   64.590034]  DEVICE IS DOWN ifname=ath6
    ath6: Could not connect to kernel driver
    [   64.592939]  DEVICE IS DOWN ifname=ath6
    Using interface ath6 with hwaddr 60:84:bd:49:7b:2b and ssid "wxr-5g"
    [   64.699968] OL vap_stop +
    [   64.701593] wmi_unified_vdev_stop_send for vap 0 (db0c0000)
    [   64.707122] OL vap_stop -
    [   64.710028] STOPPED EVENT for vap 0 (db0c0000)
    [   64.741112] 8021q: adding VLAN 0 to HW filter on device ath6
    [   64.745798] br0: port 3(ath6) entered forwarding state
    [   64.750890] br0: port 3(ath6) entered forwarding state
    ath6: interface state UNINITIALIZED->ENABLED
    ath6: AP-ENABLED
    [   64.930927] [wifi1] FWLOG: [65649] WAL_DBGID_SECURITY_ENCR_EN (  )
    [   64.936082] [wifi1] FWLOG: [65649] WAL_DBGID_SECURITY_MCAST_KEY_SET ( 0x1 )
    [   64.943017] [wifi1] FWLOG: [65692] WAL channel change freq=2412, mode=1 flags=0 rx_ok=1 tx_ok=1
    [   64.951952] [wifi1] FWLOG: [66005] WAL channel change freq=2417, mode=1 flags=0 rx_ok=1 tx_ok=1
    IF Enter:
    IF start:
    i=/etc/init.d/S60dbus
    [   65.685160] [wifi0] FWLOG: [65871] WAL_DBGID_SECURITY_ENCR_EN (  )
    [   65.690284] [wifi0] FWLOG: [65871] WAL_DBGID_SECURITY_MCAST_KEY_SET ( 0x1 )
    [   65.697250] [wifi0] FWLOG: [65913] WAL channel change freq=5180, mode=0 flags=0 rx_ok=1 tx_ok=1
    [   65.705935] [wifi0] FWLOG: [66226] WAL channel change freq=5200, mode=0 flags=0 rx_ok=1 tx_ok=1
    [   65.716838] [wifi0] FWLOG: [66539] WAL channel change freq=5220, mode=0 flags=0 rx_ok=1 tx_ok=1
    [   65.725460] [wifi0] FWLOG: [66851] WAL channel change freq=5240, mode=0 flags=0 rx_ok=1 tx_ok=1
    [   65.930927] [wifi1] FWLOG: [66319] WAL channel change freq=2422, mode=1 flags=0 rx_ok=1 tx_ok=1
    [   65.938675] [wifi1] FWLOG: [66633] WAL channel change freq=2427, mode=1 flags=0 rx_ok=1 tx_ok=1
    [   65.947297] [wifi1] FWLOG: [66947] WAL channel change freq=2432, mode=1 flags=0 rx_ok=1 tx_ok=1
    Unknown group "netdev" in message bus configuration file
    i=/etc/init.d/S60monit
    monit: Cannot translate 'AP6084BD497B28' to FQDN name -- Name or service not known
    monit: generated unique Monit id 73cbb2f6e5049074a8ec4abed7c66131 and stored to '/tmp/.monit.id'
    Starting monit daemon
    i=/etc/init.d/S60samba
    [   66.689159] [wifi0] FWLOG: [67164] WAL channel change freq=5260, mode=0 flags=0 rx_ok=1 tx_ok=1
    [   66.696813] [wifi0] FWLOG: [67476] WAL channel change freq=5280, mode=0 flags=0 rx_ok=1 tx_ok=1
    [   66.705529] [wifi0] FWLOG: [67789] WAL channel change freq=5300, mode=0 flags=0 rx_ok=1 tx_ok=1
    [   66.930927] [wifi1] FWLOG: [67261] WAL channel change freq=2437, mode=1 flags=0 rx_ok=1 tx_ok=1
    [   66.938612] [wifi1] FWLOG: [67575] WAL channel change freq=2442, mode=1 flags=0 rx_ok=1 tx_ok=1
    [   66.955357] [wifi1] FWLOG: [67888] WAL channel change freq=2447, mode=1 flags=0 rx_ok=1 tx_ok=1
    [   66.969790] [wifi1] FWLOG: [68202] WAL channel change freq=2452, mode=1 flags=0 rx_ok=1 tx_ok=1
    [   67.693158] [wifi0] FWLOG: [68102] WAL channel change freq=5320, mode=0 flags=0 rx_ok=1 tx_ok=1
    [   67.701030] [wifi0] FWLOG: [68414] WAL channel change freq=5500, mode=0 flags=0 rx_ok=1 tx_ok=1
    [   67.709528] [wifi0] FWLOG: [68726] WAL channel change freq=5520, mode=0 flags=0 rx_ok=1 tx_ok=1
    [   67.930927] [wifi1] FWLOG: [68516] WAL channel change freq=2457, mode=1 flags=0 rx_ok=1 tx_ok=1
    [   67.938612] [wifi1] FWLOG: [68830] WAL channel change freq=2462, mode=1 flags=0 rx_ok=1 tx_ok=1
    [   67.949453] [wifi1] FWLOG: [69144] WAL channel change freq=2467, mode=1 flags=0 rx_ok=1 tx_ok=1
    i=/etc/init.d/S61service_start
    $Starting Service:
    httpaccess.sh stop
    [   68.404842] wmi_unified_vdev_down_send for vap 0 (d9be0000)
    [   68.409528] OL vap_start +
    [   68.412089] wmi_unified_vdev_start_send for vap 0 (d9be0000)
    [   68.417806] OL vap_start -
    httpaccess.sh start
    httpd server started at port 80[   68.697407] [wifi0] FWLOG: [69039] WAL channel change freq=5540, mode=0 flags=0 rx_ok=1 tx_ok=1
    [   68.707341] [wifi0] FWLOG: [69352]
    httpd server (ssl support) started at port 443
    listen_fd = -1, listen_fd6 = -1
    Can't setup the httpd serWAL channel change freq=5560, mode=0 flags=0 rx_ok=1 tx_ok=1
    ver
    [   68.739675] [wifi0] FWLOG: [69665] WAL channel change freq=5580, mode=0 flags=0 rx_ok=1 tx_ok=1
    [   68.792877] ol_vdev_start_resp_ev for vap 0 (d9be0000)
    [   68.796969] ol_ath_vap_join: join operation is only for STA/IBSS mode
    [   68.803436] mode=2
    [   68.805435] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
    [   68.810684] su bfee 1 mu bfee 0 su bfer 1 mu bfer 1 impl bf 0 sounding dim 3
    [   68.817650] wmi_unified_vdev_up_send for vap 0 (d9be0000)
    [   68.823055] __ieee80211_smart_ant_init: Smart Antenna is not supported
    [   68.829615] Notification to UMAC VAP layer
    run pre_upnp.sh ...
    [   68.930959] [wifi1] FWLOG: [69458] WAL channel change freq=2472, mode=1 flags=0 rx_ok=1 tx_ok=1
    [   68.938644] [wifi1] FWLOG: [69776] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 )
    [   68.945110] [wifi1] FWLOG: [69776] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 )
    [   68.951640] [wifi1] FWLOG: [69784] vap-0 VDEV_MGR_VDEV_START ( 0x985, 0x2, 0x0, 0x0 )
    [   68.959450] [wifi1] FWLOG: [69785] WAL channel change freq=2437, mode=5 flags=0 rx_ok=1 tx_ok=1
    [   68.968259] [wifi1] FWLOG: [70199] VDEV_MGR_HP_START_TIME ( 0x0, 0x985, 0x1c52000 )
    [   68.975757] [wifi1] FWLOG: [70200] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x1 )
    [   68.982286] [wifi1] FWLOG: [70200] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 )
    [   68.988784] [wifi1] FWLOG: [70200] VDEV_MGR_AP_TBTT_CONFIG ( 0x0, 0x985, 0x0, 0x0 )
    route: SIOCDELRT: No such process
    $Starting miniigd:
    
    MiniIGD v1.07 (2020.01.31-11:09+0000).
    
    $Starting mini_upnpd:
    
    $Shutting down dnsmasq:
    disable_ipv4_dns
    cat: can't open '/var/resolv.conf': No such file or directory
    IPv6_dns =
    killall: dnsmasq: no process killed
    ------------------------------dnsmasq.sh run_prog
    [   69.701405] [wifi0] FWLOG: [69978] WAL channel change freq=5600, mode=0 flags=0 rx_ok=1 tx_ok=1
    [   69.709122] [wifi0] rs [0] [Interrupted system call]reload_servers_safe
    FWLOG: [70290] WAL channel change freq=5620, mode=0 flags=0 rx_ok=1 tx_ok=1
    [   69.722867] [wifi0] FWLOG: [70603] WAL channel change freq=5640, mode=0 flags=0 rx_ok=1 tx_ok=1
    [   69.731271] [wifi0] FWLOG: [70916] WAL channel change freq=5660, mode=0 flags=0 rx_ok=1 tx_ok=1
    
    $Starting dnsmasq:
    IPv6 DNS Remove...
    disable_ipv6_dns
    IPv4_dns = nameserver 192.168.1.1
    rs [0] [Interrupted system call]reload_servers_safe
    IPv6 DNS Adding...
    rs [0] [Interrupted system call]reload_servers_safe
    
    [   70.564917] wmi_unified_vdev_down_send for vap 0 (db0c0000)
    [   70.569603] OL vap_start +
    [   70.572196] wmi_unified_vdev_start_send for vap 0 (db0c0000)
    [   70.577881] OL vap_start -
    $Starting udhcpd:
    
    Static routes setting:
    [   70.879506] ol_vdev_start_resp_ev for vap 0 (db0c0000)
    [   70.883630] ol_ath_vap_join: join operation is only for STA/IBSS mode
    [   70.890065] mode=1
    [   70.892033] ol_if_dfs_configure: called
    [   70.895845] ol_if_dfs_configure: MKK4 domain
    [   70.900124] ol_if_dfs_disable: called
    [   70.903780] ol_if_dfs_enable: called
    [   70.907341] ieee80211_dfs_send_dfs_wait[285] VAP chan mismatch vap 5180 ic 5500
    [   70.914620] ieee80211_dfs_send_dfs_wait[285] VAP chan mismatch vap 5180 ic 5500
    [   70.921899] ieee80211_dfs_send_dfs_wait[285] VAP chan mismatch vap 5180 ic 5500
    [   70.929178] ieee80211_dfs_send_dfs_wait[285] VAP chan mismatch vap 5180 ic 5500
    [   70.936488] cac_start chan 5500 timeout 62 sec, curr time: 4294738 sec
    [   70.942986] Notification to UMAC VAP layer
    [   70.947422] [wifi0] FWLOG: [71228] WAL channel change freq=5680, mode=0 flags=0 rx_ok=1 tx_ok=1
    [   70.955763] [wifi0] FWLOG: [71541] WAL channel change freq=5700, mode=0 flags=0 rx_ok=1 tx_ok=1
    [   70.964542] [wifi0] FWLOG: [71858] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 )
    [   70.970915] [wifi0] FWLOG: [71858] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 )
    [   70.977444] [wifi0] FWLOG: [71866] vap-0 VDEV_MGR_VDEV_START ( 0x157c, 0x2, 0x0, 0x1 )
    [   70.986223] [wifi0] FWLOG: [71867] WAL channel change freq=5500, mode=10 flags=0 rx_ok=1 tx_ok=1
    cat: can't open '/tmp/NTP_connect': No such file or directory
    cat: can't open '/tmp/ntp_status': No such file or directory
    cat: can't open '/tmp/fw_upgrade_running': No such file or directory
    cat: can't open '/tmp/fw_upgrade_running': No such file or directory
    Info: make_crontab_wan_link_check !!!!!!!!!!!!!!!!!!
    stop crond !!
    killall: crond: no process killed
    start crond !! conf_dir: /tmp/etc/crontabs
    Using intrapositioned negation (`--option ! this`) is deprecated in favor of extrapositioned (`! --option this`).
    iptables: No chain/target/match by that name.
    Shutting down VPN: iptables: Bad rule (does a matching rule exist in that chain?).
    iptables: Bad rule (does a matching rule exist in that chain?).
    iptables: No chain/target/match by that name.
    
    ls: /tmp/ppp/conn_list: No such file or directory
    Received SIG_CLEAN_VPN_TABLE
    The attached devices demo is Running ...
    
    cat: can't open '/tmp/max_rx_rate': No such file or directory
    TC_buf.sh start: running
    TC_buf.sh start: done
    $Starting /usr/sbin/lld2d:
    
    run NTP client wan no ip.
    flash:: open /proc/lan_port_reserved_table failed
    $Shutting down ntpclient:
    killall: ntpclient: no process killed
    
    $Starting ntpclient:
    ntpclient -d -z 25 -x 0 -h ntp.jst.mfeed.ad.jp -i 600 -m 2400 -p 123 -s 2 -t 86400
    
    i=/etc/init.d/S70qca-nss-drv
    Configuration:
    -c probe_count       1
    -d (debug)           1
    -h hostname          ntp.jst.mfeed.ad.jp
    -b second hostname   ntp.jst.mfeed.ad.jp
    -i interval(min)     600
    -m interval(max)     2400
    -p local_port        123
    -s set_clock         1
    -t update interval   86400
    NTP no check Wan.
    Configuration:
    Probe count          1
    Debug                1
    NTP server           ntp.jst.mfeed.ad.jp
    Interval             600
    [   73.051608] Enabling NSS RPS
    
    Set clock            1
    ntp.jst.mfeed.ad.jp: Unknown host
    i=/etc/init.d/S70qca-nss-ecm
    wps_use_transfer_2g=0,wps_use_transfer_5g=0
    net.bridge.bridge-nf-call-ip6tables = 1
    Has_2g_transfer=0,Has_5g_transfer=0
    net.bridge.bridge-nf-call-iptables = 1
    
    SSDK Init OK!
    operate done.
    
    SSDK Init OK!
    operate done.
    
    /dev/mem opened.
    Memory mapped at address 0x40154000.
    Value at address 0x37200018 (0x40154018): 0x0
    Written 0x7; readback 0x7
    /dev/mem opened.
    Memory mapped at address 0x40174000.
    Value at address 0x37400018 (0x40174018): 0x0
    Written 0x7; readback 0x7
    wps_use_transfer_2g=0,wps_use_transfer_5g=0
    Has_2g_transfer=0,Has_5g_transfer=0
    ######## load_ecm - add bullalo flow controll patched done! ########
    i=/etc/init.d/S95done
    i=/etc/init.d/S96led
    MCAST_RATE : 0
    MCAST_RATE : 0
    i=/etc/init.d/S97watchdog
    MCAST_RATE_5g : 0
    MCAST_RATE_5g : 0
    i=/etc/init.d/S98rngd
    adjust wmm 6,VAP6_ENABLE=1
    i=/etc/init.d/S98sysntpd
    service: file '/usr/sbin/ntpd' is not executable
    i=/etc/init.d/S99commit_sysupgrade
    adjust wmm 1,VAP2_ENABLE=1
    ath6: WMM 5G....
    i=/etc/init.d/S99powerctl
    ath1: WMM....
    /etc/rc.common: eval: line 1: can't create /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_any_cpu_load: nonexistent directory
    /etc/rc.common: eval: line 1: can't create /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_multi_core: nonexistent directory
    /etc/rc.common: eval: line 1: can't create /sys/devices/system/cpu/cpufreq/ondemand/optimal_freq: nonexistent directory
    /etc/rc.common: eval: line 1: can't create /sys/devices/system/cpu/cpufreq/ondemand/sync_freq: nonexistent directory
    i=/etc/init.d/S99sysctl
    i=/etc/init.d/S99sysstat
    i=/etc/init.d/S99thermal
    i=/etc/init.d/S99uenable_ipforward
    i=/etc/init.d/S99zbootup_end
    [   74.070665] msm_thermal: Max frequency reset for cpu0
    [   74.074695] msm_thermal: Max frequency reset for cpu1
    [   74.079756] msm_thermal: enabled = 0
    called with DEVPATH=/devices/platform/ipq-dwc3.0/dwc3.0/xhci-hcd.0/usb1, INTERFACE=
    called with DEVPATH=/devices/platform/ipq-dwc3.0/dwc3.0/xhci-hcd.0/usb2, INTERFACE=
    $Starting PPPoE Pass Through:
    mcproxy start:
    called with DEVPATH=/devices/platform/ipq-dwc3.1/dwc3.1/xhci-hcd.1/usb3, INTERFACE=
    called with DEVPATH=/devices/platform/ipq-dwc3.1/dwc3.1/xhci-hcd.1/usb4, INTERFACE=
    called with DEVPATH=/devices/platform/ipq-dwc3.1/dwc3.1/xhci-hcd.1/usb3/3-0:1.0, INTERFACE=9/0/0
    Monitor.sh starting.......
    
    failed to add interface
    called with DEVPATH=/devices/platform/ipq-dwc3.1/dwc3.1/xhci-hcd.1/usb4/4-0:1.0, INTERFACE=9/0/0
    called with DEVPATH=/devices/platform/ipq-dwc3.0/dwc3.0/xhci-hcd.0/usb1/1-0:1.0, INTERFACE=9/0/0
    called with DEVPATH=/devices/platform/ipq-dwc3.0/dwc3.0/xhci-hcd.0/usb2/2-0:1.0, INTERFACE=9/0/0
    $Starting WAN: wan_start
    cat: can't open '/tmp/inet_start_progress': No such file or directory
    Inet start: start
    @o@ Inet_start :: status[9999] ---------------------------
    cat: can't open '/tmp/NTP_connect': No such file or directory
    set IPv6 ...
    
    cat: can't open '/tmp/fw_upgrade_running': No such file or directory
    
    cat: can't open '/tmp/fw_upgrade_running': No such file or directory
    stop crond !!
    
    cat: can't open '/tmp/easy_dns_result': No such file or directory
    Ready to get wan0_ipaddr --------------------------------------
    Get wan0_ipaddr= --------------------------------------
    wan link status=1 ---------------------------------------
    [   76.219087] device eth0 entered promiscuous mode
    Inet start: DHCPD check
    [   76.408872] ADDRCONF(NETDEV_UP): ip6tnl0: link is not ready
    [   76.413651] ADDRCONF(NETDEV_UP): sit0: link is not ready
    [   76.418712] ADDRCONF(NETDEV_UP): gre0: link is not ready
    [   76.424211] ADDRCONF(NETDEV_UP): bond0: link is not ready
    [   76.429490] ADDRCONF(NETDEV_UP): ath2: link is not ready
    [   76.434864] ADDRCONF(NETDEV_UP): ath21: link is not ready
    [   76.440174] ADDRCONF(NETDEV_UP): ath3: link is not ready
    [   76.445329] ADDRCONF(NETDEV_UP): ath23: link is not ready
    [   76.450984] ADDRCONF(NETDEV_UP): ath7: link is not ready
    [   76.456013] ADDRCONF(NETDEV_UP): ath20: link is not ready
    [   76.461605] ADDRCONF(NETDEV_UP): ath8: link is not ready
    [   76.466697] ADDRCONF(NETDEV_UP): ath22: link is not ready
    [   77.319806] device eth0 left promiscuous mode
    inet_start_main: DHCP found in wan ---------------------
    udhcpc (v1.19.4) started
    deconfig
    interface=eth0
    
    Sending discover...
    192.168.11.1/255.255.255.0
    192.168.1.78/255.255.255.0
    192.168.11.1/255.255.255.0
    192.168.1.1/255.255.255.0
    Sending select for 192.168.1.78...
    192.168.11.1/255.255.255.0
    192.168.1.78/255.255.255.0
    192.168.11.1/255.255.255.0
    192.168.1.1/255.255.255.0
    Lease of 192.168.1.78 obtained, lease time 14400
    bound
    
    route: SIOCDELRT: No such process
    detwan_ipv6_main....
    ipv6_RA_Detection trial 0
    
    ipv6_wait_RA_offer
    select
    cat: can't open '/tmp/sroute': No such file or directory
    Stop DHCPv6 Client ...
    killall: dhcp6c: no process killed
    dhcp6c type=auto
    Start DHCPv6 Client ...
    r=1
    ipv6_verify_RA_packet 134
    AdvManagedFlag off;
    AdvOtherConfigFlag on;
    "Router Advertisement" Router address fe80:0000:0000:0000:0225:36ff:fe14:e98c
    "Router Advertisement" Prefix information 240b:0012:0500:6500::/64
    "Router Advertisement" Prefix length 64
    start DHCP6c
    dns_lookup: dest.sin_addr.s_addr=192.168.1.1  -------------------------------
    dns_lookup: WAN_IFNAME=eth0  -------------------------------
    ipv6_type=auto
    WAN IPv6 Detecting...
    ###################STAT=Detecting...
    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
    Dload  Upload   Total   Spent    Left  Speed
    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
    @o@ Inet_start :: status[10001] ---------------------------
    WAN_IP= 240b:0012:0500:6500:6284:bdff:fe49:7b29 by RA
    RA Detection return:05
    DNS_change check
    not changed
    ipv6_dns get==============================
    wan proto is easy. easy wan mode is dhcp ==============================
    open port for SIP, RTP
    set_global_ip======================
    Stop RADVD ...
    Start RADVD ...
    PRE_LAN_IPV6=240b:0012:0500:65e0:
    ip= 240b:12:500:6500:6284:bdff:fe49:7b29 , dns = 240b:12:500:6500:225:36ff:fe14:e98c
    ===============STAT=got PD
    IPv6 Auto, done
    IAPD_lease_change check
    Reload DHCPv6 Server config ...
    Killed
    ================inet_start_main :2200 success get dhcp and leave!!!!!!!===========
    
    cat: can't open '/tmp/boot_flag': No such file or directory
    Monitor.sh starting.......
    Action=3...........
    router_disable = 0  ---------------------------
    ************* MANUAL ROUTER MODE ****************
    cat: can't open '/tmp/fw_upgrade_running': No such file or directory
    ######################### bootup_inet_status_reserve exist
    2:WAN_IP = 192.168.1.78  ---------------------------
    Address 1: 52.194.172.187
    Ready to get wan0_ipaddr --------------------------------------
    Get wan0_ipaddr=192.168.1.78 --------------------------------------
    wan link status=1 ---------------------------------------
    dns_lookup: dest.sin_addr.s_addr=192.168.1.1  -------------------------------
    dns_lookup: WAN_IFNAME=eth0  -------------------------------
    wps_use_transfer_2g=0,wps_use_transfer_5g=0
    Has_2g_transfer=0,Has_5g_transfer=0
    
    Please press Enter to activate this console. ** Gooooooood **
    Enable MASQUERADE and CONENAT Modules
    No Wan Test 2
    No Wan Test 0
    Enable IP forwarding
    run ipv6_filter.sh
    open port for SIP, RTP
    no mcproxy found; none killed
    no mcproxy found; none killed
    mcproxy start:
    set ipv6_global_ip in ipv6_start_up.sh
    LAN_IP6_GADDR = 240b:12:500:65e0:6284:bdff:fe49:7b28
    iptables: Bad rule (does a matching rule exist in that chain?).
    Stop DHCPv6 Server ...
    Start DHCPv6 Server ...
    Stop RADVD ...
    Start RADVD ...
    PRE_LAN_IPV6=240b:0012:0500:65e0:
    IPv6 init finish!!
    Shutting down VPN: iptables: Bad rule (does a matching rule exist in that chain?).
    iptables: Bad rule (does a matching rule exist in that chain?).
    iptables: No chain/target/match by that name.
    
    ls: /tmp/ppp/conn_list: No such file or directory
    Received SIG_CLEAN_VPN_TABLE
    cat: can't open '/tmp/max_rx_rate': No such file or directory
    TC_buf.sh stop:
    iptables: No chain/target/match by that name.
    [   94.733177] Flushing buf QoS rules table
    killall: qos_poll: no process killed
    TC_buf.sh start: running
    TC_buf.sh start: done
    iptables: No chain/target/match by that name.
    iptables: No chain/target/match by that name.
    
    Static routes setting:
    cat: can't open 'var/run/monGuestAuth.pid': No such file or directory
    cat: can't open 'var/run/Guest_countdown.pid': No such file or directory
    iptables: No chain/target/match by that name.
    iptables: No chain/target/match by that name.
    iptables: No chain/target/match by that name.
    iptables: No chain/target/match by that name.
    iptables: No chain/target/match by that name.
    run pre_upnp.sh ...
    $Shutting down mini_upnpd:
    
    $Shutting down miniigd:
    iptables: Resource temporarily unavailable.
    
    $Starting miniigd:
    
    MiniIGD v1.07 (2020.01.31-11:09+0000).
    
    $Starting mini_upnpd:
    
    $Shutting down dnsmasq:
    disable_ipv4_dns
    IPv6_dns = nameserver 240b:12:500:6500:225:36ff:fe14:e98c
    ------------------------------dnsmasq.sh run_prog
    rs [0] [Interrupted system call]reload_servers_safe
    
    $Starting dnsmasq:
    IPv6 DNS Remove...
    disable_ipv6_dns
    IPv4_dns = nameserver 192.168.1.1
    rs [0] [Interrupted system call]reload_servers_safe
    IPv6 DNS Adding...
    rs [0] [Interrupted system call]reload_servers_safe
    
    $Shutting down ntpclient:
    
    $Starting ntpclient:
    ntpclient -d -z 25 -x 0 -h ntp.jst.mfeed.ad.jp -i 600 -m 2400 -p 123 -s 2 -t 86400&
    
    sh: bad number
    
    httpaccess.sh stop
    cat: can't open '/tmp/fw_upgrade_running': No such file or directory
    cat: can't open '/tmp/fw_upgrade_running': No such file or directory
    stop crond !!
    killall: crond: no process killed
    httpaccess.sh start
    cat: can't open '/tmp/fw_upgrade_running': No such file or directory
    cat: can't open '/tmp/fw_upgrade_running': No such file or directory
    killall: ddnsc: no process killed
    killall: ddnscd: no process killed
    killall: ez-ipupdate: no process killed
    killall: updatednsip: no process killed
    killall: updatednsip: no process killed
    killall: ddnsc: no process killed
    killall: ddnscd: no process killed
    clean
    Info: make_crontab_wan_link_check !!!!!!!!!!!!!!!!!!
    stop crond !!
    killall: crond: no process killed
    start crond !! conf_dir: /tmp/etc/crontabs
    Buffalo_check : IP=192.168.1.78
    ip_1=192, ip_2=168,ip_3=1, ip_4=78
    Private Class C
    DDNS Check failed, do not update
    Set SIP_ALG function disable ...
    remove nf_nat_sip.ko kernel module
    remove nf_conntrack_sip.ko kernel module
    
    clean
    Info: make_crontab_wan_link_check !!!!!!!!!!!!!!!!!!
    stop crond !!
    start crond !! conf_dir: /tmp/etc/crontabs
    $Shutting down pppd:
    
    [  132.969634] cac_timeout cac expired, chan 5500 curr time 4294800
    [  132.974632] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
    [  132.979912] su bfee 1 mu bfee 0 su bfer 1 mu bfer 1 impl bf 0 sounding dim 3
    [  132.986879] wmi_unified_vdev_up_send for vap 0 (db0c0000)
    [  132.992283] __ieee80211_smart_ant_init: Smart Antenna is not supported
    [  133.137831] [wifi0] FWLOG: [135518] VDEV_MGR_HP_START_TIME ( 0x0, 0x157c, 0x6464000 )
    [  133.144642] [wifi0] FWLOG: [135518] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x1 )
    [  133.151233] [wifi0] FWLOG: [135518] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 )
    [  133.157825] [wifi0] FWLOG: [135518] VDEV_MGR_AP_TBTT_CONFIG ( 0x0, 0x157c, 0x0, 0x0 )
    

WXR-2533DHPx書き戻し

とりあえずメモレベル。WXR-2533DHP2で試しただけなので後でWXR-2533DHPでも試す。

公式ファームウェアからKernelとRootFS取り出し

BUFFALO公式サイトからWXR-2533DHPあるいはDHP2のファームウェアをダウンロードしKernelとRootFSを分離。ヘッダ部分にそれぞれのサイズが記されているのでそのサイズの通りか確認
その後WXR-2533DHPx上の /tmp かどこかへ転送しておく

mtdをUBI形式でフォーマット

WXR-2533DHPまたはDHP2上で、2番目のOS領域のmtdをUBI形式にフォーマットする。WXR-2533DHPxでは1つ目と2つ目でOSイメージが異なる場合、2つ目から1つ目に書き戻される
/proc/mtd を参照して rootfs_1 のmtdを探し、

ubiformat /dev/mtd<rootfs_1の番号>

を実施
例:

ubiformat /dev/mtd1

volume作成

フォーマットしたUBI上にボリュームを作成。
WXR-2533DHP2の本来のボリューム構成が不明であるためDHPでの構成で書いていく
まずUBIをアタッチ。UBIの番号はアタッチ順であるため、混同を避けるには既に /dev/ubi* が存在する場合は一旦デタッチしておくのが吉。

ubiattach -m <UBI番号>

“kernel”, “ubi_rootfs”, “ubi_rootfs_data” の3つのボリュームを作成

ubimkvol -N kernel -S 42 /dev/ubi<UBI番号>
ubimkvol -N ubi_rootfs -S 248 /dev/ubi<UBI番号>
ubimkvol -N ubi_rootfs_data -S 42 /dev/ubi<UBI番号>

例:

ubimkvol -N kernel -S 42 /dev/ubi0
ubimkvol -N ubi_rootfs -S 248 /dev/ubi0
ubimkvol -N ubi_rootfs_data -S 42 /dev/ubi0

データ投入

切り分けておいたKernelとRootFSをそれぞれのボリュームに投入する

ubiupdatevol /dev/ubi<UBI番号>_0 /tmp/wxr_2533dhp2_jp_146_kernel.bin
ubiupdatevol /dev/ubi<UBI番号>_1 /tmp/wxr_2533dhp2_jp_146_rootfs.bin

例:

ubiupdatevol /dev/ubi0_0 /tmp/wxr_2533dhp2_jp_146_kernel.bin
ubiupdatevol /dev/ubi0_1 /tmp/wxr_2533dhp2_jp_146_rootfs.bin

以上で書き込みは終わり
ubinfoやhexdumpなどで確認しておく

root@OpenWrt:/tmp/openwrt# ubinfo -a
UBI version:                    1
Count of UBI devices:           1
UBI control device major/minor: 10:62
Present UBI devices:            ubi0

ubi0
Volumes count:                           3
Logical eraseblock size:                 126976 bytes, 124.0 KiB
Total amount of logical eraseblocks:     507 (64376832 bytes, 61.3 MiB)
Amount of available logical eraseblocks: 136 (17268736 bytes, 16.4 MiB)
Maximum count of volumes                 128
Count of bad physical eraseblocks:       5
Count of reserved physical eraseblocks:  35
Current maximum erase counter value:     1
Minimum input/output unit size:          2048 bytes
Character device major/minor:            247:0
Present volumes:                         0, 1, 2

Volume ID:   0 (on ubi0)
Type:        dynamic
Alignment:   1
Size:        42 LEBs (5332992 bytes, 5.0 MiB)
State:       OK
Name:        kernel
Character device major/minor: 247:1
-----------------------------------
Volume ID:   1 (on ubi0)
Type:        dynamic
Alignment:   1
Size:        248 LEBs (31490048 bytes, 30.0 MiB)
State:       OK
Name:        ubi_rootfs
Character device major/minor: 247:2
-----------------------------------
Volume ID:   2 (on ubi0)
Type:        dynamic
Alignment:   1
Size:        42 LEBs (5332992 bytes, 5.0 MiB)
State:       OK
Name:        ubi_rootfs_data
Character device major/minor: 247:3
root@OpenWrt:/tmp/openwrt# hexdump -n 128 -C /dev/ubi0_0
00000000  27 05 19 56 a0 f2 11 fc  5e 34 0e 3b 00 1b e3 98  |'..V....^4.;....|
00000010  41 50 80 00 41 50 80 00  66 54 97 3d 05 02 02 00  |AP..AP..fT.=....|
00000020  4c 69 6e 75 78 2d 33 2e  34 2e 31 30 33 00 00 00  |Linux-3.4.103...|
00000030  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  00 00 a0 e1 00 00 a0 e1  00 00 a0 e1 00 00 a0 e1  |................|
*
00000060  02 00 00 ea 18 28 6f 01  00 00 00 00 98 e3 1b 00  |.....(o.........|
00000070  01 70 a0 e1 02 80 a0 e1  00 20 0f e1 03 00 12 e3  |.p....... ......|
00000080
root@OpenWrt:/tmp/openwrt# hexdump -n 128 -C /dev/ubi0_1
00000000  68 73 71 73 0b 12 00 00  46 0e 34 5e 00 00 04 00  |hsqs....F.4^....|
00000010  82 00 00 00 04 00 12 00  c0 06 01 00 04 00 00 00  |................|
00000020  64 0d 44 8b 00 00 00 00  38 59 e9 00 00 00 00 00  |d.D.....8Y......|
00000030  30 59 e9 00 00 00 00 00  ff ff ff ff ff ff ff ff  |0Y..............|
00000040  fa e0 e7 00 00 00 00 00  f8 6f e8 00 00 00 00 00  |.........o......|
00000050  2c 36 e9 00 00 00 00 00  02 59 e9 00 00 00 00 00  |,6.......Y......|
00000060  0c 80 14 00 09 00 90 00  40 00 00 00 04 00 fd 37  |........@......7|
00000070  7a 58 5a 00 00 01 69 22  de 36 03 c0 8c 9d 07 80  |zXZ...i".6......|
00000080

とある方からの依頼で、WXR-2533DHP2をメーカーファームに試しに復旧した時のもの
この時はmtd0とmtd1両方に書き込んだ

root@OpenWrt:/# ubinfo -a
UBI version:                    1
Count of UBI devices:           0
UBI control device major/minor: 10:62
root@OpenWrt:/# ubiformat /dev/mtd0
ubiformat: mtd0 (nand), size 67108864 bytes (64.0 MiB), 512 eraseblocks of 131072 bytes (128.0 KiB), min. I/O size 2048 bytes
libscan: scanning eraseblock 511 -- 100 % complete
ubiformat: 507 eraseblocks are supposedly empty
ubiformat: 5 bad eraseblocks found, numbers: 266, 268, 303, 305, 412
ubiformat: formatting eraseblock 511 -- 100 % complete
root@OpenWrt:/# ubiattach -m 0
[  150.659624] ubi0: attaching mtd0
[  151.786714] ubi0: scanning is finished
[  151.806834] ubi0: attached mtd0 (name "ubi", size 64 MiB)
[  151.806857] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[  151.811205] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[  151.818067] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[  151.824907] ubi0: good PEBs: 507, bad PEBs: 5, corrupted PEBs: 0
[  151.831602] ubi0: user volume: 0, internal volumes: 1, max. volumes count: 128
[  151.837936] ubi0: max/mean erase counter: 0/0, WL threshold: 4096, image sequence number: 713654506
[  151.844955] ubi0: available PEBs: 468, total reserved PEBs: 39, PEBs reserved for bad PEB handling: 35
[  151.854005] ubi0: background thread "ubi_bgt0d" started, PID 6912
UBI device number 0, total 507 LEBs (64376832 bytes, 61.3 MiB), available 468 LEBs (59424768 bytes, 56.6 MiB), LEB size 126976 bytes (124.0 KiB)
root@OpenWrt:/# ubimkvol --help
ubimkvol version 2.1.1 - a tool to create UBI volumes.

Usage: ubimkvol  [-h] [-a ] [-n ] [-N ]
[-s ] [-S ] [-t ] [-V] [-m] [-k]
[--alignment=][--vol_id=] [--name=]
[--size=] [--lebs=] [--type=] [--help]
[--version] [--maxavsize] [--skipcheck]

Example: ubimkvol /dev/ubi0 -s 20MiB -N config_data - create a 20 Megabytes volume
named "config_data" on UBI device /dev/ubi0.

-a, --alignment=   volume alignment (default is 1)
-n, --vol_id=      UBI volume ID, if not specified, the volume ID
will be assigned automatically
-N, --name=             volume name
-s, --size=            volume size volume size in bytes, kilobytes (KiB)
or megabytes (MiB)
-S, --lebs=       alternative way to give volume size in logical
eraseblocks
-m, --maxavsize               set volume size to maximum available size
-t, --type=   volume type (dynamic, static), default is dynamic
-k, --skipcheck               skip the CRC check done at volume open time
-h, -?, --help                print help message
-V, --version                 print program version
root@OpenWrt:/# ubimkvol -N kernel -S 42 /dev/ubi0
Volume ID 0, size 42 LEBs (5332992 bytes, 5.0 MiB), LEB size 126976 bytes (124.0 KiB), dynamic, name "kernel", alignment 1
root@OpenWrt:/# ubimkvol -N ubi_rootfs -S 248 /dev/ubi0
Volume ID 1, size 248 LEBs (31490048 bytes, 30.0 MiB), LEB size 126976 bytes (124.0 KiB), dynamic, name "ubi_rootfs", alignment 1
root@OpenWrt:/# ubimkvol -N ubi_rootfs_data -S 42 /dev/ubi0
Volume ID 2, size 42 LEBs (5332992 bytes, 5.0 MiB), LEB size 126976 bytes (124.0 KiB), dynamic, name "ubi_rootfs_data", alignment 1
root@OpenWrt:/# ubiupdatevol --help
ubiupdatevol version 2.1.1 - a tool to write data to UBI volumes.

Usage: ubiupdatevol  [-t] [-s ] [-h] [-V] [--truncate]
[--size=] [--help] [--version] <img>

Example 1: ubiupdatevol /dev/ubi0_1 fs.img - write file "fs.img" to UBI volume /dev/ubi0_1
Example 2: ubiupdatevol /dev/ubi0_1 -t - wipe out UBI volume /dev/ubi0_1

-t, --truncate             truncate volume (wipe it out)
-s, --size=         bytes to read from input
--skip=         leading bytes to skip from input
-h, --help                 print help message
-V, --version              print program version
root@OpenWrt:/# ubinfo -a
UBI version:                    1
Count of UBI devices:           1
UBI control device major/minor: 10:62
Present UBI devices:            ubi0

ubi0
Volumes count:                           3
Logical eraseblock size:                 126976 bytes, 124.0 KiB
Total amount of logical eraseblocks:     507 (64376832 bytes, 61.3 MiB)
Amount of available logical eraseblocks: 136 (17268736 bytes, 16.4 MiB)
Maximum count of volumes                 128
Count of bad physical eraseblocks:       5
Count of reserved physical eraseblocks:  35
Current maximum erase counter value:     1
Minimum input/output unit size:          2048 bytes
Character device major/minor:            247:0
Present volumes:                         0, 1, 2

Volume ID:   0 (on ubi0)
Type:        dynamic
Alignment:   1
Size:        42 LEBs (5332992 bytes, 5.0 MiB)
State:       OK
Name:        kernel
Character device major/minor: 247:1
-----------------------------------
Volume ID:   1 (on ubi0)
Type:        dynamic
Alignment:   1
Size:        248 LEBs (31490048 bytes, 30.0 MiB)
State:       OK
Name:        ubi_rootfs
Character device major/minor: 247:2
-----------------------------------
Volume ID:   2 (on ubi0)
Type:        dynamic
Alignment:   1
Size:        42 LEBs (5332992 bytes, 5.0 MiB)
State:       OK
Name:        ubi_rootfs_data
Character device major/minor: 247:3
root@OpenWrt:/# ubiupdatevol /dev/ubi0_0 /tmp/wxr_2533dhp2_jp_146_kernel.bin
root@OpenWrt:/# ubiupdatevol /dev/ubi0_1 /tmp/wxr_2533dhp2_jp_146_rootfs.bin
root@OpenWrt:/# ubiformat /dev/mtd1
ubiformat: mtd1 (nand), size 67108864 bytes (64.0 MiB), 512 eraseblocks of 131072 bytes (128.0 KiB), min. I/O size 2048 bytes
libscan: scanning eraseblock 511 -- 100 % complete
ubiformat: 506 eraseblocks have valid erase counter, mean value is 0
ubiformat: 6 bad eraseblocks found, numbers: 64, 127, 287, 289, 483, 485
ubiformat: formatting eraseblock 511 -- 100 % complete
root@OpenWrt:/# ubiattach /dev/mtd1
ubiattach: error!: MTD device to attach was not specified (use -h for help)
root@OpenWrt:/# ubiattach -m 1
[  393.419755] ubi1: attaching mtd1
[  394.473239] ubi1: scanning is finished
[  394.495917] ubi1: attached mtd1 (name "rootfs_1", size 64 MiB)
[  394.495940] ubi1: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[  394.500632] ubi1: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[  394.507566] ubi1: VID header offset: 2048 (aligned 2048), data offset: 4096
[  394.514402] ubi1: good PEBs: 506, bad PEBs: 6, corrupted PEBs: 0
[  394.521119] ubi1: user volume: 0, internal volumes: 1, max. volumes count: 128
[  394.527440] ubi1: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 532843618
[  394.534457] ubi1: available PEBs: 468, total reserved PEBs: 38, PEBs reserved for bad PEB handling: 34
[  394.544333] ubi1: background thread "ubi_bgt1d" started, PID 9277
UBI device number 1, total 506 LEBs (64249856 bytes, 61.2 MiB), available 468 LEBs (59424768 bytes, 56.6 MiB), LEB size 126976 bytes (124.0 KiB)
root@OpenWrt:/# ubimkvol -N kernel -S 42 /dev/ubi1
Volume ID 0, size 42 LEBs (5332992 bytes, 5.0 MiB), LEB size 126976 bytes (124.0 KiB), dynamic, name "kernel", alignment 1
root@OpenWrt:/# ubimkvol -N ubi_rootfs -S 248 /dev/ubi1
Volume ID 1, size 248 LEBs (31490048 bytes, 30.0 MiB), LEB size 126976 bytes (124.0 KiB), dynamic, name "ubi_rootfs", alignment 1
root@OpenWrt:/# ubimkvol -N ubi_rootfs_data -S 42 /dev/ubi1
Volume ID 2, size 42 LEBs (5332992 bytes, 5.0 MiB), LEB size 126976 bytes (124.0 KiB), dynamic, name "ubi_rootfs_data", alignment 1
root@OpenWrt:/# ubiupdatevol /dev/ubi1_0 /tmp/wxr_2533dhp2_jp_146_kernel.bin
root@OpenWrt:/# ubiupdatevol /dev/ubi1_1 /tmp/wxr_2533dhp2_jp_146_rootfs.bin
root@OpenWrt:/# ubinfo -a
UBI version:                    1
Count of UBI devices:           2
UBI control device major/minor: 10:62
Present UBI devices:            ubi0, ubi1

ubi0
Volumes count:                           3
Logical eraseblock size:                 126976 bytes, 124.0 KiB
Total amount of logical eraseblocks:     507 (64376832 bytes, 61.3 MiB)
Amount of available logical eraseblocks: 136 (17268736 bytes, 16.4 MiB)
Maximum count of volumes                 128
Count of bad physical eraseblocks:       5
Count of reserved physical eraseblocks:  35
Current maximum erase counter value:     1
Minimum input/output unit size:          2048 bytes
Character device major/minor:            247:0
Present volumes:                         0, 1, 2

Volume ID:   0 (on ubi0)
Type:        dynamic
Alignment:   1
Size:        42 LEBs (5332992 bytes, 5.0 MiB)
State:       OK
Name:        kernel
Character device major/minor: 247:1
-----------------------------------
Volume ID:   1 (on ubi0)
Type:        dynamic
Alignment:   1
Size:        248 LEBs (31490048 bytes, 30.0 MiB)
State:       OK
Name:        ubi_rootfs
Character device major/minor: 247:2
-----------------------------------
Volume ID:   2 (on ubi0)
Type:        dynamic
Alignment:   1
Size:        42 LEBs (5332992 bytes, 5.0 MiB)
State:       OK
Name:        ubi_rootfs_data
Character device major/minor: 247:3

===================================

ubi1
Volumes count:                           3
Logical eraseblock size:                 126976 bytes, 124.0 KiB
Total amount of logical eraseblocks:     506 (64249856 bytes, 61.2 MiB)
Amount of available logical eraseblocks: 136 (17268736 bytes, 16.4 MiB)
Maximum count of volumes                 128
Count of bad physical eraseblocks:       6
Count of reserved physical eraseblocks:  34
Current maximum erase counter value:     3
Minimum input/output unit size:          2048 bytes
Character device major/minor:            246:0
Present volumes:                         0, 1, 2

Volume ID:   0 (on ubi1)
Type:        dynamic
Alignment:   1
Size:        42 LEBs (5332992 bytes, 5.0 MiB)
State:       OK
Name:        kernel
Character device major/minor: 246:1
-----------------------------------
Volume ID:   1 (on ubi1)
Type:        dynamic
Alignment:   1
Size:        248 LEBs (31490048 bytes, 30.0 MiB)
State:       OK
Name:        ubi_rootfs
Character device major/minor: 246:2
-----------------------------------
Volume ID:   2 (on ubi1)
Type:        dynamic
Alignment:   1
Size:        42 LEBs (5332992 bytes, 5.0 MiB)
State:       OK
Name:        ubi_rootfs_data
Character device major/minor: 246:3

PC構成一覧(2020/08/13現在)

メイン機

OpenWrtサポート作業ほかデスクワーク全般、ゲームなど通常使用用途

CPU Core i5 10500
RAM DDR4-2666 16GB x2
MB B460M Pro4
GPU GTX1660 Super
SSD
(System)
WesternDigital WDS500G2B0C (NVMe, 500GB)
SSD
(Data)
WesternDigital WDS500G2B0A (SATA, 500GB)
HDD
(Data)
WesternDigital WD10EZEX (1TB)
OS Windows 10 Pro

大破鯖

Web, Mastodon, Jenkins(Web部分), Minecraft, Wikiの各サーバのVMホスト、録画関連
メモリ不足気味
常時稼働
録画関係の為WS12R2を継続使用

CPU Core i7 6700
RAM DDR4-2666 8GB x2
MB H170M Pro4
SSD
(Host System)
Samsung MZ-V6E250 (NVMe, 250GB)
SSD
(Guest System)
CFD CSSD-S6B240CG3VX (SATA, 240GB)
SSD
(Guest System)
KLEVV D120GAA-N500 (SATA, 120GB)
HDD
(Guest Data)
WesternDigital WD10EZEX (1TB)
HDD
(Rec)
WesternDigital WD20EZRZ (2TB)
NIC I350-T4
OS
(Host)
Windows Server 2012 R2 Standard

ビルド鯖

VMがJenkinsのスレーブとして稼働(ごくたまに直接使用)
ホストごと必要時のみ稼働

CPU Ryzen 5 3400G
RAM DDR4-2133 4GB x2
MB TUF B450M-Pro GAMING
SSD
(Host System)
SanDisk SD8SBAT128G (SATA, 128GB)
SSD
(Guest System)
A-DATA ASP900S3-128GM-C (SATA, 128GB)
SSD
(Guest Data)
Crucial CT525MX300SSD1 (SATA, 525GB)
HDD
(Guest Data)
Samsung HD251HJ (250GB)
HDD
(Host Data)
Samsung HD502HI (500GB)
OS
(Host)
Hyper-V Server 2019

予備鯖

大破鯖メンテナンス時の代替稼働用、その他検証用
必要時のみ稼働

CPU Pentium G3240
RAM DDR3 8GB x2
MB GA-H81M-D3V
SSD
(Host System)
KLEVV D120GAA-N500 (SATA, 120GB)
SSD
(Guest System)
KLEVV D240GAA-N500 (SATA, 240GB)
HDD
(Guest Data)
Hitachi HDP725050GLA360 (500GB)
OS
(Host)
Hyper-V Server 2019

WAB-I1750-PS

某所で某氏が既にサポート作業をしており眺めていたが、普段触る家庭向けルータと異なりRJ-45タイプのコンソールポートがあったりブザーを搭載しているなど気になる点がいくつかあり、半ば衝動的に購入したもの。
前述の通り、既に作業している方がいる為こちらではOpenWrt本家に投げるための作業は行わないが、試しに弄ってみるのでメモ。

Ethernet

switchは搭載せず、QCA9558のeth0/eth1にAR803x phy2つをそれぞれ直結。

zone WAN LAN
port
(WAB-I1750-PS)
PD (IN) PSE (OUT)
port eth0
(AR8035)
eth1
(AR8033)

MAC

未確認

  • Ethernet: 74:DA:88:xx:xx:0A (tddp, option macaddr (text))
  • 2.4G: 00:90:FE:xx:xx:0A
  • 5G: 00:90:FE:xx:xx:0B

U-Boot

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

  • version
    ath> version
    
    U-Boot 1.1.4-g245070bc-dirty (Sep 15 2014 - 21:36:13)
    

  • printenv
    ath> printenv
    bootargs=console=ttyS0,115200 root=31:02 rootfstype=jffs2 init=/sbin/init mtdparts=ath-nor0:256k(u-boot),64k(u-boot-env),6336k(rootfs),1408k(uImage),8256k(mib0),64k(ART)
    bootcmd=bootm 0x9f070000
    bootdelay=2
    baudrate=115200
    ethaddr="00:90:FE:**:**:0A"
    ipaddr=192.168.99.9
    serverip=192.168.99.8
    dir=
    lu=tftp 0x80060000 ${dir}u-boot.bin&&erase 0x9f000000 +$filesize&&cp.b $fileaddr 0x9f000000 $filesize
    lf=tftp 0x80060000 ${dir}7479PLC${bc}-jffs2&&erase 0x9f050000 +0x630000&&cp.b $fileaddr 0x9f050000 $filesize
    lk=tftp 0x80060000 ${dir}vmlinux${bc}.lzma.uImage&&erase 0x9f680000 +$filesize&&cp.b $fileaddr 0x9f680000 $filesize
    ethact=eth1
    domain=1
    pincode=********
    wlanaddr=00:aa:bb:cc:dd:10
    sn=************
    usboot=0
    op_mode=0
    bver=4.0.1.5
    dom2=1
    wanaddr=00:aa:bb:cc:dd:20
    bootfile=uImage_WN-AC733GR
    hw_id=0107000d
    language_code=jp
    kver=1.0.16
    stdin=serial
    stdout=serial
    stderr=serial
    
    Environment size: 904/65532 bytes
    

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

  • md.l 0x180500x8
    0x18050028

    ath> md.l 0x18050028 1
    18050028: 00000101
    

    0x18050048

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

  • 
    

Kernel

パスワードを要求される。

  • uname -a
    # uname -a
    Linux WAB_I1750 3.2.9 #3 Mon Sep 15 20:24:53 CST 2014 mips GNU/Linux
    

  • cat /proc/version
    # cat /proc/version
    Linux version 3.2.9 (root@******-OptiPlex-****) (gcc version 4.3.6 (Buildroot 2013.05) ) #3 Mon Sep 15 20:24:53 CST 2014
    

  • cat /proc/cpuinfo
    # cat /proc/cpuinfo
    system type             : QCA955x
    machine                 : Elecom WAP-S1167
    processor               : 0
    cpu model               : MIPS 74Kc V5.0
    BogoMIPS                : 359.42
    wait instruction        : yes
    microsecond timers      : yes
    tlb_entries             : 32
    extra interrupt vector  : yes
    hardware watchpoint     : yes, count: 4, address/irw mask: [0x0000, 0x0bf0, 0x07f8, 0x05e0]
    ASEs implemented        : mips16
    shadow register sets    : 1
    kscratch registers      : 0
    core                    : 0
    VCED exceptions         : not available
    VCEI exceptions         : not available
    

  • cat /proc/meminfo
    # cat /proc/meminfo
    MemTotal:         126244 kB
    MemFree:           80696 kB
    Buffers:            2464 kB
    Cached:            17788 kB
    SwapCached:            0 kB
    Active:             7428 kB
    Inactive:          16776 kB
    Active(anon):       4380 kB
    Inactive(anon):     1548 kB
    Active(file):       3048 kB
    Inactive(file):    15228 kB
    Unevictable:           0 kB
    Mlocked:               0 kB
    SwapTotal:             0 kB
    SwapFree:              0 kB
    Dirty:                 0 kB
    Writeback:             0 kB
    AnonPages:          3968 kB
    Mapped:             3792 kB
    Shmem:              1976 kB
    Slab:              14296 kB
    SReclaimable:        704 kB
    SUnreclaim:        13592 kB
    KernelStack:         448 kB
    PageTables:          356 kB
    NFS_Unstable:          0 kB
    Bounce:                0 kB
    WritebackTmp:          0 kB
    CommitLimit:       63120 kB
    Committed_AS:      98812 kB
    VmallocTotal:    1048372 kB
    VmallocUsed:         496 kB
    VmallocChunk:    1044264 kB
    

  • cat /proc/mtd
    # cat /proc/mtd
    dev:    size   erasesize  name
    mtd0: 01000000 00010000 "ALL"
    mtd1: 00040000 00010000 "Bootloader"
    mtd2: 00010000 00010000 "Config"
    mtd3: 00010000 00010000 "ART"
    mtd4: 00010000 00010000 "ART2"
    mtd5: 00e00000 00010000 "Kernel"
    mtd6: 00e00000 00010000 "user"
    mtd7: 00100000 00010000 "manufacture"
    mtd8: 00010000 00010000 "backup"
    mtd9: 00080000 00010000 "storage"
    

  • mount
    # mount
    rootfs on / type rootfs (rw)
    none on /sys type sysfs (rw,relatime)
    /proc on /proc type proc (rw,relatime)
    devpts on /dev/pts type devpts (rw,relatime,mode=600)
    /dev/shm/tmp/ on /mnt/tmpfs type tmpfs (rw,relatime,size=16384k,nr_inodes=10240,mode=700)
    /dev/mtdblock9 on /storage type jffs2 (rw,relatime)
    /dev/loop0 on /apps type squashfs (ro,relatime)
    

  • ls -al /sys/class/leds
    # ls -al /sys/class/leds
    lrwxrwxrwx    1         0 Sep  1 00:12 buzr -> ../../devices/platform/leds-gpio/leds/buzr
    lrwxrwxrwx    1         0 Sep  1 00:00 2g_led -> ../../devices/platform/leds-gpio/leds/2g_led
    lrwxrwxrwx    1         0 Sep  1 00:00 usb1_en -> ../../devices/platform/leds-gpio/leds/usb1_en
    lrwxrwxrwx    1         0 Sep  1 00:00 usb1_led -> ../../devices/platform/leds-gpio/leds/usb1_led
    lrwxrwxrwx    1         0 Sep  1 00:12 DIAG -> ../../devices/platform/leds-gpio/leds/DIAG
    drwxr-xr-x   19         0 Sep  1 00:00 ..
    drwxr-xr-x    2         0 Sep  1 00:00 .
    

  • header -x WAB-I1750-PS-FW-V1-5-4.bin
    # header -x WAB-I1750-PS-FW-V1-5-4.bin
    ### Decoding  image ####
    Decode source file [WAB-I1750-PS-FW-V1-5-4.bin]
    ------- Header Info -------
    Vendor  id:  0x0107
    Product id:  0x000d
    Hardware id:  0x0107000d
    Version id:  3047
    Code Version:  1.5.4
    Type: 0x3 [kernel]
    comp_file_len:  6355047
    comp_file_sum:  0x0
    Header sum:  0x3e3
    Magic key:  0x30471688
    MD5 chksum:  5a30899a57eb61ad71aba294ce46875
    ------------------------------
    Decode finished, got file [WAB-I1750-PS-FW-V1-5-4.bin.bin] with size 6355047 bytes
    header: Return OK
    

  • ./busybox devmem 0x18070000 32
    ※2020/07/23現在のGitHubにおけるmirror/busyboxのmasterをコンパイルし実機上へ転送したもの

    # ./busybox devmem 0x18070000 32
    0x003FD001
    

  • ./busybox devmem 0x180500x8 32
    0x18050028

    # ./busybox devmem 0x18050028 32
    0xA6000000
    

    0x18050048

    # ./busybox devmem 0x18050048 32
    0x03000000
    

  • 
    

  • bootlog (op_mode=0)
    U-Boot 1.1.4-g245070bc-dirty (Sep 15 2014 - 21:36:13)
    ELX version: 1.0.1
    
    7479PLC - Scorpion 1.0DRAM:
    sri
    Scorpion 1.0
    ath_ddr_initial_config(178): (32bit) ddr2 init
    tap = 0x00000003
    Tap (low, high) = (0x5, 0x1c)
    Tap values = (0x10, 0x10, 0x10, 0x10)
    128 MB
    Flash Manuf Id 0xc2, DeviceId0 0x20, DeviceId1 0x18
    Flash [MX25L12845E] sectors: 256
    Flash: 16 MB
    In:    serial
    Out:   serial
    Err:   serial
    Net:   ath_gmac_enet_initialize...
    athrs_sgmii_res_cal: cal value = 0x1
    Fetching MAC Address from 0x87feb67c
    Fetching MAC Address from 0x87feb67c
    ath_gmac_enet_initialize: reset mask:c02200
    Scorpion ---->8033 PHY*
    AR8033 PHY init
    athrs_ar8033_reg_init: Done ffff
    Max resets limit reached exiting...
    athr_gmac_sgmii_setup SGMII done
    : cfg1 0x800c0000 cfg2 0x7214
    eth1: 00:aa:bb:cc:dd:01
    eth1 up
    eth1
    Setting 0x18116290 to 0x458ba14f
    
    Please choose the operation:
    1: Load system code to SDRAM via TFTP.
    3: Boot system code via Flash (default).
    4: Entr boot command line interface.                                                                                                             0
    
    3: System Boot system code via Flash.
    ## Booting image at 9f070000 ...
    Image Name:   Linux Kernel Image
    Created:      2014-09-15  12:25:00 UTC
    Image Type:   MIPS Linux Kernel Image (lzma compressed)
    Data Size:    5728465 Bytes =  5.5 MB
    Load Address: 80002000
    Entry Point:  802c1520
    Verifying Checksum at 0x9f070040 ...OK
    Uncompressing Kernel Image ... OK
    
    Starting kernel ...
    
    Linux version 3.2.9 (****@******-OptiPlex-****) (gcc version 4.3.6 (Buildroot 2013.05) ) #3 Mon Sep 15 20:24:53 CST 2014
    bootconsole [early0] enabled
    CPU revision is: 00019750 (MIPS 74Kc)
    SoC: QCA955x
    Clocks: CPU:720.000MHz, DDR:600.000MHz, AHB:200.000MHz, Ref:40.000MHz
    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
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
    Kernel command line:  console=ttyS0,115200 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 64kB, VIPT, 4-way, linesize 32 bytes.
    Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
    Writing ErrCtl register=00000000
    Readback ErrCtl register=00000000
    Memory: 119220k/131072k available (2849k kernel code, 11852k reserved, 692k data, 7024k init, 0k highmem)
    SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    NR_IRQS:51
    Calibrating delay loop... 359.42 BogoMIPS (lpj=718848)
    pid_max: default: 32768 minimum: 301
    Mount-cache hash table entries: 512
    NET: Registered protocol family 16
    MIPS: machine is Elecom WAP-S1167
    registering PCI controller with io_map_base unset
    ar724x-pci ar724x-pci.1: PCIe link is down
    registering PCI controller with io_map_base unset
    bio: create slab  at 0
    vgaarb: loaded
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    pci 0000:00:00.0: fixup device configuration
    pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x101fffff 64bit]
    pci 0000:00:00.0: BAR 0: set to [mem 0x10000000-0x101fffff 64bit] (PCI address [0x10000000-0x101fffff])
    pci 0000:00:00.0: BAR 6: assigned [mem 0x10200000-0x1020ffff pref]
    pci 0000:00:00.0: using irq 40 for pin 1
    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: 2, 16384 bytes)
    TCP: Hash tables configured (established 4096 bind 4096)
    TCP reno registered
    UDP hash table entries: 256 (order: 0, 4096 bytes)
    UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    NET: Registered protocol family 1
    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 232
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    step 0x54e scale 0x8 for 115200
    Serial: Atheros High-Speed UART (115200)
    Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
    serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
    console [ttyS0] enabled, bootconsole disabled
    console [ttyS0] enabled, bootconsole disabled
    loop: module loaded
    Flash0 Manuf Id 0xc2, DeviceId0 0x20, DeviceId1 0x18
    Flash0 MX25L12845E(c2 2018c200) (16384 Kbytes)
    mtd .name = ath-nor0, .size = 0x01000000 (16M) .erasesize = 0x00010000 (64K) .numeraseregions = 0
    Creating 10 MTD partitions on "ath-nor0":
    0x000000000000-0x000001000000 : "ALL"
    0x000000000000-0x000000040000 : "Bootloader"
    0x000000040000-0x000000050000 : "Config"
    0x000000050000-0x000000060000 : "ART"
    0x000000060000-0x000000070000 : "ART2"
    0x000000070000-0x000000e70000 : "Kernel"
    0x000000070000-0x000000e70000 : "user"
    0x000000e70000-0x000000f70000 : "manufacture"
    0x000000f70000-0x000000f80000 : "backup"
    0x000000f80000-0x000001000000 : "storage"
    IMQ driver loaded successfully. (numdevs = 2, numqueues = 1)
    Hooking IMQ after NAT on PREROUTING.
    Hooking IMQ before NAT on POSTROUTING.
    usbcore: registered new interface driver asix
    usbcore: registered new interface driver cdc_ether
    usbcore: registered new interface driver net1080
    usbcore: registered new interface driver cdc_subset
    usbcore: registered new interface driver zaurus
    usbcore: registered new interface driver MOSCHIP usb-ethernet driver
    cdc_ncm: 04-Aug-2011
    usbcore: registered new interface driver cdc_ncm
    ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    Port Status 1c000004
    ath-ehci ath-ehci.0: ATH EHCI
    ath-ehci ath-ehci.0: new USB bus registered, assigned bus number 1
    ath-ehci ath-ehci.0: irq 48, io mem 0x1b000000
    ath-ehci ath-ehci.0: USB 2.0 started, EHCI 1.00
    usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb1: Product: ATH EHCI
    usb usb1: Manufacturer: Linux 3.2.9 ehci_hcd
    usb usb1: SerialNumber: platform
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    Port Status 1c000004
    ath-ehci1 ath-ehci1.1: ATH EHCI
    ath-ehci1 ath-ehci1.1: new USB bus registered, assigned bus number 2
    ath-ehci1 ath-ehci1.1: irq 49, io mem 0x1b400000
    ath-ehci1 ath-ehci1.1: USB 2.0 started, EHCI 1.00
    usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb2: Product: ATH EHCI
    usb usb2: Manufacturer: Linux 3.2.9 ehci_hcd
    usb usb2: SerialNumber: platform
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    uhci_hcd: USB Universal Host Controller Interface driver
    Initializing USB Mass Storage driver...
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    ath_usb_init: ID: 1130
    Registered button device:usb1_over, gpio:20,code:257,index:1
    Registered button device:reset, gpio:18,code:408,index:10
    Registered button device:wps, gpio:16,code:529,index:11
    Registered button device:usb_eject, gpio:19,code:256,index:0
    Netfilter messages via NETLINK v0.30.
    nf_conntrack version 0.5.0 (256 buckets, 2048 max)
    xt_time: kernel timezone is -0000
    ip_tables: (C) 2000-2006 Netfilter Core Team
    TCP westwood registered
    NET: Registered protocol family 10
    NET: Registered protocol family 17
    NET: Registered protocol family 2
    8021q: 802.1Q VLAN Support v1.8
    Freeing unused kernel memory: 7024k 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: (346) 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 RAM ...
    Setting up loopback device ...
    FINISHED
    qca955x_GMAC: Length per segment 1536
    955x_GMAC: qca955x_gmac_attach
    955x_GMAC: qca955x_set_gmac_caps
    Currently in polling mode unit0
    Registering AR8035 Phy....
    qca955x_GMAC: RX TASKLET - Pkts per Intr:160
    qca955x_GMAC: Max segments per packet :   1
    qca955x_GMAC: Max tx descriptor count :   128
    qca955x_GMAC: Max rx descriptor count :   224
    qca955x_GMAC: Mac capability flags    :   42200
    955x_GMAC: qca955x_gmac_attach
    955x_GMAC: qca955x_set_gmac_caps
    Currently in polling mode unit1
    Registering AR8033 Phy....
    qca955x_GMAC: RX TASKLET - Pkts per Intr:160
    qca955x_GMAC: Max segments per packet :   1
    qca955x_GMAC: Max tx descriptor count :   128
    qca955x_GMAC: Max rx descriptor count :   224
    qca955x_GMAC: Mac capability flags    :   42200
    955x_GMAC: Serdes PLL is locked value 0x18818116
    Start Normal Operation Mode ...
    ************************************************************************
    *                                ---ELX---                             *
    ************************************************************************
    
    KernelApp version: 1.0.16 build date: 2014/09/15 build time: 20:22:00
    cmd> ln: /sbin/./cli: File exists
    ln: /sbin/./start_all: File exists
    athr_gmac_ring_alloc Allocated 2048 at 0x86e3c800
    sram_desc_cnt 1536,mac Unit 0,Tx r->ring_desc 0xbd000000
    athr_gmac_ring_alloc Allocated 3584 at 0x86dd5000
    sram_desc_cnt 4224,mac Unit 0,Rx r->ring_desc 0xbd000600
    955x_GMAC: eth0 in RGMII MODE
    Scorpion -----> 8035 PHY
    athrs_ar8035_reg_init: Done
    Disable TX Flow control..
    Setting Drop CRC Errors, Pause Frames and Length Error frames
    Setting PHY...
    AR8035 found!
    [0:4]Phy ID 4d:d072
    ADDRCONF(NETDEV_UP): eth0: link is not ready
    athr_gmac_ring_alloc Allocated 2048 at 0x86f95000
    sram_desc_cnt 5760,mac Unit 1,Tx r->ring_desc 0xbd001080
    athr_gmac_ring_alloc Allocated 3584 at 0x86dd4000
    sram_desc_cnt 8448,mac Unit 1,Rx r->ring_desc 0xbd001680
    955x_GMAC: eth1 in SGMII MODE
    Scorpion -----> 8033 PHY
    athrs_ar8033_reg_init: Done
    955x_SGMIIMax resets limit reached exiting...
    955x_SGMII::athr_gmac_sgmii_setup  Done
    Disable TX Flow control..
    Setting Drop CRC Errors, Pause Frames and Length Error frames
    Setting PHY...
    AR8033 found!
    Phy ID 4d:d074
    ADDRCONF(NETDEV_UP): eth1: link is not ready
    athr_gmac_ring_free Freeing at 0x86e3c800
    athr_gmac_ring_free Freeing at 0x86dd5000
    athr_gmac_ring_alloc Allocated 2048 at 0x80c19800
    sram_desc_cnt 8448,mac Unit 0,Tx r->ring_desc 0xbd000000
    athr_gmac_ring_alloc Allocated 3584 at 0x87809000
    sram_desc_cnt 8448,mac Unit 0,Rx r->ring_desc 0xbd000600
    955x_GMAC: eth0 in RGMII MODE
    Scorpion -----> 8035 PHY
    athrs_ar8035_reg_init: Done
    Disable TX Flow control..
    Setting Drop CRC Errors, Pause Frames and Length Error frames
    Setting PHY...
    AR8035 found!
    [0:4]Phy ID 4d:d072
    ADDRCONF(NETDEV_UP): eth0: link is not ready
    athr_gmac_ring_free Freeing at 0x86f95000
    athr_gmac_ring_free Freeing at 0x86dd4000
    athr_gmac_ring_alloc Allocated 2048 at 0x86f39800
    sram_desc_cnt 8448,mac Unit 1,Tx r->ring_desc 0xbd001080
    athr_gmac_ring_alloc Allocated 3584 at 0x86dd4000
    sram_desc_cnt 8448,mac Unit 1,Rx r->ring_desc 0xbd001680
    955x_GMAC: eth1 in SGMII MODE
    Scorpion -----> 8033 PHY
    athrs_ar8033_reg_init: Done
    955x_SGMIIMax resets limit reached exiting...
    955x_SGMII::athr_gmac_sgmii_setup  Done
    Disable TX Flow control..
    Setting Drop CRC Errors, Pause Frames and Length Error frames
    Setting PHY...
    AR8033 found!
    Phy ID 4d:d074
    ADDRCONF(NETDEV_UP): eth1: link is not ready
    port_id:[4],mode:[1]
    sh: mii_mgr: not found
    port_id:[4],mode:[1]
    port_id:[1],mode:[1]
    sh: mii_mgr: not found
    port_id:[1],mode:[1]
    device br_t.1 entered promiscuous mode
    device br_t entered promiscuous mode
    br0: port 1(br_t.1) entering disabled state
    device eth0 entered promiscuous mode
    device eth1 entered promiscuous mode
    adf: module license 'Proprietary' taints kernel.
    Disabling lock debugging due to kernel taint
    ath_hal: 0.9.17.1 (AR5416, AR9380, REGOPS_FUNC, WRITE_EEPROM, 11D)
    ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved
    ath_dfs: Version 2.0.0
    Copyright (c) 2005-2006 Atheros Communications, Inc. All Rights Reserved
    ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved
    ath_ahb: 10.1.467 (Atheros/multi-bss)
    __ath_attach: Set global_scn[0]
    Enterprise mode: 0x33fc0000
    Restoring Cal data from Flash
    Green-AP : Green-AP : Attached
    
    ath_get_caps[5957] rx chainmask mismatch actual 7 sc_chainmak 0
    ath_get_caps[5932] tx chainmask mismatch actual 7 sc_chainmak 0
    ath_attach_dfs[11938] dfsdomain 1
    wifi0: Atheros ???: mem=0xb8100000, irq=47
    ath_pci: 10.1.467 (Atheros/multi-bss)
    ath_pci_probe
    PCI device id is 003c :003c
    ath_pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x101fffff 64bit]
    ath_pci 0000:00:00.0: BAR 0: set to [mem 0x10000000-0x101fffff 64bit] (PCI address [0x10000000-0x101fffff])
    PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
    ath_pci 0000:00:00.0: ath DEBUG: sc=0x80df6e00
    
    ol_ath_pci_configure : num_desired MSI set to 0
    
    Using PCI Legacy Interrupt
    __ol_ath_attach: ath_attach TODO
    ol_ath_attach() BMI inited.
    ol_ath_attach() BMI Get Target Info.
    ol_ath_attach() TARGET TYPE: 7 Vers 0x4100016c
    NUM_DEV=1 FWMODE=0x2 FWSUBMODE=0x0 FWBR_BUF 0
    ol_ath_attach() configure Target .
    qc98xx_verify_checksum: flash checksum passed: 0xc79d
    ol_transfer_bin_file 1713: Download Flash data len 2116
    ol_transfer_bin_file 1657: Download Firmware data len 190500
    ol_ath_attach() Download FW.
    ol_ath_attach() HT Create .
    ol_ath_attach() HIF Claim.
    ol_ath_attach() BMI Done.
    ol_ath_attach() WMI attached. wmi_handle 86490000
    +HWT
    CE_recv_buf_enqueue 457 Populate last entry 512 for CE 5
    CE_recv_buf_enqueue 466 CE 5 wi 511 dest_ptr 0x6626820 nbytes 0 recv_ctxt 0x8660c9c0
    -HWT
    HTC Service:0x0300 ep:1 TX flow control disabled
    CE_pkt_dl_len_set CE 4 Pkt download length 42
    TXRX: Created pdev 869fe200
    wmi_service_ready_event_rx:  WMI UNIFIED SERVICE READY event
    num_rf_chain : 00000003
    ht_cap_info: : 0000085b
    vht_cap_info : 338001b2
    vht_supp_mcs : 0000ffea
    LARGE_AP enabled. num_peers 144, num_vdevs 16, num_tids 256
    idx 0 req 1  num_units 0 num_unit_info 2 unit size 404 actual units 145
    chunk 0 len 58580 requested ,ptr  0x6270000
    FIRMWARE:P 145 V 16 T 443
    
    wmi_ready_event_rx:  WMI UNIFIED READY event
    ol_ath_connect_htc() WMI is ready
    ol_ath_set_host_app_area TODO
    target uses HTT version 2.1; host uses 2.1
    ol_ath_attach() connect HTC.
    ol_regdmn_start: reg-domain param: regdmn=0, countryName=, wModeSelect=FFFFFFFF, netBand=FFFFFFFF, extendedChanMode=0.
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2) flags 0x2150
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4) flags 0xa0
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x8) flags 0xc0
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x20) flags 0xd0
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x40) flags 0x150
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x800) flags 0x10080
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2000) flags 0x20080
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4000) flags 0x40080
    Skipping VHT80 channel 5825
    ol_ath_phyerr_attach: called
    OL Resmgr Init-ed
    Green-AP : Green-AP : Attached
    
    Green-AP : Attached
    ol_if_dfs_setup: called
    ol_if_dfs_attach: called; ptr=86285974, radar_info=80ed3bf0
    ol_ath_rtt_meas_report_attach: called
    ol_ath_attach() UMAC attach .
    ol_if_dfs_configure: called
    ol_if_dfs_configure: FCC domain
    ol_if_dfs_disable: called
    ol_ath_attach: Calling ol_if_dfs_configure
    __ol_ath_attach: init tx/rx TODO
    __ol_ath_attach: hard_header_len reservation 58
    __ol_ath_attach: dev name wifi1
    Initializing Pktlogs for 11ac
    ath_attach_dfs[11938] dfsdomain 1
    VAP device ath0 created
    wds32     no private ioctls.
    
    DES SSID SET=elecom2g01-9cb40a
    Setting Max Stations:50
    WARNING: Fragmentation with HT mode NOT ALLOWED!!
    Error for wireless request "Set Fragmentation Threshold" (8B24) :
    SET failed on device ath0 ; Invalid argument.
    Error for wireless request "Set Fragmentation Threshold" (8B24) :
    SET failed on device wds32 ; No such device.
    Error for wireless request "Set RTS Threshold" (8B22) :
    SET failed on device wds32 ; No such device.
    FWLOG: [20962] WHAL_ERROR_RESET_CHANNF1 ( 0xaaaa1111, 0x0 )
    FWLOG: [20962] WHAL_ERROR_RESET_CHANNF1 ( 0xaaaa2222, 0x91 )
    FWLOG: [20962] WHAL_ERROR_RESET_CHANNF1 ( 0xaaaa3333, 0x122 )
    FWLOG: [20962] WHAL_ERROR_RESET_CHANNF1 ( 0xaaaa4444, 0x132 )
    FWLOG: [20962] WHAL_ERROR_RESET_CHANNF1 ( 0xaaaa5555, 0x142 )
    FWLOG: [20962] WHAL_ERROR_RESET_CHANNF1 ( 0x1bb, 0x14a )
    isCountryCodeValid: EEPROM regdomain 0x0
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2) flags 0x2150
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4) flags 0xa0
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x8) flags 0xc0
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x20) flags 0xd0
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x40) flags 0x150
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x800) flags 0x10080
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2000) flags 0x20080
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4000) flags 0x40080
    Skipping VHT80 channel 5660
    Skipping VHT80 channel 5680
    Skipping VHT80 channel 5700
    ath_ioctl: SIOC80211IFCREATE CALLED
    wmi_unified_vdev_create_send: ID = 0 VAP Addr = 00:90:fe:**:**:0b:
    TXRX: Created vdev 80edcd80 (00:90:fe:**:**:0b)
    Setting vdev param = 26, value = 147
    Setting vdev param = 27, value = 295
    Setting vdev param = 28, value = 300
    VAP device ath16 created
    TXRX: ol_txrx_peer_find_add_id: peer 80ebe800 ID 127
    TXRX: ol_txrx_peer_find_add_id: peer 80ebe800 ID 79
    wds36     no private ioctls.
    
    ol_ath_vap_set_param: VAP param unsupported param:38 value:0
    ol_ath_vap_set_param: VAP param unsupported param:43 value:0
    
    DES SSID SET=elecom5g01-9cb40b
    wmi_unified_vdev_stop_send
    STOPPED EVENT for vap 0
    Setting Max Stations:50
    Setting vdev param = 3, value = 100
    Setting vdev param = 26, value = 27
    Setting vdev param = 27, value = 55
    Setting vdev param = 28, value = 60
    Setting vdev param = d, value = 1
    ol_ath_vap_set_param: VAP param unsupported param:7 value:1
    WARNING: Fragmentation with HT mode NOT ALLOWED!!
    Error for wireless request "Set Fragmentation Threshold" (8B24) :
    SET failed on device ath16 ; Invalid argument.
    Error for wireless request "Set Fragmentation Threshold" (8B24) :
    SET failed on device wds36 ; No such device.
    Errool_ath_vap_set_param: VAP param unsupported param:41 value:1
    r for wireless request "Set RTS Threshold" (8B22ol_ath_vap_set_param: VAP param unsupported param:35 value:0
    ) :
    SET failed on device wds36 ; No such deSetting vdev param = 1a, value = 1
    vice.
    Interface doesn't accept private ioctl...
    AMPDU (8BE0): Operation not permitted
    Interface doesn't accept privaol_ath_vap_set_param: VAP param unsupported param:156 value:0
    te ioctl...
    AMPDUFrames (8BE0): Operation not permitted
    Interface doesn't accept private ioctl...
    AMPDULim (8Setting vdev param = 1e, value = 1
    BE0): Operation not permitted
    Invalid command : set_swapled
    route: SIOCADDRT: File exists
    Setting vdev param = 12, value = 1
    ol_ath_vap_set_param: VAP param unsupported param:30 value:1
    
    port_id:[4],mode:[1]
    port_id:[1],mode:[1]
    
    Ebtables v2.0 registered
    
    Start wps_led driver
    

BusyBox コンパイルメモ (static)

とりあえず流れのコマンド類だけ

ref: Frequency Asked Questions (BusyBox)

WSL

tofu@Tofu-H170W10:~/router$ mkdir sdk; cd sdk
tofu@Tofu-H170W10:~/router/sdk$ curl -LO https://mirrors.a-m-v.pl/downloads.openwrt.org/snapshots/targets/ath79/generic/openwrt-sdk-ath79-generic_gcc-8.4.0_musl.Linux-x86_64.tar.xz
(※OpenWrt公式サイト掲載のミラー)
tofu@Tofu-H170W10:~/router/sdk$ tar xvf openwrt-sdk-ath79-generic_gcc-8.4.0_musl.Linux-x86_64.tar.xz

Git for Windows (bash)

tofu@Tofu-H170W10 MINGW64 ~
$ cd git/other     (~/git の実態は D:\git へのsymlink)
tofu@Tofu-H170W10 MINGW64 ~/git/other
$ git clone https://github.com/mirror/busybox.git

WSL

tofu@Tofu-H170W10:~/router/sdk$ cd /mnt/d/git/other/busybox/
tofu@Tofu-H170W10:/mnt/d/git/other/busybox$ PATH="$PATH:/home/tofu/router/sdk/openwrt-sdk-ath79-generic_gcc-8.4.0_musl.Linux-x86_64/staging_dir/toolchain-mips_24kc_gcc-8.4.0_musl/bin/"
tofu@Tofu-H170W10:/mnt/d/git/other/busybox$ CROSS_COMPILE="mips-openwrt-linux-" make menuconfig
tofu@Tofu-H170W10:/mnt/d/git/other/busybox$ STAGING_DIR=/tmp LDFLAGS="--static" CROSS_COMPILE="mips-openwrt-linux-" make -j8
tofu@Tofu-H170W10:/mnt/d/git/other/busybox$ file busybox
busybox: ELF 32-bit MSB executable, MIPS, MIPS32 rel2 version 1 (SYSV), statically linked, stripped

WRC-1750GS/GSV

WRC-1750GHBKと一緒にTwitterにて投票を取ったところ、GHBKと同数で並んだため手を出すことにした機種。比較的安価な中古出品を見つけており、WRC-1750GHBK確保後少々迷ったが購入した。ちなみにWRC-1750GSVもヤフオクで非常に安い出品があり、衝動的に確保した。
弄っていくのでメモ。

Switch

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

MAC

WRC-1750GS

  • LAN: BC:5C:4C:xx:xx:5B (Factory, 0xE000 (hex))
  • WAN: BC:5C:4C:xx:xx:5C (Factory, 0xE006 (hex))
  • 2.4G: BC:5C:4C:xx:xx:5D (Factory, 0x4 (hex))
  • 5G: BC:5C:4C:xx:xx:5E (Factory, 0x8004 (hex))

WRC-1750GSV

  • LAN: 04:AB:18:xx:xx:DB (Factory, 0xE000 (hex))
  • WAN: 04:AB:18:xx:xx:DC (Factory, 0xE006 (hex))
  • 2.4G: 04:AB:18:xx:xx:DD (Factory, 0x4 (hex))
  • 5G: 04:AB:18:xx:xx:DE (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 (Aug 11 2017 - 22:15:36)
    

  • printenv
    WRC-1750GS:

    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
    board_id=2017C2022132
    wlan0_guest_ssid=e-tomo-****5b
    wlan0_guest_key=********
    wlan0_ssid=elecom2g-****5b
    wlan1_ssid=elecom5g-****5b
    wlan0_key=************
    wlan1_key=************
    wps_pin=********
    hw_version=A1
    wlan0_domain=0x41
    model_id=WRC-1750GS
    stdin=serial
    stdout=serial
    stderr=serial
    ethact=Eth0 (10/100-M)
    
    Environment size: 419/4092 bytes
    

    WRC-1750GSV:

    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
    board_id=2018A2901085
    wlan0_guest_ssid=e-tomo-****db
    wlan0_guest_key=********
    wlan0_ssid=elecom2g-****db
    wlan1_ssid=elecom5g-****db
    wlan0_key=************
    wlan1_key=************
    wps_pin=********
    hw_version=A1
    wlan0_domain=0x41
    model_id=WRC-1750GSV
    stdin=serial
    stdout=serial
    stderr=serial
    ethact=Eth0 (10/100-M)
    
    Environment size: 420/4092 bytes
    

  • 
    

  • 
    

  • 
    

Kernel

  • uname -a
    WRC-1750GS:

    root@WRC-1750GS:/# uname -a
    Linux WRC-1750GS 3.10.14+ #19 SMP Fri Aug 24 19:22:43 CST 2018 mips GNU/Linux
    

    WRC-1750GSV:

    root@WRC-1750GSV:/# uname -a
    Linux WRC-1750GSV 3.10.14 #1 SMP Thu Jun 6 15:05:42 CST 2019 mips GNU/Linux
    

  • cat /proc/version
    WRC-1750GS:

    root@WRC-1750GS:/# cat /proc/version
    Linux version 3.10.14+ (*****@ubuntu) (gcc version 4.6.3 (Buildroot 2012.11.1) ) #19 SMP Fri Aug 24 19:22:43 CST 2018
    

    WRC-1750GSV:

    root@WRC-1750GSV:/# cat /proc/version
    Linux version 3.10.14 (*****@ubuntu) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2013.05 r48067) ) #1 SMP Thu Jun 6 15:05:42 CST 2019
    

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

  • cat /proc/meminfo
    root@WRC-1750GS:/# cat /proc/meminfo
    MemTotal:         124024 kB
    MemFree:           62476 kB
    Buffers:            4924 kB
    Cached:            14880 kB
    SwapCached:            0 kB
    Active:             9368 kB
    Inactive:          13252 kB
    Active(anon):       2884 kB
    Inactive(anon):      208 kB
    Active(file):       6484 kB
    Inactive(file):    13044 kB
    Unevictable:           0 kB
    Mlocked:               0 kB
    SwapTotal:             0 kB
    SwapFree:              0 kB
    Dirty:                 0 kB
    Writeback:             0 kB
    AnonPages:          2772 kB
    Mapped:             2420 kB
    Shmem:               276 kB
    Slab:              19280 kB
    SReclaimable:       2168 kB
    SUnreclaim:        17112 kB
    KernelStack:         656 kB
    PageTables:          360 kB
    NFS_Unstable:          0 kB
    Bounce:                0 kB
    WritebackTmp:          0 kB
    CommitLimit:       62012 kB
    Committed_AS:       7696 kB
    VmallocTotal:    1048372 kB
    VmallocUsed:       16112 kB
    VmallocChunk:    1005524 kB
    

  • cat /proc/mtd
    WRC-1750GS:

    root@WRC-1750GS:/# 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: 00200000 00010000 "kernel"
    mtd6: 00900000 00010000 "rootfs"
    mtd7: 00380000 00010000 "tm_pattern"
    mtd8: 00080000 00010000 "tm_key"
    mtd9: 00030000 00010000 "art_block"
    mtd10: 00080000 00010000 "rootfs_data"
    

    WRC-1750GSV:

    root@WRC-1750GSV:/# 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
    WRC-1750GS:

    root@WRC-1750GS:/# cat /sbin/mtk_led | head -n 10
    #!/bin/sh
    
    PWR_LED_R=16
    PWR_LED_G=7
    PWR_LED_B=8
    WPS_LED=15
    
    power_led_on_off() {
    
            if [ "$2" = "on" ]; then
    

    WRC-1750GSV:

    root@WRC-1750GSV:/# 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@WRC-1750GS:/# switch vlan dump
      vid  fid  portmap    s-tag
        1    0  -1111-11       0
        2    0  1----1--       0
        3    0  invalid
        4    0  invalid
        5    0  invalid
        6    0  invalid
        7    0  invalid
        8    0  invalid
        9    0  invalid
       10    0  invalid
       11    0  invalid
       12    0  invalid
       13    0  invalid
       14    0  invalid
       15    0  invalid
       16    0  invalid
    

  • cat /etc/bulk/bulk | grep “C_Command1)” -A 10
    root@WRC-1750GS:/# 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 (WRC-1750GS)
    -> WRC-1750GSV

    
    ===================================================================
                    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 : 0x11000000
    3PLL mode + External loopback
    === XTAL-40Mhz === DDR-1200Mhz ===
    PLL3 FB_DL: 0x9, 1/0 = 529/495 25000000
    PLL2 FB_DL: 0x12, 1/0 = 666/358 49000000
    PLL4 FB_DL: 0x16, 1/0 = 594/430 59000000
    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    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    0    1    1    1    0    0    0    0
    opt_dle value:10
    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 |    9 9 9 11 8 8 7 6 5 6 
    10 |    7 7 8 9 6 8 
    --------------------------------------
    
    ==================================================================
    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~61)31  8  (1~60)30
    1  (1~60)30  9  (1~59)30
    2  (1~60)30  10  (1~62)31
    3  (1~60)30  11  (1~57)29
    4  (1~60)30  12  (1~60)30
    5  (1~62)31  13  (1~60)30
    6  (1~59)30  14  (1~60)30
    7  (1~60)30  15  (1~60)30
    ==================================================================
    3.dq delay value last
    ==================================================================
    bit|    0  1  2  3  4  5  6  7  8   9
    --------------------------------------
    0 |    9 10 10 12 9 8 8 7 6 7 
    10 |    7 9 9 10 7 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 = 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 (Aug 11 2017 - 22:15:36)
    
    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:Aug 11 2017  Time:22:15:36
    ============================================ 
    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:    9043904 Bytes =  8.6 MB
       Load Address: 81001000
       Entry Point:  8143aab0
       Verifying Checksum ... OK
       Uncompressing Kernel Image ... OK
    No initrd
    ## Transferring control to Linux (at address 8143aab0) ...
    ## 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@ubuntu) (gcc version 4.6.3 (Buildroot 2012.11.1) ) #19 SMP Fri Aug 24 19:22:43 CST 2018
    [    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 @816e7000 s6592 r8192 d13888 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=00060ad0
    [    0.000000] Readback ErrCtl register=00060ad0
    [    0.000000] Memory: 123780k/131072k available (4367k kernel code, 7292k reserved, 1205k data, 244k 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] devtmpfs: initialized
    [    0.304000] NET: Registered protocol family 16
    [    0.604000] release PCIe RST: RALINK_RSTCTRL = 7000000
    [    0.608000] PCIE PHY initialize
    [    0.612000] ***** Xtal 40MHz *****
    [    0.616000] start MT7621 PCIe register access
    [    1.208000] RALINK_RSTCTRL = 7000000
    [    1.212000] RALINK_CLKCFG1 = 77ffeff8
    [    1.216000] 
    [    1.216000] *************** MT7621 PCIe RC mode *************
    [    1.712000] PCIE2 no card, disable it(RST&CLK)
    [    1.716000] pcie_link status = 0x3
    [    1.720000] RALINK_RSTCTRL= 3000000
    [    1.724000] *** Configure Device number setting of Virtual PCI-PCI bridge ***
    [    1.728000] RALINK_PCI_PCICFG_ADDR = 21007f2 -> 21007f2
    [    1.732000] PCIE0 enabled
    [    1.736000] PCIE1 enabled
    [    1.740000] interrupt enable status: 300000
    [    1.744000] Port 1 N_FTS = 1b105000
    [    1.748000] Port 0 N_FTS = 1b105000
    [    1.752000] config reg done
    [    1.756000] init_rt2880pci done
    [    1.772000] bio: create slab  at 0
    [    1.776000] vgaarb: loaded
    [    1.780000] SCSI subsystem initialized
    [    1.784000] PCI host bridge to bus 0000:00
    [    1.788000] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
    [    1.792000] pci_bus 0000:00: root bus resource [io  0x1e160000-0x1e16ffff]
    [    1.796000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
    [    1.800000] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    1.804000] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    1.808000] pci 0000:00:00.0: BAR 0: can't assign mem (size 0x80000000)
    [    1.812000] pci 0000:00:01.0: BAR 0: can't assign mem (size 0x80000000)
    [    1.816000] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
    [    1.820000] pci 0000:00:01.0: BAR 8: assigned [mem 0x60100000-0x601fffff]
    [    1.824000] pci 0000:00:00.0: BAR 1: assigned [mem 0x60200000-0x6020ffff]
    [    1.828000] pci 0000:00:01.0: BAR 1: assigned [mem 0x60210000-0x6021ffff]
    [    1.832000] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
    [    1.836000] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    1.840000] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
    [    1.844000] pci 0000:02:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit]
    [    1.848000] pci 0000:00:01.0: PCI bridge to [bus 02]
    [    1.852000] pci 0000:00:01.0:   bridge window [mem 0x60100000-0x601fffff]
    [    1.856000] PCI: Enabling device 0000:00:00.0 (0004 -> 0006)
    [    1.860000] PCI: Enabling device 0000:00:01.0 (0004 -> 0006)
    [    1.864000] BAR0 at slot 0 = 0
    [    1.868000] bus=0x0, slot = 0x0
    [    1.872000] res[0]->start = 0
    [    1.876000] res[0]->end = 0
    [    1.880000] res[1]->start = 60200000
    [    1.884000] res[1]->end = 6020ffff
    [    1.888000] res[2]->start = 0
    [    1.892000] res[2]->end = 0
    [    1.896000] res[3]->start = 0
    [    1.900000] res[3]->end = 0
    [    1.904000] res[4]->start = 0
    [    1.908000] res[4]->end = 0
    [    1.912000] res[5]->start = 0
    [    1.916000] res[5]->end = 0
    [    1.920000] BAR0 at slot 1 = 0
    [    1.924000] bus=0x0, slot = 0x1
    [    1.928000] res[0]->start = 0
    [    1.932000] res[0]->end = 0
    [    1.936000] res[1]->start = 60210000
    [    1.940000] res[1]->end = 6021ffff
    [    1.944000] res[2]->start = 0
    [    1.948000] res[2]->end = 0
    [    1.952000] res[3]->start = 0
    [    1.956000] res[3]->end = 0
    [    1.960000] res[4]->start = 0
    [    1.964000] res[4]->end = 0
    [    1.968000] res[5]->start = 0
    [    1.972000] res[5]->end = 0
    [    1.976000] bus=0x1, slot = 0x0, irq=0x4
    [    1.980000] res[0]->start = 60000000
    [    1.984000] res[0]->end = 600fffff
    [    1.988000] res[1]->start = 0
    [    1.992000] res[1]->end = 0
    [    1.996000] res[2]->start = 0
    [    2.000000] res[2]->end = 0
    [    2.004000] res[3]->start = 0
    [    2.008000] res[3]->end = 0
    [    2.012000] res[4]->start = 0
    [    2.016000] res[4]->end = 0
    [    2.020000] res[5]->start = 0
    [    2.024000] res[5]->end = 0
    [    2.028000] bus=0x2, slot = 0x1, irq=0x18
    [    2.032000] res[0]->start = 60100000
    [    2.036000] res[0]->end = 601fffff
    [    2.040000] res[1]->start = 0
    [    2.044000] res[1]->end = 0
    [    2.048000] res[2]->start = 0
    [    2.052000] res[2]->end = 0
    [    2.056000] res[3]->start = 0
    [    2.060000] res[3]->end = 0
    [    2.064000] res[4]->start = 0
    [    2.068000] res[4]->end = 0
    [    2.072000] res[5]->start = 0
    [    2.076000] res[5]->end = 0
    [    2.080000] Switching to clocksource MIPS
    [    2.084000] NET: Registered protocol family 2
    [    2.092000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
    [    2.108000] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
    [    2.120000] TCP: Hash tables configured (established 1024 bind 1024)
    [    2.132000] TCP: reno registered
    [    2.140000] UDP hash table entries: 256 (order: 1, 8192 bytes)
    [    2.152000] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    [    2.164000] NET: Registered protocol family 1
    [    2.172000] RPC: Registered named UNIX socket transport module.
    [    2.184000] RPC: Registered udp transport module.
    [    2.192000] RPC: Registered tcp transport module.
    [    2.204000] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    2.304000] 4 CPUs re-calibrate udelay(lpj = 1167360)
    [    2.316000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    2.328000] jffs2: version 2.2. (NAND) (ZLIB) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
    [    2.348000] fuse init (API version 7.22)
    [    2.356000] msgmni has been set to 241
    [    2.364000] io scheduler noop registered (default)
    [    2.376000] reg_int_mask=0, INT_MASK= 0 
    [    2.384000] HSDMA_init
    [    2.388000] 
    [    2.388000]  hsdma_phy_tx_ring0 = 0x00c00000, hsdma_tx_ring0 = 0xa0c00000
    [    2.404000] 
    [    2.404000]  hsdma_phy_rx_ring0 = 0x00c04000, hsdma_rx_ring0 = 0xa0c04000
    [    2.420000] TX_CTX_IDX0 = 0
    [    2.428000] TX_DTX_IDX0 = 0
    [    2.432000] RX_CRX_IDX0 = 3ff
    [    2.440000] RX_DRX_IDX0 = 0
    [    2.444000] set_fe_HSDMA_glo_cfg
    [    2.452000] HSDMA_GLO_CFG = 465
    [    2.460000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
    [    2.472000] serial8250: ttyS0 at MMIO 0x1e000d00 (irq = 27) is a 16550A
    [    2.484000] serial8250: ttyS1 at MMIO 0x1e000c00 (irq = 26) is a 16550A
    [    2.500000] Ralink gpio driver initialized
    [    2.512000] brd: module loaded
    [    2.520000] flash manufacture id: c2, device id 20 18
    [    2.528000] MX25L12805D(c2 2018c220) (16384 Kbytes)
    [    2.540000] mtd .name = raspi, .size = 0x01000000 (16M) .erasesize = 0x00010000 (64K) .numeraseregions = 0
    [    2.560000] Creating 11 MTD partitions on "raspi":
    [    2.568000] 0x000000000000-0x000001000000 : "ALL"
    [    2.580000] 0x000000000000-0x000000030000 : "Bootloader"
    [    2.588000] 0x000000030000-0x000000040000 : "Config"
    [    2.600000] 0x000000040000-0x000000050000 : "Factory"
    [    2.612000] 0x000000050000-0x000000b50000 : "firmware"
    [    2.620000] 0x000000050000-0x000000250000 : "kernel"
    [    2.632000] 0x000000250000-0x000000b50000 : "rootfs"
    [    2.644000] 0x000000b50000-0x000000ed0000 : "tm_pattern"
    [    2.652000] 0x000000ed0000-0x000000f50000 : "tm_key"
    [    2.664000] 0x000000f50000-0x000000f80000 : "art_block"
    [    2.676000] 0x000000f80000-0x000001000000 : "rootfs_data"
    [    2.688000] PPP generic driver version 2.4.2
    [    2.696000] PPP BSD Compression module registered
    [    2.704000] PPP MPPE Compression module registered
    [    2.716000] NET: Registered protocol family 24
    [    2.724000] PPTP driver version 0.8.5
    [    2.732000] rdm_major = 253
    [    2.736000] GMAC1_MAC_ADRH -- : 0x0000bc5c
    [    2.744000] GMAC1_MAC_ADRL -- : 0x4c****5b
    [    2.752000] Ralink APSoC Ethernet Driver Initilization. v3.1  1024 rx/tx descriptors allocated, mtu = 1500!
    [    2.772000] [LOG]|WIRE| LAN Starting
    [    2.780000] GMAC1_MAC_ADRH -- : 0x0000bc5c
    [    2.788000] GMAC1_MAC_ADRL -- : 0x4c****5b
    [    2.796000] PROC INIT OK!
    [    2.800000] nf_conntrack version 0.5.0 (1934 buckets, 7736 max)
    [    2.812000] xt_time: kernel timezone is -0000
    [    2.824000] gre: GRE over IPv4 demultiplexor driver
    [    2.832000] ip_tables: (C) 2000-2006 Netfilter Core Team
    [    2.844000] Type=Restricted Cone
    [    2.848000] TCP: cubic registered
    [    2.856000] NET: Registered protocol family 10
    [    2.864000] sit: IPv6 over IPv4 tunneling driver
    [    2.876000] NET: Registered protocol family 17
    [    2.884000] Bridge firewalling registered
    [    2.892000] Ebtables v2.0 registered
    [    2.900000] l2tp_core: L2TP core driver, V2.0
    [    2.908000] l2tp_ppp: PPPoL2TP kernel driver, V2.0
    [    2.916000] l2tp_netlink: L2TP netlink interface
    [    2.928000] 8021q: 802.1Q VLAN Support v1.8
    [    2.944000] VFS: Mounted root (squashfs filesystem) readonly on device 31:6.
    [    2.960000] devtmpfs: mounted
    [    2.968000] Freeing unused kernel memory: 244K (81573000 - 815b0000)
    - preinit -
    Press the [f] key and hit [enter] to enter failsafe mode
    - regular preinit -
    [    7.132000] jffs2: notice: (119) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 12 of xref (0 dead, 4 orphan) found.
    switching to jffs2
    - init -
    
    Please press Enter to activate this console. [   10.188000] ip_gre: GRE over IPv4 tunneling driver
    [   10.260000] bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
    [   10.572000] /proc/router_ip created
    [   10.716000] nf_nat_amanda: Unknown symbol nf_nat_amanda_hook (err 0)
    [   10.836000] Netfilter messages via NETLINK v0.30.
    [   11.008000] ip6_tables: (C) 2000-2006 Netfilter Core Team
    [   11.116000] ctnetlink v0.93: registering with nfnetlink.
    [   14.836000] #########>> ei_open 3378: -2014085120 call work scheduler   FFFFFFBC:5C:4C:FFFFFF**:**:5B
    [   14.852000] Raeth v3.1 (Tasklet)
    [   14.864000] set CLK_CFG_0 = 0x40a00020!!!!!!!!!!!!!!!!!!1
    [   14.880000] phy_free_head is 0xc08000!!!
    [   14.888000] phy_free_tail_phy is 0xc09ff0!!!
    [   14.896000] txd_pool=a0c10000 phy_txd_pool=00C10000
    [   14.904000] ei_local->skb_free start address is 0x87f3a6dc.
    [   14.916000] free_txd: 00c10010, ei_local->cpu_ptr: 00C10000
    [   14.928000]  POOL  HEAD_PTR | DMA_PTR | CPU_PTR 
    [   14.936000] ----------------+---------+--------
    [   14.944000]      0xa0c10000 0x00C10000 0x00C10000
    [   14.956000] 
    [   14.956000] phy_qrx_ring = 0x00c0a000, qrx_ring = 0xa0c0a000
    [   14.972000] 
    [   14.972000] phy_rx_ring0 = 0x00c0c000, rx_ring0 = 0xa0c0c000
    [   15.008000] MT7530 Reset Completed!!
    [   15.020000] change HW-TRAP to 0x117c8f
    [   15.028000] set LAN/WAN WLLLL
    [   15.040000] GMAC1_MAC_ADRH -- : 0x0000bc5c
    [   15.048000] GMAC1_MAC_ADRL -- : 0x4c****5b
    [   15.056000] GDMA2_MAC_ADRH -- : 0x0000bc5c
    [   15.064000] GDMA2_MAC_ADRL -- : 0x4c****5c
    [   15.072000] eth3: ===> VirtualIF_open
    [   15.080000] MT7621 GE2 link rate to 1G
    [   15.096000] CDMA_CSG_CFG = 81000000
    [   15.104000] GDMA1_FWD_CFG = 20710000
    [   15.108000] GDMA2_FWD_CFG = 20710000
    [   15.116000] #########>> int_gpio_workqueue 3335: return 0[   15.136000] eth3: ===> VirtualIF_open
    [   16.272000] IPv6: ADDRCONF(NETDEV_UP): lo: link is not ready
    [   16.284000] eth3: ===> VirtualIF_close
    [   16.292000] IPv6: ADDRCONF(NETDEV_UP): eth3: link is not ready
    
    [   16.312000] ra2880stop()...Done
    [   16.320000] eth3: ===> VirtualIF_close
    [   16.328000] Free TX/RX Ring Memory!
    [   16.340000] IPv6: ADDRCONF(NETDEV_UP): eth2: link is not ready
    [   16.352000] #########>> ei_open 3378: -2014085120 call work scheduler   FFFFFFBC:5C:4C:FFFFFF**:**:5B
    [   16.372000] Raeth v3.1 (Tasklet)
    [   16.384000] set CLK_CFG_0 = 0x40a00020!!!!!!!!!!!!!!!!!!1
    [   16.396000] phy_free_head is 0xc08000!!!
    [   16.404000] phy_free_tail_phy is 0xc09ff0!!!
    [   16.412000] txd_pool=a0c10000 phy_txd_pool=00C10000
    [   16.424000] ei_local->skb_free start address is 0x87f3a6dc.
    [   16.436000] free_txd: 00c10010, ei_local->cpu_ptr: 00C10000
    [   16.444000]  POOL  HEAD_PTR | DMA_PTR | CPU_PTR 
    [   16.456000] ----------------+---------+--------
    [   16.464000]      0xa0c10000 0x00C10000 0x00C10000
    [   16.472000] 
    [   16.472000] phy_qrx_ring = 0x00c0a000, qrx_ring = 0xa0c0a000
    [   16.488000] 
    [   16.488000] phy_rx_ring0 = 0x00c0c000, rx_ring0 = 0xa0c0c000
    [   16.524000] MT7530 Reset Completed!!
    [   16.536000] change HW-TRAP to 0x117c8f
    [   16.548000] set LAN/WAN WLLLL
    [   16.556000] GMAC1_MAC_ADRH -- : 0x0000bc5c
    [   16.564000] GMAC1_MAC_ADRL -- : 0x4c****5b
    [   16.576000] eth3: ===> VirtualIF_open
    [   16.580000] MT7621 GE2 link rate to 1G
    [   16.580000] CDMA_CSG_CFG = 81000000
    [   16.580000] GDMA1_FWD_CFG = 20710000
    [   16.580000] GDMA2_FWD_CFG = 20710000
    [   16.580000] device eth2 entered promiscuous mode
    [   16.580000] br-lan: port 1(eth2) entered forwarding state
    [   16.580000] br-lan: port 1(eth2) entered forwarding state
    [   16.580000] eth3: ===> VirtualIF_open
    [   18.584000] br-lan: port 1(eth2) entered forwarding state
    [   19.592000] [LOG]|WIRE| LAN - Port1 Link UP
    [   16.580000] #########>> int_gpio_workqueue 3335: return 0dnsmasq
    dnsmasq [br-lan]
    [   25.956000] mt_wifi: module license 'Proprietary' taints kernel.
    [   25.968000] Disabling lock debugging due to kernel taint
    Qos Disable exit
    [   26.076000] register mt_drv
    [   26.100000] pAd->PciHif.CSRBaseAddress =0xc1400000, csr_addr=0xc1400000!
    [   26.112000] DriverOwn()::Try to Clear FW Own...
    [   26.504000] DriverOwn()::Success to clear FW Own
    [   26.516000] ChipOpsMCUHook
    [   26.544000] pAd->PciHif.CSRBaseAddress =0xc1980000, csr_addr=0xc1980000!
    [   26.556000] DriverOwn()::Try to Clear FW Own...
    [   26.904000] DriverOwn()::Success to clear FW Own
    [   26.916000] ChipOpsMCUHook
    UHTTP crt Checked
    main init
    main init
    page=[/setup/index.html]
    page=[/setup/index.html]
    count=[43]
    count=[43]
    The action_key does not be posted
    The action_key does not be posted
    The action_key does not be posted
    ip6d.c[94] XXXXXXXXXXX  Starting ip6d  XXXXXXXXXXXX
    firewall.c[563] Start IPv6 Firewall
    firewall.c[831] flush_ip6tables
    route.c[33] Start IPv6 Static Routing
    ip6d.c[145] create IP6D_READY
    connect.c[168] XXX disconnect
    [   33.516000] Ralink HW NAT Module Enabled
    [   33.524000] eth2 ifindex =2
    [   33.528000] eth3 ifindex =7
    wlan_wps.c:get_wifi_pin_code:132:ioctl error
    wlan_wps.c:get_wifi_pin_code:132:ioctl error
    connect.c[227] IPv6 Link Local Mode
    connect.c[168] XXX disconnect
    start ddns
    
    add_cron
    add_cron data
    [   40.656000] DriverOwn()::Return since already in Driver Own...
    [   40.672000] RT_CfgSetMacAddress : invalid length (0)
    [   40.688000] default ApCliAPSDCapable[0]=0
    [   40.696000] default ApCliAPSDCapable[1]=0
    [   40.728000] [PMF]Set_PMFMFPC_Proc:: apidx=0, Desired MFPC=0
    [   40.748000] AndesSendCmdMsg: Could not send in band command due to diablefRTMP_ADAPTER_MCU_SEND_IN_BAND_CMD
    [   40.812000] AndesRestartCheck: Current TOP_MISC2(0x1)
    [   40.836000] WfMcuHwInit: Before NICLoadFirmware, check IcapMode=0
    [   40.848000] AndesRestartCheck: Current TOP_MISC2(0x1)
    [   40.972000] WfMcuHwInit: NICLoadFirmware OK, Check IcapMode=0
    [   40.984000] efuse_probe: efuse = 10000212
    [   41.544000] mt7615_antenna_default_reset(): TxPath = 3, RxPath = 3
    [   41.556000] mt7615_antenna_default_reset(): DBDC 2G TxPath = 1, 2G RxPath = 1
    [   41.568000] mt7615_antenna_default_reset(): DBDC 5G TxPath = 1, 2G RxPath = 1
    [   41.584000] RcRadioInit(): DbdcMode=0, ConcurrentBand=1
    [   41.596000] RcRadioInit(): pRadioCtrl=8666a434,Band=0,rfcap=3,channel=1,PhyMode=2 extCha=0xf
    [   41.620000] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
    [   41.636000] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
    [   41.648000] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
    [   41.660000] MT7615BBPInit():BBP Initialization.....
    [   41.672000]  Band 0: valid=1, isDBDC=0, Band=2, CBW=1, CentCh/PrimCh=1/1, prim_ch_idx=0, txStream=2
    [   41.688000]  Band 1: valid=0, isDBDC=0, Band=0, CBW=0, CentCh/PrimCh=0/0, prim_ch_idx=0, txStream=0
    [   41.708000] MT7615BBPInit() todo 
    [   41.716000] mt7615_apply_dcoc() : reload Central CH [1] BW [0] from cetral freq [2417]  offset [2200] 
    [   41.736000] mt7615_apply_dpd() : reload Central CH [1] BW [0] from cetral freq [2422] i[44] offset [4b20] 
    [   41.756000] MtCmdChannelSwitch: control_chl = 1,control_ch2=0, central_chl = 1 DBDCIdx= 0, Band= 0 
    [   41.776000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   42.008000] mt7615_apply_dcoc() : reload Central CH [2] BW [0] from cetral freq [2417]  offset [2200] 
    [   42.024000] mt7615_apply_dpd() : reload Central CH [2] BW [0] from cetral freq [2422] i[44] offset [4b20] 
    [   42.044000] MtCmdChannelSwitch: control_chl = 2,control_ch2=0, central_chl = 2 DBDCIdx= 0, Band= 0 
    [   42.064000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   42.316000] mt7615_apply_dcoc() : reload Central CH [3] BW [0] from cetral freq [2417]  offset [2200] 
    [   42.332000] mt7615_apply_dpd() : reload Central CH [3] BW [0] from cetral freq [2422] i[44] offset [4b20] 
    [   42.352000] MtCmdChannelSwitch: control_chl = 3,control_ch2=0, central_chl = 3 DBDCIdx= 0, Band= 0 
    [   42.372000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   42.640000] mt7615_apply_dcoc() : reload Central CH [4] BW [0] from cetral freq [2432]  offset [2300] 
    [   42.656000] mt7615_apply_dpd() : reload Central CH [4] BW [0] from cetral freq [2422] i[44] offset [4b20] 
    [   42.676000] MtCmdChannelSwitch: control_chl = 4,control_ch2=0, central_chl = 4 DBDCIdx= 0, Band= 0 
    [   42.696000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   42.948000] mt7615_apply_dcoc() : reload Central CH [5] BW [0] from cetral freq [2432]  offset [2300] 
    [   42.964000] mt7615_apply_dpd() : reload Central CH [5] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   42.984000] MtCmdChannelSwitch: control_chl = 5,control_ch2=0, central_chl = 5 DBDCIdx= 0, Band= 0 
    [   43.004000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   43.260000] mt7615_apply_dcoc() : reload Central CH [6] BW [0] from cetral freq [2432]  offset [2300] 
    [   43.276000] mt7615_apply_dpd() : reload Central CH [6] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   43.296000] MtCmdChannelSwitch: control_chl = 6,control_ch2=0, central_chl = 6 DBDCIdx= 0, Band= 0 
    [   43.316000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   43.564000] mt7615_apply_dcoc() : reload Central CH [7] BW [0] from cetral freq [2447]  offset [2400] 
    [   43.580000] mt7615_apply_dpd() : reload Central CH [7] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   43.600000] MtCmdChannelSwitch: control_chl = 7,control_ch2=0, central_chl = 7 DBDCIdx= 0, Band= 0 
    [   43.620000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   43.860000] mt7615_apply_dcoc() : reload Central CH [8] BW [0] from cetral freq [2447]  offset [2400] 
    [   43.876000] mt7615_apply_dpd() : reload Central CH [8] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   43.896000] MtCmdChannelSwitch: control_chl = 8,control_ch2=0, central_chl = 8 DBDCIdx= 0, Band= 0 
    [   43.916000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   44.156000] mt7615_apply_dcoc() : reload Central CH [9] BW [0] from cetral freq [2447]  offset [2400] 
    [   44.172000] mt7615_apply_dpd() : reload Central CH [9] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   44.192000] MtCmdChannelSwitch: control_chl = 9,control_ch2=0, central_chl = 9 DBDCIdx= 0, Band= 0 
    [   44.212000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   44.452000] mt7615_apply_dcoc() : reload Central CH [10] BW [0] from cetral freq [2467]  offset [2500] 
    [   44.468000] mt7615_apply_dpd() : reload Central CH [10] BW [0] from cetral freq [2462] i[46] offset [4cd0] 
    [   44.488000] MtCmdChannelSwitch: control_chl = 10,control_ch2=0, central_chl = 10 DBDCIdx= 0, Band= 0 
    [   44.508000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   44.748000] mt7615_apply_dcoc() : reload Central CH [11] BW [0] from cetral freq [2467]  offset [2500] 
    [   44.764000] mt7615_apply_dpd() : reload Central CH [11] BW [0] from cetral freq [2462] i[46] offset [4cd0] 
    [   44.784000] MtCmdChannelSwitch: control_chl = 11,control_ch2=0, central_chl = 11 DBDCIdx= 0, Band= 0 
    [   44.804000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   45.040000]  AutoChSelUpdateChannel(): Update channel for wdev0 for this band PhyMode = 14,Channel = 9  
    [   45.060000] Current Channel is 9. DfsZeroWaitSupport=0
    [   45.068000] [PMF]APPMFInit:: apidx=0, MFPC=0, MFPR=0, SHA256=0
    [   45.080000] [PMF]WPAMakeRsnIeCap: RSNIE Capability MFPC=0, MFPR=0
    [   45.092000] mt7615_apply_dcoc() : reload Central CH [6] BW [0] from cetral freq [2432]  offset [2300] 
    [   45.112000] mt7615_apply_dpd() : reload Central CH [6] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   45.132000] MtCmdChannelSwitch: control_chl = 6,control_ch2=0, central_chl = 6 DBDCIdx= 0, Band= 0 
    [   45.152000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   45.172000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   45.500000] mt7615_apply_dcoc() : reload Central CH [7] BW [0] from cetral freq [2447]  offset [2400] 
    [   45.516000] mt7615_apply_dpd() : reload Central CH [7] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   45.536000] MtCmdChannelSwitch: control_chl = 7,control_ch2=0, central_chl = 7 DBDCIdx= 0, Band= 0 
    [   45.556000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   45.576000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   45.908000] mt7615_apply_dcoc() : reload Central CH [8] BW [0] from cetral freq [2447]  offset [2400] 
    [   45.924000] mt7615_apply_dpd() : reload Central CH [8] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   45.944000] MtCmdChannelSwitch: control_chl = 8,control_ch2=0, central_chl = 8 DBDCIdx= 0, Band= 0 
    [   45.964000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   45.984000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   46.304000] mt7615_apply_dcoc() : reload Central CH [9] BW [0] from cetral freq [2447]  offset [2400] 
    [   46.320000] mt7615_apply_dpd() : reload Central CH [9] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   46.340000] MtCmdChannelSwitch: control_chl = 9,control_ch2=0, central_chl = 9 DBDCIdx= 0, Band= 0 
    [   46.360000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   46.380000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   46.720000] mt7615_apply_dcoc() : reload Central CH [10] BW [0] from cetral freq [2467]  offset [2500] 
    [   46.736000] mt7615_apply_dpd() : reload Central CH [10] BW [0] from cetral freq [2462] i[46] offset [4cd0] 
    [   46.756000] MtCmdChannelSwitch: control_chl = 10,control_ch2=0, central_chl = 10 DBDCIdx= 0, Band= 0 
    [   46.776000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   46.796000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   47.116000] mt7615_apply_dcoc() : reload Central CH [11] BW [0] from cetral freq [2467]  offset [2500] 
    [   47.132000] mt7615_apply_dpd() : reload Central CH [11] BW [0] from cetral freq [2462] i[46] offset [4cd0] 
    [   47.152000] MtCmdChannelSwitch: control_chl = 11,control_ch2=0, central_chl = 11 DBDCIdx= 0, Band= 0 
    [   47.172000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   47.192000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   47.508000] mt7615_apply_dcoc() : reload Central CH [12] BW [0] from cetral freq [2467]  offset [2500] 
    [   47.524000] mt7615_apply_dpd() : reload Central CH [12] BW [0] from cetral freq [2462] i[46] offset [4cd0] 
    [   47.544000] MtCmdChannelSwitch: control_chl = 12,control_ch2=0, central_chl = 12 DBDCIdx= 0, Band= 0 
    [   47.564000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   47.584000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   47.912000] mt7615_apply_dcoc() : reload Central CH [13] BW [0] from cetral freq [2467]  offset [2500] 
    [   47.928000] mt7615_apply_dpd() : reload Central CH [13] BW [0] from cetral freq [2462] i[46] offset [4cd0] 
    [   47.948000] MtCmdChannelSwitch: control_chl = 13,control_ch2=0, central_chl = 13 DBDCIdx= 0, Band= 0 
    [   47.968000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   47.988000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   48.332000] wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:127 for WDEV_TYPE:1
    [   48.332000]  LinkToOmacIdx = 0, LinkToWdevType = 1
    [   48.484000] mt7615_apply_dcoc() : reload Central CH [9] BW [0] from cetral freq [2447]  offset [2400] 
    [   48.504000] mt7615_apply_dpd() : reload Central CH [9] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   48.524000] MtCmdChannelSwitch: control_chl = 9,control_ch2=0, central_chl = 9 DBDCIdx= 0, Band= 0 
    [   48.540000] BW = 0,TXStream = 3, RXStream = 3, scan(0)
    [   48.600000] wlan_operate_set_vht_bw(): new vht_bw:1 > cap_vht_bw: 0, correct to cap_vht_bw
    [   48.616000] wlan_operate_set_vht_bw(): new vht_bw:1 > cap_vht_bw: 0, correct to cap_vht_bw
    [   48.636000] wlan_operate_set_vht_bw(): new vht_bw:1 > cap_vht_bw: 0, correct to cap_vht_bw
    [   48.656000] wlan_operate_set_vht_bw(): new vht_bw:1 > cap_vht_bw: 0, correct to cap_vht_bw
    [   48.672000] wlan_operate_set_vht_bw(): new vht_bw:1 > cap_vht_bw: 0, correct to cap_vht_bw
    [   48.692000] wlan_operate_set_vht_bw(): new vht_bw:1 > cap_vht_bw: 0, correct to cap_vht_bw
    [   48.752000] red_is_enabled: set CR4/N9 RED Enable to 1.
    [   48.760000] cp_support_is_enabled: set CR4 CP_SUPPORT to Mode 2.
    [   48.776000] ***********dev->ifindex = 9
    [   48.856000] device ra0 entered promiscuous mode
    [   48.864000] br-lan: port 2(ra0) entered forwarding state
    [   48.876000] br-lan: port 2(ra0) entered forwarding state
    [   49.116000] DriverOwn()::Return since already in Driver Own...
    [   49.132000] RT_CfgSetMacAddress : invalid length (0)
    [   49.152000] default ApCliAPSDCapable[0]=0
    [   49.160000] default ApCliAPSDCapable[1]=0
    [   49.192000] [PMF]Set_PMFMFPC_Proc:: apidx=0, Desired MFPC=0
    [   49.216000] AndesSendCmdMsg: Could not send in band command due to diablefRTMP_ADAPTER_MCU_SEND_IN_BAND_CMD
    [   49.280000] AndesRestartCheck: Current TOP_MISC2(0x1)
    [   49.304000] WfMcuHwInit: Before NICLoadFirmware, check IcapMode=0
    [   49.316000] AndesRestartCheck: Current TOP_MISC2(0x1)
    [   49.436000] WfMcuHwInit: NICLoadFirmware OK, Check IcapMode=0
    [   49.448000] efuse_probe: efuse = 10000212
    [   50.008000] mt7615_antenna_default_reset(): TxPath = 3, RxPath = 3
    [   50.020000] mt7615_antenna_default_reset(): DBDC 2G TxPath = 1, 2G RxPath = 1
    [   50.036000] mt7615_antenna_default_reset(): DBDC 5G TxPath = 1, 2G RxPath = 1
    [   50.048000] RcRadioInit(): DbdcMode=0, ConcurrentBand=1
    [   50.060000] RcRadioInit(): pRadioCtrl=8484f434,Band=0,rfcap=3,channel=1,PhyMode=2 extCha=0xf
    [   50.084000] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
    [   50.096000] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
    [   50.112000] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
    [   50.124000] MT7615BBPInit():BBP Initialization.....
    [   50.136000]  Band 0: valid=1, isDBDC=0, Band=2, CBW=1, CentCh/PrimCh=1/1, prim_ch_idx=0, txStream=2
    [   50.152000]  Band 1: valid=0, isDBDC=0, Band=0, CBW=0, CentCh/PrimCh=0/0, prim_ch_idx=0, txStream=0
    [   50.172000] MT7615BBPInit() todo 
    [   50.180000] mt7615_apply_dcoc() : reload Central CH [42] BW [2] from cetral freq [5210]  offset [1900] 
    [   50.200000] mt7615_apply_dpd() : reload Central CH [42] BW [2] from cetral freq [5220] i[9] offset [2d98] 
    [   50.220000] MtCmdChannelSwitch: control_chl = 36,control_ch2=0, central_chl = 42 DBDCIdx= 0, Band= 0 
    [   50.236000] BW = 2,TXStream = 3, RXStream = 3, scan(1)
    [   50.472000] mt7615_apply_dcoc() : reload Central CH [42] BW [2] from cetral freq [5210]  offset [1900] 
    [   50.488000] mt7615_apply_dpd() : reload Central CH [42] BW [2] from cetral freq [5220] i[9] offset [2d98] 
    [   50.508000] MtCmdChannelSwitch: control_chl = 40,control_ch2=0, central_chl = 42 DBDCIdx= 0, Band= 0 
    [   50.528000] BW = 2,TXStream = 3, RXStream = 3, scan(1)
    [   50.768000] mt7615_apply_dcoc() : reload Central CH [42] BW [2] from cetral freq [5210]  offset [1900] 
    [   50.784000] mt7615_apply_dpd() : reload Central CH [42] BW [2] from cetral freq [5220] i[9] offset [2d98] 
    [   50.804000] MtCmdChannelSwitch: control_chl = 44,control_ch2=0, central_chl = 42 DBDCIdx= 0, Band= 0 
    [   50.824000] BW = 2,TXStream = 3, RXStream = 3, scan(1)
    [   50.880000] br-lan: port 2(ra0) entered forwarding state
    [   51.076000] mt7615_apply_dcoc() : reload Central CH [42] BW [2] from cetral freq [5210]  offset [1900] 
    [   51.092000] mt7615_apply_dpd() : reload Central CH [42] BW [2] from cetral freq [5220] i[9] offset [2d98] 
    [   51.112000] MtCmdChannelSwitch: control_chl = 48,control_ch2=0, central_chl = 42 DBDCIdx= 0, Band= 0 
    [   51.132000] BW = 2,TXStream = 3, RXStream = 3, scan(1)
    [   51.432000] mt7615_apply_dcoc() : reload Central CH [58] BW [2] from cetral freq [5290]  offset [1a00] 
    [   51.448000] mt7615_apply_dpd() : reload Central CH [58] BW [2] from cetral freq [5300] i[13] offset [30f8] 
    [   51.468000] MtCmdChannelSwitch: control_chl = 52,control_ch2=0, central_chl = 58 DBDCIdx= 0, Band= 0 
    [   51.488000] BW = 2,TXStream = 3, RXStream = 3, scan(1)
    [   51.788000] mt7615_apply_dcoc() : reload Central CH [58] BW [2] from cetral freq [5290]  offset [1a00] 
    [   51.804000] mt7615_apply_dpd() : reload Central CH [58] BW [2] from cetral freq [5300] i[13] offset [30f8] 
    [   51.824000] MtCmdChannelSwitch: control_chl = 56,control_ch2=0, central_chl = 58 DBDCIdx= 0, Band= 0 
    [   51.844000] BW = 2,TXStream = 3, RXStream = 3, scan(1)
    [   52.136000] mt7615_apply_dcoc() : reload Central CH [58] BW [2] from cetral freq [5290]  offset [1a00] 
    [   52.152000] mt7615_apply_dpd() : reload Central CH [58] BW [2] from cetral freq [5300] i[13] offset [30f8] 
    [   52.172000] MtCmdChannelSwitch: control_chl = 60,control_ch2=0, central_chl = 58 DBDCIdx= 0, Band= 0 
    [   52.192000] BW = 2,TXStream = 3, RXStream = 3, scan(1)
    [   52.476000] mt7615_apply_dcoc() : reload Central CH [58] BW [2] from cetral freq [5290]  offset [1a00] 
    [   52.492000] mt7615_apply_dpd() : reload Central CH [58] BW [2] from cetral freq [5300] i[13] offset [30f8] 
    [   52.512000] MtCmdChannelSwitch: control_chl = 64,control_ch2=0, central_chl = 58 DBDCIdx= 0, Band= 0 
    [   52.532000] BW = 2,TXStream = 3, RXStream = 3, scan(1)
    [   52.832000] mt7615_apply_dcoc() : reload Central CH [106] BW [2] from cetral freq [5530]  offset [1d00] 
    [   52.848000] mt7615_apply_dpd() : reload Central CH [106] BW [2] from cetral freq [5540] i[25] offset [3b18] 
    [   52.868000] MtCmdChannelSwitch: control_chl = 100,control_ch2=0, central_chl = 106 DBDCIdx= 0, Band= 0 
    [   52.888000] BW = 2,TXStream = 3, RXStream = 3, scan(1)
    [   53.172000] mt7615_apply_dcoc() : reload Central CH [106] BW [2] from cetral freq [5530]  offset [1d00] 
    [   53.188000] mt7615_apply_dpd() : reload Central CH [106] BW [2] from cetral freq [5540] i[25] offset [3b18] 
    [   53.208000] MtCmdChannelSwitch: control_chl = 104,control_ch2=0, central_chl = 106 DBDCIdx= 0, Band= 0 
    [   53.228000] BW = 2,TXStream = 3, RXStream = 3, scan(1)
    [   53.520000] mt7615_apply_dcoc() : reload Central CH [106] BW [2] from cetral freq [5530]  offset [1d00] 
    [   53.536000] mt7615_apply_dpd() : reload Central CH [106] BW [2] from cetral freq [5540] i[25] offset [3b18] 
    [   53.556000] MtCmdChannelSwitch: control_chl = 108,control_ch2=0, central_chl = 106 DBDCIdx= 0, Band= 0 
    [   53.576000] BW = 2,TXStream = 3, RXStream = 3, scan(1)
    [   53.864000] mt7615_apply_dcoc() : reload Central CH [106] BW [2] from cetral freq [5530]  offset [1d00] 
    [   53.880000] mt7615_apply_dpd() : reload Central CH [106] BW [2] from cetral freq [5540] i[25] offset [3b18] 
    [   53.900000] MtCmdChannelSwitch: control_chl = 112,control_ch2=0, central_chl = 106 DBDCIdx= 0, Band= 0 
    [   53.920000] BW = 2,TXStream = 3, RXStream = 3, scan(1)
    [   54.180000] mt7615_apply_dcoc() : reload Central CH [122] BW [2] from cetral freq [5610]  offset [1e00] 
    [   54.196000] mt7615_apply_dpd() : reload Central CH [122] BW [2] from cetral freq [5620] i[29] offset [3e78] 
    [   54.216000] MtCmdChannelSwitch: control_chl = 116,control_ch2=0, central_chl = 122 DBDCIdx= 0, Band= 0 
    [   54.236000] BW = 2,TXStream = 3, RXStream = 3, scan(1)
    [   54.468000] mt7615_apply_dcoc() : reload Central CH [122] BW [2] from cetral freq [5610]  offset [1e00] 
    [   54.484000] mt7615_apply_dpd() : reload Central CH [122] BW [2] from cetral freq [5620] i[29] offset [3e78] 
    [   54.504000] MtCmdChannelSwitch: control_chl = 120,control_ch2=0, central_chl = 122 DBDCIdx= 0, Band= 0 
    [   54.524000] BW = 2,TXStream = 3, RXStream = 3, scan(1)
    [   54.748000] mt7615_apply_dcoc() : reload Central CH [122] BW [2] from cetral freq [5610]  offset [1e00] 
    [   54.764000] mt7615_apply_dpd() : reload Central CH [122] BW [2] from cetral freq [5620] i[29] offset [3e78] 
    [   54.784000] MtCmdChannelSwitch: control_chl = 124,control_ch2=0, central_chl = 122 DBDCIdx= 0, Band= 0 
    [   54.804000] BW = 2,TXStream = 3, RXStream = 3, scan(1)
    [   55.092000] mt7615_apply_dcoc() : reload Central CH [122] BW [2] from cetral freq [5610]  offset [1e00] 
    [   55.108000] mt7615_apply_dpd() : reload Central CH [122] BW [2] from cetral freq [5620] i[29] offset [3e78] 
    [   55.128000] MtCmdChannelSwitch: control_chl = 128,control_ch2=0, central_chl = 122 DBDCIdx= 0, Band= 0 
    [   55.148000] BW = 2,TXStream = 3, RXStream = 3, scan(1)
    [   55.372000]  AutoChSelUpdateChannel(): Update channel for wdev0 for this band PhyMode = 49,Channel = 52  
    [   55.392000] Current Channel is 52. DfsZeroWaitSupport=0
    [   55.400000] [PMF]APPMFInit:: apidx=0, MFPC=0, MFPR=0, SHA256=0
    [   55.412000] [PMF]WPAMakeRsnIeCap: RSNIE Capability MFPC=0, MFPR=0
    [   55.424000] wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:127 for WDEV_TYPE:1
    [   55.424000]  LinkToOmacIdx = 0, LinkToWdevType = 1
    [   55.596000] mt7615_apply_dcoc() : reload Central CH [58] BW [2] from cetral freq [5290]  offset [1a00] 
    [   55.616000] mt7615_apply_dpd() : reload Central CH [58] BW [2] from cetral freq [5300] i[13] offset [30f8] 
    [   55.636000] MtCmdChannelSwitch: control_chl = 52,control_ch2=0, central_chl = 58 DBDCIdx= 0, Band= 0 
    [   55.656000] BW = 2,TXStream = 3, RXStream = 3, scan(0)
    [   55.760000] red_is_enabled: set CR4/N9 RED Enable to 1.
    [   55.768000] cp_support_is_enabled: set CR4 CP_SUPPORT to Mode 2.
    [   55.784000] ***********dev->ifindex = a
    [   55.864000] device rai0 entered promiscuous mode
    [   55.876000] br-lan: port 3(rai0) entered forwarding state
    [   55.888000] br-lan: port 3(rai0) entered forwarding state
    [   57.584000] 
    [   57.584000]  Set_Led_Proc ==> arg = 00-00-00-00-02-00-00-00
    [   57.600000] 
    [   57.600000] Set_Led_Proc
    [   57.608000] 00
    [   57.612000] 00
    [   57.612000] 00
    [   57.616000] 00
    [   57.620000] 02
    [   57.624000] 00
    [   57.628000] 00
    [   57.632000] 00
    [   57.636000] AndesLedEnhanceOP: Success!
    [   57.664000] 
    [   57.664000]  Set_Led_Proc ==> arg = 00-00-00-00-02-00-00-00
    [   57.676000] 
    [   57.676000] Set_Led_Proc
    [   57.684000] 00
    [   57.688000] 00
    [   57.692000] 00
    [   57.696000] 00
    [   57.700000] 02
    [   57.704000] 00
    [   57.708000] 00
    [   57.708000] 00
    [   57.712000] AndesLedEnhanceOP: Success!
    [   57.892000] br-lan: port 3(rai0) entered forwarding state
    FC start
    [   68.676000] u32 classifier
    [   68.684000]     Performance counters on
    [   68.692000]     Actions configured
    FC Disable
    

  • bootlog (WRC-1750GSV)
    ===================================================================
                    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 : 0x11000000
    3PLL mode + External loopback
    === XTAL-40Mhz === DDR-1200Mhz ===
    PLL3 FB_DL: 0x5, 1/0 = 610/414 15000000
    PLL2 FB_DL: 0xb, 1/0 = 645/379 2D000000
    PLL4 FB_DL: 0x18, 1/0 = 737/287 61000000
    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
    rank 0 coarse = 15
    rank 0 fine = 72
    B:|    0    0    0    0    0    0    0    0    0    1    1    1    0    0    0    0
    opt_dle value:10
    DRAMC_R0DELDLY[018]=0000201F
    ==================================================================
                    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 9 11 11 10 9 10 7 7 8 
    10 |    9 9 9 11 7 11 
    --------------------------------------
     
    ==================================================================
    2.dqs window
    x=pass dqs delay value (min~max)center 
    y=0-7bit DQ of every group
    input delay:DQS0 =31 DQS1 = 32
    ==================================================================
    bit     DQS0     bit      DQS1
    0  (1~59)30  8  (1~61)31
    1  (1~58)29  9  (1~60)30
    2  (1~61)31  10  (1~62)31
    3  (1~62)31  11  (1~59)30
    4  (1~60)30  12  (1~62)31
    5  (1~61)31  13  (1~62)31
    6  (0~60)30  14  (1~60)30
    7  (1~62)31  15  (1~64)32
    ==================================================================
    3.dq delay value last
    ==================================================================
    bit|    0  1  2  3  4  5  6  7  8   9
    --------------------------------------
    0 |    12 11 11 11 11 9 11 7 8 10 
    10 |    10 11 10 12 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 = 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 (Aug 11 2017 - 22:15:36)
     
    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:Aug 11 2017  Time:22:15:36
    ============================================ 
    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:    9568192 Bytes =  9.1 MB
       Load Address: 81001000
       Entry Point:  8162cad0
       Verifying Checksum ... OK
       Uncompressing Kernel Image ... OK
    No initrd
    ## Transferring control to Linux (at address 8162cad0) ...
    ## 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@ubuntu) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2013.05 r48067) ) #1 SMP Thu Jun 6 15:05:42 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: 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 @81a91000 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=0006ac05
    [    0.000000] Readback ErrCtl register=0006ac05
    [    0.000000] Memory: 120028k/131072k available (6364k kernel code, 11044k reserved, 2266k 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.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.244000] 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.600000] 4 CPUs re-calibrate udelay(lpj = 1167360)
    [    2.612000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    2.624000] jffs2: version 2.2. (NAND) (ZLIB) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
    [    2.644000] fuse init (API version 7.22)
    [    2.652000] msgmni has been set to 234
    [    2.660000] io scheduler noop registered (default)
    [    2.672000] reg_int_mask=0, INT_MASK= 0 
    [    2.680000] HSDMA_init
    [    2.684000] 
    [    2.684000]  hsdma_phy_tx_ring0 = 0x00c00000, hsdma_tx_ring0 = 0xa0c00000
    [    2.700000] 
    [    2.700000]  hsdma_phy_rx_ring0 = 0x00c04000, hsdma_rx_ring0 = 0xa0c04000
    [    2.716000] TX_CTX_IDX0 = 0
    [    2.724000] TX_DTX_IDX0 = 0
    [    2.728000] RX_CRX_IDX0 = 3ff
    [    2.736000] RX_DRX_IDX0 = 0
    [    2.740000] set_fe_HSDMA_glo_cfg
    [    2.748000] HSDMA_GLO_CFG = 465
    [    2.752000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
    [    2.768000] serial8250: ttyS0 at MMIO 0x1e000d00 (irq = 27) is a 16550A
    [    2.780000] serial8250: ttyS1 at MMIO 0x1e000c00 (irq = 26) is a 16550A
    [    2.792000] Ralink gpio driver initialized
    [    2.804000] brd: module loaded
    [    2.812000] flash manufacture id: c2, device id 20 18
    [    2.824000] MX25L12805D(c2 2018c220) (16384 Kbytes)
    [    2.832000] mtd .name = raspi, .size = 0x01000000 (16M) .erasesize = 0x00010000 (64K) .numeraseregions = 0
    [    2.852000] Creating 11 MTD partitions on "raspi":
    [    2.860000] 0x000000000000-0x000001000000 : "ALL"
    [    2.872000] 0x000000000000-0x000000030000 : "Bootloader"
    [    2.884000] 0x000000030000-0x000000040000 : "Config"
    [    2.892000] 0x000000040000-0x000000050000 : "Factory"
    [    2.904000] 0x000000050000-0x000000b50000 : "firmware"
    [    2.916000] 0x000000050000-0x000000450000 : "kernel"
    [    2.924000] 0x000000450000-0x000000b50000 : "rootfs"
    [    2.936000] 0x000000b50000-0x000000ed0000 : "tm_pattern"
    [    2.948000] 0x000000ed0000-0x000000f50000 : "tm_key"
    [    2.956000] 0x000000f50000-0x000000f80000 : "nvram"
    [    2.968000] 0x000000f80000-0x000001000000 : "rootfs_data"
    [    2.976000] PPP generic driver version 2.4.2
    [    2.988000] PPP BSD Compression module registered
    [    2.996000] PPP MPPE Compression module registered
    [    3.004000] NET: Registered protocol family 24
    [    3.016000] PPTP driver version 0.8.5
    [    3.020000] register mt_drv
    [    3.036000] 
    [    3.036000] 
    [    3.036000] === pAd = c0201000, size = 3858008 ===
    [    3.036000] 
    [    3.056000] PciHif.CSRBaseAddress =0xc0100000, csr_addr=0xc0100000!
    [    3.080000] RTMPInitPCIeDevice():device_id=0x7615
    [    3.088000] DriverOwn()::Try to Clear FW Own...
    [    3.396000] DriverOwn()::Success to clear FW Own
    [    3.408000] mt_pci_chip_cfg(): HWVer=0x8a10, FWVer=0x8a10, pAd->ChipID=0x7615
    [    3.420000] mt_pci_chip_cfg(): HIF_SYS_REV=0x76150001
    [    3.432000] RtmpChipOpsHook(492): Not support for HIF_MT yet! MACVersion=0x0
    [    3.444000] mt7615_init()-->
    [    3.452000] Use 1st iPAiLNA default bin.
    [    3.460000] Use 0st /etc_ro/wlan/MT7615E_EEPROM1.bin default bin.
    [    3.472000] 
    [    3.976000] Use 2nd iPAiLNA default bin.
    [    3.984000] Use 1st /etc_ro/wlan/MT7615E_EEPROM2.bin default bin.
    [    3.996000] cpu_ptr: 00CB0000
    [   19.872000]  POOL  HEAD_PTR | DMA_PTR | CPU_PTR 
    [   19.884000] ----------------+---------+--------
    [   19.892000]      0xa0cb0000 0x00CB0000 0x00CB0000
    [   19.900000] 
    [   19.900000] phy_qrx_ring = 0x00caa000, qrx_ring = 0xa0caa000
    [   19.916000] 
    [   19.916000] phy_rx_ring0 = 0x00cac000, rx_ring[0] = 0xa0cac000
    [   19.952000] MT7530 Reset Completed!!
    [   19.964000] change HW-TRAP to 0x117c8f
    [   19.976000] set LAN/WAN WLLLL
    [   19.984000] GMAC1_MAC_ADRH -- : 0x000004ab
    [   19.992000] GMAC1_MAC_ADRL -- : 0x18****db
    [   20.000000] GDMA2_MAC_ADRH -- : 0x000004ab
    [   20.008000] GDMA2_MAC_ADRL -- : 0x18****dc
    [   20.020000] eth3: ===> VirtualIF_open
    [   20.024000] MT7621 GE2 link rate to 1G
    [   20.024000] CDMA_CSG_CFG = 81000000
    [   20.024000] GDMA1_FWD_CFG = 20710000
    [   20.024000] GDMA2_FWD_CFG = 20710000
    [   20.068000] eth3: ===> VirtualIF_open
    [   20.576000] eth3: ===> VirtualIF_close
    [   20.592000] ra2880stop()...Done
    [   20.600000] eth3: ===> VirtualIF_close
    [   20.608000] Free TX/RX Ring Memory!
    [   20.620000]  4:FFFFFFAB:18: 9:FFFFFFC0:FFFFFFDB
    [   20.632000] Raeth v3.1 (Tasklet)
    [   20.644000] set CLK_CFG_0 = 0x40a00020!!!!!!!!!!!!!!!!!!1
    [   20.656000] phy_free_head is 0xca8000!!!
    [   20.664000] phy_free_tail_phy is 0xca9ff0!!!
    [   20.672000] txd_pool=a0cb0000 phy_txd_pool=00CB0000
    [   20.684000] ei_local->skb_free start address is 0x86dda6cc.
    [   20.696000] free_txd: 00cb0010, ei_local->cpu_ptr: 00CB0000
    [   20.704000]  POOL  HEAD_PTR | DMA_PTR | CPU_PTR 
    [   20.716000] ----------------+---------+--------
    [   20.724000]      0xa0cb0000 0x00CB0000 0x00CB0000
    [   20.732000] 
    [   20.732000] phy_qrx_ring = 0x00caa000, qrx_ring = 0xa0caa000
    [   20.748000] 
    [   20.748000] phy_rx_ring0 = 0x00cac000, rx_ring[0] = 0xa0cac000
    [   20.784000] MT7530 Reset Completed!!
    [   20.800000] change HW-TRAP to 0x117c8f
    [   20.808000] set LAN/WAN WLLLL
    [   20.816000] GMAC1_MAC_ADRH -- : 0x000004ab
    [   20.828000] GMAC1_MAC_ADRL -- : 0x18****db
    [   20.836000] eth3: ===> VirtualIF_open
    [   20.840000] MT7621 GE2 link rate to 1G
    [   20.840000] CDMA_CSG_CFG = 81000000
    [   20.840000] GDMA1_FWD_CFG = 20710000
    [   20.840000] GDMA2_FWD_CFG = 20710000
    [   20.840000] device eth2 entered promiscuous mode
    [   20.840000] br-lan: port 1(eth2) entered forwarding state
    [   20.840000] br-lan: port 1(eth2) entered forwarding state
    [   20.840000] eth3: ===> VirtualIF_open
    [   22.700000] [LOG]|WIRE| LAN - Port1 Link UP
    [   22.844000] 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]
    dnsmasq
    dnsmasq [br-lan]
    [   30.908000] DriverOwn()::Return since already in Driver Own...
    [   30.920000] APWdsInitialize():WdsEntry[0]
    [   30.928000] APWdsInitialize():WdsEntry[1]
    [   30.936000] APWdsInitialize():WdsEntry[2]
    [   30.944000] APWdsInitialize():WdsEntry[3]
    [   30.956000] 
    [   30.956000] [Force Roam] => Force Roam Support = 0
    [   30.968000] RT_CfgSetMacAddress : invalid length (0)
    [   30.976000] E2pAccessMode=2
    [   30.984000] SSID[0]=elecom5g-09c0db, EdcaIdx=0
    [   30.992000] TriBandChGrp=0/0/0/0
    [   31.000000] cfg_mode=14
    [   31.004000] cfg_mode=14
    [   31.012000] wmode_band_equal(): Band Equal!
    [   31.020000] BandSteering=0
    [   31.024000] BndStrgBssIdx=
    [   31.032000] [TxPower] BAND0: 100 
    [   31.036000] [SKUenable] BAND0: 1 
    [   31.044000] [PERCENTAGEenable] BAND0: 1 
    [   31.052000] [BFBACKOFFenable] BAND0: 1 
    [   31.060000] CalCacheApply = 0 
    [   31.068000] APEdca0
    [   31.072000] APEdca1
    [   31.076000] APEdca2
    [   31.080000] APEdca3
    [   31.088000] APSDCapable[0]=0
    [   31.092000] APSDCapable[1]=0
    [   31.100000] APSDCapable[2]=0
    [   31.104000] APSDCapable[3]=0
    [   31.108000] APSDCapable[4]=0
    [   31.116000] APSDCapable[5]=0
    [   31.120000] APSDCapable[6]=0
    [   31.128000] APSDCapable[7]=0
    [   31.132000] APSDCapable[8]=0
    [   31.140000] APSDCapable[9]=0
    [   31.144000] APSDCapable[10]=0
    [   31.152000] APSDCapable[11]=0
    [   31.156000] APSDCapable[12]=0
    [   31.164000] APSDCapable[13]=0
    [   31.168000] APSDCapable[14]=0
    [   31.172000] APSDCapable[15]=0
    [   31.180000] default ApCliAPSDCapable[0]=0
    [   31.188000] default ApCliAPSDCapable[1]=0
    [   31.196000] DfsZeroWait Support=0/0 
    [   31.204000] DfsZeroWaitCacTime=0/0 
    [   31.240000] rtmp_read_wds_from_file(): WDS Profile
    [   31.248000] APWdsInitialize():WdsEntry[0]
    [   31.256000] APWdsInitialize():WdsEntry[1]
    [   31.264000] APWdsInitialize():WdsEntry[2]
    [   31.272000] APWdsInitialize():WdsEntry[3]
    [   31.280000] WDS-Enable mode=0
    [   31.288000] AndesSendCmdMsg: Could not send in band command due to diablefRTMP_ADAPTER_MCU_SEND_IN_BAND_CMD
    [   31.312000] HT: WDEV[0] Ext Channel = ABOVE
    [   31.320000] HT: greenap_cap = 0
    [   31.360000] IcapMode = 0
    [   31.372000] WtcSetMaxStaNum: MaxStaNum:103, BssidNum:1, WdsNum:4, ApcliNum:2, MaxNumChipRept:16, MinMcastWcid:125
    [   31.392000] Top Init Done!
    [   31.396000] Use alloc_skb
    [   31.404000] RX[0] DESC a0ca4000 size = 16384
    [   31.412000] RX[1] DESC a0ca2000 size = 8192
    [   31.424000] Hif Init Done!
    [   31.428000] ctl->txq = c0aa9e6c
    [   31.436000] ctl->rxq = c0aa9e78
    [   31.440000] ctl->ackq = c0aa9e84
    [   31.448000] ctl->kickq = c0aa9e90
    [   31.456000] ctl->tx_doneq = c0aa9e9c
    [   31.460000] ctl->rx_doneq = c0aa9ea8
    [   31.468000] mt7615_fw_prepare():FW(8a10), HW(8a10), CHIPID(7615))
    [   31.480000] mt7615_fw_prepare(2687): MT7615_E3, USE E3 patch and ram code binary image
    [   31.496000] AndesMTLoadRomMethodFwDlRing(1035), cap->rom_patch_len(11102)
    [   31.512000] AndesRestartCheck: Current TOP_MISC2(0x1)
    [   31.520000] AndesRestartCheck: (TOP_MISC2 = 1), ready to continue...RET(0)
    [   31.536000] 20170809192718a
    [   31.540000] 
    [   31.544000] platform = 
    [   31.548000] ALPS
    [   31.552000] hw/sw version = 
    [   31.556000] 8a108a10
    [   31.564000] patch version = 
    [   31.568000] 00000010
    [   31.572000] Patch SEM Status=2
    [   31.580000] MtCmdPatchSemGet:(ret = 0)
    [   31.588000] 
    [   31.588000] Patch is not ready && get semaphore success, SemStatus(2)
    [   31.604000] EventGenericEventHandler: CMD Success
    [   31.612000] MtCmdAddressLenReq:(ret = 0)
    [   31.620000] MtCmdPatchFinishReq
    [   31.636000] EventGenericEventHandler: CMD Success
    [   31.648000] Send checksum req..
    [   31.652000] Patch SEM Status=3
    [   31.660000] MtCmdPatchSemGet:(ret = 0)
    [   31.668000] 
    [   31.668000] Release patch semaphore, SemStatus(3)
    [   31.680000] AndesMTEraseRomPatch
    [   31.684000] WfMcuHwInit: Before NICLoadFirmware, check IcapMode=0
    [   31.696000] AndesMTLoadFwMethodFwDlRing(809), cap->fw_len(462248)
    [   31.708000] Build Date:_201708190346
    [   31.716000] Build Date:_201708190346
    [   31.724000] AndesRestartCheck: Current TOP_MISC2(0x1)
    [   31.736000] AndesRestartCheck: (TOP_MISC2 = 1), ready to continue...RET(0)
    [   31.748000] EventGenericEventHandler: CMD Success
    [   31.756000] MtCmdAddressLenReq:(ret = 0)
    [   31.772000] EventGenericEventHandler: CMD Success
    [   31.780000] MtCmdAddressLenReq:(ret = 0)
    [   31.788000] MtCmdFwStartReq: override = 1, address = 540672
    [   31.800000] EventGenericEventHandler: CMD Success
    [   31.808000] Build Date:_201707211524
    [   31.816000] EventGenericEventHandler: CMD Success
    [   31.824000] MtCmdAddressLenReq:(ret = 0)
    [   31.836000] MtCmdFwStartReq: override = 4, address = 0
    [   31.896000] EventGenericEventHandler: CMD Success
    [   31.948000] WfMcuHwInit: NICLoadFirmware OK, Check IcapMode=0
    [   31.960000] MCU Init Done!
    [   31.968000] efuse_probe: efuse = 10000212
    [   31.976000] RtmpChipOpsEepromHook::e2p_type=2, inf_Type=5
    [   31.984000] RtmpEepromGetDefault::e2p_dafault=1
    [   31.996000] RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 2, E2P default = 1
    [   32.008000] NVM is FLASH mode. dev_idx [1] FLASH OFFSET [0x8000]
    [   32.036000] NICReadEEPROMParameters: EEPROM 0x52 b317
    [   32.052000] MtCmdSetTxLpfCal:(ret = 0)
    [   32.060000] MtCmdSetTxIqCal:(ret = 0)
    [   32.068000] MtCmdSetTxDcCal:(ret = 0)
    [   32.076000] MtCmdSetRxFiCal:(ret = 0)
    [   32.084000] MtCmdSetRxFdCal:(ret = 0)
    [   32.088000] MtCmdSetRxFdCal:(ret = 0)
    [   32.096000] MtCmdSetRxFdCal:(ret = 0)
    [   32.104000] MtCmdSetRxFdCal:(ret = 0)
    [   32.112000] MtCmdSetRxFdCal:(ret = 0)
    [   32.120000] MtCmdSetRxFdCal:(ret = 0)
    [   32.128000] MtCmdSetRxFdCal:(ret = 0)
    [   32.132000] MtCmdSetRxFdCal:(ret = 0)
    [   32.140000] MtCmdSetRxFdCal:(ret = 0)
    [   32.148000] NICReadEEPROMParameters: EEPROM 0x52 b317
    [   32.700000] Country Region from e2p = 101
    [   32.708000] mt7615_antenna_default_reset(): TxPath = 3, RxPath = 3
    [   32.720000] mt7615_antenna_default_reset(): DBDC 2G TxPath = 1, 2G RxPath = 1
    [   32.736000] mt7615_antenna_default_reset(): DBDC 5G TxPath = 1, 2G RxPath = 1
    [   32.748000] rtmp_read_txpwr_from_eeprom(233): Don't Support this now!
    [   32.760000] RTMPReadTxPwrPerRate(1381): Don't Support this now!
    [   32.772000] RcRadioInit(): DbdcMode=0, ConcurrentBand=1
    [   32.784000] RcRadioInit(): pRadioCtrl=86cb8438,Band=0,rfcap=3,channel=1,PhyMode=2 extCha=0xf
    [   32.800000] Band Rf: 1, Phy Mode: 2
    [   32.808000] AntCfgInit(2766): Not support for HIF_MT yet!
    [   32.820000] MtSingleSkuLoadParam: RF_LOCKDOWN Feature OFF !!!
    [   32.884000] MtBfBackOffLoadTable: RF_LOCKDOWN Feature OFF !!!
    [   32.896000] EEPROM Init Done!
    [   32.904000] mt_mac_init()-->
    [   32.908000] mt_mac_pse_init(2750): Don't Support this now!
    [   32.920000] mt7615_init_mac_cr()-->
    [   32.928000] mt7615_init_mac_cr(): TMAC_TRCR0=0x82783c8c
    [   32.936000] MtAsicSetMacMaxLen(1300): Not finish Yet!
    [   32.948000] 
    [   33.104000] ApAutoChannelAtBootUp: AutoChannelBootup = 1, AutoChannelFlag = 1
    [   33.120000] MtCmdSetMacTxRx:(ret = 0)
    [   33.124000] 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 = 36,control_ch2=0, central_chl = 42 DBDCIdx= 0, Band= 0 
    [   33.200000] BW = 2,TXStream = 3, RXStream = 3, scan(1)
    [   33.572000] mt7615_apply_dcoc() : reload Central CH [42] BW [2] from cetral freq [5210]  offset [1900] 
    [   33.588000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   33.596000] mt7615_apply_dpd() : reload Central CH [42] BW [2] from cetral freq [5220] i[9] offset [2d98] 
    [   33.616000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   33.624000] MtCmdChannelSwitch: control_chl = 40,control_ch2=0, central_chl = 42 DBDCIdx= 0, Band= 0 
    [   33.644000] BW = 2,TXStream = 3, RXStream = 3, scan(1)
    [   34.028000] mt7615_apply_dcoc() : reload Central CH [42] BW [2] from cetral freq [5210]  offset [1900] 
    [   34.044000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   34.052000] mt7615_apply_dpd() : reload Central CH [42] BW [2] from cetral freq [5220] i[9] offset [2d98] 
    [   34.072000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   34.080000] MtCmdChannelSwitch: control_chl = 44,control_ch2=0, central_chl = 42 DBDCIdx= 0, Band= 0 
    [   34.100000] BW = 2,TXStream = 3, RXStream = 3, scan(1)
    [   34.504000] mt7615_apply_dcoc() : reload Central CH [42] BW [2] from cetral freq [5210]  offset [1900] 
    [   34.520000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   34.528000] mt7615_apply_dpd() : reload Central CH [42] BW [2] from cetral freq [5220] i[9] offset [2d98] 
    [   34.548000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   34.556000] MtCmdChannelSwitch: control_chl = 48,control_ch2=0, central_chl = 42 DBDCIdx= 0, Band= 0 
    [   34.576000] BW = 2,TXStream = 3, RXStream = 3, scan(1)
    [   34.952000] mt7615_apply_dcoc() : reload Central CH [58] BW [2] from cetral freq [5290]  offset [1a00] 
    [   34.968000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   34.976000] mt7615_apply_dpd() : reload Central CH [58] BW [2] from cetral freq [5300] i[13] offset [30f8] 
    [   34.996000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   35.004000] MtCmdChannelSwitch: control_chl = 52,control_ch2=0, central_chl = 58 DBDCIdx= 0, Band= 0 
    [   35.024000] BW = 2,TXStream = 3, RXStream = 3, scan(1)
    [   35.436000] mt7615_apply_dcoc() : reload Central CH [58] BW [2] from cetral freq [5290]  offset [1a00] 
    [   35.452000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   35.460000] mt7615_apply_dpd() : reload Central CH [58] BW [2] from cetral freq [5300] i[13] offset [30f8] 
    [   35.480000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   35.488000] MtCmdChannelSwitch: control_chl = 56,control_ch2=0, central_chl = 58 DBDCIdx= 0, Band= 0 
    [   35.508000] BW = 2,TXStream = 3, RXStream = 3, scan(1)
    [   35.836000] mt7615_apply_dcoc() : reload Central CH [58] BW [2] from cetral freq [5290]  offset [1a00] 
    [   35.852000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   35.860000] mt7615_apply_dpd() : reload Central CH [58] BW [2] from cetral freq [5300] i[13] offset [30f8] 
    [   35.880000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   35.888000] MtCmdChannelSwitch: control_chl = 60,control_ch2=0, central_chl = 58 DBDCIdx= 0, Band= 0 
    [   35.908000] BW = 2,TXStream = 3, RXStream = 3, scan(1)
    [   36.316000] mt7615_apply_dcoc() : reload Central CH [58] BW [2] from cetral freq [5290]  offset [1a00] 
    [   36.332000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   36.340000] mt7615_apply_dpd() : reload Central CH [58] BW [2] from cetral freq [5300] i[13] offset [30f8] 
    [   36.360000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   36.368000] MtCmdChannelSwitch: control_chl = 64,control_ch2=0, central_chl = 58 DBDCIdx= 0, Band= 0 
    [   36.388000] BW = 2,TXStream = 3, RXStream = 3, scan(1)
    [   36.708000] mt7615_apply_dcoc() : reload Central CH [106] BW [2] from cetral freq [5530]  offset [1d00] 
    [   36.724000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   36.736000] mt7615_apply_dpd() : reload Central CH [106] BW [2] from cetral freq [5540] i[25] offset [3b18] 
    [   36.752000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   36.764000] MtCmdChannelSwitch: control_chl = 100,control_ch2=0, central_chl = 106 DBDCIdx= 0, Band= 0 
    [   36.780000] BW = 2,TXStream = 3, RXStream = 3, scan(1)
    [   37.176000] mt7615_apply_dcoc() : reload Central CH [106] BW [2] from cetral freq [5530]  offset [1d00] 
    [   37.192000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   37.200000] mt7615_apply_dpd() : reload Central CH [106] BW [2] from cetral freq [5540] i[25] offset [3b18] 
    [   37.220000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   37.232000] MtCmdChannelSwitch: control_chl = 104,control_ch2=0, central_chl = 106 DBDCIdx= 0, Band= 0 
    [   37.248000] BW = 2,TXStream = 3, RXStream = 3, scan(1)
    [   37.656000] mt7615_apply_dcoc() : reload Central CH [106] BW [2] from cetral freq [5530]  offset [1d00] 
    [   37.672000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   37.680000] mt7615_apply_dpd() : reload Central CH [106] BW [2] from cetral freq [5540] i[25] offset [3b18] 
    [   37.700000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   37.708000] MtCmdChannelSwitch: control_chl = 108,control_ch2=0, central_chl = 106 DBDCIdx= 0, Band= 0 
    [   37.728000] BW = 2,TXStream = 3, RXStream = 3, scan(1)
    [   37.980000] mt7615_apply_dcoc() : reload Central CH [106] BW [2] from cetral freq [5530]  offset [1d00] 
    [   37.996000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   38.004000] mt7615_apply_dpd() : reload Central CH [106] BW [2] from cetral freq [5540] i[25] offset [3b18] 
    [   38.024000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   38.036000] MtCmdChannelSwitch: control_chl = 112,control_ch2=0, central_chl = 106 DBDCIdx= 0, Band= 0 
    [   38.052000] BW = 2,TXStream = 3, RXStream = 3, scan(1)
    [   38.340000] mt7615_apply_dcoc() : reload Central CH [122] BW [2] from cetral freq [5610]  offset [1e00] 
    [   38.356000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   38.364000] mt7615_apply_dpd() : reload Central CH [122] BW [2] from cetral freq [5620] i[29] offset [3e78] 
    [   38.384000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   38.396000] MtCmdChannelSwitch: control_chl = 116,control_ch2=0, central_chl = 122 DBDCIdx= 0, Band= 0 
    [   38.412000] BW = 2,TXStream = 3, RXStream = 3, scan(1)
    [   38.816000] mt7615_apply_dcoc() : reload Central CH [122] BW [2] from cetral freq [5610]  offset [1e00] 
    [   38.832000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   38.840000] mt7615_apply_dpd() : reload Central CH [122] BW [2] from cetral freq [5620] i[29] offset [3e78] 
    [   38.860000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   38.872000] MtCmdChannelSwitch: control_chl = 120,control_ch2=0, central_chl = 122 DBDCIdx= 0, Band= 0 
    [   38.888000] BW = 2,TXStream = 3, RXStream = 3, scan(1)
    [   39.300000] mt7615_apply_dcoc() : reload Central CH [122] BW [2] from cetral freq [5610]  offset [1e00] 
    [   39.316000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   39.324000] mt7615_apply_dpd() : reload Central CH [122] BW [2] from cetral freq [5620] i[29] offset [3e78] 
    [   39.344000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   39.352000] MtCmdChannelSwitch: control_chl = 124,control_ch2=0, central_chl = 122 DBDCIdx= 0, Band= 0 
    [   39.372000] BW = 2,TXStream = 3, RXStream = 3, scan(1)
    [   39.784000] mt7615_apply_dcoc() : reload Central CH [122] BW [2] from cetral freq [5610]  offset [1e00] 
    [   39.800000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   39.808000] mt7615_apply_dpd() : reload Central CH [122] BW [2] from cetral freq [5620] i[29] offset [3e78] 
    [   39.828000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   39.840000] MtCmdChannelSwitch: control_chl = 128,control_ch2=0, central_chl = 122 DBDCIdx= 0, Band= 0 
    [   39.856000] BW = 2,TXStream = 3, RXStream = 3, scan(1)
    [   40.076000] ====================================================================
    [   40.088000] Channel  36 : Busy Time =   2130, Skip Channel = FALSE, BwCap = TRUE
    [   40.104000] Channel  40 : Busy Time =   4492, Skip Channel = FALSE, BwCap = TRUE
    [   40.120000] Channel  44 : Busy Time =    396, Skip Channel = FALSE, BwCap = TRUE
    [   40.132000] Channel  48 : Busy Time =   1063, Skip Channel = FALSE, BwCap = TRUE
    [   40.148000] Channel  52 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   40.164000] Channel  56 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   40.176000] Channel  60 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   40.192000] Channel  64 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   40.208000] Channel 100 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   40.220000] Channel 104 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   40.236000] Channel 108 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   40.252000] Channel 112 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   40.264000] Channel 116 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   40.280000] Channel 120 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   40.296000] Channel 124 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   40.308000] Channel 128 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   40.324000] ====================================================================
    [   40.340000] Rule 3 Channel Busy time value : Select Primary Channel 52 
    [   40.352000] Rule 3 Channel Busy time value : Min Channel Busy = 0
    [   40.364000] Rule 3 Channel Busy time value : BW = 80
    [   40.376000]  AutoChSelUpdateChannel(): Update channel for wdev0 for this band PhyMode = 49,Channel = 52  
    [   40.396000] ApAutoChannelAtBootUp Force Roam Support = 0
    [   40.484000] HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:49,Channel=52
    [   40.500000] CountryCode(2.4G/5G)=1/1, RFIC=25, PHY mode(2.4G/5G)=49/49, support 19 channels
    [   40.516000] Enable 20/40 BSSCoex Channel Scan(BssCoex=1)
    [   40.528000] wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:127 for WDEV_TYPE:1
    [   40.528000]  LinkToOmacIdx = 0, LinkToWdevType = 1
    [   40.556000] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO),                 CmdBssInfoBmcRate.u2BcTransmit= 8192,                 CmdBssInfoBmcRate.u2McTransmit = 8196
    [   40.692000]  [RadarStateCheck]Set into RD_SILENCE_MODE!  
    [   40.716000] MtCmdTxPowerSKUCtrl: fgTxPowerSKUEn: 1, BandIdx: 0
    [   40.728000] MtCmdTxPowerPercentCtrl: fgTxPowerPercentEn: 1, BandIdx: 0
    [   40.740000] MtCmdTxBfBackoffCtrl: fgTxBFBackoffEn: 1, BandIdx: 0
    [   40.752000] mt7615_bbp_adjust():rf_bw=2, ext_ch=1, PrimCh=52, HT-CentCh=54, VHT-CentCh=58
    [   40.772000] mt7615_apply_dcoc() : reload Central CH [58] BW [2] from cetral freq [5290]  offset [1a00] 
    [   40.788000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   40.796000] mt7615_apply_dpd() : reload Central CH [58] BW [2] from cetral freq [5300] i[13] offset [30f8] 
    [   40.816000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   40.824000] MtCmdChannelSwitch: control_chl = 52,control_ch2=0, central_chl = 58 DBDCIdx= 0, Band= 0 
    [   40.844000] BW = 2,TXStream = 3, RXStream = 3, scan(0)
    [   40.876000] ap_phy_rrm_init_byRf(): AP Set CentralFreq at 58(Prim=52, HT-CentCh=54, VHT-CentCh=58, BBP_BW=2)
    [   40.892000] [WrapDfsRadarDetectStart]: Band0Ch is 52
    [   40.904000] [WrapDfsRadarDetectStart]: Band1Ch is 0
    [   40.928000] LeadTimeForBcn, OmacIdx = 0, WDEV_WITH_BCN_ABILITY
    [   40.940000] MtAsicSetRalinkBurstMode(2605): Not support for HIF_MT yet!
    [   40.952000] MtAsicSetPiggyBack(777): Not support for HIF_MT yet!
    [   40.964000] MtAsicSetTxPreamble(2584): Not support for HIF_MT yet!
    [   40.976000] ap_ftkd> Initialize FT KDP Module...
    [   40.988000] Main bssid = 04:ab:18:**:**:de
    [   40.996000] AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
    [   41.004000] MtCmdSetMacTxRx:(ret = 0)
    [   41.012000] MCS Set = ff ff ff 00 01
    [   41.020000]  Force Roam Support = 0
    [   41.544000] RT_CfgSetMacAddress : invalid length (0)
    [   41.556000] E2pAccessMode=2
    [   41.560000] SSID[0]=elecom2g-09c0db, EdcaIdx=0
    [   41.572000] TriBandChGrp=0/0/0/0
    [   41.580000] cfg_mode=9
    [   41.584000] cfg_mode=9
    [   41.588000] wmode_band_equal(): Band Equal!
    [   41.596000] BandSteering=0
    [   41.604000] BndStrgBssIdx=
    [   41.608000] [TxPower] BAND0: 100 
    [   41.616000] [SKUenable] BAND0: 1 
    [   41.620000] [PERCENTAGEenable] BAND0: 1 
    [   41.628000] [BFBACKOFFenable] BAND0: 1 
    [   41.636000] CalCacheApply = 0 
    [   41.644000] APEdca0
    [   41.648000] APEdca1
    [   41.652000] APEdca2
    [   41.660000] APEdca3
    [   41.664000] APSDCapable[0]=0
    [   41.672000] APSDCapable[1]=0
    [   41.676000] APSDCapable[2]=0
    [   41.680000] APSDCapable[3]=0
    [   41.688000] APSDCapable[4]=0
    [   41.692000] APSDCapable[5]=0
    [   41.700000] APSDCapable[6]=0
    [   41.704000] APSDCapable[7]=0
    [   41.712000] APSDCapable[8]=0
    [   41.716000] APSDCapable[9]=0
    [   41.724000] APSDCapable[10]=0
    [   41.728000] APSDCapable[11]=0
    [   41.732000] APSDCapable[12]=0
    [   41.740000] APSDCapable[13]=0
    [   41.744000] APSDCapable[14]=0
    [   41.752000] APSDCapable[15]=0
    [   41.756000] default ApCliAPSDCapable[0]=0
    [   41.764000] default ApCliAPSDCapable[1]=0
    [   41.776000] DfsZeroWait Support=0/0 
    [   41.784000] DfsZeroWaitCacTime=0/0 
    [   41.816000] rtmp_read_wds_from_file(): WDS Profile
    [   41.828000] APWdsInitialize():WdsEntry[0]
    [   41.836000] APWdsInitialize():WdsEntry[1]
    [   41.844000] APWdsInitialize():WdsEntry[2]
    [   41.852000] APWdsInitialize():WdsEntry[3]
    [   41.860000] WDS-Enable mode=0
    [   41.864000] AndesSendCmdMsg: Could not send in band command due to diablefRTMP_ADAPTER_MCU_SEND_IN_BAND_CMD
    [   41.888000] HT: WDEV[0] Ext Channel = ABOVE
    [   41.896000] HT: greenap_cap = 0
    [   41.900000] :MtCmdPktBudgetCtrl: bssid(255),wcid(65535),type(0)
    [   41.948000] IcapMode = 0
    [   41.960000] WtcSetMaxStaNum: MaxStaNum:103, BssidNum:1, WdsNum:4, ApcliNum:2, MaxNumChipRept:16, MinMcastWcid:125
    [   41.980000] Top Init Done!
    [   41.988000] Use alloc_skb
    [   41.992000] RX[0] DESC a0c14000 size = 16384
    [   42.004000] RX[1] DESC a0c12000 size = 8192
    [   42.012000] Hif Init Done!
    [   42.020000] ctl->txq = c05a9e6c
    [   42.024000] ctl->rxq = c05a9e78
    [   42.032000] ctl->ackq = c05a9e84
    [   42.036000] ctl->kickq = c05a9e90
    [   42.044000] ctl->tx_doneq = c05a9e9c
    [   42.052000] ctl->rx_doneq = c05a9ea8
    [   42.060000] mt7615_fw_prepare():FW(8a10), HW(8a10), CHIPID(7615))
    [   42.072000] mt7615_fw_prepare(2687): MT7615_E3, USE E3 patch and ram code binary image
    [   42.088000] AndesMTLoadRomMethodFwDlRing(1035), cap->rom_patch_len(11102)
    [   42.100000] AndesRestartCheck: Current TOP_MISC2(0x1)
    [   42.112000] AndesRestartCheck: (TOP_MISC2 = 1), ready to continue...RET(0)
    [   42.124000] 20170809192718a
    [   42.128000] 
    [   42.132000] platform = 
    [   42.136000] ALPS
    [   42.140000] hw/sw version = 
    [   42.148000] 8a108a10
    [   42.152000] patch version = 
    [   42.156000] 00000010
    [   42.160000] Patch SEM Status=2
    [   42.168000] MtCmdPatchSemGet:(ret = 0)
    [   42.176000] 
    [   42.176000] Patch is not ready && get semaphore success, SemStatus(2)
    [   42.192000] EventGenericEventHandler: CMD Success
    [   42.200000] MtCmdAddressLenReq:(ret = 0)
    [   42.208000] MtCmdPatchFinishReq
    [   42.224000] EventGenericEventHandler: CMD Success
    [   42.236000] Send checksum req..
    [   42.240000] Patch SEM Status=3
    [   42.248000] MtCmdPatchSemGet:(ret = 0)
    [   42.256000] 
    [   42.256000] Release patch semaphore, SemStatus(3)
    [   42.268000] AndesMTEraseRomPatch
    [   42.276000] WfMcuHwInit: Before NICLoadFirmware, check IcapMode=0
    [   42.288000] AndesMTLoadFwMethodFwDlRing(809), cap->fw_len(462248)
    [   42.300000] Build Date:_201708190346
    [   42.304000] Build Date:_201708190346
    [   42.312000] AndesRestartCheck: Current TOP_MISC2(0x1)
    [   42.324000] AndesRestartCheck: (TOP_MISC2 = 1), ready to continue...RET(0)
    [   42.336000] EventGenericEventHandler: CMD Success
    [   42.348000] MtCmdAddressLenReq:(ret = 0)
    [   42.360000] EventGenericEventHandler: CMD Success
    [   42.368000] MtCmdAddressLenReq:(ret = 0)
    [   42.376000] MtCmdFwStartReq: override = 1, address = 540672
    [   42.388000] EventGenericEventHandler: CMD Success
    [   42.396000] Build Date:_201707211524
    [   42.404000] EventGenericEventHandler: CMD Success
    [   42.412000] MtCmdAddressLenReq:(ret = 0)
    [   42.420000] MtCmdFwStartReq: override = 4, address = 0
    [   42.484000] EventGenericEventHandler: CMD Success
    [   42.536000] WfMcuHwInit: NICLoadFirmware OK, Check IcapMode=0
    [   42.548000] MCU Init Done!
    [   42.552000] efuse_probe: efuse = 10000212
    [   42.560000] RtmpChipOpsEepromHook::e2p_type=2, inf_Type=5
    [   42.572000] RtmpEepromGetDefault::e2p_dafault=1
    [   42.580000] RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 2, E2P default = 1
    [   42.596000] NVM is FLASH mode. dev_idx [0] FLASH OFFSET [0x0]
    [   42.620000] NICReadEEPROMParameters: EEPROM 0x52 b317
    [   42.636000] MtCmdSetTxLpfCal:(ret = 0)
    [   42.644000] MtCmdSetTxIqCal:(ret = 0)
    [   42.652000] MtCmdSetTxDcCal:(ret = 0)
    [   42.660000] MtCmdSetRxFiCal:(ret = 0)
    [   42.668000] MtCmdSetRxFdCal:(ret = 0)
    [   42.676000] MtCmdSetRxFdCal:(ret = 0)
    [   42.684000] MtCmdSetRxFdCal:(ret = 0)
    [   42.688000] MtCmdSetRxFdCal:(ret = 0)
    [   42.696000] MtCmdSetRxFdCal:(ret = 0)
    [   42.704000] MtCmdSetRxFdCal:(ret = 0)
    [   42.712000] MtCmdSetRxFdCal:(ret = 0)
    [   42.720000] MtCmdSetRxFdCal:(ret = 0)
    [   42.724000] MtCmdSetRxFdCal:(ret = 0)
    [   42.732000] NICReadEEPROMParameters: EEPROM 0x52 b317
    [   43.284000] Country Region from e2p = 101
    [   43.292000] mt7615_antenna_default_reset(): TxPath = 3, RxPath = 3
    [   43.304000] mt7615_antenna_default_reset(): DBDC 2G TxPath = 1, 2G RxPath = 1
    [   43.320000] mt7615_antenna_default_reset(): DBDC 5G TxPath = 1, 2G RxPath = 1
    [   43.332000] rtmp_read_txpwr_from_eeprom(233): Don't Support this now!
    [   43.332000] br-lan: port 2(rai0) entered forwarding state
    [   43.356000] RTMPReadTxPwrPerRate(1381): Don't Support this now!
    [   43.368000] RcRadioInit(): DbdcMode=0, ConcurrentBand=1
    [   43.380000] RcRadioInit(): pRadioCtrl=87722438,Band=0,rfcap=3,channel=1,PhyMode=2 extCha=0xf
    [   43.396000] Band Rf: 1, Phy Mode: 2
    [   43.404000] AntCfgInit(2766): Not support for HIF_MT yet!
    [   43.416000] MtSingleSkuLoadParam: RF_LOCKDOWN Feature OFF !!!
    [   43.428000] MtBfBackOffLoadTable: RF_LOCKDOWN Feature OFF !!!
    [   43.440000] EEPROM Init Done!
    [   43.444000] mt_mac_init()-->
    [   43.452000] mt_mac_pse_init(2750): Don't Support this now!
    [   43.460000] mt7615_init_mac_cr()-->
    [   43.468000] mt7615_init_mac_cr(): TMAC_TRCR0=0x82783c8c
    [   43.480000] MtAsicSetMacMaxLen(1300): Not finish Yet!
    [   43.488000] 
    [   43.644000] ApAutoChannelAtBootUp: AutoChannelBootup = 1, AutoChannelFlag = 1
    [   43.660000] MtCmdSetMacTxRx:(ret = 0)
    [   43.668000] mt7615_apply_dcoc() : reload Central CH [1] BW [0] from cetral freq [2417]  offset [2200] 
    [   43.684000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   43.696000] mt7615_apply_dpd() : reload Central CH [1] BW [0] from cetral freq [2422] i[44] offset [4b20] 
    [   43.712000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   43.724000] MtCmdChannelSwitch: control_chl = 1,control_ch2=0, central_chl = 1 DBDCIdx= 0, Band= 0 
    [   43.740000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   43.816000] [WrapDfsRddReportHandle]:  Radar detected !!!!!!!!!!!!!!!!!
    [   43.828000] [WrapDfsRddReportHandle]:  ucRddIdx: 0
    [   43.836000] [WrapDfsRddReportHandle]PrimCh: 116, Band0Ch:116, Band1Ch:0
    [   43.852000]  [WrapDfsRddReportHandle] RD_SILENCE_MODE. Update Uniform Ch=116, Bw=2  
    [   43.868000] MtAsicSetPiggyBack(777): Not support for HIF_MT yet!
    [   43.880000] WifiSysClose(), wdev idx = 0
    [   43.880000] ExtEventBeaconLostHandler::FW LOG, Beacon lost (04:ab:18:**:**:de), Reason 0x10
    [   43.880000]   Beacon lost - AP disabled!!!
    [   43.888000] WifiSysGetBssInfoState(): BssInfoIdx 0 not found!!!
    [   43.888000] WifiSysUpdateBssInfoState(): BssInfoIdx 0 not found!!!
    [   43.964000] ap_ftkd> Release FT KDP Module...
    [   43.972000] MtAsicSetRalinkBurstMode(2605): Not support for HIF_MT yet!
    [   43.984000] MtAsicSetPiggyBack(777): Not support for HIF_MT yet!
    [   43.996000] MtAsicSetTxPreamble(2584): Not support for HIF_MT yet!
    [   44.008000] WifiSysOpen(), wdev idx = 0
    [   44.016000] wdev_attr_update(): wdevId0 = 04:ab:18:**:**:de
    [   44.028000] [PMF]APPMFInit:: apidx=0, MFPC=0, MFPR=0, SHA256=0
    [   44.040000] [PMF]WPAMakeRsnIeCap: RSNIE Capability MFPC=0, MFPR=0
    [   44.052000] 
    [   44.052000] [Force Roam] => Force Roam Support = 0
    [   44.064000] HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:49,Channel=116
    [   44.084000] mt7615_apply_dcoc() : reload Central CH [2] BW [0] from cetral freq [2417]  offset [2200] 
    [   44.084000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   44.084000] mt7615_apply_dpd() : reload Central CH [2] BW [0] from cetral freq [2422] i[44] offset [4b20] 
    [   44.084000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   44.084000] MtCmdChannelSwitch: control_chl = 2,control_ch2=0, central_chl = 2 DBDCIdx= 0, Band= 0 
    [   44.084000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   44.164000] CountryCode(2.4G/5G)=1/1, RFIC=25, PHY mode(2.4G/5G)=49/49, support 19 channels
    [   44.184000] Enable 20/40 BSSCoex Channel Scan(BssCoex=1)
    [   44.192000] wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:127 for WDEV_TYPE:1
    [   44.192000]  LinkToOmacIdx = 0, LinkToWdevType = 1
    [   44.224000] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO),                 CmdBssInfoBmcRate.u2BcTransmit= 8192,                 CmdBssInfoBmcRate.u2McTransmit = 8196
    [   44.316000] mt7615_apply_dcoc() : reload Central CH [3] BW [0] from cetral freq [2417]  offset [2200] 
    [   44.332000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   44.340000] mt7615_apply_dpd() : reload Central CH [3] BW [0] from cetral freq [2422] i[44] offset [4b20] 
    [   44.360000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   44.368000] MtCmdChannelSwitch: control_chl = 3,control_ch2=0, central_chl = 3 DBDCIdx= 0, Band= 0 
    [   44.368000]  [RadarStateCheck]Set into RD_SILENCE_MODE!  
    [   44.400000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   44.412000] MtCmdTxPowerSKUCtrl: fgTxPowerSKUEn: 1, BandIdx: 0
    [   44.420000] MtCmdTxPowerPercentCtrl: fgTxPowerPercentEn: 1, BandIdx: 0
    [   44.436000] MtCmdTxBfBackoffCtrl: fgTxBFBackoffEn: 1, BandIdx: 0
    [   44.448000] mt7615_bbp_adjust():rf_bw=2, ext_ch=1, PrimCh=116, HT-CentCh=118, VHT-CentCh=122
    [   44.464000] mt7615_apply_dcoc() : reload Central CH [122] BW [2] from cetral freq [5610]  offset [1e00] 
    [   44.484000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   44.492000] mt7615_apply_dpd() : reload Central CH [122] BW [2] from cetral freq [5620] i[29] offset [3e78] 
    [   44.512000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   44.520000] MtCmdChannelSwitch: control_chl = 116,control_ch2=0, central_chl = 122 DBDCIdx= 0, Band= 0 
    [   44.540000] BW = 2,TXStream = 3, RXStream = 3, scan(0)
    [   44.564000] ap_phy_rrm_init_byRf(): AP Set CentralFreq at 122(Prim=116, HT-CentCh=118, VHT-CentCh=122, BBP_BW=2)
    [   44.584000] [WrapDfsRadarDetectStart]: Band0Ch is 116
    [   44.596000] [WrapDfsRadarDetectStart]: Band1Ch is 0
    [   44.620000] LeadTimeForBcn, OmacIdx = 0, WDEV_WITH_BCN_ABILITY
    [   44.632000] ap_ftkd> Initialize FT KDP Module...
    [   44.640000] Main bssid = 04:ab:18:**:**:de
    [   44.648000] MtCmdSetDfsTxStart:(ret = 0)
    [   44.800000] mt7615_apply_dcoc() : reload Central CH [4] BW [0] from cetral freq [2432]  offset [2300] 
    [   44.816000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   44.824000] mt7615_apply_dpd() : reload Central CH [4] BW [0] from cetral freq [2422] i[44] offset [4b20] 
    [   44.844000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   44.852000] MtCmdChannelSwitch: control_chl = 4,control_ch2=0, central_chl = 4 DBDCIdx= 0, Band= 0 
    [   44.872000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   45.092000] mt7615_apply_dcoc() : reload Central CH [5] BW [0] from cetral freq [2432]  offset [2300] 
    [   45.108000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   45.116000] mt7615_apply_dpd() : reload Central CH [5] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   45.136000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   45.144000] MtCmdChannelSwitch: control_chl = 5,control_ch2=0, central_chl = 5 DBDCIdx= 0, Band= 0 
    [   45.164000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   45.384000] mt7615_apply_dcoc() : reload Central CH [6] BW [0] from cetral freq [2432]  offset [2300] 
    [   45.400000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   45.408000] mt7615_apply_dpd() : reload Central CH [6] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   45.428000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   45.436000] MtCmdChannelSwitch: control_chl = 6,control_ch2=0, central_chl = 6 DBDCIdx= 0, Band= 0 
    [   45.456000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   45.688000] mt7615_apply_dcoc() : reload Central CH [7] BW [0] from cetral freq [2447]  offset [2400] 
    [   45.704000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   45.712000] mt7615_apply_dpd() : reload Central CH [7] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   45.732000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   45.740000] MtCmdChannelSwitch: control_chl = 7,control_ch2=0, central_chl = 7 DBDCIdx= 0, Band= 0 
    [   45.760000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   46.036000] mt7615_apply_dcoc() : reload Central CH [8] BW [0] from cetral freq [2447]  offset [2400] 
    [   46.052000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   46.060000] mt7615_apply_dpd() : reload Central CH [8] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   46.080000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   46.088000] MtCmdChannelSwitch: control_chl = 8,control_ch2=0, central_chl = 8 DBDCIdx= 0, Band= 0 
    [   46.108000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   46.328000] mt7615_apply_dcoc() : reload Central CH [9] BW [0] from cetral freq [2447]  offset [2400] 
    [   46.344000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   46.352000] mt7615_apply_dpd() : reload Central CH [9] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   46.372000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   46.380000] MtCmdChannelSwitch: control_chl = 9,control_ch2=0, central_chl = 9 DBDCIdx= 0, Band= 0 
    [   46.400000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   46.620000] mt7615_apply_dcoc() : reload Central CH [10] BW [0] from cetral freq [2467]  offset [2500] 
    [   46.636000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   46.644000] mt7615_apply_dpd() : reload Central CH [10] BW [0] from cetral freq [2462] i[46] offset [4cd0] 
    [   46.664000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   46.672000] MtCmdChannelSwitch: control_chl = 10,control_ch2=0, central_chl = 10 DBDCIdx= 0, Band= 0 
    [   46.692000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   46.972000] mt7615_apply_dcoc() : reload Central CH [11] BW [0] from cetral freq [2467]  offset [2500] 
    [   46.988000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   46.996000] mt7615_apply_dpd() : reload Central CH [11] BW [0] from cetral freq [2462] i[46] offset [4cd0] 
    [   47.016000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   47.024000] MtCmdChannelSwitch: control_chl = 11,control_ch2=0, central_chl = 11 DBDCIdx= 0, Band= 0 
    [   47.044000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   47.264000] ====================================================================
    [   47.276000] Channel   1 : Busy Time =   8058, Skip Channel = FALSE, BwCap = TRUE
    [   47.292000] Channel   2 : Busy Time =   3636, Skip Channel = FALSE, BwCap = TRUE
    [   47.308000] Channel   3 : Busy Time =   5301, Skip Channel = FALSE, BwCap = TRUE
    [   47.320000] Channel   4 : Busy Time =   4243, Skip Channel = FALSE, BwCap = TRUE
    [   47.336000] Channel   5 : Busy Time =   5977, Skip Channel = FALSE, BwCap = TRUE
    [   47.352000] Channel   6 : Busy Time =   4301, Skip Channel = FALSE, BwCap = TRUE
    [   47.364000] Channel   7 : Busy Time =   7705, Skip Channel = FALSE, BwCap = TRUE
    [   47.380000] Channel   8 : Busy Time =   2525, Skip Channel = FALSE, BwCap = TRUE
    [   47.396000] Channel   9 : Busy Time =   2181, Skip Channel = FALSE, BwCap = TRUE
    [   47.408000] Channel  10 : Busy Time =   4815, Skip Channel = FALSE, BwCap = TRUE
    [   47.424000] Channel  11 : Busy Time =   4064, Skip Channel = FALSE, BwCap = TRUE
    [   47.440000] ====================================================================
    [   47.452000] Rule 3 Channel Busy time value : Select Primary Channel 9 
    [   47.468000] Rule 3 Channel Busy time value : Min Channel Busy = 2181
    [   47.480000] Rule 3 Channel Busy time value : BW = 20
    [   47.488000]  AutoChSelUpdateChannel(): Update channel for wdev0 for this band PhyMode = 14,Channel = 9  
    [   47.508000] ApAutoChannelAtBootUp Force Roam Support = 0
    [   47.596000] HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:14,Channel=9
    [   47.616000] CountryCode(2.4G/5G)=1/1, RFIC=25, PHY mode(2.4G/5G)=14/14, support 13 channels
    [   47.632000] Enable 20/40 BSSCoex Channel Scan(BssCoex=1)
    [   47.640000] MtCmdSetMacTxRx:(ret = 0)
    [   47.648000] mt7615_apply_dcoc() : reload Central CH [6] BW [0] from cetral freq [2432]  offset [2300] 
    [   47.668000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   47.676000] mt7615_apply_dpd() : reload Central CH [6] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   47.696000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   47.704000] MtCmdChannelSwitch: control_chl = 6,control_ch2=0, central_chl = 6 DBDCIdx= 0, Band= 0 
    [   47.724000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   47.744000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   48.104000] mt7615_apply_dcoc() : reload Central CH [7] BW [0] from cetral freq [2447]  offset [2400] 
    [   48.120000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   48.128000] mt7615_apply_dpd() : reload Central CH [7] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   48.148000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   48.156000] MtCmdChannelSwitch: control_chl = 7,control_ch2=0, central_chl = 7 DBDCIdx= 0, Band= 0 
    [   48.176000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   48.196000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   48.476000] :MtCmdPktBudgetCtrl: bssid(255),wcid(65535),type(0)
    [   48.536000] mt7615_apply_dcoc() : reload Central CH [8] BW [0] from cetral freq [2447]  offset [2400] 
    [   48.552000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   48.560000] mt7615_apply_dpd() : reload Central CH [8] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   48.580000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   48.588000] MtCmdChannelSwitch: control_chl = 8,control_ch2=0, central_chl = 8 DBDCIdx= 0, Band= 0 
    [   48.608000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   48.628000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   49.052000] mt7615_apply_dcoc() : reload Central CH [9] BW [0] from cetral freq [2447]  offset [2400] 
    [   49.068000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   49.076000] mt7615_apply_dpd() : reload Central CH [9] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   49.096000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   49.104000] MtCmdChannelSwitch: control_chl = 9,control_ch2=0, central_chl = 9 DBDCIdx= 0, Band= 0 
    [   49.124000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   49.144000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   49.540000] mt7615_apply_dcoc() : reload Central CH [10] BW [0] from cetral freq [2467]  offset [2500] 
    [   49.556000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   49.564000] mt7615_apply_dpd() : reload Central CH [10] BW [0] from cetral freq [2462] i[46] offset [4cd0] 
    [   49.584000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   49.592000] MtCmdChannelSwitch: control_chl = 10,control_ch2=0, central_chl = 10 DBDCIdx= 0, Band= 0 
    [   49.612000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   49.632000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   50.036000] mt7615_apply_dcoc() : reload Central CH [11] BW [0] from cetral freq [2467]  offset [2500] 
    [   50.052000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   50.060000] mt7615_apply_dpd() : reload Central CH [11] BW [0] from cetral freq [2462] i[46] offset [4cd0] 
    [   50.080000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   50.088000] MtCmdChannelSwitch: control_chl = 11,control_ch2=0, central_chl = 11 DBDCIdx= 0, Band= 0 
    [   50.108000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   50.128000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   50.436000] mt7615_apply_dcoc() : reload Central CH [12] BW [0] from cetral freq [2467]  offset [2500] 
    [   50.452000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   50.460000] mt7615_apply_dpd() : reload Central CH [12] BW [0] from cetral freq [2462] i[46] offset [4cd0] 
    [   50.480000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   50.488000] MtCmdChannelSwitch: control_chl = 12,control_ch2=0, central_chl = 12 DBDCIdx= 0, Band= 0 
    [   50.508000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   50.528000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   50.876000] mt7615_apply_dcoc() : reload Central CH [13] BW [0] from cetral freq [2467]  offset [2500] 
    [   50.892000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   50.900000] mt7615_apply_dpd() : reload Central CH [13] BW [0] from cetral freq [2462] i[46] offset [4cd0] 
    [   50.920000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   50.928000] MtCmdChannelSwitch: control_chl = 13,control_ch2=0, central_chl = 13 DBDCIdx= 0, Band= 0 
    [   50.948000] BW = 0,TXStream = 3, RXStream = 3, scan(1)
    [   50.968000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   51.276000] wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:127 for WDEV_TYPE:1
    [   51.276000]  LinkToOmacIdx = 0, LinkToWdevType = 1
    [   51.304000] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO),                 CmdBssInfoBmcRate.u2BcTransmit= 0,                 CmdBssInfoBmcRate.u2McTransmit = 0
    [   51.436000]  [RadarStateCheck]Set into RD_NORMAL_MODE  
    [   51.448000] MtCmdTxPowerSKUCtrl: fgTxPowerSKUEn: 1, BandIdx: 0
    [   51.460000] MtCmdTxPowerPercentCtrl: fgTxPowerPercentEn: 1, BandIdx: 0
    [   51.472000] MtCmdTxBfBackoffCtrl: fgTxBFBackoffEn: 1, BandIdx: 0
    [   51.484000] mt7615_bbp_adjust():rf_bw=0, ext_ch=0, PrimCh=9, HT-CentCh=9, VHT-CentCh=0
    [   51.500000] mt7615_apply_dcoc() : reload Central CH [9] BW [0] from cetral freq [2447]  offset [2400] 
    [   51.520000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   51.528000] mt7615_apply_dpd() : reload Central CH [9] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   51.548000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   51.556000] MtCmdChannelSwitch: control_chl = 9,control_ch2=0, central_chl = 9 DBDCIdx= 0, Band= 0 
    [   51.576000] BW = 0,TXStream = 3, RXStream = 3, scan(0)
    [   51.604000] ap_phy_rrm_init_byRf(): AP Set CentralFreq at 9(Prim=9, HT-CentCh=9, VHT-CentCh=0, BBP_BW=0)
    [   51.640000] LeadTimeForBcn, OmacIdx = 0, WDEV_WITH_BCN_ABILITY
    [   51.652000] MtAsicSetRalinkBurstMode(2605): Not support for HIF_MT yet!
    [   51.664000] MtAsicSetPiggyBack(777): Not support for HIF_MT yet!
    [   51.676000] MtAsicSetTxPreamble(2584): Not support for HIF_MT yet!
    [   51.688000] ap_ftkd> Initialize FT KDP Module...
    [   51.700000] Main bssid = 04:ab:18:**:**:dd
    [   51.708000] AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
    [   51.716000] MtCmdSetMacTxRx:(ret = 0)
    [   51.724000] MCS Set = ff ff ff 00 01
    [   51.732000]  cap_vht_bw: 0, correct to cap_vht_bw
    [   51.788000] The new WDS interface MAC = FF:FF:FF:FF:FF:FF
    [   51.800000]   MacTabMatchWCID = 0
    [   51.808000] wlan_operate_set_vht_bw(): new vht_bw:1 > cap_vht_bw: 0, correct to cap_vht_bw
    [   51.824000] The new WDS interface MAC = FF:FF:FF:FF:FF:FF
    [   51.836000]   MacTabMatchWCID = 0
    [   51.844000] wlan_operate_set_vht_bw(): new vht_bw:1 > cap_vht_bw: 0, correct to cap_vht_bw
    [   51.860000] The new WDS interface MAC = FF:FF:FF:FF:FF:FF
    [   51.872000]   MacTabMatchWCID = 0
    [   51.876000] wlan_operate_set_vht_bw(): new vht_bw:1 > cap_vht_bw: 0, correct to cap_vht_bw
    [   51.896000] Total allocated 4 WDS interfaces!
    [   51.904000] wlan_operate_set_vht_bw(): new vht_bw:1 > cap_vht_bw: 0, correct to cap_vht_bw
    [   51.924000] wlan_operate_set_vht_bw(): new vht_bw:1 > cap_vht_bw: 0, correct to cap_vht_bw
    [   51.940000] WtcSetMaxStaNum: MaxStaNum:103, BssidNum:1, WdsNum:4, ApcliNum:2, MaxNumChipRept:16, MinMcastWcid:125
    [   52.040000] red_is_enabled: set CR4/N9 RED Enable to 1.
    [   52.052000] cp_support_is_enabled: set CR4 CP_SUPPORT to Mode 2.
    [   52.064000] Correct apidx from 0 to 0 for WscUUIDInit
    [   52.076000] Generate UUID for apidx(0)
    [   52.148000] device ra0 entered promiscuous mode
    [   52.156000] br-lan: port 3(ra0) entered forwarding state
    [   52.168000] br-lan: port 3(ra0) entered forwarding state
    [   52.808000] 
    [   52.808000]  Set_Led_Proc ==> arg = 00-00-00-00-02-00-00-00
    [   52.824000] 
    [   52.824000] Set_Led_Proc
    [   52.832000] 00
    [   52.836000] 00
    [   52.836000] 00
    [   52.840000] 00
    [   52.844000] 02
    [   52.848000] 00
    [   52.852000] 00
    [   52.856000] 00
    [   52.856000] AndesLedEnhanceOP: Success!
    [   52.904000] 
    [   52.904000]  Set_Led_Proc ==> arg = 00-00-00-00-02-00-00-00
    [   52.916000] 
    [   52.916000] Set_Led_Proc
    [   52.924000] 00
    [   52.928000] 00
    [   52.932000] 00
    [   52.936000] 00
    [   52.940000] 02
    [   52.944000] 00
    [   52.944000] 00
    [   52.948000] 00
    [   52.952000] AndesLedEnhanceOP: Success!
    [   54.172000] br-lan: port 3(ra0) entered forwarding state
    [   62.372000] Ralink HW NAT Module Enabled
    [   62.380000] eth2 ifindex =4
    [   62.384000] eth3 ifindex =b
    start ddns
     
    add_cron
    add_cron data
    FC start
    FC Disable
    

WRC-1750GHBK

吉川のハードオフにて550円ジャンクで見つけ、一度は見送ったものの後にアンケートを取った結果WRC-1750GSと同数で並んだため確保したもの。とにかく筐体がデカい。
弄っていくのでメモ。

Switch

zone WAN LAN
port
(WRC-1750GHBK)
INTERNET LAN4 LAN3 LAN2 LAN1
port
(QCA8337)
port1 port2 port3 port4 port5

MAC

  • LAN: 00:90:FE:xx:xx:E1 (hwconfig, HW.LAN.MAC.Address (text))
  • WAN: 00:90:FE:xx:xx:E0 (hwconfig, HW.WAN.MAC.Address (text))
  • 2.4G: 00:90:FE:xx:xx:E2 (?)
  • 5G: 00:90:FE:xx:xx:E3 (hwconfig, HW.LAN.5G.0.MAC.Address (text))

U-Boot

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

  • version
    ath> version
    
    U-Boot 1.1.4 (Jul  7 2015 - 02:12:19)
    

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

  • printenv
    ath> printenv
    bootargs=console=ttyS0,115200 root=31:02 rootfstype=jffs2 init=/sbin/init mtdparts=ath-nor0:256k(u-boot),64k(u-boot-env),6336k(rootfs),1408k(uImage),8256k(mib0),64k(ART)
    bootdelay=2
    baudrate=115200
    ethaddr=0x00:0xaa:0xbb:0xcc:0xdd:0xee
    ipaddr=192.168.1.1
    serverip=192.168.1.10
    dir=
    lu=tftp 0x80060000 ${dir}u-boot.bin&&erase 0x9f000000 +$filesize&&cp.b $fileaddr 0x9f000000 $filesize
    lf=tftp 0x80060000 ${dir}ap135${bc}-jffs2&&erase 0x9f050000 +0x630000&&cp.b $fileaddr 0x9f050000 $filesize
    lk=tftp 0x80060000 ${dir}vmlinux${bc}.lzma.uImage&&erase 0x9f680000 +$filesize&&cp.b $fileaddr 0x9f680000 $filesize
    stdin=serial
    stdout=serial
    stderr=serial
    ethact=eth0
    bootcmd=bootm 0xbf070000
    
    Environment size: 685/65532 bytes
    

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

  • md.l 0x18050028
    ath> md.l 0x18050028
    18050028: 5a000000    Z...
    

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

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

  • 
    

  • 
    

  • 
    

Kernel

パスワードが設定されていてログイン不可。

  • 
    

  • 
    

  • 
    

  • 
    

  • 
    

  • 
    

  • 
    

  • bootlog
    U-Boot 1.1.4 (Jul  7 2015 - 02:12:19)
    
    ap135 - Scorpion 1.0DRAM:  
    sri
    Scorpion 1.0
    ath_ddr_initial_config(200): (32bit) ddr2 init
    tap = 0x00000003
    Tap (low, high) = (0x4, 0x1d)
    Tap values = (0x10, 0x10, 0x10, 0x10)
    128 MB
    Top of RAM usable for U-Boot at: 88000000
    Reserving 207k for U-Boot at: 87fcc000
    Reserving 192k for malloc() at: 87f9c000
    Reserving 44 Bytes for Board Info at: 87f9bfd4
    Reserving 36 Bytes for Global Data at: 87f9bfb0
    Reserving 128k for boot params() at: 87f7bfb0
    Stack Pointer at: 87f7bf98
    Now running in RAM - U-Boot at: 87fcc000
    Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18
    flash size 16MB, sector count = 256
    Flash: 16 MB
    *** Warning - bad CRC, using default environment
    
    *** Warning *** : PCIe WLAN Module not found !!!
    In:    serial
    Out:   serial
    Err:   serial
    Net:   ath_gmac_enet_initialize...
    athrs_sgmii_res_cal: cal value = 0x1
    Fetching MAC Address from 0x87fef17c
    Fetching MAC Address from 0x87fef17c
    ath_gmac_enet_initialize: reset mask:c02200 
    Scorpion  ----> S17 PHY *
    Vlan config...
    s17 phy0 register value 0x00004140
    TEST: FINAL REG VAL after TX Calibration - 0x4a000000
    TEST: FINAL XMII VAL after RX Calibration - 0x5a000000
    TEST: FINAL ETH_CFG VAL after RX Calibration - 0x00000001
    athrs17_reg_init: complete
    : cfg1 0x80000000 cfg2 0x7335
    eth0: 00:00:00:00:00:00
    eth0 up
    athrs17_reg_init_wan done
    SGMII in forced mode
    athr_gmac_sgmii_setup SGMII done
    : cfg1 0x800c0000 cfg2 0x7214
    eth1: 00:00:00:00:00:00
    eth1 up
    eth0, eth1
    Setting 0x18116290 to 0x458ba14f
    Hit any key to stop autoboot:  0 
    ## Booting image at bf070000 ...
       Image Name:   Linux Kernel Image
       Created:      2015-07-06  21:26:15 UTC
       Image Type:   MIPS Linux Kernel Image (lzma compressed)
       Data Size:    8007596 Bytes =  7.6 MB
       Load Address: 80002000
       Entry Point:  80250e00
       Verifying Checksum at 0xbf070054 ...OK
       Uncompressing Kernel Image ... OK
    No initrd
    ## Transferring control to Linux (at address 80250e00) ...
    ## Giving linux memsize in bytes, 134217728
    
    Starting kernel ...
    
    Booting QCA955x
    Linux version 2.6.31 (root@localhost.localdomain) (gcc version 4.3.3 (GCC) ) #173 Mon Jul 6 23:52:50 CST 2015
    flash_size passed from bootloader = 16
    arg 1: console=ttyS0,115200
    arg 2: root=31:02
    arg 3: rootfstype=jffs2
    arg 4: init=/sbin/init
    arg 5: mtdparts=ath-nor0:256k(u-boot),64k(u-boot-env),6336k(rootfs),1408k(uImage),8256k(mib0),64k(ART)
    arg 6: mem=128M
    cmdLine: console=ttyS0,115200 root=31:04 rootfstype=squashfs init=/sbin/init mtdparts=ath-nor0:256k(u-boot),64k(u-boot-env),128k(nvram),1088k(Kernel),14720k(RootFS),64k(hwconfig),64k(ART),15808k(Uimage) mem=128M 
    CPU revision is: 00019750 (MIPS 74Kc)
    cpu apb ddr apb ath_sys_frequency: cpu 720 ddr 600 ahb 200
    Determined physical RAM map:
     memory: 02000000 @ 00000000 (usable)
    User-defined physical RAM map:
     memory: 08000000 @ 00000000 (usable)
    Zone PFN ranges:
      Normal   0x00000000 -> 0x00008000
    Movable zone start PFN for each node
    early_node_map[1] active PFN ranges
        0: 0x00000000 -> 0x00008000
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
    Kernel command line: console=ttyS0,115200 root=31:04 rootfstype=squashfs init=/sbin/init mtdparts=ath-nor0:256k(u-boot),64k(u-boot-env),128k(nvram),1088k(Kernel),14720k(RootFS),64k(hwconfig),64k(ART),15808k(Uimage) mem=128M 
    PID hash table entries: 512 (order: 9, 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 64kB, VIPT, 4-way, linesize 32 bytes.
    Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
    Writing ErrCtl register=00000000
    Readback ErrCtl register=00000000
    Memory: 112128k/131072k available (2381k kernel code, 18768k reserved, 591k data, 164k init, 0k highmem)
    NR_IRQS:128
    plat_time_init: plat time init done
    Console: colour dummy device 80x25
    Calibrating delay loop... 359.42 BogoMIPS (lpj=718848)
    Mount-cache hash table entries: 512
    
    ****************ALLOC***********************
     Packet mem: 8032d160 (0xe00000 bytes)
    ********************************************
    
    NET: Registered protocol family 16
    ath_pcibios_init: bus 0
    ath_pcibios_init(238): PCI 0 CMD write: 0x356
    registering PCI controller with io_map_base unset
    ath_pcibios_init: bus 1
    ***** Warning PCIe 1 H/W not found !!!
    registering PCI controller with io_map_base unset
    bio: create slab  at 0
    SCSI subsystem initialized
    pci 0000:00:00.0: PME# supported from D0 D1 D3hot
    pci 0000:00:00.0: PME# disabled
    pcibios_map_irq: IRQ 75 for bus 0
    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: 2, 16384 bytes)
    TCP: Hash tables configured (established 4096 bind 4096)
    TCP reno registered
    NET: Registered protocol family 1
    ATH GPIOC major 0
    squashfs: version 4.0 (2009/01/31) Phillip Lougher
    fuse init (API version 7.12)
    msgmni has been set to 219
    io scheduler noop registered
    io scheduler deadline registered (default)
    Initializing edx switch control...
    Done
    Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
    serial8250.0: ttyS0 at MMIO 0xb8020000 (irq = 19) is a 16550A
    console [ttyS0] enabled
    brd: module loaded
    PPP generic driver version 2.4.2
    PPP BSD Compression module registered
    NET: Registered protocol family 24
    8 cmdlinepart partitions found on MTD device ath-nor0
    Creating 8 MTD partitions on "ath-nor0":
    0x000000000000-0x000000040000 : "u-boot"
    0x000000040000-0x000000050000 : "u-boot-env"
    0x000000050000-0x000000070000 : "nvram"
    0x000000070000-0x000000180000 : "Kernel"
    0x000000180000-0x000000fe0000 : "RootFS"
    0x000000fe0000-0x000000ff0000 : "hwconfig"
    0x000000ff0000-0x000001000000 : "ART"
    0x000000070000-0x000000fe0000 : "Uimage"
    Atheros on-chip NAND FLash Controller Driver, Version 0.1 (c) 2010 Atheros Communications, Ltd.
    u32 classifier
        Performance counters on
    Netfilter messages via NETLINK v0.30.
    nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
    CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
    nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
    sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
    ctnetlink v0.93: registering with nfnetlink.
    xt_time: kernel timezone is -0000
    ip_tables: (C) 2000-2006 Netfilter Core Team
    ClusterIP Version 0.8 loaded successfully
    arp_tables: (C) 2002 David S. Miller
    TCP cubic registered
    NET: Registered protocol family 10
    IPv6 over IPv4 tunneling driver
    NET: Registered protocol family 17
    dnshijack
    802.1Q VLAN Support v1.8 Ben Greear 
    All bugs added by David S. Miller 
    athwdt_init: Registering WDT success
    Watchdog Reset count: 2147483844
    ath_otp_init: Registering OTP success
    VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
    Freeing unused kernel memory: 164k freed
    init started: BusyBox v1.12.1 (2014-04-07 20:14:19 CST)
    starting pid 15, tty '': '/etc/init.d/rcS sysinit'
    rc ver. 1.0.1
    Initializing...Success!
    Mounting file systems...Success!
    Creating devices...Success!
    Creating loopback device...Success!
    starting pid 22, tty '': '/etc/init.d/rcS start'
    rc ver. 1.0.2
    Initializing...Success!
    Loading dynamic libraries...Success!
    edx_gpio: module license 'unspecified' taints kernel.
    Disabling lock debugging due to kernel taint
    Initializing EDX GPIO...Done
    Acelink events notification ver. 1.6
    NVRAM access daemon Ver. 1.0 Build 20150603114817
    daemonize process
    Starting L0000Config.so...Done ! (ret=0)
    Starting L0100WLANInterface.so...Done ! (ret=0)
    Starting L0130EthInterface.so...Done ! (ret=0)
    interface ath0 does not exist!
    Invalid command : setVowExt
    Invalid command : set_vsp_enable
    Interface doesn't accept private ioctl...
    setPhyRestartWar (8BE0): Operation not permitted
    Invalid command : setVowExtStats
    Invalid command : bgscan
    Invalid command : extoffset
    Invalid command : bgscan
    Invalid command : extoffset
    Interface doesn't accept private ioctl...
    AMPDU (8BE0): Operation not permitted
    Interface doesn't accept private ioctl...
    AMPDUFrames (8BE0): Operation not permitted
    Interface doesn't accept private ioctl...
    AMPDULim (8BE0): Operation not permitted
    Invalid command : HALDbg
    Invalid command : ATHDebug
    Invalid command : setVowExt
    Invalid command : setKeySrchAlways
    Invalid command : set_vsp_enable
    Invalid command : setPhyRestartWar
    Invalid command : setVowExtStats
    Invalid command : bgscan
    Starting L0200LANConfig.so...Done ! (ret=0)
    1970-01-01 00:00:26: (server.c.915) can't have more connections than fds/2:  1024 824 
    udhcpd: max_leases=235 is too big, setting to 101
    start lld2d...
    start child_net...
    start Router mode accesscontrol...
    starting firewall...
    start house_keeper...
    Starting L0230LANServices.so...Done ! (ret=0)
    Starting L0300WANConfig.so...Done ! (ret=0)
    
    Please press Enter to activate this console. starting wan_event...
    wan_event done !
    Notice: caching turned off
    Notice: caching turned off
    insmod: cannot insert '/sbin/edx_tables.ko': File exists
    device eth1.2 is already a member of a bridge; can't enslave it to bridge br0.
    insmod: cannot insert '/sbin/edx_m2u.ko': File exists
    starting wan_event...
    wan_event done !
    starting wan_event...
    udhcpc receive a leasefail for eth1.2
    wan_event done !
    

WRC-1167GST2

ぼーっと某フリマアプリを眺めていたら、偶然ジャンクで安く出ているこの機種を発見。現行品故になかなか価格落ちてこないので衝動的に購入した。
出品者コメントで問題を抱えていることは把握しており、実機を確認したところ何故かファームウェアのヘッダが削除されずFlashに書き込まれてしまっていたためにブートに失敗していた。このため、先にざっくりとだけOpenWrtでファームウェアを組み上げて利用しメーカーファームに復旧した。
弄っていくのでメモ。

Switch

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

MAC

  • LAN: 04:AB:18:xx:xx:07 (Factory, 0xE000 (hex))
  • WAN: 04:AB:18:xx:xx:08 (Factory, 0xE006 (hex))
  • 2.4G: 04:AB:18:xx:xx:09 (?)
  • 5G: 04:AB:18:xx:xx:0A (?)

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
    model_id=WRC-1167GST2
    board_id=2018C2838637
    wlan0_guest_ssid=e-tomo-******
    wlan0_guest_key=********
    ez_group_id=elecom-******
    wlan0_ssid=elecom-******
    wlan1_ssid=elecom-******
    wlan0_key=************
    wlan1_key=************
    admin_password=********
    wps_pin=********
    hw_version=A1
    wlan0_domain=0x41
    stdin=serial
    stdout=serial
    stderr=serial
    ethact=Eth0 (10/100-M)
    
    Environment size: 467/4092 bytes
    

Kernel

パスワードが設定されている為ログイン不可。failsafeモードから取得。

  • uname -a
    root@MT7621:/# uname -a
    Linux MT7621 3.10.14 #15 SMP Wed Mar 4 10:17:08 CST 2020 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) ) #15 SMP Wed Mar 4 10:17:08 CST 2020
    

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

  • cat /proc/meminfo
    root@MT7621:/# cat /proc/meminfo
    MemTotal:         249944 kB
    MemFree:          232196 kB
    Buffers:            1284 kB
    Cached:             2704 kB
    SwapCached:            0 kB
    Active:             1608 kB
    Inactive:           2968 kB
    Active(anon):        592 kB
    Inactive(anon):        4 kB
    Active(file):       1016 kB
    Inactive(file):     2964 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:               6260 kB
    SReclaimable:        464 kB
    SUnreclaim:         5796 kB
    KernelStack:         368 kB
    PageTables:           88 kB
    NFS_Unstable:          0 kB
    Bounce:                0 kB
    WritebackTmp:          0 kB
    CommitLimit:      124972 kB
    Committed_AS:       1752 kB
    VmallocTotal:    1048372 kB
    VmallocUsed:        6160 kB
    VmallocChunk:    1042056 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
    

  • 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 ===
    PLL3 FB_DL: 0x9, 1/0 = 574/450 25000000
    PLL4 FB_DL: 0x16, 1/0 = 614/410 59000000
    PLL2 FB_DL: 0x1d, 1/0 = 572/452 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    0    1    1    1    1    1    1    1    1
    000F:|    0    0    0    0    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    1    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    0    0    0    1    1    1    0    0    0
    opt_dle value:11
    DRAMC_R0DELDLY[018]=00001D1D
    ==================================================================
                    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 9 9 11 10 9 11 8 7 7 
    10 |    10 11 9 11 9 11 
    --------------------------------------
    
    ==================================================================
    2.dqs window
    x=pass dqs delay value (min~max)center 
    y=0-7bit DQ of every group
    input delay:DQS0 =29 DQS1 = 29
    ==================================================================
    bit     DQS0     bit      DQS1
    0  (1~56)28  8  (0~53)26
    1  (1~54)27  9  (1~53)27
    2  (1~57)29  10  (1~56)28
    3  (1~58)29  11  (1~55)28
    4  (1~58)29  12  (1~56)28
    5  (1~56)28  13  (1~55)28
    6  (1~58)29  14  (2~56)29
    7  (1~58)29  15  (2~55)28
    ==================================================================
    3.dq delay value last
    ==================================================================
    bit|    0  1  2  3  4  5  6  7  8   9
    --------------------------------------
    0 |    11 11 9 11 10 10 11 8 10 9 
    10 |    11 12 10 12 9 12 
    ==================================================================
    ==================================================================
         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 
    ******************************
    Software System Reset Occurred
    ******************************
    flash manufacture id: ef, device id 40 19
    find flash: W25Q256FV
    ============================================ 
    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:  81666880
       Verifying Checksum ... OK
       Uncompressing Kernel Image ... OK
    No initrd
    ## Transferring control to Linux (at address 81666880) ...
    ## 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@eason) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2013.05 r48067) ) #15 SMP Wed Mar 4 10:17:08 CST 2020
    [    0.000000] 
    [    0.000000]  The CPU feqenuce set to 880 MHz
    [    0.000000] GCMP present
    [    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
    [    0.000000] Software DMA cache coherency
    [    0.000000] Determined physical RAM map:
    [    0.000000]  memory: 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 @81bd5000 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=000242a8
    [    0.000000] Readback ErrCtl register=000242a8
    [    0.000000] Memory: 249708k/262144k available (6596k kernel code, 12436k reserved, 2315k data, 236k 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.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] PCIE1 no card, disable it(RST&CLK)
    [    1.708000] PCIE2 no card, disable it(RST&CLK)
    [    1.712000] pcie_link status = 0x1
    [    1.716000] RALINK_RSTCTRL= 1000000
    [    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] interrupt enable status: 100000
    [    1.736000] Port 0 N_FTS = 1b105000
    [    1.740000] config reg done
    [    1.744000] 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: BAR 0: can't assign mem (size 0x80000000)
    [    1.844000] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
    [    1.860000] pci 0000:00:00.0: BAR 1: assigned [mem 0x60100000-0x6010ffff]
    [    1.872000] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
    [    1.888000] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    1.896000] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
    [    1.908000] BAR0 at slot 0 = 0
    [    1.916000] bus=0x0, slot = 0x0
    [    1.924000] res[0]->start = 0
    [    1.928000] res[0]->end = 0
    [    1.932000] res[1]->start = 60100000
    [    1.940000] res[1]->end = 6010ffff
    [    1.948000] res[2]->start = 0
    [    1.952000] res[2]->end = 0
    [    1.960000] res[3]->start = 0
    [    1.964000] res[3]->end = 0
    [    1.972000] res[4]->start = 0
    [    1.976000] res[4]->end = 0
    [    1.980000] res[5]->start = 0
    [    1.988000] res[5]->end = 0
    [    1.992000] bus=0x1, slot = 0x0, irq=0x4
    [    2.000000] res[0]->start = 60000000
    [    2.008000] res[0]->end = 600fffff
    [    2.016000] res[1]->start = 0
    [    2.020000] res[1]->end = 0
    [    2.028000] res[2]->start = 0
    [    2.032000] res[2]->end = 0
    [    2.036000] res[3]->start = 0
    [    2.044000] res[3]->end = 0
    [    2.048000] res[4]->start = 0
    [    2.056000] res[4]->end = 0
    [    2.060000] res[5]->start = 0
    [    2.068000] res[5]->end = 0
    [    2.072000] Switching to clocksource MIPS
    [    2.080000] NET: Registered protocol family 2
    [    2.088000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
    [    2.104000] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
    [    2.116000] TCP: Hash tables configured (established 2048 bind 2048)
    [    2.128000] TCP: reno registered
    [    2.136000] UDP hash table entries: 256 (order: 1, 8192 bytes)
    [    2.148000] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    [    2.160000] NET: Registered protocol family 1
    [    2.168000] RPC: Registered named UNIX socket transport module.
    [    2.180000] RPC: Registered udp transport module.
    [    2.188000] RPC: Registered tcp transport module.
    [    2.200000] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    2.304000] 4 CPUs re-calibrate udelay(lpj = 1163264)
    [    2.316000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    2.328000] jffs2: version 2.2. (NAND) (ZLIB) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
    [    2.344000] fuse init (API version 7.22)
    [    2.352000] msgmni has been set to 487
    [    2.360000] io scheduler noop registered (default)
    [    2.372000] reg_int_mask=0, INT_MASK= 0 
    [    2.380000] HSDMA_init
    [    2.384000] 
    [    2.384000]  hsdma_phy_tx_ring0 = 0x00c00000, hsdma_tx_ring0 = 0xa0c00000
    [    2.400000] 
    [    2.400000]  hsdma_phy_rx_ring0 = 0x00c04000, hsdma_rx_ring0 = 0xa0c04000
    [    2.416000] TX_CTX_IDX0 = 0
    [    2.424000] TX_DTX_IDX0 = 0
    [    2.428000] RX_CRX_IDX0 = 3ff
    [    2.436000] RX_DRX_IDX0 = 0
    [    2.440000] set_fe_HSDMA_glo_cfg
    [    2.448000] HSDMA_GLO_CFG = 465
    [    2.456000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
    [    2.468000] serial8250: ttyS0 at MMIO 0x1e000d00 (irq = 27) is a 16550A
    [    2.480000] serial8250: ttyS1 at MMIO 0x1e000c00 (irq = 26) is a 16550A
    [    2.492000] Ralink gpio driver initialized
    [    2.508000] brd: module loaded
    [    2.512000] flash manufacture id: ef, device id 40 19
    [    2.524000] W25Q256FV(ef 40190000) (32768 Kbytes)
    [    2.532000] mtd .name = raspi, .size = 0x02000000 (32M) .erasesize = 0x00010000 (64K) .numeraseregions = 0
    [    2.552000] Creating 12 MTD partitions on "raspi":
    [    2.560000] 0x000000000000-0x000002000000 : "ALL"
    [    2.572000] 0x000000000000-0x000000030000 : "Bootloader"
    [    2.584000] 0x000000030000-0x000000040000 : "Config"
    [    2.592000] 0x000000040000-0x000000050000 : "Factory"
    [    2.604000] 0x000000050000-0x000001850000 : "firmware"
    [    2.616000] 0x000000050000-0x000000a50000 : "kernel"
    [    2.624000] 0x000000a50000-0x000001850000 : "rootfs"
    [    2.636000] 0x000001850000-0x000001c50000 : "tm_pattern"
    [    2.648000] 0x000001c50000-0x000001d50000 : "tm_key"
    [    2.656000] 0x000001d50000-0x000001e00000 : "nvram"
    [    2.668000] 0x000001e00000-0x000002000000 : "rootfs_data"
    [    2.680000] 0x000000050000-0x000001d50000 : "all_fw_tm"
    [    2.688000] PPP generic driver version 2.4.2
    [    2.696000] PPP BSD Compression module registered
    [    2.708000] PPP MPPE Compression module registered
    [    2.716000] NET: Registered protocol family 24
    [    2.724000] PPTP driver version 0.8.5
    [    2.732000] #############################################
    [    2.744000] ez_init_mod
    [    2.748000] #############################################
    [    2.760000] register mt_drv
    [    2.776000] 
    [    2.776000] 
    [    2.776000] === pAd = c0201000, size = 3961680 ===
    [    2.776000] 
    [    2.796000] PciHif.CSRBaseAddress =0xc0100000, csr_addr=0xc0100000!
    [    2.816000] RTMPInitPCIeDevice():device_id=0x7615
    [    2.828000] DriverOwn()::Try to Clear FW Own...
    [    3.136000] DriverOwn()::Success to clear FW Own
    [    3.144000] mt_pci_chip_cfg(): HWVer=0x8a10, FWVer=0x8a10, pAd->ChipID=0x7615
    [    3.156000] mt_pci_chip_cfg(): HIF_SYS_REV=0x76150001
    [    3.168000] RtmpChipOpsHook(492): Not support for HIF_MT yet! MACVersion=0x0
    [    3.180000] mt7615_init()-->
    [    3.188000] Use 1st iPAiLNA default bin.
    [    3.196000] Use 0st /etc_ro/wlan/MT7615E_EEPROM1.bin default bin.
    [    3.208000] <--mt7615_init()
    [    3.212000] ChipOpsMCUHook
    [    3.224000] cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
    [    3.240000] cut_through_token_list_init(): 8f74d788,8f74d788
    [    3.252000] cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
    [    3.268000] cut_through_token_list_init(): 8f74d798,8f74d798
    [    3.280000]  Regroup Support = 0
    [    3.324000] rdm_major = 253
    [    3.332000] GMAC1_MAC_ADRH -- : 0x000004ab
    [    3.340000] GMAC1_MAC_ADRL -- : 0x181eef07
    [    3.348000] Ralink APSoC Ethernet Driver Initilization. v3.1  1024 rx/tx descriptors allocated, mtu = 1500!
    [    3.368000] [LOG]|WIRE| LAN Starting
    [    3.372000] GMAC1_MAC_ADRH -- : 0x000004ab
    [    3.380000] GMAC1_MAC_ADRL -- : 0x181eef07
    [    3.392000] PROC INIT OK!
    [    3.396000] nf_conntrack version 0.5.0 (3901 buckets, 15604 max)
    [    3.408000] xt_time: kernel timezone is -0000
    [    3.416000] gre: GRE over IPv4 demultiplexor driver
    [    3.428000] ip_tables: (C) 2000-2006 Netfilter Core Team
    [    3.436000] Type=Restricted Cone
    [    3.444000] TCP: cubic registered
    [    3.452000] NET: Registered protocol family 10
    [    3.460000] sit: IPv6 over IPv4 tunneling driver
    [    3.472000] NET: Registered protocol family 17
    [    3.480000] Bridge firewalling registered
    [    3.488000] Ebtables v2.0 registered
    [    3.496000] l2tp_core: L2TP core driver, V2.0
    [    3.504000] l2tp_ppp: PPPoL2TP kernel driver, V2.0
    [    3.512000] l2tp_netlink: L2TP netlink interface
    [    3.520000] 8021q: 802.1Q VLAN Support v1.8
    [    3.536000] VFS: Mounted root (squashfs filesystem) readonly on device 31:6.
    [    3.552000] Freeing unused kernel memory: 236K (818b5000 - 818f0000)
    [    4.236000] init: Console is alive
    [    5.252000] 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.468000] jffs2: notice: (99) jffs2_build_xattr_subsystem: complete building xattr subsystem, 4 of xdatum (0 unchecked, 2 orphan) and 94 of xref (0 dead, 84 orphan) found.
    [    8.500000] 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
    Af[    8.556000] procd: - early -
    ter mount_root
    [    9.164000] procd: - ubus -
    [   10.180000] procd: - init -
    Please press Enter to activate this console.
    [   15.348000] ip_gre: GRE over IPv4 tunneling driver
    [   15.376000] bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
    [   15.592000] /proc/router_ip created
    [   15.836000] ip6_tables: (C) 2000-2006 Netfilter Core Team
    [   15.860000] Netfilter messages via NETLINK v0.30.
    [   16.016000] ctnetlink v0.93: registering with nfnetlink.
    [   16.088000] u32 classifier
    [   16.092000]     Performance counters on
    [   16.100000]     Actions configured
    [   16.120000] Mirror/redirect action on
    [   16.140000] Failed to load ipt action
    [   18.760000]  4:FFFFFFAB:18:1E:FFFFFFEF: 7
    [   18.768000] Raeth v3.1 (Tasklet)
    [   18.776000] set CLK_CFG_0 = 0x40a00020!!!!!!!!!!!!!!!!!!1
    [   18.792000] phy_free_head is 0xc18000!!!
    [   18.796000] phy_free_tail_phy is 0xc19ff0!!!
    [   18.808000] txd_pool=a0c60000 phy_txd_pool=00C60000
    [   18.816000] ei_local->skb_free start address is 0x8f1026cc.
    [   18.828000] free_txd: 00c60010, ei_local->cpu_ptr: 00C60000
    [   18.840000]  POOL  HEAD_PTR | DMA_PTR | CPU_PTR 
    [   18.848000] ----------------+---------+--------
    [   18.856000]      0xa0c60000 0x00C60000 0x00C60000
    [   18.868000] 
    [   18.868000] phy_qrx_ring = 0x00c1a000, qrx_ring = 0xa0c1a000
    [   18.884000] 
    [   18.884000] phy_rx_ring0 = 0x00c1c000, rx_ring[0] = 0xa0c1c000
    [   18.920000] MT7530 Reset Completed!!
    [   18.932000] change HW-TRAP to 0x117c8f
    [   18.940000] set LAN/WAN WLLLL
    [   18.952000] GMAC1_MAC_ADRH -- : 0x000004ab
    [   18.960000] GMAC1_MAC_ADRL -- : 0x181eef07
    [   18.968000] GDMA2_MAC_ADRH -- : 0x000004ab
    [   18.976000] GDMA2_MAC_ADRL -- : 0x181eef08
    [   18.984000] eth3: ===> VirtualIF_open
    [   18.992000] MT7621 GE2 link rate to 1G
    [   19.000000] CDMA_CSG_CFG = 81000000
    [   19.008000] GDMA1_FWD_CFG = 20710000
    [   19.012000] GDMA2_FWD_CFG = 20710000
    [   19.036000] eth3: ===> VirtualIF_open
    [   19.536000] eth3: ===> VirtualIF_close
    [   19.556000] ra2880stop()...Done
    [   19.564000] eth3: ===> VirtualIF_close
    [   19.572000] Free TX/RX Ring Memory!
    [   19.584000]  4:FFFFFFAB:18:1E:FFFFFFEF: 7
    [   19.592000] Raeth v3.1 (Tasklet)
    [   19.604000] set CLK_CFG_0 = 0x40a00020!!!!!!!!!!!!!!!!!!1
    [   19.616000] phy_free_head is 0xc18000!!!
    [   19.624000] phy_free_tail_phy is 0xc19ff0!!!
    [   19.632000] txd_pool=a0c60000 phy_txd_pool=00C60000
    [   19.644000] ei_local->skb_free start address is 0x8f1026cc.
    [   19.656000] free_txd: 00c60010, ei_local->cpu_ptr: 00C60000
    [   19.668000]  POOL  HEAD_PTR | DMA_PTR | CPU_PTR 
    [   19.676000] ----------------+---------+--------
    [   19.684000]      0xa0c60000 0x00C60000 0x00C60000
    [   19.696000] 
    [   19.696000] phy_qrx_ring = 0x00c1a000, qrx_ring = 0xa0c1a000
    [   19.712000] 
    [   19.712000] phy_rx_ring0 = 0x00c1c000, rx_ring[0] = 0xa0c1c000
    [   19.744000] MT7530 Reset Completed!!
    [   19.760000] change HW-TRAP to 0x117c8f
    [   19.768000] set LAN/WAN WLLLL
    [   19.780000] GMAC1_MAC_ADRH -- : 0x000004ab
    [   19.788000] GMAC1_MAC_ADRL -- : 0x181eef07
    [   19.796000] eth3: ===> VirtualIF_open
    [   19.804000] MT7621 GE2 link rate to 1G
    [   19.804000] CDMA_CSG_CFG = 81000000
    [   19.804000] GDMA1_FWD_CFG = 20710000
    [   19.804000] GDMA2_FWD_CFG = 20710000
    [   19.804000] device eth2 entered promiscuous mode
    [   19.804000] br-lan: port 1(eth2) entered forwarding state
    [   19.804000] br-lan: port 1(eth2) entered forwarding state
    [   19.804000] eth3: ===> VirtualIF_open
    dnsmasq
    dnsmasq [br-lan]
    [   21.808000] br-lan: port 1(eth2) entered forwarding state
    [   22.448000] [LOG]|WIRE| LAN - Port0 Link UP
    [   22.712000] [LOG]|WIRE| LAN - Port3 Link UP
    UHTTP crt Checked
    main init
    main init
    page=[/setup/index.html]
    page=[/setup/index.html]
    count=[43]
    count=[43]
    [   26.000000] Ralink HW NAT Module Enabled
    [   26.012000] eth2 ifindex =3
    [   26.016000] eth3 ifindex =a
    [   27.764000] jffs2: notice: (2426) 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.900000] jffs2: notice: (2652) 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.128000] DriverOwn()::Return since already in Driver Own...
    [   30.144000] APWdsInitialize():WdsEntry[0]
    [   30.152000] APWdsInitialize():WdsEntry[1]
    [   30.160000] APWdsInitialize():WdsEntry[2]
    [   30.172000] APWdsInitialize():WdsEntry[3]
    [   30.180000] [wifi_fwd_set_cb_num] band_cb_offset=33, recv_from_cb_offset=34
    [   30.196000] 
    [   30.196000] [Force Roam] => Force Roam Support = 0
    [   30.360000] multi-profile merge success, en:1,pf1_num:1,pf2_num:1,total:2
    [   30.392000] MacAddress1 = 00:00:00:00:00:00
    [   30.400000] E2pAccessMode=2
    [   30.408000] SSID[0]=elecom-1eef07, EdcaIdx=0
    [   30.416000] SSID[1]=elecom-1eef07, EdcaIdx=0
    [   30.424000] RTMPSetProfileParameters(): DBDC Mode=1
    [   30.436000] TriBandChGrp=0/0/0/0
    [   30.444000] cfg_mode=14
    [   30.448000] cfg_mode=14
    [   30.452000] wmode_band_equal(): Band Equal!
    [   30.464000] cfg_mode=9
    [   30.468000] cfg_mode=9
    [   30.472000] BandSteering=0
    [   30.480000] BndStrgBssIdx=1;1
    [   30.488000] [TxPower] BAND0: 100, BAND1: 100 
    [   30.496000] [SKUenable] BAND0: 1, BAND1: 1 
    [   30.504000] [PERCENTAGEenable] BAND0: 1, BAND1: 1 
    [   30.516000] [BFBACKOFFenable] BAND0: 1, BAND1: 1 
    [   30.524000] CalCacheApply = 0 
    [   30.532000] tdts: module license 'Proprietary' taints kernel.
    [   30.532000] APEdca0
    [   30.532000] Valid=1
    [   30.532000] APAifsn[0]=3
    [   30.532000] APAifsn[1]=7
    [   30.532000] APAifsn[2]=1
    [   30.532000] APAifsn[3]=1
    [   30.532000] APEdca1
    [   30.536000] Valid=1
    [   30.536000] APAifsn[0]=3
    [   30.536000] APAifsn[1]=7
    [   30.536000] APAifsn[2]=1
    [   30.536000] APAifsn[3]=1
    [   30.536000] APEdca2
    [   30.536000] APEdca3
    [   30.540000] BSSAifsn[0]=3
    [   30.540000] BSSAifsn[1]=7
    [   30.540000] BSSAifsn[2]=2
    [   30.540000] BSSAifsn[3]=2
    [   30.540000] BSSAifsn[0]=3
    [   30.540000] BSSAifsn[1]=7
    [   30.540000] BSSAifsn[2]=2
    [   30.540000] BSSAifsn[3]=2
    [   30.540000] APSDCapable[0]=0
    [   30.540000] APSDCapable[1]=0
    [   30.540000] default ApCliAPSDCapable[0]=0
    [   30.540000] default ApCliAPSDCapable[1]=0
    [   30.544000] DfsZeroWait Support=0/0 
    [   30.544000] DfsZeroWaitCacTime=0/0 
    [   30.592000] rtmp_read_wds_from_file(): WDS Profile
    [   30.592000] APWdsInitialize():WdsEntry[0]
    [   30.592000] APWdsInitialize():WdsEntry[1]
    [   30.592000] APWdsInitialize():WdsEntry[2]
    [   30.592000] APWdsInitialize():WdsEntry[3]
    [   30.592000] WDS-Enable mode=0
    [   30.596000] AndesSendCmdMsg: Could not send in band command due to diablefRTMP_ADAPTER_MCU_SEND_IN_BAND_CMD
    [   30.600000] HT: WDEV[0] Ext Channel = ABOVE
    [   30.600000] HT: WDEV[1] Ext Channel = ABOVE
    [   30.600000] HT: greenap_cap = 0
    [   30.664000] IcapMode = 0
    [   30.676000] WtcSetMaxStaNum: MaxStaNum:102, BssidNum:2, WdsNum:4, ApcliNum:2, MaxNumChipRept:16, MinMcastWcid:124
    [   30.676000] Top Init Done!
    [   30.676000] Use alloc_skb
    [   30.676000] RX[0] DESC a0c14000 size = 16384
    [   30.680000] RX[1] DESC a0c12000 size = 8192
    [   30.680000] Hif Init Done!
    [   30.680000] ctl->txq = c05c32c0
    [   30.680000] ctl->rxq = c05c32cc
    [   30.680000] ctl->ackq = c05c32d8
    [   30.680000] ctl->kickq = c05c32e4
    [   30.680000] ctl->tx_doneq = c05c32f0
    [   30.680000] ctl->rx_doneq = c05c32fc
    [   30.684000] mt7615_fw_prepare():FW(8a10), HW(8a10), CHIPID(7615))
    [   30.684000] mt7615_fw_prepare(2687): MT7615_E3, USE E3 patch and ram code binary image
    [   30.684000] AndesMTLoadRomMethodFwDlRing(1035), cap->rom_patch_len(11102)
    [   30.684000] AndesRestartCheck: Current TOP_MISC2(0x1)
    [   30.684000] AndesRestartCheck: (TOP_MISC2 = 1), ready to continue...RET(0)
    [   30.684000] 20170809192718a
    [   30.684000] 
    [   30.684000] platform = 
    [   30.684000] ALPS
    [   30.684000] hw/sw version = 
    [   30.684000] 8a108a10
    [   30.684000] patch version = 
    [   30.684000] 00000010
    [   30.684000] Patch SEM Status=2
    [   30.684000] MtCmdPatchSemGet:(ret = 0)
    [   30.684000] 
    [   30.684000] Patch is not ready && get semaphore success, SemStatus(2)
    [   30.684000] EventGenericEventHandler: CMD Success
    [   30.684000] MtCmdAddressLenReq:(ret = 0)
    [   30.684000] MtCmdPatchFinishReq
    [   30.696000] EventGenericEventHandler: CMD Success
    [   30.696000] Send checksum req..
    [   30.696000] Patch SEM Status=3
    [   30.696000] MtCmdPatchSemGet:(ret = 0)
    [   30.696000] 
    [   30.696000] Release patch semaphore, SemStatus(3)
    [   30.696000] AndesMTEraseRomPatch
    [   30.696000] WfMcuHwInit: Before NICLoadFirmware, check IcapMode=0
    [   30.696000] AndesMTLoadFwMethodFwDlRing(809), cap->fw_len(462248)
    [   30.696000] Build Date:_201708190346
    [   30.696000] Build Date:_201708190346
    [   30.696000] AndesRestartCheck: Current TOP_MISC2(0x1)
    [   30.696000] AndesRestartCheck: (TOP_MISC2 = 1), ready to continue...RET(0)
    [   30.696000] EventGenericEventHandler: CMD Success
    [   30.696000] MtCmdAddressLenReq:(ret = 0)
    [   30.700000] EventGenericEventHandler: CMD Success
    [   30.744000] MtCmdAddressLenReq:(ret = 0)
    [   30.744000] MtCmdFwStartReq: override = 1, address = 540672
    [   30.748000] EventGenericEventHandler: CMD Success
    [   30.748000] Build Date:_201707211524
    [   30.748000] EventGenericEventHandler: CMD Success
    [   30.748000] MtCmdAddressLenReq:(ret = 0)
    [   30.748000] MtCmdFwStartReq: override = 4, address = 0
    [   30.800000] EventGenericEventHandler: CMD Success
    [   30.852000] WfMcuHwInit: NICLoadFirmware OK, Check IcapMode=0
    [   30.852000] MCU Init Done!
    [   30.852000]  MtCmdSetRlmPorCal: (ret = 0) 
    [   30.852000] efuse_probe: efuse = 10000212
    [   30.852000] RtmpChipOpsEepromHook::e2p_type=2, inf_Type=5
    [   30.852000] RtmpEepromGetDefault::e2p_dafault=1
    [   30.852000] RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 2, E2P default = 1
    [   30.852000] NVM is FLASH mode. dev_idx [0] FLASH OFFSET [0x0]
    [   30.868000] NICReadEEPROMParameters: EEPROM 0x52 b317
    [   30.876000] MtCmdSetTxLpfCal:(ret = 0)
    [   30.876000] MtCmdSetTxIqCal:(ret = 0)
    [   30.876000] MtCmdSetTxDcCal:(ret = 0)
    [   30.876000] MtCmdSetRxFiCal:(ret = 0)
    [   30.876000] NICReadEEPROMParameters: EEPROM 0x52 b317
    [   31.376000] Disabling lock debugging due to kernel taint
    [   31.416000] Init chrdev /dev/detector with major 190
    [   31.420000] Country Region from e2p = 101
    [   31.420000] mt7615_antenna_default_reset(): TxPath = 4, RxPath = 4
    [   31.420000] mt7615_antenna_default_reset(): DBDC 2G TxPath = 2, 2G RxPath = 2
    [   31.420000] mt7615_antenna_default_reset(): DBDC 5G TxPath = 2, 2G RxPath = 2
    [   31.420000] rtmp_read_txpwr_from_eeprom(233): Don't Support this now!
    [   31.420000] RTMPReadTxPwrPerRate(1381): Don't Support this now!
    [   31.420000] RcRadioInit(): DbdcMode=1, ConcurrentBand=2
    [   31.420000] RcRadioInit(): pRadioCtrl=8f74e454,Band=0,rfcap=1,channel=1,PhyMode=2 extCha=0xf
    [   31.420000] RcRadioInit(): pRadioCtrl=8f74e540,Band=1,rfcap=2,channel=36,PhyMode=1 extCha=0xf
    [   31.420000] MtCmdSetDbdcCtrl:(ret = 0)
    [   31.420000] Band Rf: 1, Phy Mode: 2
    [   31.420000] Band Rf: 2, Phy Mode: 1
    [   31.420000] AntCfgInit(2766): Not support for HIF_MT yet!
    [   31.420000] MtSingleSkuLoadParam: RF_LOCKDOWN Feature OFF !!!
    [   31.484000] MtBfBackOffLoadTable: RF_LOCKDOWN Feature OFF !!!
    [   31.596000] EEPROM Init Done!
    [   31.596000] mt_mac_init()-->
    [   31.596000] mt_mac_pse_init(2750): Don't Support this now!
    [   31.596000] mt7615_init_mac_cr()-->
    [   31.596000] mt7615_init_mac_cr(): TMAC_TRCR0=0x82783c8c
    [   31.596000] mt7615_init_mac_cr(): TMAC_TRCR1=0x82783c8c
    [   31.596000] MtAsicSetMacMaxLen(1300): Not finish Yet!
    [   31.596000] 
    [   31.616000] ApAutoChannelAtBootUp: AutoChannelBootup = 1, AutoChannelFlag = 3
    [   31.616000] MtCmdSetMacTxRx:(ret = 0)
    [   31.616000] MtCmdSetMacTxRx:(ret = 0)
    [   31.616000] mt7615_apply_dcoc() : reload Central CH [42] BW [2] from cetral freq [5210]  offset [1900] 
    [   31.616000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   31.616000] mt7615_apply_dpd() : reload Central CH [42] BW [2] from cetral freq [5220] i[9] offset [2d98] 
    [   31.616000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   31.616000] MtCmdChannelSwitch: control_chl = 36,control_ch2=0, central_chl = 42 DBDCIdx= 1, Band= 0 
    [   31.616000] BW = 2,TXStream = 2, RXStream = 2, scan(1)
    [   31.824000] mt7615_apply_dcoc() : reload Central CH [42] BW [2] from cetral freq [5210]  offset [1900] 
    [   31.824000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   31.824000] mt7615_apply_dpd() : reload Central CH [42] BW [2] from cetral freq [5220] i[9] offset [2d98] 
    [   31.824000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   31.824000] MtCmdChannelSwitch: control_chl = 40,control_ch2=0, central_chl = 42 DBDCIdx= 1, Band= 0 
    [   31.824000] BW = 2,TXStream = 2, RXStream = 2, scan(1)
    [   32.012000] tdts: tcp_conn_max = 4000
    [   32.012000] 
    [   32.024000] tdts: tcp_conn_timeout = 300 sec
    [   32.024000] 
    [   32.032000] mt7615_apply_dcoc() : reload Central CH [42] BW [2] from cetral freq [5210]  offset [1900] 
    [   32.032000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   32.032000] mt7615_apply_dpd() : reload Central CH [42] BW [2] from cetral freq [5220] i[9] offset [2d98] 
    [   32.032000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   32.032000] MtCmdChannelSwitch: control_chl = 44,control_ch2=0, central_chl = 42 DBDCIdx= 1, Band= 0 
    [   32.032000] BW = 2,TXStream = 2, RXStream = 2, scan(1)
    [   32.224000] SHN Release Version: 1.0.0 RELS_0004
    [   32.232000] UDB Core Version: 0.2.18
    [   32.240000] mt7615_apply_dcoc() : reload Central CH [42] BW [2] from cetral freq [5210]  offset [1900] 
    [   32.240000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   32.240000] mt7615_apply_dpd() : reload Central CH [42] BW [2] from cetral freq [5220] i[9] offset [2d98] 
    [   32.240000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   32.240000] MtCmdChannelSwitch: control_chl = 48,control_ch2=0, central_chl = 42 DBDCIdx= 1, Band= 0 
    [   32.240000] BW = 2,TXStream = 2, RXStream = 2, scan(1)
    [   32.324000] Init chrdev /dev/idpfw with major 191
    [   32.380000] IDPfw: IDPfw is ready
    [   32.388000] sizeof forward pkt param = 192
    Running license control..waiting 25 second ...
    [   32.456000] mt7615_apply_dcoc() : reload Central CH [58] BW [2] from cetral freq [5290]  offset [1a00] 
    [   32.472000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   32.480000] mt7615_apply_dpd() : reload Central CH [58] BW [2] from cetral freq [5300] i[13] offset [30f8] 
    [   32.500000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   32.512000] MtCmdChannelSwitch: control_chl = 52,control_ch2=0, central_chl = 58 DBDCIdx= 1, Band= 0 
    [   32.528000] BW = 2,TXStream = 2, RXStream = 2, scan(1)
    [   32.748000] mt7615_apply_dcoc() : reload Central CH [58] BW [2] from cetral freq [5290]  offset [1a00] 
    [   32.764000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   32.772000] mt7615_apply_dpd() : reload Central CH [58] BW [2] from cetral freq [5300] i[13] offset [30f8] 
    [   32.792000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   32.800000] MtCmdChannelSwitch: control_chl = 56,control_ch2=0, central_chl = 58 DBDCIdx= 1, Band= 0 
    [   32.820000] BW = 2,TXStream = 2, RXStream = 2, scan(1)
    [   33.144000] mt7615_apply_dcoc() : reload Central CH [58] BW [2] from cetral freq [5290]  offset [1a00] 
    [   33.160000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   33.168000] mt7615_apply_dpd() : reload Central CH [58] BW [2] from cetral freq [5300] i[13] offset [30f8] 
    [   33.188000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   33.200000] MtCmdChannelSwitch: control_chl = 60,control_ch2=0, central_chl = 58 DBDCIdx= 1, Band= 0 
    [   33.216000] BW = 2,TXStream = 2, RXStream = 2, scan(1)
    [   33.500000] mt7615_apply_dcoc() : reload Central CH [58] BW [2] from cetral freq [5290]  offset [1a00] 
    [   33.516000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   33.524000] mt7615_apply_dpd() : reload Central CH [58] BW [2] from cetral freq [5300] i[13] offset [30f8] 
    [   33.544000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   33.556000] MtCmdChannelSwitch: control_chl = 64,control_ch2=0, central_chl = 58 DBDCIdx= 1, Band= 0 
    [   33.572000] BW = 2,TXStream = 2, RXStream = 2, scan(1)
    [   33.812000] mt7615_apply_dcoc() : reload Central CH [106] BW [2] from cetral freq [5530]  offset [1d00] 
    [   33.828000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   33.836000] mt7615_apply_dpd() : reload Central CH [106] BW [2] from cetral freq [5540] i[25] offset [3b18] 
    [   33.856000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   33.868000] MtCmdChannelSwitch: control_chl = 100,control_ch2=0, central_chl = 106 DBDCIdx= 1, Band= 0 
    [   33.884000] BW = 2,TXStream = 2, RXStream = 2, scan(1)
    [   34.104000] mt7615_apply_dcoc() : reload Central CH [106] BW [2] from cetral freq [5530]  offset [1d00] 
    [   34.120000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   34.132000] mt7615_apply_dpd() : reload Central CH [106] BW [2] from cetral freq [5540] i[25] offset [3b18] 
    [   34.148000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   34.160000] MtCmdChannelSwitch: control_chl = 104,control_ch2=0, central_chl = 106 DBDCIdx= 1, Band= 0 
    [   34.176000] BW = 2,TXStream = 2, RXStream = 2, scan(1)
    [   34.452000] mt7615_apply_dcoc() : reload Central CH [106] BW [2] from cetral freq [5530]  offset [1d00] 
    [   34.468000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   34.476000] mt7615_apply_dpd() : reload Central CH [106] BW [2] from cetral freq [5540] i[25] offset [3b18] 
    [   34.496000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   34.508000] MtCmdChannelSwitch: control_chl = 108,control_ch2=0, central_chl = 106 DBDCIdx= 1, Band= 0 
    [   34.524000] BW = 2,TXStream = 2, RXStream = 2, scan(1)
    [   34.744000] mt7615_apply_dcoc() : reload Central CH [106] BW [2] from cetral freq [5530]  offset [1d00] 
    [   34.760000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   34.772000] mt7615_apply_dpd() : reload Central CH [106] BW [2] from cetral freq [5540] i[25] offset [3b18] 
    [   34.792000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   34.800000] MtCmdChannelSwitch: control_chl = 112,control_ch2=0, central_chl = 106 DBDCIdx= 1, Band= 0 
    [   34.816000] BW = 2,TXStream = 2, RXStream = 2, scan(1)
    [   35.056000] mt7615_apply_dcoc() : reload Central CH [122] BW [2] from cetral freq [5610]  offset [1e00] 
    [   35.072000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   35.080000] mt7615_apply_dpd() : reload Central CH [122] BW [2] from cetral freq [5620] i[29] offset [3e78] 
    [   35.100000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   35.112000] MtCmdChannelSwitch: control_chl = 116,control_ch2=0, central_chl = 122 DBDCIdx= 1, Band= 0 
    [   35.128000] BW = 2,TXStream = 2, RXStream = 2, scan(1)
    [   35.376000] mt7615_apply_dcoc() : reload Central CH [122] BW [2] from cetral freq [5610]  offset [1e00] 
    [   35.392000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   35.400000] mt7615_apply_dpd() : reload Central CH [122] BW [2] from cetral freq [5620] i[29] offset [3e78] 
    [   35.424000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   35.432000] MtCmdChannelSwitch: control_chl = 120,control_ch2=0, central_chl = 122 DBDCIdx= 1, Band= 0 
    [   35.448000] BW = 2,TXStream = 2, RXStream = 2, scan(1)
    [   35.668000] mt7615_apply_dcoc() : reload Central CH [122] BW [2] from cetral freq [5610]  offset [1e00] 
    [   35.684000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   35.692000] mt7615_apply_dpd() : reload Central CH [122] BW [2] from cetral freq [5620] i[29] offset [3e78] 
    [   35.712000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   35.724000] MtCmdChannelSwitch: control_chl = 124,control_ch2=0, central_chl = 122 DBDCIdx= 1, Band= 0 
    [   35.740000] BW = 2,TXStream = 2, RXStream = 2, scan(1)
    [   35.972000] mt7615_apply_dcoc() : reload Central CH [122] BW [2] from cetral freq [5610]  offset [1e00] 
    [   35.988000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   35.996000] mt7615_apply_dpd() : reload Central CH [122] BW [2] from cetral freq [5620] i[29] offset [3e78] 
    [   36.016000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   36.028000] MtCmdChannelSwitch: control_chl = 128,control_ch2=0, central_chl = 122 DBDCIdx= 1, Band= 0 
    [   36.044000] BW = 2,TXStream = 2, RXStream = 2, scan(1)
    [   36.264000] ====================================================================
    [   36.276000] Channel  36 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   36.292000] Channel  40 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   36.308000] Channel  44 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   36.320000] Channel  48 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   36.336000] Channel  52 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   36.352000] Channel  56 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   36.364000] Channel  60 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   36.380000] Channel  64 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   36.396000] Channel 100 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   36.408000] Channel 104 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   36.424000] Channel 108 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   36.440000] Channel 112 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   36.452000] Channel 116 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   36.468000] Channel 120 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   36.484000] Channel 124 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   36.500000] Channel 128 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   36.512000] ====================================================================
    [   36.528000] Rule 3 Channel Busy time value : Select Primary Channel 36 
    [   36.540000] Rule 3 Channel Busy time value : Min Channel Busy = 0
    [   36.552000] Rule 3 Channel Busy time value : BW = 80
    [   36.564000]  AutoChSelUpdateChannel(): Update channel for wdev0 for this band PhyMode = 49,Channel = 36  
    [   36.584000]  AutoChSelUpdateChannel(): Update channel for wdev1 for this band PhyMode = 14,Channel = 0  
    [   36.604000] mt7615_apply_dcoc() : reload Central CH [1] BW [0] from cetral freq [2417]  offset [2200] 
    [   36.624000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   36.632000] mt7615_apply_dpd() : reload Central CH [1] BW [0] from cetral freq [2422] i[44] offset [4b20] 
    [   36.652000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   36.660000] MtCmdChannelSwitch: control_chl = 1,control_ch2=0, central_chl = 1 DBDCIdx= 0, Band= 0 
    [   36.676000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
    [   36.936000] mt7615_apply_dcoc() : reload Central CH [2] BW [0] from cetral freq [2417]  offset [2200] 
    [   36.952000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   36.960000] mt7615_apply_dpd() : reload Central CH [2] BW [0] from cetral freq [2422] i[44] offset [4b20] 
    [   36.980000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   36.988000] MtCmdChannelSwitch: control_chl = 2,control_ch2=0, central_chl = 2 DBDCIdx= 0, Band= 0 
    [   37.008000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
    [   37.228000] mt7615_apply_dcoc() : reload Central CH [3] BW [0] from cetral freq [2417]  offset [2200] 
    [   37.244000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   37.252000] mt7615_apply_dpd() : reload Central CH [3] BW [0] from cetral freq [2422] i[44] offset [4b20] 
    [   37.272000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   37.280000] MtCmdChannelSwitch: control_chl = 3,control_ch2=0, central_chl = 3 DBDCIdx= 0, Band= 0 
    [   37.300000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
    [   37.520000] mt7615_apply_dcoc() : reload Central CH [4] BW [0] from cetral freq [2432]  offset [2300] 
    [   37.536000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   37.544000] mt7615_apply_dpd() : reload Central CH [4] BW [0] from cetral freq [2422] i[44] offset [4b20] 
    [   37.564000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   37.572000] MtCmdChannelSwitch: control_chl = 4,control_ch2=0, central_chl = 4 DBDCIdx= 0, Band= 0 
    [   37.592000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
    [   37.856000] mt7615_apply_dcoc() : reload Central CH [5] BW [0] from cetral freq [2432]  offset [2300] 
    [   37.872000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   37.880000] mt7615_apply_dpd() : reload Central CH [5] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   37.900000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   37.908000] MtCmdChannelSwitch: control_chl = 5,control_ch2=0, central_chl = 5 DBDCIdx= 0, Band= 0 
    [   37.928000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
    [   38.148000] mt7615_apply_dcoc() : reload Central CH [6] BW [0] from cetral freq [2432]  offset [2300] 
    [   38.164000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   38.172000] mt7615_apply_dpd() : reload Central CH [6] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   38.192000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   38.200000] MtCmdChannelSwitch: control_chl = 6,control_ch2=0, central_chl = 6 DBDCIdx= 0, Band= 0 
    [   38.220000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
    [   38.464000] mt7615_apply_dcoc() : reload Central CH [7] BW [0] from cetral freq [2447]  offset [2400] 
    [   38.480000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   38.488000] mt7615_apply_dpd() : reload Central CH [7] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   38.508000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   38.520000] MtCmdChannelSwitch: control_chl = 7,control_ch2=0, central_chl = 7 DBDCIdx= 0, Band= 0 
    [   38.536000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
    ntp sync server OK
    [   38.756000] mt7615_apply_dcoc() : reload Central CH [8] BW [0] from cetral freq [2447]  offset [2400] 
    [   38.772000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   38.780000] mt7615_apply_dpd() : reload Central CH [8] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   38.800000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   38.808000] MtCmdChannelSwitch: control_chl = 8,control_ch2=0, central_chl = 8 DBDCIdx= 0, Band= 0 
    [   38.828000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
    [   39.048000] mt7615_apply_dcoc() : reload Central CH [9] BW [0] from cetral freq [2447]  offset [2400] 
    [   39.064000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   39.072000] mt7615_apply_dpd() : reload Central CH [9] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   39.092000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   39.100000] MtCmdChannelSwitch: control_chl = 9,control_ch2=0, central_chl = 9 DBDCIdx= 0, Band= 0 
    [   39.120000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
    [   39.340000] mt7615_apply_dcoc() : reload Central CH [10] BW [0] from cetral freq [2467]  offset [2500] 
    [   39.356000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   39.364000] mt7615_apply_dpd() : reload Central CH [10] BW [0] from cetral freq [2462] i[46] offset [4cd0] 
    [   39.384000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   39.392000] MtCmdChannelSwitch: control_chl = 10,control_ch2=0, central_chl = 10 DBDCIdx= 0, Band= 0 
    [   39.412000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
    [   39.716000] mt7615_apply_dcoc() : reload Central CH [11] BW [0] from cetral freq [2467]  offset [2500] 
    [   39.732000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   39.740000] mt7615_apply_dpd() : reload Central CH [11] BW [0] from cetral freq [2462] i[46] offset [4cd0] 
    [   39.760000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   39.768000] MtCmdChannelSwitch: control_chl = 11,control_ch2=0, central_chl = 11 DBDCIdx= 0, Band= 0 
    [   39.788000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
    [   40.172000] ====================================================================
    [   40.184000] Channel   1 : Busy Time =   9352, Skip Channel = FALSE, BwCap = TRUE
    [   40.200000] Channel   2 : Busy Time =   6114, Skip Channel = FALSE, BwCap = TRUE
    [   40.216000] Channel   3 : Busy Time =   3682, Skip Channel = FALSE, BwCap = TRUE
    [   40.228000] Channel   4 : Busy Time =   5663, Skip Channel = FALSE, BwCap = TRUE
    [   40.244000] Channel   5 : Busy Time =   2559, Skip Channel = FALSE, BwCap = TRUE
    [   40.260000] Channel   6 : Busy Time =   8949, Skip Channel = FALSE, BwCap = TRUE
    [   40.272000] Channel   7 : Busy Time =   5390, Skip Channel = FALSE, BwCap = TRUE
    [   40.288000] Channel   8 : Busy Time =   4072, Skip Channel = FALSE, BwCap = TRUE
    [   40.304000] Channel   9 : Busy Time =   8350, Skip Channel = FALSE, BwCap = TRUE
    [   40.316000] Channel  10 : Busy Time =   6335, Skip Channel = FALSE, BwCap = TRUE
    [   40.332000] Channel  11 : Busy Time =  15349, Skip Channel = FALSE, BwCap = TRUE
    [   40.348000] ====================================================================
    [   40.360000] Rule 3 Channel Busy time value : Select Primary Channel 5 
    [   40.376000] Rule 3 Channel Busy time value : Min Channel Busy = 2559
    [   40.388000] Rule 3 Channel Busy time value : BW = 20
    [   40.396000]  AutoChSelUpdateChannel(): Update channel for wdev0 for this band PhyMode = 49,Channel = 36  
    [   40.416000]  AutoChSelUpdateChannel(): Update channel for wdev1 for this band PhyMode = 14,Channel = 5  
    [   40.436000] ApAutoChannelAtBootUp Force Roam Support = 0
    [   40.544000] ez_allocate_or_update_non_ez_band_hook:: add new band entry at index: 0
    [   40.560000] HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:49,Channel=36
    [   40.580000] CountryCode(2.4G/5G)=1/1, RFIC=25, PHY mode(2.4G/5G)=2/49, support 32 channels
    [   40.596000] Enable 20/40 BSSCoex Channel Scan(BssCoex=1)
    [   40.604000] wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:127 for WDEV_TYPE:1
    [   40.604000]  LinkToOmacIdx = 0, LinkToWdevType = 1
    [   40.636000] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO),                 CmdBssInfoBmcRate.u2BcTransmit= 8192,                 CmdBssInfoBmcRate.u2McTransmit = 8196
    [   40.668000] MtCmdSetDbdcCtrl:(ret = 0)
    [   40.776000]  [RadarStateCheck]Set into RD_NORMAL_MODE  
    [   40.788000] MtCmdTxPowerSKUCtrl: fgTxPowerSKUEn: 1, BandIdx: 1
    [   40.800000] MtCmdTxPowerPercentCtrl: fgTxPowerPercentEn: 1, BandIdx: 1
    [   40.812000] MtCmdTxBfBackoffCtrl: fgTxBFBackoffEn: 1, BandIdx: 1
    [   40.824000] mt7615_bbp_adjust():rf_bw=2, ext_ch=1, PrimCh=36, HT-CentCh=38, VHT-CentCh=42
    [   40.840000] mt7615_apply_dcoc() : reload Central CH [42] BW [2] from cetral freq [5210]  offset [1900] 
    [   40.860000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   40.868000] mt7615_apply_dpd() : reload Central CH [42] BW [2] from cetral freq [5220] i[9] offset [2d98] 
    [   40.888000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   40.896000] MtCmdChannelSwitch: control_chl = 36,control_ch2=0, central_chl = 42 DBDCIdx= 1, Band= 0 
    [   40.916000] BW = 2,TXStream = 2, RXStream = 2, scan(0)
    [   40.944000] ap_phy_rrm_init_byRf(): AP Set CentralFreq at 42(Prim=36, HT-CentCh=38, VHT-CentCh=42, BBP_BW=2)
    [   40.976000] [WrapDfsRadarDetectStart]: Band0Ch is 36
    [   40.988000] [WrapDfsRadarDetectStart]: Band1Ch is 0
    [   40.996000] LeadTimeForBcn, OmacIdx = 0, WDEV_WITH_BCN_ABILITY
    [   41.008000] MtAsicSetRalinkBurstMode(2605): Not support for HIF_MT yet!
    [   41.020000] MtAsicSetPiggyBack(777): Not support for HIF_MT yet!
    [   41.032000] MtAsicSetTxPreamble(2584): Not support for HIF_MT yet!
    [   41.048000] WifiFwdSet::disabled=0
    [   41.052000] ap_ftkd> Initialize FT KDP Module...
    [   41.064000] Main bssid = 04:ab:18:**:**:0a
    [   41.072000] AsicRadioOnOffCtrl(): DbdcIdx=1 RadioOn
    [   41.084000] MtCmdSetMacTxRx:(ret = 0)
    [   41.088000] MtCmdSetMacTxRx:(ret = 0)
    [   41.096000] MCS Set = ff ff 00 00 01
    [   41.104000]  Regroup Support = 0
    [   41.168000] WDS_Init():
    [   41.172000] The new WDS interface MAC = FF:FF:FF:FF:FF:FF
    [   41.184000]   MacTabMatchWCID = 0
    [   41.192000] The new WDS interface MAC = FF:FF:FF:FF:FF:FF
    [   41.204000]   MacTabMatchWCID = 0
    [   41.212000] The new WDS interface MAC = FF:FF:FF:FF:FF:FF
    [   41.224000]   MacTabMatchWCID = 0
    [   41.232000] The new WDS interface MAC = FF:FF:FF:FF:FF:FF
    [   41.240000]   MacTabMatchWCID = 0
    [   41.248000] Total allocated 4 WDS interfaces!
    [   41.260000] ###########################ez_init_hook########################
    [   41.272000] 
    [   41.272000] [REGROUP] => Regroup Support = 0
    [   41.284000] ###########################ez_init_hook########################
    [   41.300000] 
    [   41.300000] [REGROUP] => Regroup Support = 0
    [   41.312000] WtcSetMaxStaNum: MaxStaNum:102, BssidNum:2, WdsNum:4, ApcliNum:2, MaxNumChipRept:16, MinMcastWcid:124
    [   41.380000] red_is_enabled: set CR4/N9 RED Enable to 1.
    [   41.392000] cp_support_is_enabled: set CR4 CP_SUPPORT to Mode 2.
    [   41.404000] Correct apidx from 0 to 0 for WscUUIDInit
    [   41.416000] Generate UUID for apidx(0)
    [   41.420000] PpeDevRegHandler : ineterface ra0 register (0)
    [   41.572000] device ra0 entered promiscuous mode
    [   41.580000] br-lan: port 2(ra0) entered forwarding state
    [   41.592000] br-lan: port 2(ra0) entered forwarding state
    1592648716
    1571256552
    [   42.004000] :MtCmdPktBudgetCtrl: bssid(255),wcid(65535),type(0)
    [   42.052000] WifiSysOpen(), wdev idx = 1
    [   42.060000] wdev_attr_update(): wdevId1 = 04:ab:18:**:**:09
    [   42.072000] MtCmdSetDbdcCtrl:(ret = 0)
    [   42.080000] [PMF]APPMFInit:: apidx=1, MFPC=0, MFPR=0, SHA256=0
    [   42.092000] [PMF]WPAMakeRsnIeCap: RSNIE Capability MFPC=0, MFPR=0
    [   42.104000] 
    [   42.104000] [Force Roam] => Force Roam Support = 0
    [   42.116000] ez_allocate_or_update_non_ez_band_hook:: add new band entry at index: 1
    [   42.132000] HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:14,Channel=5
    [   42.148000] CountryCode(2.4G/5G)=1/1, RFIC=25, PHY mode(2.4G/5G)=14/49, support 32 channels
    [   42.168000] Enable 20/40 BSSCoex Channel Scan(BssCoex=1)
    [   42.176000] MtCmdSetMacTxRx:(ret = 0)
    [   42.184000] MtCmdSetMacTxRx:(ret = 0)
    [   42.192000] mt7615_apply_dcoc() : reload Central CH [2] BW [0] from cetral freq [2417]  offset [2200] 
    [   42.212000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   42.220000] mt7615_apply_dpd() : reload Central CH [2] BW [0] from cetral freq [2422] i[44] offset [4b20] 
    [   42.240000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   42.252000] MtCmdChannelSwitch: control_chl = 2,control_ch2=0, central_chl = 2 DBDCIdx= 0, Band= 0 
    [   42.268000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
    [   42.288000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   42.596000] mt7615_apply_dcoc() : reload Central CH [3] BW [0] from cetral freq [2417]  offset [2200] 
    [   42.612000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   42.624000] mt7615_apply_dpd() : reload Central CH [3] BW [0] from cetral freq [2422] i[44] offset [4b20] 
    [   42.640000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   42.652000] MtCmdChannelSwitch: control_chl = 3,control_ch2=0, central_chl = 3 DBDCIdx= 0, Band= 0 
    [   42.668000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
    [   42.688000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   42.996000] mt7615_apply_dcoc() : reload Central CH [4] BW [0] from cetral freq [2432]  offset [2300] 
    [   43.020000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   43.028000] mt7615_apply_dpd() : reload Central CH [4] BW [0] from cetral freq [2422] i[44] offset [4b20] 
    [   43.048000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   43.056000] MtCmdChannelSwitch: control_chl = 4,control_ch2=0, central_chl = 4 DBDCIdx= 0, Band= 0 
    [   43.076000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
    [   43.092000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   43.404000] mt7615_apply_dcoc() : reload Central CH [5] BW [0] from cetral freq [2432]  offset [2300] 
    [   43.420000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   43.428000] mt7615_apply_dpd() : reload Central CH [5] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   43.448000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   43.456000] MtCmdChannelSwitch: control_chl = 5,control_ch2=0, central_chl = 5 DBDCIdx= 0, Band= 0 
    [   43.476000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
    [   43.496000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   43.596000] br-lan: port 2(ra0) entered forwarding state
    [   43.804000] mt7615_apply_dcoc() : reload Central CH [6] BW [0] from cetral freq [2432]  offset [2300] 
    [   43.820000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   43.828000] mt7615_apply_dpd() : reload Central CH [6] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   43.848000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   43.856000] MtCmdChannelSwitch: control_chl = 6,control_ch2=0, central_chl = 6 DBDCIdx= 0, Band= 0 
    [   43.876000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
    [   43.896000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   44.204000] mt7615_apply_dcoc() : reload Central CH [7] BW [0] from cetral freq [2447]  offset [2400] 
    [   44.220000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   44.228000] mt7615_apply_dpd() : reload Central CH [7] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   44.248000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   44.256000] MtCmdChannelSwitch: control_chl = 7,control_ch2=0, central_chl = 7 DBDCIdx= 0, Band= 0 
    [   44.276000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
    [   44.296000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   44.708000] mt7615_apply_dcoc() : reload Central CH [8] BW [0] from cetral freq [2447]  offset [2400] 
    [   44.724000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   44.732000] mt7615_apply_dpd() : reload Central CH [8] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   44.752000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   44.760000] MtCmdChannelSwitch: control_chl = 8,control_ch2=0, central_chl = 8 DBDCIdx= 0, Band= 0 
    [   44.780000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
    [   44.800000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   45.308000] mt7615_apply_dcoc() : reload Central CH [9] BW [0] from cetral freq [2447]  offset [2400] 
    [   45.324000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   45.332000] mt7615_apply_dpd() : reload Central CH [9] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   45.352000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   45.360000] MtCmdChannelSwitch: control_chl = 9,control_ch2=0, central_chl = 9 DBDCIdx= 0, Band= 0 
    [   45.380000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
    [   45.400000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   45.780000] mt7615_apply_dcoc() : reload Central CH [10] BW [0] from cetral freq [2467]  offset [2500] 
    [   45.796000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   45.804000] mt7615_apply_dpd() : reload Central CH [10] BW [0] from cetral freq [2462] i[46] offset [4cd0] 
    [   45.824000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   45.836000] MtCmdChannelSwitch: control_chl = 10,control_ch2=0, central_chl = 10 DBDCIdx= 0, Band= 0 
    [   45.852000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
    [   45.872000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   46.332000] mt7615_apply_dcoc() : reload Central CH [11] BW [0] from cetral freq [2467]  offset [2500] 
    [   46.348000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   46.356000] mt7615_apply_dpd() : reload Central CH [11] BW [0] from cetral freq [2462] i[46] offset [4cd0] 
    [   46.376000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   46.384000] MtCmdChannelSwitch: control_chl = 11,control_ch2=0, central_chl = 11 DBDCIdx= 0, Band= 0 
    [   46.404000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
    [   46.424000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   46.804000] mt7615_apply_dcoc() : reload Central CH [12] BW [0] from cetral freq [2467]  offset [2500] 
    [   46.820000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   46.828000] mt7615_apply_dpd() : reload Central CH [12] BW [0] from cetral freq [2462] i[46] offset [4cd0] 
    [   46.848000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   46.860000] MtCmdChannelSwitch: control_chl = 12,control_ch2=0, central_chl = 12 DBDCIdx= 0, Band= 0 
    [   46.876000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
    [   46.896000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   47.232000] wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:126 for WDEV_TYPE:1
    [   47.232000]  LinkToOmacIdx = 11, LinkToWdevType = 1
    [   47.260000] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO),                 CmdBssInfoBmcRate.u2BcTransmit= 0,                 CmdBssInfoBmcRate.u2McTransmit = 0
    [   47.288000] MtCmdSetDbdcCtrl:(ret = 0)
    [   47.396000]  [RadarStateCheck]Set into RD_NORMAL_MODE  
    [   47.408000] MtCmdTxPowerSKUCtrl: fgTxPowerSKUEn: 1, BandIdx: 0
    [   47.420000] MtCmdTxPowerPercentCtrl: fgTxPowerPercentEn: 1, BandIdx: 0
    [   47.432000] MtCmdTxBfBackoffCtrl: fgTxBFBackoffEn: 1, BandIdx: 0
    [   47.444000] mt7615_bbp_adjust():rf_bw=0, ext_ch=0, PrimCh=5, HT-CentCh=5, VHT-CentCh=42
    [   47.460000] mt7615_apply_dcoc() : reload Central CH [5] BW [0] from cetral freq [2432]  offset [2300] 
    [   47.480000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   47.488000] mt7615_apply_dpd() : reload Central CH [5] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   47.508000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   47.516000] MtCmdChannelSwitch: control_chl = 5,control_ch2=0, central_chl = 5 DBDCIdx= 0, Band= 0 
    [   47.536000] BW = 0,TXStream = 2, RXStream = 2, scan(0)
    [   47.564000] ap_phy_rrm_init_byRf(): AP Set CentralFreq at 5(Prim=5, HT-CentCh=5, VHT-CentCh=42, BBP_BW=0)
    [   47.596000] LeadTimeForBcn, OmacIdx = 11, WDEV_WITH_BCN_ABILITY
    [   47.608000] Generate UUID for apidx(1)
    [   47.616000] PpeDevRegHandler : ineterface rax0 register (1)
    [   47.720000] device rax0 entered promiscuous mode
    [   47.732000] br-lan: port 3(rax0) entered forwarding state
    [   47.744000] br-lan: port 3(rax0) entered forwarding state
    Qos Disable exit
    Qos Disable exit
    Qos Disable exit
    [   49.748000] br-lan: port 3(rax0) entered forwarding state
    [   50.284000] PpeDevRegHandler : ineterface apclix0 register (2)
    [   50.296000] WifiSysOpen(), wdev idx = 7
    [   50.304000] MtCmdSetDbdcCtrl:(ret = 0)
    [   50.316000] HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:14,Channel=5
    [   50.332000] HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:14,Channel=5
    [   50.352000] CountryCode(2.4G/5G)=1/1, RFIC=25, PHY mode(2.4G/5G)=14/49, support 32 channels
    [   50.376000] PpeDevRegHandler : ineterface apcli0 register (4)
    [   50.384000] WifiSysOpen(), wdev idx = 6
    [   50.392000] MtCmdSetDbdcCtrl:(ret = 0)
    [   50.400000] HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:49,Channel=36
    [   50.420000] HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:49,Channel=36
    [   50.436000] CountryCode(2.4G/5G)=1/1, RFIC=25, PHY mode(2.4G/5G)=14/49, support 32 channels
    [   51.320000] BndStrg_Init()
    BndStrg_SetInfFlags(): BSS(04:AB:18:**:**:0A) set 5G Inf ra0 ready.
    BndStrg_SetInfFlags(): BSS(04:AB:18:**:**:09) set 2G Inf rax0 ready.
    BndStrg Enable Success
    
    [   51.368000] BndStrg is already Enable
    [   51.368000] 
    [   53.476000] BndStrg_InfStatusRsp:INF [rax0]STATUS QUERY ON
    [   53.488000] 
    [   53.488000] BndStrg_InfStatusRsp:INF [ra0]STATUS QUERY ON
    start ddns
    
    add_cron
    add_cron data
    dnsmasq
    dnsmasq [br-lan]
    [   55.520000] Send DISASSOC frame(3) with ra0
    [   55.528000] Send DISASSOC frame(3) with ra1
    [   55.536000] Send DISASSOC frame(3) with ra0
    [   55.544000] Send DISASSOC frame(3) with ra1
    FC start
    FC Disable
    192.168.2.100
    Qos Disable exit
    

WRC-2533GST2

知人氏にハードオフで代理購入して頂くことができ、入手したもの。WRC-2533GSTとほぼ同じと思いきや、意外と差異があった。
サポートのため弄っていくのでメモ。

Switch

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

MAC

  • LAN: 04:AB:18:xx:xx:83 (Factory, 0xE000 (hex))
  • WAN: 04:AB:18:xx:xx:84 (Factory, 0xE006 (hex))
  • 2.4G: 04:AB:18:xx:xx:85 (Factory, 0x4 (hex))
  • 5G: 04:AB:18:xx:xx:86 (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
    model_id=WRC-2533GST2
    board_id=2019A1221168
    wlan0_guest_ssid=e-tomo-******
    wlan0_guest_key=********
    ez_group_id=elecom-******
    wlan0_ssid=elecom-******
    wlan1_ssid=elecom-******
    wlan0_key=************
    wlan1_key=************
    admin_password=********
    wps_pin=*******
    hw_version=A1
    wlan0_domain=0x41
    stdin=serial
    stdout=serial
    stderr=serial
    ethact=Eth0 (10/100-M)
    
    Environment size: 467/4092 bytes
    

Kernel

パスワードが設定されているため、ログイン不可。failsafeモードはあるのでそこから情報取得。

  • uname -a
    root@MT7621:/# uname -a
    Linux MT7621 3.10.14 #6 SMP Tue Oct 29 14:31:40 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) ) #6 SMP Tue Oct 29 14:31:40 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:          226360 kB
    Buffers:            1284 kB
    Cached:             2704 kB
    SwapCached:            0 kB
    Active:             1580 kB
    Inactive:           2964 kB
    Active(anon):        560 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:           564 kB
    Mapped:              592 kB
    Shmem:                 4 kB
    Slab:               8168 kB
    SReclaimable:        460 kB
    SUnreclaim:         7708 kB
    KernelStack:         368 kB
    PageTables:           88 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
    

  • uname -a
    
    

  • uname -a
    
    

  • uname -a
    
    

  • 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: 0xa, 1/0 = 601/423 29000000
    PLL3 FB_DL: 0xb, 1/0 = 623/401 2D000000
    PLL4 FB_DL: 0x13, 1/0 = 537/487 4D000000
    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    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
    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]=00001E1F
    ==================================================================
                    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 |    6 7 7 9 7 7 7 6 7 5 
    10 |    9 8 9 9 8 10 
    --------------------------------------
    
    ==================================================================
    2.dqs window
    x=pass dqs delay value (min~max)center 
    y=0-7bit DQ of every group
    input delay:DQS0 =31 DQS1 = 30
    ==================================================================
    bit     DQS0     bit      DQS1
    0  (1~59)30  8  (1~59)30
    1  (1~58)29  9  (1~58)29
    2  (1~58)29  10  (1~58)29
    3  (1~60)30  11  (1~58)29
    4  (1~60)30  12  (1~60)30
    5  (1~60)30  13  (1~59)30
    6  (1~59)30  14  (1~59)30
    7  (1~61)31  15  (1~60)30
    ==================================================================
    3.dq delay value last
    ==================================================================
    bit|    0  1  2  3  4  5  6  7  8   9
    --------------------------------------
    0 |    7 9 9 10 8 8 8 6 7 6 
    10 |    10 9 9 9 8 10 
    ==================================================================
    ==================================================================
         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:  8162d1c0
       Verifying Checksum ... OK
       Uncompressing Kernel Image ... OK
    No initrd
    ## Transferring control to Linux (at address 8162d1c0) ...
    ## 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) ) #6 SMP Tue Oct 29 14:31:40 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=00074157
    [    0.000000] Readback ErrCtl register=00074157
    [    0.000000] Memory: 249976k/262144k available (6366k 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.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: 2048 (order: 2, 16384 bytes)
    [    2.404000] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
    [    2.416000] TCP: Hash tables configured (established 2048 bind 2048)
    [    2.428000] TCP: reno registered
    [    2.436000] UDP hash table entries: 256 (order: 1, 8192 bytes)
    [    2.448000] 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 488
    [    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.636000] RX_DRX_IDX0 = 0
    [    2.640000] set_fe_HSDMA_glo_cfg
    [    2.648000] HSDMA_GLO_CFG = 465
    [    2.652000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
    [    2.668000] 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 19
    [    2.724000] MX25L25635E(c2 2019c220) (32768 Kbytes)
    [    2.732000] mtd .name = raspi, .size = 0x02000000 (32M) .erasesize = 0x00010000 (64K) .numeraseregions = 0
    [    2.752000] Creating 12 MTD partitions on "raspi":
    [    2.760000] 0x000000000000-0x000002000000 : "ALL"
    [    2.772000] 0x000000000000-0x000000030000 : "Bootloader"
    [    2.784000] 0x000000030000-0x000000040000 : "Config"
    [    2.792000] 0x000000040000-0x000000050000 : "Factory"
    [    2.804000] 0x000000050000-0x000001850000 : "firmware"
    [    2.812000] 0x000000050000-0x000000a50000 : "kernel"
    [    2.824000] 0x000000a50000-0x000001850000 : "rootfs"
    [    2.836000] 0x000001850000-0x000001c50000 : "tm_pattern"
    [    2.844000] 0x000001c50000-0x000001d50000 : "tm_key"
    [    2.856000] 0x000001d50000-0x000001e00000 : "nvram"
    [    2.868000] 0x000001e00000-0x000002000000 : "rootfs_data"
    [    2.876000] 0x000000050000-0x000001d50000 : "all_fw_tm"
    [    2.888000] PPP generic driver version 2.4.2
    [    2.896000] PPP BSD Compression module registered
    [    2.908000] PPP MPPE Compression module registered
    [    2.916000] NET: Registered protocol family 24
    [    2.924000] PPTP driver version 0.8.5
    [    2.932000] register mt_drv
    [    2.948000] 
    [    2.948000] 
    [    2.948000] === pAd = c0201000, size = 3858008 ===
    [    2.948000] 
    [    2.968000] PciHif.CSRBaseAddress =0xc0100000, csr_addr=0xc0100000!
    [    2.988000] RTMPInitPCIeDevice():device_id=0x7615
    [    3.000000] DriverOwn()::Try to Clear FW Own...
    [    3.304000] DriverOwn()::Success to clear FW Own
    [    3.312000] mt_pci_chip_cfg(): HWVer=0x8a10, FWVer=0x8a10, pAd->ChipID=0x7615
    [    3.328000] mt_pci_chip_cfg(): HIF_SYS_REV=0x76150001
    [    3.336000] RtmpChipOpsHook(492): Not support for HIF_MT yet! MACVersion=0x0
    [    3.352000] mt7615_init()-->
    [    3.356000] Use 1st iPAiLNA default bin.
    [    3.364000] Use 0st /etc_ro/wlan/MT7615E_EEPROM1.bin default bin.
    [    3.376000] <--mt7615_init()
    [    3.384000] ChipOpsMCUHook
    [    3.396000] cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
    [    3.412000] cut_through_token_list_init(): 8f72e208,8f72e208
    [    3.424000] cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
    [    3.436000] cut_through_token_list_init(): 8f72e218,8f72e218
    [    3.448000] <-- RTMPAllocTxRxRingMemory, Status=0
    [    3.468000] 
    [    3.468000] 
    [    3.468000] === pAd = c0701000, size = 3858008 ===
    [    3.468000] 
    [    3.488000] PciHif.CSRBaseAddress =0xc0600000, csr_addr=0xc0600000!
    [    3.512000] RTMPInitPCIeDevice():device_id=0x7615
    [    3.520000] DriverOwn()::Try to Clear FW Own...
    [    3.824000] DriverOwn()::Success to clear FW Own
    [    3.836000] mt_pci_chip_cfg(): HWVer=0x8a10, FWVer=0x8a10, pAd->ChipID=0x7615
    [    3.848000] mt_pci_chip_cfg(): HIF_SYS_REV=0x76150001
    [    3.860000] RtmpChipOpsHook(492): Not support for HIF_MT yet! MACVersion=0x0
    [    3.872000] mt7615_init()-->
    [    3.880000] Use 2nd iPAiLNA default bin.
    [    3.888000] Use 1st /etc_ro/wlan/MT7615E_EEPROM2.bin default bin.
    [    3.900000] <--mt7615_init()
    [    3.904000] ChipOpsMCUHook
    [    3.916000] cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
    [    3.932000] cut_through_token_list_init(): 8ecc5388,8ecc5388
    [    3.944000] cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
    [    3.960000] cut_through_token_list_init(): 8ecc5398,8ecc5398
    [    3.972000] skb_free start address is 0x8edf26cc.
    [   19.352000] free_txd: 00cb0010, ei_local->cpu_ptr: 00CB0000
    [   19.364000]  POOL  HEAD_PTR | DMA_PTR | CPU_PTR 
    [   19.372000] ----------------+---------+--------
    [   19.384000]      0xa0cb0000 0x00CB0000 0x00CB0000
    [   19.392000] 
    [   19.392000] phy_qrx_ring = 0x00caa000, qrx_ring = 0xa0caa000
    [   19.408000] 
    [   19.408000] phy_rx_ring0 = 0x00cac000, rx_ring[0] = 0xa0cac000
    [   19.444000] MT7530 Reset Completed!!
    [   19.456000] change HW-TRAP to 0x117c8f
    [   19.464000] set LAN/WAN WLLLL
    [   19.476000] GMAC1_MAC_ADRH -- : 0x000004ab
    [   19.484000] GMAC1_MAC_ADRL -- : 0x18523283
    [   19.492000] GDMA2_MAC_ADRH -- : 0x000004ab
    [   19.500000] GDMA2_MAC_ADRL -- : 0x18523284
    [   19.512000] eth3: ===> VirtualIF_open
    [   19.516000] MT7621 GE2 link rate to 1G
    [   19.524000] CDMA_CSG_CFG = 81000000
    [   19.532000] GDMA1_FWD_CFG = 20710000
    [   19.540000] GDMA2_FWD_CFG = 20710000
    [   19.560000] eth3: ===> VirtualIF_open
    [   20.024000] eth3: ===> VirtualIF_close
    [   20.040000] ra2880stop()...Done
    [   20.044000] eth3: ===> VirtualIF_close
    [   20.056000] Free TX/RX Ring Memory!
    [   20.068000]  4:FFFFFFAB:18:52:32:FFFFFF83
    [   20.076000] Raeth v3.1 (Tasklet)
    [   20.088000] set CLK_CFG_0 = 0x40a00020!!!!!!!!!!!!!!!!!!1
    [   20.104000] phy_free_head is 0xca8000!!!
    [   20.112000] phy_free_tail_phy is 0xca9ff0!!!
    [   20.120000] txd_pool=a0cb0000 phy_txd_pool=00CB0000
    [   20.128000] ei_local->skb_free start address is 0x8edf26cc.
    [   20.140000] free_txd: 00cb0010, ei_local->cpu_ptr: 00CB0000
    [   20.152000]  POOL  HEAD_PTR | DMA_PTR | CPU_PTR 
    [   20.160000] ----------------+---------+--------
    [   20.168000]      0xa0cb0000 0x00CB0000 0x00CB0000
    [   20.180000] 
    [   20.180000] phy_qrx_ring = 0x00caa000, qrx_ring = 0xa0caa000
    [   20.196000] 
    [   20.196000] phy_rx_ring0 = 0x00cac000, rx_ring[0] = 0xa0cac000
    [   20.232000] MT7530 Reset Completed!!
    [   20.244000] change HW-TRAP to 0x117c8f
    [   20.252000] set LAN/WAN WLLLL
    [   20.264000] GMAC1_MAC_ADRH -- : 0x000004ab
    [   20.272000] GMAC1_MAC_ADRL -- : 0x18523283
    [   20.280000] eth3: ===> VirtualIF_open
    [   20.288000] MT7621 GE2 link rate to 1G
    [   20.288000] CDMA_CSG_CFG = 81000000
    [   20.288000] GDMA1_FWD_CFG = 20710000
    [   20.288000] GDMA2_FWD_CFG = 20710000
    [   20.316000] device eth2 entered promiscuous mode
    [   20.328000] br-lan: port 1(eth2) entered forwarding state
    [   20.340000] br-lan: port 1(eth2) entered forwarding state
    [   20.360000] eth3: ===> VirtualIF_open
    dnsmasq
    dnsmasq [br-lan]
    [   22.344000] 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.328000] Ralink HW NAT Module Enabled
    [   26.336000] eth2 ifindex =4
    [   26.344000] eth3 ifindex =b
    [   27.840000] jffs2: notice: (2248) 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.988000] jffs2: notice: (2369) 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.108000] DriverOwn()::Return since already in Driver Own...
    [   30.124000] APWdsInitialize():WdsEntry[0]
    [   30.132000] APWdsInitialize():WdsEntry[1]
    [   30.140000] APWdsInitialize():WdsEntry[2]
    [   30.148000] APWdsInitialize():WdsEntry[3]
    [   30.160000] 
    [   30.160000] [Force Roam] => Force Roam Support = 0
    [   30.172000] RT_CfgSetMacAddress : invalid length (0)
    [   30.180000] E2pAccessMode=2
    [   30.188000] SSID[0]=elecom-523283, EdcaIdx=0
    [   30.196000] TriBandChGrp=0/0/0/0
    [   30.204000] cfg_mode=14
    [   30.212000] cfg_mode=14
    [   30.216000] wmode_band_equal(): Band Equal!
    [   30.224000] BandSteering=0
    [   30.232000] BndStrgBssIdx=
    [   30.236000] [TxPower] BAND0: 100 
    [   30.244000] [SKUenable] BAND0: 1 
    [   30.252000] [PERCENTAGEenable] BAND0: 1 
    [   30.260000] [BFBACKOFFenable] BAND0: 1 
    [   30.268000] CalCacheApply = 0 
    [   30.272000] APEdca0
    [   30.280000] APEdca1
    [   30.284000] APEdca2
    [   30.288000] APEdca3
    [   30.296000] APSDCapable[0]=0
    [   30.300000] APSDCapable[1]=0
    [   30.308000] APSDCapable[2]=0
    [   30.312000] APSDCapable[3]=0
    [   30.320000] APSDCapable[4]=0
    [   30.324000] APSDCapable[5]=0
    [   30.332000] APSDCapable[6]=0
    [   30.336000] APSDCapable[7]=0
    [   30.344000] APSDCapable[8]=0
    [   30.348000] APSDCapable[9]=0
    [   30.352000] APSDCapable[10]=0
    [   30.360000] APSDCapable[11]=0
    [   30.364000] APSDCapable[12]=0
    [   30.372000] APSDCapable[13]=0
    [   30.376000] APSDCapable[14]=0
    [   30.384000] APSDCapable[15]=0
    [   30.388000] default ApCliAPSDCapable[0]=0
    [   30.400000] default ApCliAPSDCapable[1]=0
    [   30.408000] DfsZeroWait Support=0/0 
    [   30.416000] DfsZeroWaitCacTime=0/0 
    [   30.464000] rtmp_read_wds_from_file(): WDS Profile
    [   30.472000] APWdsInitialize():WdsEntry[0]
    [   30.480000] APWdsInitialize():WdsEntry[1]
    [   30.488000] APWdsInitialize():WdsEntry[2]
    [   30.496000] APWdsInitialize():WdsEntry[3]
    [   30.504000] WDS-Enable mode=0
    [   30.512000] AndesSendCmdMsg: Could not send in band command due to diablefRTMP_ADAPTER_MCU_SEND_IN_BAND_CMD
    [   30.536000] HT: WDEV[0] Ext Channel = ABOVE
    [   30.548000] HT: greenap_cap = 0
    [   30.608000] IcapMode = 0
    [   30.624000] WtcSetMaxStaNum: MaxStaNum:103, BssidNum:1, WdsNum:4, ApcliNum:2, MaxNumChipRept:16, MinMcastWcid:125
    [   30.644000] Top Init Done!
    [   30.648000] Use alloc_skb
    [   30.648000] tdts: module license 'Proprietary' taints kernel.
    [   30.648000] Disabling lock debugging due to kernel taint
    [   30.680000] RX[0] DESC a0ca4000 size = 16384
    [   30.680000] Init chrdev /dev/detector with major 190
    [   30.680000] tdts: tcp_conn_max = 4000
    [   30.680000] 
    [   30.680000] tdts: tcp_conn_timeout = 300 sec
    [   30.680000] 
    [   30.720000] RX[1] DESC a0ca2000 size = 8192
    [   30.732000] Hif Init Done!
    [   30.740000] ctl->txq = c0aa9e6c
    [   30.744000] ctl->rxq = c0aa9e78
    [   30.752000] ctl->ackq = c0aa9e84
    [   30.756000] ctl->kickq = c0aa9e90
    [   30.764000] ctl->tx_doneq = c0aa9e9c
    [   30.772000] ctl->rx_doneq = c0aa9ea8
    [   30.780000] mt7615_fw_prepare():FW(8a10), HW(8a10), CHIPID(7615))
    [   30.792000] mt7615_fw_prepare(2687): MT7615_E3, USE E3 patch and ram code binary image
    [   30.808000] AndesMTLoadRomMethodFwDlRing(1035), cap->rom_patch_len(11102)
    [   30.820000] AndesRestartCheck: Current TOP_MISC2(0x1)
    [   30.832000] AndesRestartCheck: (TOP_MISC2 = 1), ready to continue...RET(0)
    [   30.844000] 20170809192718a
    [   30.852000] 
    [   30.852000] platform = 
    [   30.860000] ALPS
    [   30.864000] hw/sw version = 
    [   30.868000] 8a108a10
    [   30.872000] patch version = 
    [   30.880000] 00000010
    [   30.884000] Patch SEM Status=2
    [   30.888000] MtCmdPatchSemGet:(ret = 0)
    [   30.896000] 
    [   30.896000] Patch is not ready && get semaphore success, SemStatus(2)
    [   30.912000] EventGenericEventHandler: CMD Success
    [   30.924000] MtCmdAddressLenReq:(ret = 0)
    [   30.932000] MtCmdPatchFinishReq
    [   30.948000] EventGenericEventHandler: CMD Success
    [   30.960000] Send checksum req..
    [   30.964000] Patch SEM Status=3
    [   30.972000] MtCmdPatchSemGet:(ret = 0)
    [   30.980000] 
    [   30.980000] Release patch semaphore, SemStatus(3)
    [   30.992000] AndesMTEraseRomPatch
    [   30.996000] WfMcuHwInit: Before NICLoadFirmware, check IcapMode=0
    [   30.996000] SHN Release Version: 1.0.0 RELS_0003
    [   30.996000] UDB Core Version: 0.2.18
    [   30.996000] Init chrdev /dev/idpfw with major 191
    [   31.036000] AndesMTLoadFwMethodFwDlRing(809), cap->fw_len(462248)
    [   31.048000] Build Date:_201708190346
    [   31.056000] Build Date:_201708190346
    [   31.064000] AndesRestartCheck: Current TOP_MISC2(0x1)
    [   31.072000] AndesRestartCheck: (TOP_MISC2 = 1), ready to continue...RET(0)
    [   31.088000] EventGenericEventHandler: CMD Success
    [   31.096000] MtCmdAddressLenReq:(ret = 0)
    [   31.108000] EventGenericEventHandler: CMD Success
    [   31.120000] MtCmdAddressLenReq:(ret = 0)
    [   31.128000] IDPfw: IDPfw is ready
    [   31.128000] MtCmdFwStartReq: override = 1, address = 540672
    [   31.128000] EventGenericEventHandler: CMD Success
    [   31.128000] Build Date:_201707211524
    [   31.128000] EventGenericEventHandler: CMD Success
    [   31.128000] MtCmdAddressLenReq:(ret = 0)
    [   31.128000] MtCmdFwStartReq: override = 4, address = 0
    [   31.180000] EventGenericEventHandler: CMD Success
    [   31.196000] sizeof forward pkt param = 192
    Running license control..waiting 25 second ...
    [   31.236000] WfMcuHwInit: NICLoadFirmware OK, Check IcapMode=0
    [   31.248000] MCU Init Done!
    [   31.252000] efuse_probe: efuse = 10000212
    [   31.260000] RtmpChipOpsEepromHook::e2p_type=2, inf_Type=5
    [   31.272000] RtmpEepromGetDefault::e2p_dafault=1
    [   31.280000] RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 2, E2P default = 1
    [   31.296000] NVM is FLASH mode. dev_idx [1] FLASH OFFSET [0x8000]
    [   31.320000] NICReadEEPROMParameters: EEPROM 0x52 b317
    [   31.336000] MtCmdSetTxLpfCal:(ret = 0)
    [   31.344000] MtCmdSetTxIqCal:(ret = 0)
    [   31.352000] MtCmdSetTxDcCal:(ret = 0)
    [   31.360000] MtCmdSetRxFiCal:(ret = 0)
    [   31.368000] MtCmdSetRxFdCal:(ret = 0)
    [   31.372000] MtCmdSetRxFdCal:(ret = 0)
    [   31.380000] MtCmdSetRxFdCal:(ret = 0)
    [   31.388000] MtCmdSetRxFdCal:(ret = 0)
    [   31.396000] MtCmdSetRxFdCal:(ret = 0)
    [   31.404000] MtCmdSetRxFdCal:(ret = 0)
    [   31.412000] MtCmdSetRxFdCal:(ret = 0)
    [   31.416000] MtCmdSetRxFdCal:(ret = 0)
    [   31.424000] MtCmdSetRxFdCal:(ret = 0)
    [   31.432000] NICReadEEPROMParameters: EEPROM 0x52 b317
    [   31.984000] Country Region from e2p = 101
    [   31.992000] mt7615_antenna_default_reset(): TxPath = 4, RxPath = 4
    [   32.004000] mt7615_antenna_default_reset(): DBDC 2G TxPath = 2, 2G RxPath = 2
    [   32.020000] mt7615_antenna_default_reset(): DBDC 5G TxPath = 2, 2G RxPath = 2
    [   32.032000] rtmp_read_txpwr_from_eeprom(233): Don't Support this now!
    [   32.044000] RTMPReadTxPwrPerRate(1381): Don't Support this now!
    [   32.056000] RcRadioInit(): DbdcMode=0, ConcurrentBand=1
    [   32.068000] RcRadioInit(): pRadioCtrl=8ecc6438,Band=0,rfcap=3,channel=1,PhyMode=2 extCha=0xf
    [   32.084000] Band Rf: 1, Phy Mode: 2
    [   32.092000] AntCfgInit(2766): Not support for HIF_MT yet!
    [   32.104000] MtSingleSkuLoadParam: RF_LOCKDOWN Feature OFF !!!
    [   32.144000] MtBfBackOffLoadTable: RF_LOCKDOWN Feature OFF !!!
    [   32.228000] EEPROM Init Done!
    [   32.232000] mt_mac_init()-->
    [   32.240000] mt_mac_pse_init(2750): Don't Support this now!
    [   32.248000] mt7615_init_mac_cr()-->
    [   32.256000] mt7615_init_mac_cr(): TMAC_TRCR0=0x82783c8c
    [   32.268000] MtAsicSetMacMaxLen(1300): Not finish Yet!
    [   32.276000] 
    [   32.432000] ApAutoChannelAtBootUp: AutoChannelBootup = 1, AutoChannelFlag = 1
    [   32.448000] MtCmdSetMacTxRx:(ret = 0)
    [   32.456000] mt7615_apply_dcoc() : reload Central CH [42] BW [2] from cetral freq [5210]  offset [1900] 
    [   32.472000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   32.484000] mt7615_apply_dpd() : reload Central CH [42] BW [2] from cetral freq [5220] i[9] offset [2d98] 
    [   32.500000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   32.512000] MtCmdChannelSwitch: control_chl = 36,control_ch2=0, central_chl = 42 DBDCIdx= 0, Band= 0 
    [   32.528000] BW = 2,TXStream = 4, RXStream = 4, scan(1)
    [   32.748000] mt7615_apply_dcoc() : reload Central CH [42] BW [2] from cetral freq [5210]  offset [1900] 
    [   32.764000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   32.772000] mt7615_apply_dpd() : reload Central CH [42] BW [2] from cetral freq [5220] i[9] offset [2d98] 
    [   32.792000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   32.800000] MtCmdChannelSwitch: control_chl = 40,control_ch2=0, central_chl = 42 DBDCIdx= 0, Band= 0 
    [   32.820000] BW = 2,TXStream = 4, RXStream = 4, scan(1)
    [   33.040000] mt7615_apply_dcoc() : reload Central CH [42] BW [2] from cetral freq [5210]  offset [1900] 
    [   33.056000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   33.064000] mt7615_apply_dpd() : reload Central CH [42] BW [2] from cetral freq [5220] i[9] offset [2d98] 
    [   33.084000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   33.092000] MtCmdChannelSwitch: control_chl = 44,control_ch2=0, central_chl = 42 DBDCIdx= 0, Band= 0 
    [   33.112000] BW = 2,TXStream = 4, RXStream = 4, scan(1)
    [   33.400000] mt7615_apply_dcoc() : reload Central CH [42] BW [2] from cetral freq [5210]  offset [1900] 
    [   33.416000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   33.424000] mt7615_apply_dpd() : reload Central CH [42] BW [2] from cetral freq [5220] i[9] offset [2d98] 
    [   33.444000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   33.452000] MtCmdChannelSwitch: control_chl = 48,control_ch2=0, central_chl = 42 DBDCIdx= 0, Band= 0 
    [   33.472000] BW = 2,TXStream = 4, RXStream = 4, scan(1)
    [   33.692000] mt7615_apply_dcoc() : reload Central CH [58] BW [2] from cetral freq [5290]  offset [1a00] 
    [   33.708000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   33.716000] mt7615_apply_dpd() : reload Central CH [58] BW [2] from cetral freq [5300] i[13] offset [30f8] 
    [   33.736000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   33.744000] MtCmdChannelSwitch: control_chl = 52,control_ch2=0, central_chl = 58 DBDCIdx= 0, Band= 0 
    [   33.764000] BW = 2,TXStream = 4, RXStream = 4, scan(1)
    [   34.004000] mt7615_apply_dcoc() : reload Central CH [58] BW [2] from cetral freq [5290]  offset [1a00] 
    [   34.020000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   34.028000] mt7615_apply_dpd() : reload Central CH [58] BW [2] from cetral freq [5300] i[13] offset [30f8] 
    [   34.048000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   34.056000] MtCmdChannelSwitch: control_chl = 56,control_ch2=0, central_chl = 58 DBDCIdx= 0, Band= 0 
    [   34.076000] BW = 2,TXStream = 4, RXStream = 4, scan(1)
    [   34.436000] mt7615_apply_dcoc() : reload Central CH [58] BW [2] from cetral freq [5290]  offset [1a00] 
    [   34.452000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   34.460000] mt7615_apply_dpd() : reload Central CH [58] BW [2] from cetral freq [5300] i[13] offset [30f8] 
    [   34.480000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   34.488000] MtCmdChannelSwitch: control_chl = 60,control_ch2=0, central_chl = 58 DBDCIdx= 0, Band= 0 
    [   34.508000] BW = 2,TXStream = 4, RXStream = 4, scan(1)
    [   34.848000] mt7615_apply_dcoc() : reload Central CH [58] BW [2] from cetral freq [5290]  offset [1a00] 
    [   34.864000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   34.872000] mt7615_apply_dpd() : reload Central CH [58] BW [2] from cetral freq [5300] i[13] offset [30f8] 
    [   34.892000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   34.900000] MtCmdChannelSwitch: control_chl = 64,control_ch2=0, central_chl = 58 DBDCIdx= 0, Band= 0 
    [   34.920000] BW = 2,TXStream = 4, RXStream = 4, scan(1)
    [   35.140000] mt7615_apply_dcoc() : reload Central CH [106] BW [2] from cetral freq [5530]  offset [1d00] 
    [   35.156000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   35.164000] mt7615_apply_dpd() : reload Central CH [106] BW [2] from cetral freq [5540] i[25] offset [3b18] 
    [   35.184000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   35.192000] MtCmdChannelSwitch: control_chl = 100,control_ch2=0, central_chl = 106 DBDCIdx= 0, Band= 0 
    [   35.212000] BW = 2,TXStream = 4, RXStream = 4, scan(1)
    [   35.468000] mt7615_apply_dcoc() : reload Central CH [106] BW [2] from cetral freq [5530]  offset [1d00] 
    [   35.484000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   35.492000] mt7615_apply_dpd() : reload Central CH [106] BW [2] from cetral freq [5540] i[25] offset [3b18] 
    [   35.512000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   35.524000] MtCmdChannelSwitch: control_chl = 104,control_ch2=0, central_chl = 106 DBDCIdx= 0, Band= 0 
    [   35.540000] BW = 2,TXStream = 4, RXStream = 4, scan(1)
    [   35.872000] mt7615_apply_dcoc() : reload Central CH [106] BW [2] from cetral freq [5530]  offset [1d00] 
    [   35.888000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   35.896000] mt7615_apply_dpd() : reload Central CH [106] BW [2] from cetral freq [5540] i[25] offset [3b18] 
    [   35.916000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   35.928000] MtCmdChannelSwitch: control_chl = 108,control_ch2=0, central_chl = 106 DBDCIdx= 0, Band= 0 
    [   35.944000] BW = 2,TXStream = 4, RXStream = 4, scan(1)
    [   36.288000] mt7615_apply_dcoc() : reload Central CH [106] BW [2] from cetral freq [5530]  offset [1d00] 
    [   36.304000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   36.312000] mt7615_apply_dpd() : reload Central CH [106] BW [2] from cetral freq [5540] i[25] offset [3b18] 
    [   36.332000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   36.344000] MtCmdChannelSwitch: control_chl = 112,control_ch2=0, central_chl = 106 DBDCIdx= 0, Band= 0 
    [   36.360000] BW = 2,TXStream = 4, RXStream = 4, scan(1)
    [   36.764000] mt7615_apply_dcoc() : reload Central CH [122] BW [2] from cetral freq [5610]  offset [1e00] 
    [   36.780000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   36.788000] mt7615_apply_dpd() : reload Central CH [122] BW [2] from cetral freq [5620] i[29] offset [3e78] 
    [   36.808000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   36.820000] MtCmdChannelSwitch: control_chl = 116,control_ch2=0, central_chl = 122 DBDCIdx= 0, Band= 0 
    [   36.836000] BW = 2,TXStream = 4, RXStream = 4, scan(1)
    [   37.056000] mt7615_apply_dcoc() : reload Central CH [122] BW [2] from cetral freq [5610]  offset [1e00] 
    [   37.072000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   37.080000] mt7615_apply_dpd() : reload Central CH [122] BW [2] from cetral freq [5620] i[29] offset [3e78] 
    [   37.100000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   37.112000] MtCmdChannelSwitch: control_chl = 120,control_ch2=0, central_chl = 122 DBDCIdx= 0, Band= 0 
    [   37.128000] BW = 2,TXStream = 4, RXStream = 4, scan(1)
    [   37.428000] mt7615_apply_dcoc() : reload Central CH [122] BW [2] from cetral freq [5610]  offset [1e00] 
    [   37.444000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   37.452000] mt7615_apply_dpd() : reload Central CH [122] BW [2] from cetral freq [5620] i[29] offset [3e78] 
    [   37.472000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   37.484000] MtCmdChannelSwitch: control_chl = 124,control_ch2=0, central_chl = 122 DBDCIdx= 0, Band= 0 
    [   37.500000] BW = 2,TXStream = 4, RXStream = 4, scan(1)
    [   37.848000] mt7615_apply_dcoc() : reload Central CH [122] BW [2] from cetral freq [5610]  offset [1e00] 
    [   37.864000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   37.872000] mt7615_apply_dpd() : reload Central CH [122] BW [2] from cetral freq [5620] i[29] offset [3e78] 
    [   37.892000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   37.904000] MtCmdChannelSwitch: control_chl = 128,control_ch2=0, central_chl = 122 DBDCIdx= 0, Band= 0 
    [   37.920000] BW = 2,TXStream = 4, RXStream = 4, scan(1)
    [   38.324000] ====================================================================
    [   38.336000] Channel  36 : Busy Time =   1420, Skip Channel = FALSE, BwCap = TRUE
    [   38.352000] Channel  40 : Busy Time =    594, Skip Channel = FALSE, BwCap = TRUE
    [   38.368000] Channel  44 : Busy Time =    721, Skip Channel = FALSE, BwCap = TRUE
    [   38.380000] Channel  48 : Busy Time =    990, Skip Channel = FALSE, BwCap = TRUE
    [   38.396000] Channel  52 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   38.412000] Channel  56 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   38.424000] Channel  60 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   38.440000] Channel  64 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   38.456000] Channel 100 : Busy Time =    301, Skip Channel = FALSE, BwCap = TRUE
    [   38.468000] Channel 104 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   38.484000] Channel 108 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   38.500000] Channel 112 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   38.512000] Channel 116 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   38.528000] Channel 120 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   38.544000] Channel 124 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   38.560000] Channel 128 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   38.572000] ====================================================================
    [   38.588000] Rule 3 Channel Busy time value : Select Primary Channel 52 
    [   38.600000] Rule 3 Channel Busy time value : Min Channel Busy = 0
    [   38.612000] Rule 3 Channel Busy time value : BW = 80
    [   38.624000]  AutoChSelUpdateChannel(): Update channel for wdev0 for this band PhyMode = 49,Channel = 52  
    [   38.644000] ApAutoChannelAtBootUp Force Roam Support = 0
    [   38.732000] HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:49,Channel=52
    [   38.748000] CountryCode(2.4G/5G)=1/1, RFIC=25, PHY mode(2.4G/5G)=49/49, support 19 channels
    [   38.764000] Enable 20/40 BSSCoex Channel Scan(BssCoex=1)
    [   38.776000] wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:127 for WDEV_TYPE:1
    [   38.776000]  LinkToOmacIdx = 0, LinkToWdevType = 1
    [   38.804000] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO),                 CmdBssInfoBmcRate.u2BcTransmit= 8192,                 CmdBssInfoBmcRate.u2McTransmit = 8196
    [   38.940000]  [RadarStateCheck]Set into RD_SILENCE_MODE!  
    [   38.964000] MtCmdTxPowerSKUCtrl: fgTxPowerSKUEn: 1, BandIdx: 0
    [   38.976000] MtCmdTxPowerPercentCtrl: fgTxPowerPercentEn: 1, BandIdx: 0
    [   38.992000] MtCmdTxBfBackoffCtrl: fgTxBFBackoffEn: 1, BandIdx: 0
    [   39.004000] mt7615_bbp_adjust():rf_bw=2, ext_ch=1, PrimCh=52, HT-CentCh=54, VHT-CentCh=58
    [   39.020000] mt7615_apply_dcoc() : reload Central CH [58] BW [2] from cetral freq [5290]  offset [1a00] 
    [   39.036000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   39.048000] mt7615_apply_dpd() : reload Central CH [58] BW [2] from cetral freq [5300] i[13] offset [30f8] 
    [   39.068000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   39.076000] MtCmdChannelSwitch: control_chl = 52,control_ch2=0, central_chl = 58 DBDCIdx= 0, Band= 0 
    [   39.092000] BW = 2,TXStream = 4, RXStream = 4, scan(0)
    [   39.124000] ap_phy_rrm_init_byRf(): AP Set CentralFreq at 58(Prim=52, HT-CentCh=54, VHT-CentCh=58, BBP_BW=2)
    [   39.144000] [WrapDfsRadarDetectStart]: Band0Ch is 52
    [   39.152000] [WrapDfsRadarDetectStart]: Band1Ch is 0
    [   39.176000] LeadTimeForBcn, OmacIdx = 0, WDEV_WITH_BCN_ABILITY
    [   39.188000] MtAsicSetRalinkBurstMode(2605): Not support for HIF_MT yet!
    [   39.200000] MtAsicSetPiggyBack(777): Not support for HIF_MT yet!
    [   39.212000] MtAsicSetTxPreamble(2584): Not support for HIF_MT yet!
    [   39.224000] ap_ftkd> Initialize FT KDP Module...
    [   39.236000] Main bssid = 04:ab:18:52:32:86
    [   39.244000] AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
    [   39.252000] MtCmdSetMacTxRx:(ret = 0)
    [   39.260000] MCS Set = ff ff ff ff 01
    [   39.268000]  Force Roam Support = 0
    [   39.836000] RT_CfgSetMacAddress : invalid length (0)
    [   39.848000] E2pAccessMode=2
    [   39.852000] SSID[0]=elecom-523283, EdcaIdx=0
    [   39.864000] TriBandChGrp=0/0/0/0
    [   39.872000] cfg_mode=9
    [   39.876000] cfg_mode=9
    [   39.880000] wmode_band_equal(): Band Equal!
    [   39.888000] BandSteering=0
    [   39.896000] BndStrgBssIdx=
    [   39.900000] [TxPower] BAND0: 100 
    [   39.908000] [SKUenable] BAND0: 1 
    [   39.912000] [PERCENTAGEenable] BAND0: 1 
    [   39.920000] [BFBACKOFFenable] BAND0: 1 
    [   39.928000] CalCacheApply = 0 
    [   39.936000] APEdca0
    [   39.940000] APEdca1
    [   39.944000] APEdca2
    [   39.952000] APEdca3
    [   39.956000] APSDCapable[0]=0
    [   39.964000] APSDCapable[1]=0
    [   39.968000] APSDCapable[2]=0
    [   39.976000] APSDCapable[3]=0
    [   39.980000] APSDCapable[4]=0
    [   39.984000] APSDCapable[5]=0
    [   39.992000] APSDCapable[6]=0
    [   39.996000] APSDCapable[7]=0
    [   40.004000] APSDCapable[8]=0
    [   40.008000] APSDCapable[9]=0
    [   40.016000] APSDCapable[10]=0
    [   40.020000] APSDCapable[11]=0
    [   40.028000] APSDCapable[12]=0
    [   40.032000] APSDCapable[13]=0
    [   40.036000] APSDCapable[14]=0
    [   40.044000] APSDCapable[15]=0
    [   40.048000] default ApCliAPSDCapable[0]=0
    [   40.056000] default ApCliAPSDCapable[1]=0
    [   40.068000] DfsZeroWait Support=0/0 
    [   40.076000] DfsZeroWaitCacTime=0/0 
    [   40.108000] rtmp_read_wds_from_file(): WDS Profile
    [   40.120000] APWdsInitialize():WdsEntry[0]
    [   40.128000] APWdsInitialize():WdsEntry[1]
    [   40.136000] APWdsInitialize():WdsEntry[2]
    [   40.144000] APWdsInitialize():WdsEntry[3]
    [   40.152000] WDS-Enable mode=0
    [   40.160000] AndesSendCmdMsg: Could not send in band command due to diablefRTMP_ADAPTER_MCU_SEND_IN_BAND_CMD
    [   40.180000] :MtCmdPktBudgetCtrl: bssid(255),wcid(65535),type(0)
    [   40.180000] HT: WDEV[0] Ext Channel = ABOVE
    [   40.180000] HT: greenap_cap = 0
    [   40.216000] IcapMode = 0
    [   40.228000] WtcSetMaxStaNum: MaxStaNum:103, BssidNum:1, WdsNum:4, ApcliNum:2, MaxNumChipRept:16, MinMcastWcid:125
    [   40.248000] Top Init Done!
    [   40.252000] Use alloc_skb
    [   40.260000] RX[0] DESC a0c14000 size = 16384
    [   40.268000] RX[1] DESC a0c12000 size = 8192
    [   40.280000] Hif Init Done!
    [   40.284000] ctl->txq = c05a9e6c
    [   40.292000] ctl->rxq = c05a9e78
    [   40.296000] ctl->ackq = c05a9e84
    [   40.304000] ctl->kickq = c05a9e90
    [   40.312000] ctl->tx_doneq = c05a9e9c
    [   40.316000] ctl->rx_doneq = c05a9ea8
    [   40.324000] mt7615_fw_prepare():FW(8a10), HW(8a10), CHIPID(7615))
    [   40.340000] mt7615_fw_prepare(2687): MT7615_E3, USE E3 patch and ram code binary image
    [   40.352000] AndesMTLoadRomMethodFwDlRing(1035), cap->rom_patch_len(11102)
    [   40.368000] AndesRestartCheck: Current TOP_MISC2(0x1)
    [   40.376000] AndesRestartCheck: (TOP_MISC2 = 1), ready to continue...RET(0)
    [   40.392000] 20170809192718a
    [   40.396000] 
    [   40.400000] platform = 
    [   40.404000] ALPS
    [   40.408000] hw/sw version = 
    [   40.416000] 8a108a10
    [   40.420000] patch version = 
    [   40.424000] 00000010
    [   40.428000] Patch SEM Status=2
    [   40.436000] MtCmdPatchSemGet:(ret = 0)
    [   40.444000] 
    [   40.444000] Patch is not ready && get semaphore success, SemStatus(2)
    [   40.460000] EventGenericEventHandler: CMD Success
    [   40.468000] MtCmdAddressLenReq:(ret = 0)
    [   40.476000] MtCmdPatchFinishReq
    [   40.492000] EventGenericEventHandler: CMD Success
    [   40.504000] Send checksum req..
    [   40.508000] Patch SEM Status=3
    [   40.516000] MtCmdPatchSemGet:(ret = 0)
    [   40.524000] 
    [   40.524000] Release patch semaphore, SemStatus(3)
    [   40.536000] AndesMTEraseRomPatch
    [   40.540000] WfMcuHwInit: Before NICLoadFirmware, check IcapMode=0
    [   40.552000] AndesMTLoadFwMethodFwDlRing(809), cap->fw_len(462248)
    [   40.564000] Build Date:_201708190346
    [   40.572000] Build Date:_201708190346
    [   40.580000] AndesRestartCheck: Current TOP_MISC2(0x1)
    [   40.592000] AndesRestartCheck: (TOP_MISC2 = 1), ready to continue...RET(0)
    [   40.604000] EventGenericEventHandler: CMD Success
    [   40.612000] MtCmdAddressLenReq:(ret = 0)
    [   40.628000] EventGenericEventHandler: CMD Success
    [   40.636000] MtCmdAddressLenReq:(ret = 0)
    [   40.644000] MtCmdFwStartReq: override = 1, address = 540672
    [   40.656000] EventGenericEventHandler: CMD Success
    [   40.664000] Build Date:_201707211524
    [   40.672000] EventGenericEventHandler: CMD Success
    [   40.680000] MtCmdAddressLenReq:(ret = 0)
    [   40.692000] MtCmdFwStartReq: override = 4, address = 0
    [   40.752000] EventGenericEventHandler: CMD Success
    [   40.804000] WfMcuHwInit: NICLoadFirmware OK, Check IcapMode=0
    [   40.816000] MCU Init Done!
    [   40.824000] efuse_probe: efuse = 10000212
    [   40.832000] RtmpChipOpsEepromHook::e2p_type=2, inf_Type=5
    [   40.840000] RtmpEepromGetDefault::e2p_dafault=1
    [   40.852000] RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 2, E2P default = 1
    [   40.864000] NVM is FLASH mode. dev_idx [0] FLASH OFFSET [0x0]
    [   40.888000] NICReadEEPROMParameters: EEPROM 0x52 b317
    [   40.908000] MtCmdSetTxLpfCal:(ret = 0)
    [   40.916000] MtCmdSetTxIqCal:(ret = 0)
    [   40.920000] MtCmdSetTxDcCal:(ret = 0)
    [   40.928000] MtCmdSetRxFiCal:(ret = 0)
    [   40.936000] MtCmdSetRxFdCal:(ret = 0)
    [   40.944000] MtCmdSetRxFdCal:(ret = 0)
    [   40.952000] MtCmdSetRxFdCal:(ret = 0)
    [   40.960000] MtCmdSetRxFdCal:(ret = 0)
    [   40.964000] MtCmdSetRxFdCal:(ret = 0)
    [   40.972000] MtCmdSetRxFdCal:(ret = 0)
    [   40.980000] MtCmdSetRxFdCal:(ret = 0)
    [   40.988000] MtCmdSetRxFdCal:(ret = 0)
    [   40.996000] MtCmdSetRxFdCal:(ret = 0)
    [   41.004000] NICReadEEPROMParameters: EEPROM 0x52 b317
    [   41.556000] Country Region from e2p = 101
    [   41.564000] mt7615_antenna_default_reset(): TxPath = 4, RxPath = 4
    [   41.576000] mt7615_antenna_default_reset(): DBDC 2G TxPath = 2, 2G RxPath = 2
    [   41.588000] mt7615_antenna_default_reset(): DBDC 5G TxPath = 2, 2G RxPath = 2
    [   41.604000] rtmp_read_txpwr_from_eeprom(233): Don't Support this now!
    [   41.616000] RTMPReadTxPwrPerRate(1381): Don't Support this now!
    [   41.616000] br-lan: port 2(rai0) entered forwarding state
    [   41.640000] RcRadioInit(): DbdcMode=0, ConcurrentBand=1
    [   41.648000] RcRadioInit(): pRadioCtrl=8f72f438,Band=0,rfcap=3,channel=1,PhyMode=2 extCha=0xf
    [   41.664000] Band Rf: 1, Phy Mode: 2
    [   41.672000] AntCfgInit(2766): Not support for HIF_MT yet!
    [   41.684000] MtSingleSkuLoadParam: RF_LOCKDOWN Feature OFF !!!
    [   41.696000] MtBfBackOffLoadTable: RF_LOCKDOWN Feature OFF !!!
    [   41.708000] EEPROM Init Done!
    [   41.716000] mt_mac_init()-->
    [   41.720000] mt_mac_pse_init(2750): Don't Support this now!
    [   41.732000] mt7615_init_mac_cr()-->
    [   41.740000] mt7615_init_mac_cr(): TMAC_TRCR0=0x82783c8c
    [   41.748000] MtAsicSetMacMaxLen(1300): Not finish Yet!
    [   41.760000] 
    [   41.916000] ApAutoChannelAtBootUp: AutoChannelBootup = 1, AutoChannelFlag = 1
    [   41.932000] MtCmdSetMacTxRx:(ret = 0)
    [   41.936000] mt7615_apply_dcoc() : reload Central CH [1] BW [0] from cetral freq [2417]  offset [2200] 
    [   41.956000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   41.964000] mt7615_apply_dpd() : reload Central CH [1] BW [0] from cetral freq [2422] i[44] offset [4b20] 
    [   41.984000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   41.992000] MtCmdChannelSwitch: control_chl = 1,control_ch2=0, central_chl = 1 DBDCIdx= 0, Band= 0 
    [   42.012000] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   42.232000] mt7615_apply_dcoc() : reload Central CH [2] BW [0] from cetral freq [2417]  offset [2200] 
    [   42.248000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   42.256000] mt7615_apply_dpd() : reload Central CH [2] BW [0] from cetral freq [2422] i[44] offset [4b20] 
    [   42.276000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   42.284000] MtCmdChannelSwitch: control_chl = 2,control_ch2=0, central_chl = 2 DBDCIdx= 0, Band= 0 
    [   42.304000] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   42.524000] mt7615_apply_dcoc() : reload Central CH [3] BW [0] from cetral freq [2417]  offset [2200] 
    [   42.540000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   42.548000] mt7615_apply_dpd() : reload Central CH [3] BW [0] from cetral freq [2422] i[44] offset [4b20] 
    [   42.568000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   42.576000] MtCmdChannelSwitch: control_chl = 3,control_ch2=0, central_chl = 3 DBDCIdx= 0, Band= 0 
    [   42.596000] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   42.892000] mt7615_apply_dcoc() : reload Central CH [4] BW [0] from cetral freq [2432]  offset [2300] 
    [   42.908000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   42.916000] mt7615_apply_dpd() : reload Central CH [4] BW [0] from cetral freq [2422] i[44] offset [4b20] 
    [   42.936000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   42.944000] MtCmdChannelSwitch: control_chl = 4,control_ch2=0, central_chl = 4 DBDCIdx= 0, Band= 0 
    [   42.964000] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   43.340000] mt7615_apply_dcoc() : reload Central CH [5] BW [0] from cetral freq [2432]  offset [2300] 
    [   43.356000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   43.364000] mt7615_apply_dpd() : reload Central CH [5] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   43.384000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   43.392000] MtCmdChannelSwitch: control_chl = 5,control_ch2=0, central_chl = 5 DBDCIdx= 0, Band= 0 
    [   43.412000] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   43.632000] mt7615_apply_dcoc() : reload Central CH [6] BW [0] from cetral freq [2432]  offset [2300] 
    [   43.648000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   43.656000] mt7615_apply_dpd() : reload Central CH [6] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   43.676000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   43.684000] MtCmdChannelSwitch: control_chl = 6,control_ch2=0, central_chl = 6 DBDCIdx= 0, Band= 0 
    [   43.704000] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   43.940000] mt7615_apply_dcoc() : reload Central CH [7] BW [0] from cetral freq [2447]  offset [2400] 
    [   43.956000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   43.964000] mt7615_apply_dpd() : reload Central CH [7] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   43.984000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   43.992000] MtCmdChannelSwitch: control_chl = 7,control_ch2=0, central_chl = 7 DBDCIdx= 0, Band= 0 
    [   44.012000] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   44.368000] mt7615_apply_dcoc() : reload Central CH [8] BW [0] from cetral freq [2447]  offset [2400] 
    [   44.384000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   44.392000] mt7615_apply_dpd() : reload Central CH [8] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   44.412000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   44.420000] MtCmdChannelSwitch: control_chl = 8,control_ch2=0, central_chl = 8 DBDCIdx= 0, Band= 0 
    [   44.440000] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   44.848000] mt7615_apply_dcoc() : reload Central CH [9] BW [0] from cetral freq [2447]  offset [2400] 
    [   44.864000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   44.872000] mt7615_apply_dpd() : reload Central CH [9] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   44.892000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   44.900000] MtCmdChannelSwitch: control_chl = 9,control_ch2=0, central_chl = 9 DBDCIdx= 0, Band= 0 
    [   44.920000] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   45.284000] mt7615_apply_dcoc() : reload Central CH [10] BW [0] from cetral freq [2467]  offset [2500] 
    [   45.300000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   45.308000] mt7615_apply_dpd() : reload Central CH [10] BW [0] from cetral freq [2462] i[46] offset [4cd0] 
    [   45.328000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   45.336000] MtCmdChannelSwitch: control_chl = 10,control_ch2=0, central_chl = 10 DBDCIdx= 0, Band= 0 
    [   45.356000] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   45.524000] [WrapDfsRddReportHandle]:  Radar detected !!!!!!!!!!!!!!!!!
    [   45.536000] [WrapDfsRddReportHandle]:  ucRddIdx: 0
    [   45.544000] [WrapDfsRddReportHandle]PrimCh: 40, Band0Ch:40, Band1Ch:0
    [   45.556000]  [WrapDfsRddReportHandle] RD_SILENCE_MODE. Update Uniform Ch=40, Bw=2  
    [   45.576000] MtAsicSetPiggyBack(777): Not support for HIF_MT yet!
    [   45.588000] WifiSysClose(), wdev idx = 0
    [   45.588000] ExtEventBeaconLostHandler::FW LOG, Beacon lost (04:ab:18:52:32:86), Reason 0x10
    [   45.588000]   Beacon lost - AP disabled!!!
    [   45.592000] WifiSysGetBssInfoState(): BssInfoIdx 0 not found!!!
    [   45.592000] WifiSysUpdateBssInfoState(): BssInfoIdx 0 not found!!!
    [   45.624000] mt7615_apply_dcoc() : reload Central CH [11] BW [0] from cetral freq [2467]  offset [2500] 
    [   45.624000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   45.624000] mt7615_apply_dpd() : reload Central CH [11] BW [0] from cetral freq [2462] i[46] offset [4cd0] 
    [   45.624000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   45.624000] MtCmdChannelSwitch: control_chl = 11,control_ch2=0, central_chl = 11 DBDCIdx= 0, Band= 0 
    [   45.624000] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   45.756000] ap_ftkd> Release FT KDP Module...
    [   45.764000] MtAsicSetRalinkBurstMode(2605): Not support for HIF_MT yet!
    [   45.776000] MtAsicSetPiggyBack(777): Not support for HIF_MT yet!
    [   45.788000] MtAsicSetTxPreamble(2584): Not support for HIF_MT yet!
    [   45.800000] WifiSysOpen(), wdev idx = 0
    [   45.808000] wdev_attr_update(): wdevId0 = 04:ab:18:52:32:86
    [   45.820000] [PMF]APPMFInit:: apidx=0, MFPC=0, MFPR=0, SHA256=0
    [   45.832000] [PMF]WPAMakeRsnIeCap: RSNIE Capability MFPC=0, MFPR=0
    [   45.844000] 
    [   45.844000] [Force Roam] => Force Roam Support = 0
    [   45.856000] HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:49,Channel=40
    [   45.876000] CountryCode(2.4G/5G)=1/1, RFIC=25, PHY mode(2.4G/5G)=49/49, support 19 channels
    [   45.884000] ====================================================================
    [   45.884000] Channel   1 : Busy Time =   4205, Skip Channel = FALSE, BwCap = TRUE
    [   45.884000] Channel   2 : Busy Time =   3829, Skip Channel = FALSE, BwCap = TRUE
    [   45.884000] Channel   3 : Busy Time =   5569, Skip Channel = FALSE, BwCap = TRUE
    [   45.884000] Channel   4 : Busy Time =   6484, Skip Channel = FALSE, BwCap = TRUE
    [   45.884000] Channel   5 : Busy Time =   3384, Skip Channel = FALSE, BwCap = TRUE
    [   45.884000] Channel   6 : Busy Time =   4586, Skip Channel = FALSE, BwCap = TRUE
    [   45.884000] Channel   7 : Busy Time =   8446, Skip Channel = FALSE, BwCap = TRUE
    [   45.884000] Channel   8 : Busy Time =   2281, Skip Channel = FALSE, BwCap = TRUE
    [   45.884000] Channel   9 : Busy Time =   5482, Skip Channel = FALSE, BwCap = TRUE
    [   45.884000] Channel  10 : Busy Time =   1719, Skip Channel = FALSE, BwCap = TRUE
    [   45.884000] Channel  11 : Busy Time =   9830, Skip Channel = FALSE, BwCap = TRUE
    [   45.884000] ====================================================================
    [   45.884000] Rule 3 Channel Busy time value : Select Primary Channel 10 
    [   45.884000] Rule 3 Channel Busy time value : Min Channel Busy = 1719
    [   45.884000] Rule 3 Channel Busy time value : BW = 20
    [   45.884000]  AutoChSelUpdateChannel(): Update channel for wdev0 for this band PhyMode = 14,Channel = 10  
    [   45.884000] ApAutoChannelAtBootUp Force Roam Support = 0
    [   45.884000] HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:14,Channel=10
    [   45.884000] CountryCode(2.4G/5G)=1/1, RFIC=25, PHY mode(2.4G/5G)=14/14, support 13 channels
    [   45.884000] Enable 20/40 BSSCoex Channel Scan(BssCoex=1)
    [   45.888000] MtCmdSetMacTxRx:(ret = 0)
    [   45.888000] mt7615_apply_dcoc() : reload Central CH [3] BW [0] from cetral freq [2417]  offset [2200] 
    [   45.888000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   45.888000] mt7615_apply_dpd() : reload Central CH [3] BW [0] from cetral freq [2422] i[44] offset [4b20] 
    [   45.888000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   45.888000] MtCmdChannelSwitch: control_chl = 3,control_ch2=0, central_chl = 3 DBDCIdx= 0, Band= 0 
    [   45.888000] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   45.900000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   46.264000] mt7615_apply_dcoc() : reload Central CH [4] BW [0] from cetral freq [2432]  offset [2300] 
    [   46.264000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   46.264000] mt7615_apply_dpd() : reload Central CH [4] BW [0] from cetral freq [2422] i[44] offset [4b20] 
    [   46.264000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   46.264000] MtCmdChannelSwitch: control_chl = 4,control_ch2=0, central_chl = 4 DBDCIdx= 0, Band= 0 
    [   46.264000] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   46.272000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   46.460000] Enable 20/40 BSSCoex Channel Scan(BssCoex=1)
    [   46.472000] wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:127 for WDEV_TYPE:1
    [   46.472000]  LinkToOmacIdx = 0, LinkToWdevType = 1
    [   46.504000] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO),                 CmdBssInfoBmcRate.u2BcTransmit= 8192,                 CmdBssInfoBmcRate.u2McTransmit = 8196
    [   46.608000] mt7615_apply_dcoc() : reload Central CH [5] BW [0] from cetral freq [2432]  offset [2300] 
    [   46.624000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   46.632000] mt7615_apply_dpd() : reload Central CH [5] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   46.652000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   46.652000]  [RadarStateCheck]Set into RD_NORMAL_MODE  
    [   46.652000] MtCmdTxPowerSKUCtrl: fgTxPowerSKUEn: 1, BandIdx: 0
    [   46.652000] MtCmdTxPowerPercentCtrl: fgTxPowerPercentEn: 1, BandIdx: 0
    [   46.652000] MtCmdTxBfBackoffCtrl: fgTxBFBackoffEn: 1, BandIdx: 0
    [   46.652000] mt7615_bbp_adjust():rf_bw=2, ext_ch=3, PrimCh=40, HT-CentCh=38, VHT-CentCh=42
    [   46.652000] mt7615_apply_dcoc() : reload Central CH [42] BW [2] from cetral freq [5210]  offset [1900] 
    [   46.744000] MtCmdChannelSwitch: control_chl = 5,control_ch2=0, central_chl = 5 DBDCIdx= 0, Band= 0 
    [   46.764000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   46.764000] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   46.772000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   46.792000] mt7615_apply_dpd() : reload Central CH [42] BW [2] from cetral freq [5220] i[9] offset [2d98] 
    [   46.808000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   46.820000] MtCmdChannelSwitch: control_chl = 40,control_ch2=0, central_chl = 42 DBDCIdx= 0, Band= 0 
    [   46.836000] BW = 2,TXStream = 4, RXStream = 4, scan(0)
    [   46.864000] ap_phy_rrm_init_byRf(): AP Set CentralFreq at 42(Prim=40, HT-CentCh=38, VHT-CentCh=42, BBP_BW=2)
    [   46.900000] [WrapDfsRadarDetectStart]: Band0Ch is 40
    [   46.908000] [WrapDfsRadarDetectStart]: Band1Ch is 0
    [   46.920000] LeadTimeForBcn, OmacIdx = 0, WDEV_WITH_BCN_ABILITY
    [   46.932000] ap_ftkd> Initialize FT KDP Module...
    [   46.940000] Main bssid = 04:ab:18:52:32:86
    [   46.948000] MtCmdSetDfsTxStart:(ret = 0)
    [   47.348000] mt7615_apply_dcoc() : reload Central CH [6] BW [0] from cetral freq [2432]  offset [2300] 
    [   47.364000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   47.372000] mt7615_apply_dpd() : reload Central CH [6] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   47.392000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   47.400000] MtCmdChannelSwitch: control_chl = 6,control_ch2=0, central_chl = 6 DBDCIdx= 0, Band= 0 
    [   47.420000] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   47.440000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   47.476000] :MtCmdPktBudgetCtrl: bssid(255),wcid(65535),type(0)
    [   47.908000] mt7615_apply_dcoc() : reload Central CH [7] BW [0] from cetral freq [2447]  offset [2400] 
    [   47.924000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   47.932000] mt7615_apply_dpd() : reload Central CH [7] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   47.952000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   47.960000] MtCmdChannelSwitch: control_chl = 7,control_ch2=0, central_chl = 7 DBDCIdx= 0, Band= 0 
    [   47.980000] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   48.000000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   48.308000] mt7615_apply_dcoc() : reload Central CH [8] BW [0] from cetral freq [2447]  offset [2400] 
    [   48.324000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   48.332000] mt7615_apply_dpd() : reload Central CH [8] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   48.352000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   48.360000] MtCmdChannelSwitch: control_chl = 8,control_ch2=0, central_chl = 8 DBDCIdx= 0, Band= 0 
    [   48.380000] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   48.400000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   48.768000] mt7615_apply_dcoc() : reload Central CH [9] BW [0] from cetral freq [2447]  offset [2400] 
    [   48.784000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   48.792000] mt7615_apply_dpd() : reload Central CH [9] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   48.812000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   48.820000] MtCmdChannelSwitch: control_chl = 9,control_ch2=0, central_chl = 9 DBDCIdx= 0, Band= 0 
    [   48.840000] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   48.860000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   49.180000] mt7615_apply_dcoc() : reload Central CH [10] BW [0] from cetral freq [2467]  offset [2500] 
    [   49.196000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   49.204000] mt7615_apply_dpd() : reload Central CH [10] BW [0] from cetral freq [2462] i[46] offset [4cd0] 
    [   49.224000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   49.232000] MtCmdChannelSwitch: control_chl = 10,control_ch2=0, central_chl = 10 DBDCIdx= 0, Band= 0 
    [   49.252000] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   49.272000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   49.580000] mt7615_apply_dcoc() : reload Central CH [11] BW [0] from cetral freq [2467]  offset [2500] 
    [   49.596000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   49.604000] mt7615_apply_dpd() : reload Central CH [11] BW [0] from cetral freq [2462] i[46] offset [4cd0] 
    [   49.624000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   49.632000] MtCmdChannelSwitch: control_chl = 11,control_ch2=0, central_chl = 11 DBDCIdx= 0, Band= 0 
    [   49.652000] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   49.672000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   50.008000] mt7615_apply_dcoc() : reload Central CH [12] BW [0] from cetral freq [2467]  offset [2500] 
    [   50.024000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   50.032000] mt7615_apply_dpd() : reload Central CH [12] BW [0] from cetral freq [2462] i[46] offset [4cd0] 
    [   50.052000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   50.060000] MtCmdChannelSwitch: control_chl = 12,control_ch2=0, central_chl = 12 DBDCIdx= 0, Band= 0 
    [   50.080000] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   50.100000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   50.408000] mt7615_apply_dcoc() : reload Central CH [13] BW [0] from cetral freq [2467]  offset [2500] 
    [   50.424000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   50.432000] mt7615_apply_dpd() : reload Central CH [13] BW [0] from cetral freq [2462] i[46] offset [4cd0] 
    [   50.452000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   50.460000] MtCmdChannelSwitch: control_chl = 13,control_ch2=0, central_chl = 13 DBDCIdx= 0, Band= 0 
    [   50.480000] BW = 0,TXStream = 4, RXStream = 4, scan(1)
    [   50.500000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   50.868000] wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:127 for WDEV_TYPE:1
    [   50.868000]  LinkToOmacIdx = 0, LinkToWdevType = 1
    [   50.896000] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO),                 CmdBssInfoBmcRate.u2BcTransmit= 0,                 CmdBssInfoBmcRate.u2McTransmit = 0
    [   51.028000]  [RadarStateCheck]Set into RD_NORMAL_MODE  
    [   51.040000] MtCmdTxPowerSKUCtrl: fgTxPowerSKUEn: 1, BandIdx: 0
    [   51.052000] MtCmdTxPowerPercentCtrl: fgTxPowerPercentEn: 1, BandIdx: 0
    [   51.064000] MtCmdTxBfBackoffCtrl: fgTxBFBackoffEn: 1, BandIdx: 0
    [   51.076000] mt7615_bbp_adjust():rf_bw=0, ext_ch=0, PrimCh=10, HT-CentCh=10, VHT-CentCh=0
    [   51.092000] mt7615_apply_dcoc() : reload Central CH [10] BW [0] from cetral freq [2467]  offset [2500] 
    [   51.112000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   51.120000] mt7615_apply_dpd() : reload Central CH [10] BW [0] from cetral freq [2462] i[46] offset [4cd0] 
    [   51.140000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   51.148000] MtCmdChannelSwitch: control_chl = 10,control_ch2=0, central_chl = 10 DBDCIdx= 0, Band= 0 
    [   51.168000] BW = 0,TXStream = 4, RXStream = 4, scan(0)
    [   51.200000] ap_phy_rrm_init_byRf(): AP Set CentralFreq at 10(Prim=10, HT-CentCh=10, VHT-CentCh=0, BBP_BW=0)
    [   51.232000] LeadTimeForBcn, OmacIdx = 0, WDEV_WITH_BCN_ABILITY
    [   51.244000] MtAsicSetRalinkBurstMode(2605): Not support for HIF_MT yet!
    [   51.256000] MtAsicSetPiggyBack(777): Not support for HIF_MT yet!
    [   51.268000] MtAsicSetTxPreamble(2584): Not support for HIF_MT yet!
    [   51.284000] ap_ftkd> Initialize FT KDP Module...
    [   51.292000] Main bssid = 04:ab:18:52:32:85
    [   51.300000] AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
    [   51.308000] MtCmdSetMacTxRx:(ret = 0)
    [   51.316000] MCS Set = ff ff ff ff 01
    [   51.324000]  cap_vht_bw: 0, correct to cap_vht_bw
    [   51.384000] The new WDS interface MAC = FF:FF:FF:FF:FF:FF
    [   51.392000]   MacTabMatchWCID = 0
    [   51.400000] wlan_operate_set_vht_bw(): new vht_bw:1 > cap_vht_bw: 0, correct to cap_vht_bw
    [   51.416000] The new WDS interface MAC = FF:FF:FF:FF:FF:FF
    [   51.428000]   MacTabMatchWCID = 0
    [   51.436000] wlan_operate_set_vht_bw(): new vht_bw:1 > cap_vht_bw: 0, correct to cap_vht_bw
    [   51.452000] The new WDS interface MAC = FF:FF:FF:FF:FF:FF
    [   51.464000]   MacTabMatchWCID = 0
    [   51.472000] wlan_operate_set_vht_bw(): new vht_bw:1 > cap_vht_bw: 0, correct to cap_vht_bw
    [   51.488000] Total allocated 4 WDS interfaces!
    [   51.500000] wlan_operate_set_vht_bw(): new vht_bw:1 > cap_vht_bw: 0, correct to cap_vht_bw
    [   51.516000] wlan_operate_set_vht_bw(): new vht_bw:1 > cap_vht_bw: 0, correct to cap_vht_bw
    [   51.536000] WtcSetMaxStaNum: MaxStaNum:103, BssidNum:1, WdsNum:4, ApcliNum:2, MaxNumChipRept:16, MinMcastWcid:125
    [   51.600000] red_is_enabled: set CR4/N9 RED Enable to 1.
    [   51.612000] cp_support_is_enabled: set CR4 CP_SUPPORT to Mode 2.
    [   51.624000] Correct apidx from 0 to 0 for WscUUIDInit
    [   51.632000] Generate UUID for apidx(0)
    [   51.640000] PpeDevRegHandler : ineterface ra0 register (1)
    [   51.716000] device ra0 entered promiscuous mode
    [   51.724000] br-lan: port 3(ra0) entered forwarding state
    [   51.736000] br-lan: port 3(ra0) entered forwarding state
    [   53.740000] br-lan: port 3(ra0) entered forwarding state
    [   54.084000] PpeDevRegHandler : ineterface apcli0 register (2)
    [   54.096000] wlan_operate_set_vht_bw(): new vht_bw:1 > cap_vht_bw: 0, correct to cap_vht_bw
    [   54.112000] WifiSysOpen(), wdev idx = 5
    [   54.120000] HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:14,Channel=10
    [   54.140000] HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:14,Channel=10
    [   54.156000] CountryCode(2.4G/5G)=1/1, RFIC=25, PHY mode(2.4G/5G)=14/14, support 13 channels
    [   54.176000] PpeDevRegHandler : ineterface apclii0 register (3)
    [   54.188000] WifiSysOpen(), wdev idx = 5
    [   54.196000] HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:49,Channel=40
    [   54.216000] HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:49,Channel=40
    [   54.232000] CountryCode(2.4G/5G)=1/1, RFIC=25, PHY mode(2.4G/5G)=49/49, support 19 channels
    [   54.524000] 
    [   54.524000]  Set_Led_Proc ==> arg = 00-00-00-00-02-00-00-00
    [   54.540000] 
    [   54.540000] Set_Led_Proc
    [   54.548000] 00
    [   54.548000] 00
    [   54.552000] 00
    [   54.556000] 00
    [   54.560000] 02
    [   54.564000] 00
    [   54.568000] 00
    [   54.568000] 00
    [   54.572000] AndesLedEnhanceOP: Success!
    [   54.624000] 
    [   54.624000]  Set_Led_Proc ==> arg = 00-00-00-00-02-00-00-00
    [   54.636000] 
    [   54.636000] Set_Led_Proc
    [   54.644000] 00
    [   54.648000] 00
    [   54.652000] 00
    [   54.656000] 00
    [   54.660000] 02
    [   54.660000] 00
    [   54.664000] 00
    [   54.668000] 00
    [   54.672000] AndesLedEnhanceOP: Success!
    [   54.916000] BndStrg_Init()
    BndStrg_SetInfFlags(): BSS(04:AB:18:52:32:85) set 2G Inf ra0 ready.
    BndStrg Enable Success
    
    [   54.948000] BndStrg_Init()
    [   54.948000] BndStrg_SetInfFlags(): BSS(04:AB:18:52:32:86) set 5G Inf rai0 ready.
    BndStrg Enable Success
    
    [   57.068000] BndStrg_InfStatusRsp:INF [ra0]STATUS QUERY ON
    [   57.080000] 
    [   57.080000] BndStrg_InfStatusRsp:INF [rai0]STATUS QUERY ON
    start ddns
    
    add_cron
    add_cron data
    [   59.112000] Send DISASSOC frame(3) with ra0
    [   59.120000] Send DISASSOC frame(3) with ra0
    FC start
    FC Disable