WXR-5950AX12 FIT構成

FIT description: ARM OpenWrt FIT (Flattened Image Tree)
Created:         Wed Oct  9 01:45:25 2019
 Image 0 (kernel@1)
  Description:  ARM OpenWrt Linux-4.4.60
  Created:      Wed Oct  9 01:45:25 2019
  Type:         Kernel Image
  Compression:  gzip compressed
  Data Size:    3983312 Bytes = 3889.95 KiB = 3.80 MiB
  Architecture: ARM
  OS:           Linux
  Load Address: 0x41208000
  Entry Point:  0x41208000
  Hash algo:    crc32
  Hash value:   c4f687b8
  Hash algo:    sha1
  Hash value:   604266deee680ef619cdccd9dbe88df41254ca5f
 Image 1 (fdt@oak02)
  Description:  ARM OpenWrt  device tree blob
  Created:      Wed Oct  9 01:45:25 2019
  Type:         Flat Device Tree
  Compression:  uncompressed
  Data Size:    85510 Bytes = 83.51 KiB = 0.08 MiB
  Architecture: ARM
  Hash algo:    crc32
  Hash value:   2bbeca35
  Hash algo:    sha1
  Hash value:   6dd1d470af202d9f3e4a7c8e8e0ffc0a3e7edfed
 Image 2 (fdt@hk01.internal)
  Description:  ARM OpenWrt  device tree blob
  Created:      Wed Oct  9 01:45:25 2019
  Type:         Flat Device Tree
  Compression:  uncompressed
  Data Size:    78407 Bytes = 76.57 KiB = 0.07 MiB
  Architecture: ARM
  Hash algo:    crc32
  Hash value:   00d00d96
  Hash algo:    sha1
  Hash value:   5a3cedddf18f12d3204e86fe33443456f1b9f0d1
 Image 3 (fdt@hk08)
  Description:  ARM OpenWrt  device tree blob
  Created:      Wed Oct  9 01:45:25 2019
  Type:         Flat Device Tree
  Compression:  uncompressed
  Data Size:    80628 Bytes = 78.74 KiB = 0.08 MiB
  Architecture: ARM
  Hash algo:    crc32
  Hash value:   f52ddf8a
  Hash algo:    sha1
  Hash value:   e999270d8a2733439e259460d841702735ead308
 Image 4 (fdt@hk01.c3)
  Description:  ARM OpenWrt  device tree blob
  Created:      Wed Oct  9 01:45:25 2019
  Type:         Flat Device Tree
  Compression:  uncompressed
  Data Size:    86396 Bytes = 84.37 KiB = 0.08 MiB
  Architecture: ARM
  Hash algo:    crc32
  Hash value:   6ae3dab9
  Hash algo:    sha1
  Hash value:   d2a8848e1f78a0ed0fd1955e2ba82e8cbcb7518b
 Image 5 (fdt@db.hk01)
  Description:  ARM OpenWrt  device tree blob
  Created:      Wed Oct  9 01:45:25 2019
  Type:         Flat Device Tree
  Compression:  uncompressed
  Data Size:    78910 Bytes = 77.06 KiB = 0.08 MiB
  Architecture: ARM
  Hash algo:    crc32
  Hash value:   ed94fb77
  Hash algo:    sha1
  Hash value:   27231736c86fb268105cbb1d328dea2f0b753ded
 Image 6 (fdt@hk01.c4)
  Description:  ARM OpenWrt  device tree blob
  Created:      Wed Oct  9 01:45:25 2019
  Type:         Flat Device Tree
  Compression:  uncompressed
  Data Size:    85497 Bytes = 83.49 KiB = 0.08 MiB
  Architecture: ARM
  Hash algo:    crc32
  Hash value:   4888bacf
  Hash algo:    sha1
  Hash value:   5376f5e870846adab15c35ea6d51d4195ed13dc8
 Image 7 (fdt@hk02)
  Description:  ARM OpenWrt  device tree blob
  Created:      Wed Oct  9 01:45:25 2019
  Type:         Flat Device Tree
  Compression:  uncompressed
  Data Size:    80196 Bytes = 78.32 KiB = 0.08 MiB
  Architecture: ARM
  Hash algo:    crc32
  Hash value:   a2f1d28f
  Hash algo:    sha1
  Hash value:   c56924301cacd3e4939d8518aa4dcad8308063c0
 Image 8 (fdt@hk01)
  Description:  ARM OpenWrt  device tree blob
  Created:      Wed Oct  9 01:45:25 2019
  Type:         Flat Device Tree
  Compression:  uncompressed
  Data Size:    78350 Bytes = 76.51 KiB = 0.07 MiB
  Architecture: ARM
  Hash algo:    crc32
  Hash value:   ea5c5e6c
  Hash algo:    sha1
  Hash value:   30c344d8d72ae431f7e4bf4dfbf3ace9bc512642
 Default Configuration: 'config@hk01'
 Configuration 0 (config@oak02)
  Description:  OpenWrt
  Kernel:       kernel@1
  FDT:          fdt@oak02
 Configuration 1 (config@hk01.internal)
  Description:  OpenWrt
  Kernel:       kernel@1
  FDT:          fdt@hk01.internal
 Configuration 2 (config@hk08)
  Description:  OpenWrt
  Kernel:       kernel@1
  FDT:          fdt@hk08
 Configuration 3 (config@hk01.c3)
  Description:  OpenWrt
  Kernel:       kernel@1
  FDT:          fdt@hk01.c3
 Configuration 4 (config@db.hk01)
  Description:  OpenWrt
  Kernel:       kernel@1
  FDT:          fdt@db.hk01
 Configuration 5 (config@hk01.c4)
  Description:  OpenWrt
  Kernel:       kernel@1
  FDT:          fdt@hk01.c4
 Configuration 6 (config@hk02)
  Description:  OpenWrt
  Kernel:       kernel@1
  FDT:          fdt@hk02
 Configuration 7 (config@hk01)
  Description:  OpenWrt
  Kernel:       kernel@1
  FDT:          fdt@hk01

WSR-2533DHP2 進捗報告

長らくRTL8367Sがどうにもできずに放置に近い状態になってしまっていたが、TL-R600VPN v4でRTL8367Sに再会したのをきっかけに作業を行い、だいぶ進捗を出せたので記録として。

WSR-2533DHP2仕様

  • SoC: MediaTek MT7622B
    • ARM Cortex-A53 (aarch64)
    • 1.35GHz, 2C2T
  • RAM: DDR3 256MiB
  • Flash: NAND 128MiB
  • Ethernet: 10/100/1000
    • Realtek RTL8367S
  • WLAN: 2.4/5GHz 4T4R
    • 2.4GHz: SoC (MT7622B)
    • 5GHz: MT7615

OpenWrtと絡めた雑感

targetが成熟途中
MT7622はmediatek targetの “mt7622” subtargetに属するが、mediatek target全体としてまだramipsやar71xx/ath79のような程度の成熟度合いには遠い印象。ウォッチしていると、既存デバイスのDTSの内容がコロコロ変わる。
イーサネットスイッチのノードでcompatibleの関連付けが全く違うものに変更されたときは愕然とした。(たぶん計画段階とは違うものをボードの正式版で載せた為だろう)
RTL8367Sスイッチのサポートが無くて厳しい
WSR-2533DHP2は上記仕様のとおりRTL8367Sスイッチを搭載する。このスイッチはSoCなどコントローラとの接続において、RGMIIやSGMIIのほか、2.5Gbpsでの通信が可能なHSGMIIに対応する。OpenWrtでは、このスイッチをサポートするドライバが記事を書いた時点で存在していない。
サポートを追加するpatchは投げられているが、reviewに対してauthorの反応が無く、マージされるか非常に怪しい。(また、そのpatchではRGMIIのサポートしか追加されていないためWSR-2533DHP2では不足)
RTL8367Sスイッチを搭載するデバイスが他になくて色々厳しい
正確には、WSR-2533DHP2のサポート作業を始めた当初は同じと思われるノードが記述されていたが、後になってMediaTek MT753xに変更された。現状他にRTL8367S系のスイッチを搭載するボードはOpenWrt内に存在せず、ネットワーク周りの構成が参考にできない。

サポート作業進捗状況

項目 状態 備考
Kernelバージョン 5.4 4.19では、MT7622のイーサネット周辺の実装に問題があるようで、大量のbackportが必要となりconflictを起こしやすいため。Kernel 5.4では修正済みの模様であることから、そちらのみを使用。作業開始当初は4.14だったことを考えると、遠くまで来たものだ。
initramfsでのブート OK
NAND Flashの認識 OK Kernel 5.4ではraw NANDのサポートの有効化に必要なconfigが変更されており、なかなかNAND Flashの認識を有効化できず手間取った。
MT7622 GMACの認識/動作 OK 上記の通り、修正が行われた状態のため見た範囲では動作に問題無し。2.5GbpsのHSGMIIでもしっかり動作。
RTL8367S
  • 認識: OK
  • HSGMII: OK
  • VLAN: OK
TP-Link TL-R600VPN v4を最近購入し、それのGPLソースコードを基にOpenWrtに既存のRTL8367Bドライバ (RTL8367RB, RTL8367R-VB) へRTL8367Sのサポートを追加した。ベースとしては、前述の既に投げられているRGMIIのみのpatchと、以前やり取りして行われたhauke氏による追加の改変を利用した。
sysupgradeでのブート WIP

当初KernelのみTRXに押し込みRootFSはUBIで持たせることを考えたが、Kernelをブートできずエラーも無しに止まってしまうためTRXにすべて押し込むことでブートはできるようになった。
ただし、Flashからブートした場合RTL8367Sのprobeに失敗する。RESET線か電源線の問題と予想。
SoC内蔵無線機能の認識 保留 いずれやる必要はあるが、優先度は低く、他に重要な問題が上記の通り在るので後回し。

以上。引き続き頑張る。

余談: NATをLAN -> WANで計測したところ、Netfilter Flow Offloadingの有無にかかわらず750Mbps超出ていた。その状態でもCPUのidleは平均63%ほどだった。(Flow Offloadingが機能していないような気もする?)

WRC-1167GS2-B

既にOpenWrtでサポート済みのWRC-1167GHBK2-Sとほぼ同程度の機能を持ち、価格設定も同程度であるから後継と思われ、以前より気になっていた機種。某フリマアプリで比較的安価に入手できた。
サポートのため弄っていくのでメモ。

Switch

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

MAC

未確認

  • LAN: 04:AB:18:xx:xx:13 (Factory, 0xFFF4 (hex))
  • WAN: 04:AB:18:xx:xx:14 (Factory, 0xFFFA (hex))
  • 2.4G: 04:AB:18:xx:xx:15 (?)
  • 5G: 04:AB:18:xx:xx:16 (Factory, 0x4 (hex))

U-Boot

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

  • version
    MT7621 # version
    
    U-Boot 1.1.3 (Apr 19 2019 - 17:51:16)
    

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

Kernel

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

  • uname -a
    root@MT7621:/# uname -a
    Linux MT7621 3.10.14 #9 SMP Tue Jul 2 16:34:03 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) ) #9 SMP Tue Jul 2 16:34:03 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:         120000 kB
    MemFree:          102604 kB
    Buffers:            1432 kB
    Cached:             2704 kB
    SwapCached:            0 kB
    Active:             1584 kB
    Inactive:           3124 kB
    Active(anon):        576 kB
    Inactive(anon):        4 kB
    Active(file):       1008 kB
    Inactive(file):     3120 kB
    Unevictable:           0 kB
    Mlocked:               0 kB
    SwapTotal:             0 kB
    SwapFree:              0 kB
    Dirty:                 0 kB
    Writeback:             0 kB
    AnonPages:           592 kB
    Mapped:              592 kB
    Shmem:                 4 kB
    Slab:               6280 kB
    SReclaimable:        468 kB
    SUnreclaim:         5812 kB
    KernelStack:         376 kB
    PageTables:           84 kB
    NFS_Unstable:          0 kB
    Bounce:                0 kB
    WritebackTmp:          0 kB
    CommitLimit:       60000 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: 01000000 00010000 "ALL"
    mtd1: 00030000 00010000 "Bootloader"
    mtd2: 00010000 00010000 "Config"
    mtd3: 00010000 00010000 "Factory"
    mtd4: 00b00000 00010000 "firmware"
    mtd5: 00400000 00010000 "kernel"
    mtd6: 00700000 00010000 "rootfs"
    mtd7: 00380000 00010000 "tm_pattern"
    mtd8: 00080000 00010000 "tm_key"
    mtd9: 00030000 00010000 "nvram"
    mtd10: 00080000 00010000 "rootfs_data"
    

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

  • help
    
    

  • help
    
    

  • help
    
    

  • help
    
    

  • 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 ===
    PLL4 FB_DL: 0x14, 1/0 = 578/446 51000000
    PLL3 FB_DL: 0x17, 1/0 = 530/494 5D000000
    PLL2 FB_DL: 0x1c, 1/0 = 649/375 71000000
    do DDR setting..[01F40000]
    Apply DDR3 Setting...(use customer AC)
              0    8   16   24   32   40   48   56   64   72   80   88   96  104  112  120
          --------------------------------------------------------------------------------
    0000:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    0001:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    0002:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    0003:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    0004:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    0005:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    0006:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    0007:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    0008:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    0009:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    000A:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    000B:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    000C:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    000D:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    000E:|    0    0    0    0    0    0    0    0    0    0    1    1    1    1    1    1
    000F:|    0    0    0    0    0    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 = 16
    rank 0 fine = 40
    B:|    0    0    0    0    0    0    0    0    0    1    1    1    0    0    0    0
    opt_dle value:10
    DRAMC_R0DELDLY[018]=00002121
    ==================================================================
                    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 11 10 9 8 9 7 5 9 
    10 |    7 9 9 11 7 10 
    --------------------------------------
    
    ==================================================================
    2.dqs window
    x=pass dqs delay value (min~max)center 
    y=0-7bit DQ of every group
    input delay:DQS0 =33 DQS1 = 33
    ==================================================================
    bit     DQS0     bit      DQS1
    0  (1~63)32  8  (1~61)31
    1  (2~64)33  9  (2~62)32
    2  (1~66)33  10  (1~62)31
    3  (1~66)33  11  (1~60)30
    4  (1~64)32  12  (2~64)33
    5  (1~66)33  13  (1~62)31
    6  (2~64)33  14  (1~62)31
    7  (1~66)33  15  (1~65)33
    ==================================================================
    3.dq delay value last
    ==================================================================
    bit|    0  1  2  3  4  5  6  7  8   9
    --------------------------------------
    0 |    11 9 11 10 10 8 9 7 7 10 
    10 |    9 12 9 13 9 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 (Apr 19 2019 - 17:51:16)
    
    Board: Ralink APSoC DRAM:  128 MB
    relocate_code Pointer at: 87fb4000
    
    Config XHCI 40M PLL 
    ******************************
    Software System Reset Occurred
    ******************************
    flash manufacture id: c2, device id 20 18
    find flash: MX25L12805D
    ============================================ 
    Ralink UBoot Version: 5.0.0.0
    -------------------------------------------- 
    ASIC MT7621A DualCore (MAC to MT7530 Mode)
    DRAM_CONF_FROM: Auto-Detection 
    DRAM_TYPE: DDR3 
    DRAM bus: 16 bit
    Xtal Mode=3 OCP Ratio=1/3
    Flash component: SPI Flash
    Date:Apr 19 2019  Time:17:51:16
    ============================================ 
    icache: sets:256, ways:4, linesz:32 ,total:32768
    dcache: sets:256, ways:4, linesz:32 ,total:32768 
    
     ##### The CPU freq = 880 MHZ #### 
     estimate memory size =128 Mbytes
    #Reset_MT7530
    set LAN/WAN WLLLL
    
    Please choose the operation: 
       1: Load system code to SDRAM via TFTP. 
       2: Load system code then write to Flash via TFTP. 
       3: Boot system code via Flash (default).
       4: Entr boot command line interface.
       7: Load Boot Loader code then write to Flash via Serial. 
       9: Load Boot Loader code then write to Flash via TFTP.                                                                  0 
       
    3: System Boot system code via Flash.
    ## Booting image at bc050000 ...
       Image Name:   MIPS OpenWrt Linux-3.10
       Image Type:   MIPS Linux Kernel Image (lzma compressed)
       Data Size:    9830336 Bytes =  9.4 MB
       Load Address: 81001000
       Entry Point:  81666310
       Verifying Checksum ... OK
       Uncompressing Kernel Image ... OK
    No initrd
    ## Transferring control to Linux (at address 81666310) ...
    ## 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) ) #9 SMP Tue Jul 2 16:34:03 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 @81ad3000 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=00002808
    [    0.000000] Readback ErrCtl register=00002808
    [    0.000000] Memory: 119764k/131072k available (6594k kernel code, 11308k reserved, 2316k 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.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] PCIE1 no card, disable it(RST&CLK)
    [    1.712000] PCIE2 no card, disable it(RST&CLK)
    [    1.716000] pcie_link status = 0x1
    [    1.720000] RALINK_RSTCTRL= 1000000
    [    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] interrupt enable status: 100000
    [    1.740000] Port 0 N_FTS = 1b105000
    [    1.744000] config reg done
    [    1.748000] 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:00.0: BAR 0: can't assign mem (size 0x80000000)
    [    1.864000] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
    [    1.880000] pci 0000:00:00.0: BAR 1: assigned [mem 0x60100000-0x6010ffff]
    [    1.892000] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
    [    1.908000] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    1.916000] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
    [    1.928000] PCI: Enabling device 0000:00:00.0 (0004 -> 0006)
    [    1.940000] BAR0 at slot 0 = 0
    [    1.948000] bus=0x0, slot = 0x0
    [    1.952000] res[0]->start = 0
    [    1.960000] res[0]->end = 0
    [    1.964000] res[1]->start = 60100000
    [    1.972000] res[1]->end = 6010ffff
    [    1.980000] res[2]->start = 0
    [    1.984000] res[2]->end = 0
    [    1.988000] res[3]->start = 0
    [    1.996000] res[3]->end = 0
    [    2.000000] res[4]->start = 0
    [    2.008000] res[4]->end = 0
    [    2.012000] res[5]->start = 0
    [    2.020000] res[5]->end = 0
    [    2.024000] bus=0x1, slot = 0x0, irq=0x4
    [    2.032000] res[0]->start = 60000000
    [    2.040000] res[0]->end = 600fffff
    [    2.044000] res[1]->start = 0
    [    2.052000] res[1]->end = 0
    [    2.056000] res[2]->start = 0
    [    2.064000] res[2]->end = 0
    [    2.068000] res[3]->start = 0
    [    2.076000] res[3]->end = 0
    [    2.080000] res[4]->start = 0
    [    2.084000] res[4]->end = 0
    [    2.092000] res[5]->start = 0
    [    2.096000] res[5]->end = 0
    [    2.104000] Switching to clocksource MIPS
    [    2.112000] NET: Registered protocol family 2
    [    2.120000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
    [    2.136000] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
    [    2.148000] TCP: Hash tables configured (established 1024 bind 1024)
    [    2.160000] TCP: reno registered
    [    2.168000] UDP hash table entries: 256 (order: 1, 8192 bytes)
    [    2.176000] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    [    2.192000] NET: Registered protocol family 1
    [    2.200000] RPC: Registered named UNIX socket transport module.
    [    2.212000] RPC: Registered udp transport module.
    [    2.220000] RPC: Registered tcp transport module.
    [    2.228000] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    2.244000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    2.256000] jffs2: version 2.2. (NAND) (ZLIB) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
    [    2.276000] fuse init (API version 7.22)
    [    2.284000] msgmni has been set to 233
    [    2.292000] io scheduler noop registered (default)
    [    2.304000] reg_int_mask=0, INT_MASK= 0 
    [    2.312000] HSDMA_init
    [    2.316000] 
    [    2.316000]  hsdma_phy_tx_ring0 = 0x00c00000, hsdma_tx_ring0 = 0xa0c00000
    [    2.332000] 
    [    2.332000]  hsdma_phy_rx_ring0 = 0x00c04000, hsdma_rx_ring0 = 0xa0c04000
    [    2.348000] TX_CTX_IDX0 = 0
    [    2.356000] TX_DTX_IDX0 = 0
    [    2.360000] RX_CRX_IDX0 = 3ff
    [    2.364000] RX_DRX_IDX0 = 0
    [    2.372000] set_fe_HSDMA_glo_cfg
    [    2.376000] HSDMA_GLO_CFG = 465
    [    2.384000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
    [    2.396000] serial8250: ttyS0 at MMIO 0x1e000d00 (irq = 27) is a 16550A
    [    2.412000] serial8250: ttyS1 at MMIO 0x1e000c00 (irq = 26) is a 16550A
    [    2.424000] Ralink gpio driver initialized
    [    2.436000] brd: module loaded
    [    2.444000] flash manufacture id: c2, device id 20 18
    [    2.452000] MX25L12805D(c2 2018c220) (16384 Kbytes)
    [    2.464000] mtd .name = raspi, .size = 0x01000000 (16M) .erasesize = 0x00010000 (64K) .numeraseregions = 0
    [    2.484000] Creating 11 MTD partitions on "raspi":
    [    2.492000] 0x000000000000-0x000001000000 : "ALL"
    [    2.504000] 0x000000000000-0x000000030000 : "Bootloader"
    [    2.512000] 0x000000030000-0x000000040000 : "Config"
    [    2.524000] 0x000000040000-0x000000050000 : "Factory"
    [    2.536000] 0x000000050000-0x000000b50000 : "firmware"
    [    2.544000] 0x000000050000-0x000000450000 : "kernel"
    [    2.556000] 0x000000450000-0x000000b50000 : "rootfs"
    [    2.568000] 0x000000b50000-0x000000ed0000 : "tm_pattern"
    [    2.576000] 0x000000ed0000-0x000000f50000 : "tm_key"
    [    2.588000] 0x000000f50000-0x000000f80000 : "nvram"
    [    2.596000] 0x000000f80000-0x000001000000 : "rootfs_data"
    [    2.608000] PPP generic driver version 2.4.2
    [    2.616000] PPP BSD Compression module registered
    [    2.628000] PPP MPPE Compression module registered
    [    2.636000] NET: Registered protocol family 24
    [    2.644000] PPTP driver version 0.8.5
    [    2.652000] #############################################
    [    2.664000] ez_init_mod
    [    2.668000] #############################################
    [    2.680000] register mt_drv
    [    2.696000] 
    [    2.696000] 
    [    2.696000] === pAd = c0201000, size = 3961680 ===
    [    2.696000] 
    [    2.716000] PciHif.CSRBaseAddress =0xc0100000, csr_addr=0xc0100000!
    [    2.736000] RTMPInitPCIeDevice():device_id=0x7615
    [    2.748000] DriverOwn()::Try to Clear FW Own...
    [    3.052000] DriverOwn()::Success to clear FW Own
    [    3.060000] mt_pci_chip_cfg(): HWVer=0x8a10, FWVer=0x8a10, pAd->ChipID=0x7615
    [    3.076000] mt_pci_chip_cfg(): HIF_SYS_REV=0x76150001
    [    3.084000] RtmpChipOpsHook(492): Not support for HIF_MT yet! MACVersion=0x0
    [    3.100000] mt7615_init()-->
    [    3.104000] Use 1st iPAiLNA default bin.
    [    3.112000] Use 0st /etc_ro/wlan/MT7615E_EEPROM1.bin default bin.
    [    3.124000] skb_free start address is 0x8706a6cc.
    [   17.996000] free_txd: 00c60010, ei_local->cpu_ptr: 00C60000
    [   18.008000]  POOL  HEAD_PTR | DMA_PTR | CPU_PTR 
    [   18.020000] ----------------+---------+--------
    [   18.028000]      0xa0c60000 0x00C60000 0x00C60000
    [   18.036000] 
    [   18.036000] phy_qrx_ring = 0x00c1a000, qrx_ring = 0xa0c1a000
    [   18.052000] 
    [   18.052000] phy_rx_ring0 = 0x00c1c000, rx_ring[0] = 0xa0c1c000
    [   18.088000] MT7530 Reset Completed!!
    [   18.100000] change HW-TRAP to 0x117c8f
    [   18.112000] set LAN/WAN WLLLL
    [   18.120000] GMAC1_MAC_ADRH -- : 0x000004ab
    [   18.128000] GMAC1_MAC_ADRL -- : 0x18582f13
    [   18.136000] GDMA2_MAC_ADRH -- : 0x000004ab
    [   18.144000] GDMA2_MAC_ADRL -- : 0x18582f14
    [   18.156000] eth3: ===> VirtualIF_open
    [   18.164000] MT7621 GE2 link rate to 1G
    [   18.164000] CDMA_CSG_CFG = 81000000
    [   18.164000] GDMA1_FWD_CFG = 20710000
    [   18.164000] GDMA2_FWD_CFG = 20710000
    [   18.672000] ra2880stop()...Done
    [   18.676000] eth3: ===> VirtualIF_close
    [   18.688000] Free TX/RX Ring Memory!
    [   18.700000]  4:FFFFFFAB:18:58:2F:13
    [   18.708000] Raeth v3.1 (Tasklet)
    [   18.716000] set CLK_CFG_0 = 0x40a00020!!!!!!!!!!!!!!!!!!1
    [   18.732000] phy_free_head is 0xc18000!!!
    [   18.740000] phy_free_tail_phy is 0xc19ff0!!!
    [   18.748000] txd_pool=a0c60000 phy_txd_pool=00C60000
    [   18.760000] ei_local->skb_free start address is 0x8706a6cc.
    [   18.772000] free_txd: 00c60010, ei_local->cpu_ptr: 00C60000
    [   18.780000]  POOL  HEAD_PTR | DMA_PTR | CPU_PTR 
    [   18.792000] ----------------+---------+--------
    [   18.800000]      0xa0c60000 0x00C60000 0x00C60000
    [   18.808000] 
    [   18.808000] phy_qrx_ring = 0x00c1a000, qrx_ring = 0xa0c1a000
    [   18.824000] 
    [   18.824000] phy_rx_ring0 = 0x00c1c000, rx_ring[0] = 0xa0c1c000
    [   18.860000] MT7530 Reset Completed!!
    [   18.872000] change HW-TRAP to 0x117c8f
    [   18.884000] set LAN/WAN WLLLL
    [   18.892000] GMAC1_MAC_ADRH -- : 0x000004ab
    [   18.900000] GMAC1_MAC_ADRL -- : 0x18582f13
    [   18.908000] eth3: ===> VirtualIF_open
    [   18.916000] MT7621 GE2 link rate to 1G
    [   18.916000] CDMA_CSG_CFG = 81000000
    [   18.916000] GDMA1_FWD_CFG = 20710000
    [   18.916000] GDMA2_FWD_CFG = 20710000
    [   18.944000] device eth2 entered promiscuous mode
    [   18.960000] br-lan: port 1(eth2) entered forwarding state
    [   18.968000] br-lan: port 1(eth2) entered forwarding state
    [   18.992000] eth3: ===> VirtualIF_open
    [   19.000000] device eth3 entered promiscuous mode
    [   19.012000] br-lan: port 2(eth3) entered forwarding state
    [   19.024000] br-lan: port 2(eth3) entered forwarding state
    dnsmasq
    dnsmasq [br-lan]
    [   20.972000] br-lan: port 1(eth2) entered forwarding state
    [   21.028000] br-lan: port 2(eth3) entered forwarding state
    LAN_UP_AGAIN
    UHTTP crt Checked
    main init
    main init
    page=[/setup/index.html]
    page=[/setup/index.html]
    count=[43]
    count=[43]
    [   29.044000] DriverOwn()::Return since already in Driver Own...
    [   29.056000] APWdsInitialize():WdsEntry[0]
    [   29.064000] APWdsInitialize():WdsEntry[1]
    [   29.072000] APWdsInitialize():WdsEntry[2]
    [   29.080000] APWdsInitialize():WdsEntry[3]
    [   29.092000] [wifi_fwd_set_cb_num] band_cb_offset=33, recv_from_cb_offset=34
    [   29.108000] 
    [   29.108000] [Force Roam] => Force Roam Support = 0
    [   29.224000] multi-profile merge success, en:1,pf1_num:1,pf2_num:1,total:2
    [   29.248000] MacAddress1 = 00:00:00:00:00:00
    [   29.260000] E2pAccessMode=2
    [   29.264000] SSID[0]=elecom-582f13, EdcaIdx=0
    [   29.272000] SSID[1]=elecom-582f13, EdcaIdx=0
    [   29.284000] RTMPSetProfileParameters(): DBDC Mode=1
    [   29.292000] TriBandChGrp=0/0/0/0
    [   29.300000] cfg_mode=14
    [   29.304000] cfg_mode=14
    [   29.308000] wmode_band_equal(): Band Equal!
    [   29.316000] cfg_mode=9
    [   29.324000] cfg_mode=9
    [   29.328000] BandSteering=0
    [   29.336000] BndStrgBssIdx=1;1
    [   29.340000] [TxPower] BAND0: 100, BAND1: 100 
    [   29.348000] [SKUenable] BAND0: 1, BAND1: 1 
    [   29.360000] [PERCENTAGEenable] BAND0: 1, BAND1: 1 
    [   29.368000] [BFBACKOFFenable] BAND0: 1, BAND1: 1 
    [   29.376000] CalCacheApply = 0 
    [   29.388000] APEdca0
    [   29.392000] Valid=1
    [   29.396000] APAifsn[0]=3
    [   29.400000] APAifsn[1]=7
    [   29.404000] APAifsn[2]=1
    [   29.412000] APAifsn[3]=1
    [   29.416000] APEdca1
    [   29.420000] Valid=1
    [   29.424000] APAifsn[0]=3
    [   29.428000] APAifsn[1]=7
    [   29.432000] APAifsn[2]=1
    [   29.440000] APAifsn[3]=1
    [   29.444000] APEdca2
    [   29.448000] APEdca3
    [   29.456000] BSSAifsn[0]=3
    [   29.460000] BSSAifsn[1]=7
    [   29.468000] BSSAifsn[2]=2
    [   29.472000] BSSAifsn[3]=2
    [   29.476000] BSSAifsn[0]=3
    [   29.484000] BSSAifsn[1]=7
    [   29.488000] BSSAifsn[2]=2
    [   29.492000] BSSAifsn[3]=2
    [   29.500000] APSDCapable[0]=0
    [   29.504000] APSDCapable[1]=0
    [   29.508000] default ApCliAPSDCapable[0]=0
    [   29.516000] default ApCliAPSDCapable[1]=0
    [   29.528000] DfsZeroWait Support=0/0 
    [   29.536000] DfsZeroWaitCacTime=0/0 
    [   29.576000] rtmp_read_wds_from_file(): WDS Profile
    [   29.588000] APWdsInitialize():WdsEntry[0]
    [   29.596000] APWdsInitialize():WdsEntry[1]
    [   29.604000] APWdsInitialize():WdsEntry[2]
    [   29.612000] APWdsInitialize():WdsEntry[3]
    [   29.620000] WDS-Enable mode=0
    [   29.624000] AndesSendCmdMsg: Could not send in band command due to diablefRTMP_ADAPTER_MCU_SEND_IN_BAND_CMD
    [   29.648000] HT: WDEV[0] Ext Channel = ABOVE
    [   29.656000] HT: WDEV[1] Ext Channel = ABOVE
    [   29.668000] HT: greenap_cap = 0
    [   29.716000] IcapMode = 0
    [   29.728000] WtcSetMaxStaNum: MaxStaNum:102, BssidNum:2, WdsNum:4, ApcliNum:2, MaxNumChipRept:16, MinMcastWcid:124
    [   29.748000] Top Init Done!
    [   29.752000] Use alloc_skb
    [   29.760000] RX[0] DESC a0c14000 size = 16384
    [   29.768000] RX[1] DESC a0c12000 size = 8192
    [   29.780000] Hif Init Done!
    [   29.784000] ctl->txq = c05c32c0
    [   29.792000] ctl->rxq = c05c32cc
    [   29.796000] ctl->ackq = c05c32d8
    [   29.804000] ctl->kickq = c05c32e4
    [   29.812000] ctl->tx_doneq = c05c32f0
    [   29.816000] ctl->rx_doneq = c05c32fc
    [   29.824000] mt7615_fw_prepare():FW(8a10), HW(8a10), CHIPID(7615))
    [   29.836000] mt7615_fw_prepare(2687): MT7615_E3, USE E3 patch and ram code binary image
    [   29.852000] AndesMTLoadRomMethodFwDlRing(1035), cap->rom_patch_len(11102)
    [   29.868000] AndesRestartCheck: Current TOP_MISC2(0x1)
    [   29.876000] AndesRestartCheck: (TOP_MISC2 = 1), ready to continue...RET(0)
    [   29.892000] 20170809192718a
    [   29.896000] 
    [   29.900000] platform = 
    [   29.904000] ALPS
    [   29.908000] hw/sw version = 
    [   29.912000] 8a108a10
    [   29.916000] patch version = 
    [   29.924000] 00000010
    [   29.928000] Patch SEM Status=2
    [   29.936000] MtCmdPatchSemGet:(ret = 0)
    [   29.940000] 
    [   29.940000] Patch is not ready && get semaphore success, SemStatus(2)
    [   29.956000] EventGenericEventHandler: CMD Success
    [   29.968000] MtCmdAddressLenReq:(ret = 0)
    [   29.976000] MtCmdPatchFinishReq
    [   29.992000] EventGenericEventHandler: CMD Success
    [   30.000000] Send checksum req..
    [   30.008000] Patch SEM Status=3
    [   30.016000] MtCmdPatchSemGet:(ret = 0)
    [   30.020000] 
    [   30.020000] Release patch semaphore, SemStatus(3)
    [   30.032000] AndesMTEraseRomPatch
    [   30.040000] WfMcuHwInit: Before NICLoadFirmware, check IcapMode=0
    [   30.052000] AndesMTLoadFwMethodFwDlRing(809), cap->fw_len(462248)
    [   30.064000] Build Date:_201708190346
    [   30.072000] Build Date:_201708190346
    [   30.080000] AndesRestartCheck: Current TOP_MISC2(0x1)
    [   30.088000] AndesRestartCheck: (TOP_MISC2 = 1), ready to continue...RET(0)
    [   30.104000] EventGenericEventHandler: CMD Success
    [   30.112000] MtCmdAddressLenReq:(ret = 0)
    [   30.124000] EventGenericEventHandler: CMD Success
    [   30.136000] MtCmdAddressLenReq:(ret = 0)
    [   30.144000] MtCmdFwStartReq: override = 1, address = 540672
    [   30.152000] EventGenericEventHandler: CMD Success
    [   30.164000] Build Date:_201707211524
    [   30.172000] EventGenericEventHandler: CMD Success
    [   30.180000] MtCmdAddressLenReq:(ret = 0)
    [   30.188000] MtCmdFwStartReq: override = 4, address = 0
    [   30.252000] EventGenericEventHandler: CMD Success
    [   30.304000] WfMcuHwInit: NICLoadFirmware OK, Check IcapMode=0
    [   30.316000] MCU Init Done!
    [   30.320000]  MtCmdSetRlmPorCal: (ret = 0) 
    [   30.328000] efuse_probe: efuse = 10000212
    [   30.336000] RtmpChipOpsEepromHook::e2p_type=2, inf_Type=5
    [   30.348000] RtmpEepromGetDefault::e2p_dafault=1
    [   30.356000] RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 2, E2P default = 1
    [   30.372000] NVM is FLASH mode. dev_idx [0] FLASH OFFSET [0x0]
    [   30.396000] NICReadEEPROMParameters: EEPROM 0x52 b317
    [   30.416000] MtCmdSetTxLpfCal:(ret = 0)
    [   30.424000] MtCmdSetTxIqCal:(ret = 0)
    [   30.432000] MtCmdSetTxDcCal:(ret = 0)
    [   30.440000] MtCmdSetRxFiCal:(ret = 0)
    [   30.444000] MtCmdSetRxFdCal:(ret = 0)
    [   30.452000] MtCmdSetRxFdCal:(ret = 0)
    [   30.460000] MtCmdSetRxFdCal:(ret = 0)
    [   30.468000] MtCmdSetRxFdCal:(ret = 0)
    [   30.476000] MtCmdSetRxFdCal:(ret = 0)
    [   30.480000] MtCmdSetRxFdCal:(ret = 0)
    [   30.488000] MtCmdSetRxFdCal:(ret = 0)
    [   30.496000] MtCmdSetRxFdCal:(ret = 0)
    [   30.504000] MtCmdSetRxFdCal:(ret = 0)
    [   30.512000] NICReadEEPROMParameters: EEPROM 0x52 b317
    [   31.064000] Country Region from e2p = 101
    [   31.072000] mt7615_antenna_default_reset(): TxPath = 4, RxPath = 4
    [   31.084000] mt7615_antenna_default_reset(): DBDC 2G TxPath = 2, 2G RxPath = 2
    [   31.096000] mt7615_antenna_default_reset(): DBDC 5G TxPath = 2, 2G RxPath = 2
    [   31.112000] rtmp_read_txpwr_from_eeprom(233): Don't Support this now!
    [   31.124000] RTMPReadTxPwrPerRate(1381): Don't Support this now!
    [   31.136000] RcRadioInit(): DbdcMode=1, ConcurrentBand=2
    [   31.148000] RcRadioInit(): pRadioCtrl=8773d454,Band=0,rfcap=1,channel=1,PhyMode=2 extCha=0xf
    [   31.164000] RcRadioInit(): pRadioCtrl=8773d540,Band=1,rfcap=2,channel=36,PhyMode=1 extCha=0xf
    [   31.180000] MtCmdSetDbdcCtrl:(ret = 0)
    [   31.188000] Band Rf: 1, Phy Mode: 2
    [   31.196000] Band Rf: 2, Phy Mode: 1
    [   31.204000] AntCfgInit(2766): Not support for HIF_MT yet!
    [   31.212000] MtSingleSkuLoadParam: RF_LOCKDOWN Feature OFF !!!
    [   31.264000] MtBfBackOffLoadTable: RF_LOCKDOWN Feature OFF !!!
    [   31.276000] EEPROM Init Done!
    [   31.284000] mt_mac_init()-->
    [   31.288000] mt_mac_pse_init(2750): Don't Support this now!
    [   31.300000] mt7615_init_mac_cr()-->
    [   31.304000] mt7615_init_mac_cr(): TMAC_TRCR0=0x82783c8c
    [   31.316000] mt7615_init_mac_cr(): TMAC_TRCR1=0x82783c8c
    [   31.328000] MtAsicSetMacMaxLen(1300): Not finish Yet!
    [   31.336000] 
    [   31.500000] ApAutoChannelAtBootUp: AutoChannelBootup = 1, AutoChannelFlag = 3
    [   31.516000] MtCmdSetMacTxRx:(ret = 0)
    [   31.524000] MtCmdSetMacTxRx:(ret = 0)
    [   31.532000] mt7615_apply_dcoc() : reload Central CH [42] BW [2] from cetral freq [5210]  offset [1900] 
    [   31.548000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   31.560000] mt7615_apply_dpd() : reload Central CH [42] BW [2] from cetral freq [5220] i[9] offset [2d98] 
    [   31.580000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   31.588000] MtCmdChannelSwitch: control_chl = 36,control_ch2=0, central_chl = 42 DBDCIdx= 1, Band= 0 
    [   31.604000] BW = 2,TXStream = 2, RXStream = 2, scan(1)
    [   31.832000] mt7615_apply_dcoc() : reload Central CH [42] BW [2] from cetral freq [5210]  offset [1900] 
    [   31.848000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   31.856000] mt7615_apply_dpd() : reload Central CH [42] BW [2] from cetral freq [5220] i[9] offset [2d98] 
    [   31.876000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   31.884000] MtCmdChannelSwitch: control_chl = 40,control_ch2=0, central_chl = 42 DBDCIdx= 1, Band= 0 
    [   31.904000] BW = 2,TXStream = 2, RXStream = 2, scan(1)
    [   32.280000] mt7615_apply_dcoc() : reload Central CH [42] BW [2] from cetral freq [5210]  offset [1900] 
    [   32.296000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   32.304000] mt7615_apply_dpd() : reload Central CH [42] BW [2] from cetral freq [5220] i[9] offset [2d98] 
    [   32.324000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   32.332000] MtCmdChannelSwitch: control_chl = 44,control_ch2=0, central_chl = 42 DBDCIdx= 1, Band= 0 
    [   32.352000] BW = 2,TXStream = 2, RXStream = 2, scan(1)
    [   32.572000] mt7615_apply_dcoc() : reload Central CH [42] BW [2] from cetral freq [5210]  offset [1900] 
    [   32.588000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   32.596000] mt7615_apply_dpd() : reload Central CH [42] BW [2] from cetral freq [5220] i[9] offset [2d98] 
    [   32.616000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   32.624000] MtCmdChannelSwitch: control_chl = 48,control_ch2=0, central_chl = 42 DBDCIdx= 1, Band= 0 
    [   32.644000] BW = 2,TXStream = 2, RXStream = 2, scan(1)
    [   32.864000] mt7615_apply_dcoc() : reload Central CH [58] BW [2] from cetral freq [5290]  offset [1a00] 
    [   32.880000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   32.888000] mt7615_apply_dpd() : reload Central CH [58] BW [2] from cetral freq [5300] i[13] offset [30f8] 
    [   32.908000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   32.916000] MtCmdChannelSwitch: control_chl = 52,control_ch2=0, central_chl = 58 DBDCIdx= 1, Band= 0 
    [   32.936000] BW = 2,TXStream = 2, RXStream = 2, scan(1)
    [   33.340000] mt7615_apply_dcoc() : reload Central CH [58] BW [2] from cetral freq [5290]  offset [1a00] 
    [   33.356000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   33.364000] mt7615_apply_dpd() : reload Central CH [58] BW [2] from cetral freq [5300] i[13] offset [30f8] 
    [   33.384000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   33.392000] MtCmdChannelSwitch: control_chl = 56,control_ch2=0, central_chl = 58 DBDCIdx= 1, Band= 0 
    [   33.412000] BW = 2,TXStream = 2, RXStream = 2, scan(1)
    [   33.632000] mt7615_apply_dcoc() : reload Central CH [58] BW [2] from cetral freq [5290]  offset [1a00] 
    [   33.648000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   33.656000] mt7615_apply_dpd() : reload Central CH [58] BW [2] from cetral freq [5300] i[13] offset [30f8] 
    [   33.676000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   33.684000] MtCmdChannelSwitch: control_chl = 60,control_ch2=0, central_chl = 58 DBDCIdx= 1, Band= 0 
    [   33.704000] BW = 2,TXStream = 2, RXStream = 2, scan(1)
    [   34.032000] mt7615_apply_dcoc() : reload Central CH [58] BW [2] from cetral freq [5290]  offset [1a00] 
    [   34.048000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   34.056000] mt7615_apply_dpd() : reload Central CH [58] BW [2] from cetral freq [5300] i[13] offset [30f8] 
    [   34.076000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   34.084000] MtCmdChannelSwitch: control_chl = 64,control_ch2=0, central_chl = 58 DBDCIdx= 1, Band= 0 
    [   34.104000] BW = 2,TXStream = 2, RXStream = 2, scan(1)
    [   34.324000] mt7615_apply_dcoc() : reload Central CH [106] BW [2] from cetral freq [5530]  offset [1d00] 
    [   34.340000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   34.348000] mt7615_apply_dpd() : reload Central CH [106] BW [2] from cetral freq [5540] i[25] offset [3b18] 
    [   34.368000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   34.380000] MtCmdChannelSwitch: control_chl = 100,control_ch2=0, central_chl = 106 DBDCIdx= 1, Band= 0 
    [   34.396000] BW = 2,TXStream = 2, RXStream = 2, scan(1)
    [   34.616000] mt7615_apply_dcoc() : reload Central CH [106] BW [2] from cetral freq [5530]  offset [1d00] 
    [   34.632000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   34.640000] mt7615_apply_dpd() : reload Central CH [106] BW [2] from cetral freq [5540] i[25] offset [3b18] 
    [   34.660000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   34.672000] MtCmdChannelSwitch: control_chl = 104,control_ch2=0, central_chl = 106 DBDCIdx= 1, Band= 0 
    [   34.688000] BW = 2,TXStream = 2, RXStream = 2, scan(1)
    [   35.000000] mt7615_apply_dcoc() : reload Central CH [106] BW [2] from cetral freq [5530]  offset [1d00] 
    [   35.016000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   35.024000] mt7615_apply_dpd() : reload Central CH [106] BW [2] from cetral freq [5540] i[25] offset [3b18] 
    [   35.044000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   35.056000] MtCmdChannelSwitch: control_chl = 108,control_ch2=0, central_chl = 106 DBDCIdx= 1, Band= 0 
    [   35.072000] BW = 2,TXStream = 2, RXStream = 2, scan(1)
    [   35.444000] mt7615_apply_dcoc() : reload Central CH [106] BW [2] from cetral freq [5530]  offset [1d00] 
    [   35.460000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   35.468000] mt7615_apply_dpd() : reload Central CH [106] BW [2] from cetral freq [5540] i[25] offset [3b18] 
    [   35.488000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   35.500000] MtCmdChannelSwitch: control_chl = 112,control_ch2=0, central_chl = 106 DBDCIdx= 1, Band= 0 
    [   35.516000] BW = 2,TXStream = 2, RXStream = 2, scan(1)
    [   35.736000] mt7615_apply_dcoc() : reload Central CH [122] BW [2] from cetral freq [5610]  offset [1e00] 
    [   35.752000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   35.760000] mt7615_apply_dpd() : reload Central CH [122] BW [2] from cetral freq [5620] i[29] offset [3e78] 
    [   35.780000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   35.792000] MtCmdChannelSwitch: control_chl = 116,control_ch2=0, central_chl = 122 DBDCIdx= 1, Band= 0 
    [   35.808000] BW = 2,TXStream = 2, RXStream = 2, scan(1)
    [   36.064000] mt7615_apply_dcoc() : reload Central CH [122] BW [2] from cetral freq [5610]  offset [1e00] 
    [   36.080000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   36.088000] mt7615_apply_dpd() : reload Central CH [122] BW [2] from cetral freq [5620] i[29] offset [3e78] 
    [   36.108000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   36.120000] MtCmdChannelSwitch: control_chl = 120,control_ch2=0, central_chl = 122 DBDCIdx= 1, Band= 0 
    [   36.136000] BW = 2,TXStream = 2, RXStream = 2, scan(1)
    [   36.356000] mt7615_apply_dcoc() : reload Central CH [122] BW [2] from cetral freq [5610]  offset [1e00] 
    [   36.372000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   36.380000] mt7615_apply_dpd() : reload Central CH [122] BW [2] from cetral freq [5620] i[29] offset [3e78] 
    [   36.400000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   36.412000] MtCmdChannelSwitch: control_chl = 124,control_ch2=0, central_chl = 122 DBDCIdx= 1, Band= 0 
    [   36.428000] BW = 2,TXStream = 2, RXStream = 2, scan(1)
    [   36.648000] mt7615_apply_dcoc() : reload Central CH [122] BW [2] from cetral freq [5610]  offset [1e00] 
    [   36.664000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   36.672000] mt7615_apply_dpd() : reload Central CH [122] BW [2] from cetral freq [5620] i[29] offset [3e78] 
    [   36.692000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   36.704000] MtCmdChannelSwitch: control_chl = 128,control_ch2=0, central_chl = 122 DBDCIdx= 1, Band= 0 
    [   36.720000] BW = 2,TXStream = 2, RXStream = 2, scan(1)
    [   37.064000] ====================================================================
    [   37.076000] Channel  36 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   37.092000] Channel  40 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   37.108000] Channel  44 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   37.120000] Channel  48 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   37.136000] Channel  52 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   37.152000] Channel  56 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   37.164000] Channel  60 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   37.180000] Channel  64 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   37.196000] Channel 100 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   37.208000] Channel 104 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   37.224000] Channel 108 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   37.240000] Channel 112 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   37.252000] Channel 116 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   37.268000] Channel 120 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   37.284000] Channel 124 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   37.296000] Channel 128 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
    [   37.312000] ====================================================================
    [   37.328000] Rule 3 Channel Busy time value : Select Primary Channel 36 
    [   37.340000] Rule 3 Channel Busy time value : Min Channel Busy = 0
    [   37.352000] Rule 3 Channel Busy time value : BW = 80
    [   37.364000]  AutoChSelUpdateChannel(): Update channel for wdev0 for this band PhyMode = 49,Channel = 36  
    [   37.384000]  AutoChSelUpdateChannel(): Update channel for wdev1 for this band PhyMode = 14,Channel = 0  
    [   37.404000] mt7615_apply_dcoc() : reload Central CH [1] BW [0] from cetral freq [2417]  offset [2200] 
    [   37.420000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   37.432000] mt7615_apply_dpd() : reload Central CH [1] BW [0] from cetral freq [2422] i[44] offset [4b20] 
    [   37.452000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   37.460000] MtCmdChannelSwitch: control_chl = 1,control_ch2=0, central_chl = 1 DBDCIdx= 0, Band= 0 
    [   37.476000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
    [   37.696000] mt7615_apply_dcoc() : reload Central CH [2] BW [0] from cetral freq [2417]  offset [2200] 
    [   37.712000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   37.720000] mt7615_apply_dpd() : reload Central CH [2] BW [0] from cetral freq [2422] i[44] offset [4b20] 
    [   37.740000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   37.748000] MtCmdChannelSwitch: control_chl = 2,control_ch2=0, central_chl = 2 DBDCIdx= 0, Band= 0 
    [   37.768000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
    [   38.100000] mt7615_apply_dcoc() : reload Central CH [3] BW [0] from cetral freq [2417]  offset [2200] 
    [   38.116000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   38.124000] mt7615_apply_dpd() : reload Central CH [3] BW [0] from cetral freq [2422] i[44] offset [4b20] 
    [   38.144000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   38.152000] MtCmdChannelSwitch: control_chl = 3,control_ch2=0, central_chl = 3 DBDCIdx= 0, Band= 0 
    [   38.172000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
    [   38.392000] mt7615_apply_dcoc() : reload Central CH [4] BW [0] from cetral freq [2432]  offset [2300] 
    [   38.408000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   38.416000] mt7615_apply_dpd() : reload Central CH [4] BW [0] from cetral freq [2422] i[44] offset [4b20] 
    [   38.436000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   38.444000] MtCmdChannelSwitch: control_chl = 4,control_ch2=0, central_chl = 4 DBDCIdx= 0, Band= 0 
    [   38.464000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
    [   38.684000] mt7615_apply_dcoc() : reload Central CH [5] BW [0] from cetral freq [2432]  offset [2300] 
    [   38.700000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   38.708000] mt7615_apply_dpd() : reload Central CH [5] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   38.728000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   38.736000] MtCmdChannelSwitch: control_chl = 5,control_ch2=0, central_chl = 5 DBDCIdx= 0, Band= 0 
    [   38.756000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
    [   39.128000] mt7615_apply_dcoc() : reload Central CH [6] BW [0] from cetral freq [2432]  offset [2300] 
    [   39.144000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   39.152000] mt7615_apply_dpd() : reload Central CH [6] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   39.172000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   39.180000] MtCmdChannelSwitch: control_chl = 6,control_ch2=0, central_chl = 6 DBDCIdx= 0, Band= 0 
    [   39.200000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
    [   39.420000] mt7615_apply_dcoc() : reload Central CH [7] BW [0] from cetral freq [2447]  offset [2400] 
    [   39.436000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   39.444000] mt7615_apply_dpd() : reload Central CH [7] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   39.464000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   39.472000] MtCmdChannelSwitch: control_chl = 7,control_ch2=0, central_chl = 7 DBDCIdx= 0, Band= 0 
    [   39.492000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
    [   39.712000] mt7615_apply_dcoc() : reload Central CH [8] BW [0] from cetral freq [2447]  offset [2400] 
    [   39.728000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   39.736000] mt7615_apply_dpd() : reload Central CH [8] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   39.756000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   39.764000] MtCmdChannelSwitch: control_chl = 8,control_ch2=0, central_chl = 8 DBDCIdx= 0, Band= 0 
    [   39.784000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
    [   40.188000] mt7615_apply_dcoc() : reload Central CH [9] BW [0] from cetral freq [2447]  offset [2400] 
    [   40.204000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   40.212000] mt7615_apply_dpd() : reload Central CH [9] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   40.232000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   40.240000] MtCmdChannelSwitch: control_chl = 9,control_ch2=0, central_chl = 9 DBDCIdx= 0, Band= 0 
    [   40.260000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
    [   40.480000] mt7615_apply_dcoc() : reload Central CH [10] BW [0] from cetral freq [2467]  offset [2500] 
    [   40.496000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   40.504000] mt7615_apply_dpd() : reload Central CH [10] BW [0] from cetral freq [2462] i[46] offset [4cd0] 
    [   40.524000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   40.536000] MtCmdChannelSwitch: control_chl = 10,control_ch2=0, central_chl = 10 DBDCIdx= 0, Band= 0 
    [   40.552000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
    [   40.772000] mt7615_apply_dcoc() : reload Central CH [11] BW [0] from cetral freq [2467]  offset [2500] 
    [   40.788000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   40.796000] mt7615_apply_dpd() : reload Central CH [11] BW [0] from cetral freq [2462] i[46] offset [4cd0] 
    [   40.816000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   40.824000] MtCmdChannelSwitch: control_chl = 11,control_ch2=0, central_chl = 11 DBDCIdx= 0, Band= 0 
    [   40.844000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
    [   41.148000] ====================================================================
    [   41.160000] Channel   1 : Busy Time =   8155, Skip Channel = FALSE, BwCap = TRUE
    [   41.176000] Channel   2 : Busy Time =  22485, Skip Channel = FALSE, BwCap = TRUE
    [   41.192000] Channel   3 : Busy Time =   3198, Skip Channel = FALSE, BwCap = TRUE
    [   41.204000] Channel   4 : Busy Time =   3881, Skip Channel = FALSE, BwCap = TRUE
    [   41.220000] Channel   5 : Busy Time =   2389, Skip Channel = FALSE, BwCap = TRUE
    [   41.236000] Channel   6 : Busy Time =   7421, Skip Channel = FALSE, BwCap = TRUE
    [   41.248000] Channel   7 : Busy Time =   7464, Skip Channel = FALSE, BwCap = TRUE
    [   41.264000] Channel   8 : Busy Time =   9509, Skip Channel = FALSE, BwCap = TRUE
    [   41.280000] Channel   9 : Busy Time =   3834, Skip Channel = FALSE, BwCap = TRUE
    [   41.292000] Channel  10 : Busy Time =   3876, Skip Channel = FALSE, BwCap = TRUE
    [   41.308000] Channel  11 : Busy Time =   8277, Skip Channel = FALSE, BwCap = TRUE
    [   41.324000] ====================================================================
    [   41.336000] Rule 3 Channel Busy time value : Select Primary Channel 5 
    [   41.352000] Rule 3 Channel Busy time value : Min Channel Busy = 2389
    [   41.364000] Rule 3 Channel Busy time value : BW = 20
    [   41.372000]  AutoChSelUpdateChannel(): Update channel for wdev0 for this band PhyMode = 49,Channel = 36  
    [   41.392000]  AutoChSelUpdateChannel(): Update channel for wdev1 for this band PhyMode = 14,Channel = 5  
    [   41.412000] ApAutoChannelAtBootUp Force Roam Support = 0
    [   41.520000] ez_allocate_or_update_non_ez_band_hook:: add new band entry at index: 0
    [   41.536000] HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:49,Channel=36
    [   41.556000] CountryCode(2.4G/5G)=1/1, RFIC=25, PHY mode(2.4G/5G)=2/49, support 32 channels
    [   41.572000] Enable 20/40 BSSCoex Channel Scan(BssCoex=1)
    [   41.580000] wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:127 for WDEV_TYPE:1
    [   41.580000]  LinkToOmacIdx = 0, LinkToWdevType = 1
    [   41.612000] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO),                 CmdBssInfoBmcRate.u2BcTransmit= 8192,                 CmdBssInfoBmcRate.u2McTransmit = 8196
    [   41.640000] MtCmdSetDbdcCtrl:(ret = 0)
    [   41.748000]  [RadarStateCheck]Set into RD_NORMAL_MODE  
    [   41.760000] MtCmdTxPowerSKUCtrl: fgTxPowerSKUEn: 1, BandIdx: 1
    [   41.772000] MtCmdTxPowerPercentCtrl: fgTxPowerPercentEn: 1, BandIdx: 1
    [   41.784000] MtCmdTxBfBackoffCtrl: fgTxBFBackoffEn: 1, BandIdx: 1
    [   41.796000] mt7615_bbp_adjust():rf_bw=2, ext_ch=1, PrimCh=36, HT-CentCh=38, VHT-CentCh=42
    [   41.812000] mt7615_apply_dcoc() : reload Central CH [42] BW [2] from cetral freq [5210]  offset [1900] 
    [   41.832000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   41.840000] mt7615_apply_dpd() : reload Central CH [42] BW [2] from cetral freq [5220] i[9] offset [2d98] 
    [   41.860000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   41.868000] MtCmdChannelSwitch: control_chl = 36,control_ch2=0, central_chl = 42 DBDCIdx= 1, Band= 0 
    [   41.888000] BW = 2,TXStream = 2, RXStream = 2, scan(0)
    [   41.912000] ap_phy_rrm_init_byRf(): AP Set CentralFreq at 42(Prim=36, HT-CentCh=38, VHT-CentCh=42, BBP_BW=2)
    [   41.948000] [WrapDfsRadarDetectStart]: Band0Ch is 36
    [   41.956000] [WrapDfsRadarDetectStart]: Band1Ch is 0
    [   41.968000] LeadTimeForBcn, OmacIdx = 0, WDEV_WITH_BCN_ABILITY
    [   41.980000] MtAsicSetRalinkBurstMode(2605): Not support for HIF_MT yet!
    [   41.992000] MtAsicSetPiggyBack(777): Not support for HIF_MT yet!
    [   42.004000] MtAsicSetTxPreamble(2584): Not support for HIF_MT yet!
    [   42.016000] WifiFwdSet::disabled=0
    [   42.024000] ap_ftkd> Initialize FT KDP Module...
    [   42.032000] Main bssid = 04:ab:18:58:2f:16
    [   42.044000] AsicRadioOnOffCtrl(): DbdcIdx=1 RadioOn
    [   42.052000] MtCmdSetMacTxRx:(ret = 0)
    [   42.060000] MtCmdSetMacTxRx:(ret = 0)
    [   42.068000] MCS Set = ff ff 00 00 01
    [   42.076000]  Regroup Support = 0
    [   42.140000] WDS_Init():
    [   42.144000] The new WDS interface MAC = FF:FF:FF:FF:FF:FF
    [   42.156000]   MacTabMatchWCID = 0
    [   42.164000] The new WDS interface MAC = FF:FF:FF:FF:FF:FF
    [   42.176000]   MacTabMatchWCID = 0
    [   42.184000] The new WDS interface MAC = FF:FF:FF:FF:FF:FF
    [   42.192000]   MacTabMatchWCID = 0
    [   42.204000] The new WDS interface MAC = FF:FF:FF:FF:FF:FF
    [   42.212000]   MacTabMatchWCID = 0
    [   42.220000] Total allocated 4 WDS interfaces!
    [   42.232000] ###########################ez_init_hook########################
    [   42.244000] 
    [   42.244000] [REGROUP] => Regroup Support = 0
    [   42.256000] ###########################ez_init_hook########################
    [   42.272000] 
    [   42.272000] [REGROUP] => Regroup Support = 0
    [   42.284000] WtcSetMaxStaNum: MaxStaNum:102, BssidNum:2, WdsNum:4, ApcliNum:2, MaxNumChipRept:16, MinMcastWcid:124
    [   42.352000] red_is_enabled: set CR4/N9 RED Enable to 1.
    [   42.364000] cp_support_is_enabled: set CR4 CP_SUPPORT to Mode 2.
    [   42.376000] Correct apidx from 0 to 0 for WscUUIDInit
    [   42.384000] Generate UUID for apidx(0)
    [   42.460000] device ra0 entered promiscuous mode
    [   42.468000] br-lan: port 3(ra0) entered forwarding state
    [   42.480000] br-lan: port 3(ra0) entered forwarding state
    [   42.652000] WifiSysOpen(), wdev idx = 1
    [   42.660000] wdev_attr_update(): wdevId1 = 04:ab:18:58:2f:15
    [   42.672000] MtCmdSetDbdcCtrl:(ret = 0)
    [   42.680000] [PMF]APPMFInit:: apidx=1, MFPC=0, MFPR=0, SHA256=0
    [   42.692000] [PMF]WPAMakeRsnIeCap: RSNIE Capability MFPC=0, MFPR=0
    [   42.704000] 
    [   42.704000] [Force Roam] => Force Roam Support = 0
    [   42.716000] ez_allocate_or_update_non_ez_band_hook:: add new band entry at index: 1
    [   42.732000] HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:14,Channel=5
    [   42.748000] CountryCode(2.4G/5G)=1/1, RFIC=25, PHY mode(2.4G/5G)=14/49, support 32 channels
    [   42.764000] Enable 20/40 BSSCoex Channel Scan(BssCoex=1)
    [   42.776000] MtCmdSetMacTxRx:(ret = 0)
    [   42.784000] MtCmdSetMacTxRx:(ret = 0)
    [   42.792000] mt7615_apply_dcoc() : reload Central CH [2] BW [0] from cetral freq [2417]  offset [2200] 
    [   42.808000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   42.820000] mt7615_apply_dpd() : reload Central CH [2] BW [0] from cetral freq [2422] i[44] offset [4b20] 
    [   42.836000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   42.848000] MtCmdChannelSwitch: control_chl = 2,control_ch2=0, central_chl = 2 DBDCIdx= 0, Band= 0 
    [   42.864000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
    [   42.884000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   43.020000] :MtCmdPktBudgetCtrl: bssid(255),wcid(65535),type(0)
    [   43.404000] mt7615_apply_dcoc() : reload Central CH [3] BW [0] from cetral freq [2417]  offset [2200] 
    [   43.420000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   43.428000] mt7615_apply_dpd() : reload Central CH [3] BW [0] from cetral freq [2422] i[44] offset [4b20] 
    [   43.448000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   43.456000] MtCmdChannelSwitch: control_chl = 3,control_ch2=0, central_chl = 3 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.804000] mt7615_apply_dcoc() : reload Central CH [4] BW [0] from cetral freq [2432]  offset [2300] 
    [   43.820000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   43.828000] mt7615_apply_dpd() : reload Central CH [4] BW [0] from cetral freq [2422] i[44] offset [4b20] 
    [   43.848000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   43.856000] MtCmdChannelSwitch: control_chl = 4,control_ch2=0, central_chl = 4 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.252000] mt7615_apply_dcoc() : reload Central CH [5] BW [0] from cetral freq [2432]  offset [2300] 
    [   44.268000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   44.276000] mt7615_apply_dpd() : reload Central CH [5] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   44.296000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   44.304000] MtCmdChannelSwitch: control_chl = 5,control_ch2=0, central_chl = 5 DBDCIdx= 0, Band= 0 
    [   44.324000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
    [   44.344000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   44.484000] br-lan: port 3(ra0) entered forwarding state
    [   44.692000] mt7615_apply_dcoc() : reload Central CH [6] BW [0] from cetral freq [2432]  offset [2300] 
    [   44.708000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   44.716000] mt7615_apply_dpd() : reload Central CH [6] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   44.736000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   44.744000] MtCmdChannelSwitch: control_chl = 6,control_ch2=0, central_chl = 6 DBDCIdx= 0, Band= 0 
    [   44.764000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
    [   44.784000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   45.192000] mt7615_apply_dcoc() : reload Central CH [7] BW [0] from cetral freq [2447]  offset [2400] 
    [   45.208000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   45.216000] mt7615_apply_dpd() : reload Central CH [7] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   45.236000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   45.244000] MtCmdChannelSwitch: control_chl = 7,control_ch2=0, central_chl = 7 DBDCIdx= 0, Band= 0 
    [   45.264000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
    [   45.284000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   45.608000] mt7615_apply_dcoc() : reload Central CH [8] BW [0] from cetral freq [2447]  offset [2400] 
    [   45.624000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   45.632000] mt7615_apply_dpd() : reload Central CH [8] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   45.652000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   45.660000] MtCmdChannelSwitch: control_chl = 8,control_ch2=0, central_chl = 8 DBDCIdx= 0, Band= 0 
    [   45.680000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
    [   45.700000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   46.100000] mt7615_apply_dcoc() : reload Central CH [9] BW [0] from cetral freq [2447]  offset [2400] 
    [   46.116000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   46.124000] mt7615_apply_dpd() : reload Central CH [9] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   46.144000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   46.152000] MtCmdChannelSwitch: control_chl = 9,control_ch2=0, central_chl = 9 DBDCIdx= 0, Band= 0 
    [   46.172000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
    [   46.192000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   46.520000] mt7615_apply_dcoc() : reload Central CH [10] BW [0] from cetral freq [2467]  offset [2500] 
    [   46.536000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   46.544000] mt7615_apply_dpd() : reload Central CH [10] BW [0] from cetral freq [2462] i[46] offset [4cd0] 
    [   46.564000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   46.572000] MtCmdChannelSwitch: control_chl = 10,control_ch2=0, central_chl = 10 DBDCIdx= 0, Band= 0 
    [   46.592000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
    [   46.612000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   47.000000] mt7615_apply_dcoc() : reload Central CH [11] BW [0] from cetral freq [2467]  offset [2500] 
    [   47.016000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   47.024000] mt7615_apply_dpd() : reload Central CH [11] BW [0] from cetral freq [2462] i[46] offset [4cd0] 
    [   47.044000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   47.052000] MtCmdChannelSwitch: control_chl = 11,control_ch2=0, central_chl = 11 DBDCIdx= 0, Band= 0 
    [   47.072000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
    [   47.092000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   47.512000] mt7615_apply_dcoc() : reload Central CH [12] BW [0] from cetral freq [2467]  offset [2500] 
    [   47.528000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   47.536000] mt7615_apply_dpd() : reload Central CH [12] BW [0] from cetral freq [2462] i[46] offset [4cd0] 
    [   47.556000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   47.568000] MtCmdChannelSwitch: control_chl = 12,control_ch2=0, central_chl = 12 DBDCIdx= 0, Band= 0 
    [   47.584000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
    [   47.604000] AP OBSS SYNC - BBP R4 to 20MHz.l
    [   47.992000] wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:126 for WDEV_TYPE:1
    [   47.992000]  LinkToOmacIdx = 11, LinkToWdevType = 1
    [   48.020000] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO),                 CmdBssInfoBmcRate.u2BcTransmit= 0,                 CmdBssInfoBmcRate.u2McTransmit = 0
    [   48.048000] MtCmdSetDbdcCtrl:(ret = 0)
    [   48.156000]  [RadarStateCheck]Set into RD_NORMAL_MODE  
    [   48.168000] MtCmdTxPowerSKUCtrl: fgTxPowerSKUEn: 1, BandIdx: 0
    [   48.180000] MtCmdTxPowerPercentCtrl: fgTxPowerPercentEn: 1, BandIdx: 0
    [   48.192000] MtCmdTxBfBackoffCtrl: fgTxBFBackoffEn: 1, BandIdx: 0
    [   48.204000] mt7615_bbp_adjust():rf_bw=0, ext_ch=0, PrimCh=5, HT-CentCh=5, VHT-CentCh=42
    [   48.220000] mt7615_apply_dcoc() : reload Central CH [5] BW [0] from cetral freq [2432]  offset [2300] 
    [   48.240000] MtCmdGetRXDCOCCalResult:(ret = 0)
    [   48.248000] mt7615_apply_dpd() : reload Central CH [5] BW [0] from cetral freq [2442] i[45] offset [4bf8] 
    [   48.268000] MtCmdGetTXDPDCalResult:(ret = 0)
    [   48.276000] MtCmdChannelSwitch: control_chl = 5,control_ch2=0, central_chl = 5 DBDCIdx= 0, Band= 0 
    [   48.296000] BW = 0,TXStream = 2, RXStream = 2, scan(0)
    [   48.324000] ap_phy_rrm_init_byRf(): AP Set CentralFreq at 5(Prim=5, HT-CentCh=5, VHT-CentCh=42, BBP_BW=0)
    [   48.356000] LeadTimeForBcn, OmacIdx = 11, WDEV_WITH_BCN_ABILITY
    [   48.368000] Generate UUID for apidx(1)
    [   48.428000] device rax0 entered promiscuous mode
    [   48.436000] br-lan: port 4(rax0) entered forwarding state
    [   48.448000] br-lan: port 4(rax0) entered forwarding state
    [   50.452000] br-lan: port 4(rax0) entered forwarding state
    [   50.780000] WifiSysOpen(), wdev idx = 7
    [   50.788000] MtCmdSetDbdcCtrl:(ret = 0)
    [   50.796000] HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:14,Channel=5
    [   50.816000] HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:14,Channel=5
    [   50.832000] CountryCode(2.4G/5G)=1/1, RFIC=25, PHY mode(2.4G/5G)=14/49, support 32 channels
    [   50.852000] WifiSysOpen(), wdev idx = 6
    [   50.860000] MtCmdSetDbdcCtrl:(ret = 0)
    [   50.868000] HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:49,Channel=36
    [   50.884000] HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:49,Channel=36
    [   50.904000] CountryCode(2.4G/5G)=1/1, RFIC=25, PHY mode(2.4G/5G)=14/49, support 32 channels
    [   51.596000] BndStrg_Init()
    BndStrg_SetInfFlags(): BSS(04:AB:18:58:2F:16) set 5G Inf ra0 ready.
    BndStrg_SetInfFlags(): BSS(04:AB:18:58:2F:15) set 2G Inf rax0 ready.
    BndStrg Enable Success
    
    [   51.644000] BndStrg is already Enable
    [   51.644000] 
    [   53.748000] BndStrg_InfStatusRsp:INF [rax0]STATUS QUERY ON
    [   53.760000] 
    [   53.760000] BndStrg_InfStatusRsp:INF [ra0]STATUS QUERY ON
    [   55.796000] Send DISASSOC frame(3) with ra0
    [   55.804000] Send DISASSOC frame(3) with ra1
    [   55.812000] Send DISASSOC frame(3) with ra0
    [   55.820000] Send DISASSOC frame(3) with ra1
    

WXR-5950AX12

某氏より “OpenWrtのipq807xにどうか” と頂いたもの。本当に感謝。
OpenWrtではipq807xはまだほとんどtargetを定義するファイルとその他雑多なファイルがおかれた程度で不完全な状態ではあるが、サポートをトライするため弄っていくのでメモ。

Switch

未確認。

MAC

未確認。

  • LAN: 74:DA:88:xx:xx:CD (tddp, option macaddr (text))
  • WAN1: 74:DA:88:xx:xx:CE
  • WAN2: 74:DA:88:xx:xx:CF
  • WAN3: 74:DA:88:xx:xx:D0
  • WAN4: 74:DA:88:xx:xx:D1

U-Boot

ブート中 Hit any key to stop autoboot: 0 が表示されたタイミングで適当なキーを押すと中断させU-Bootに入れる。

  • help
    IPQ807x# help
    ?       - alias for 'help'
    aq_load_fw- LOAD aq-fw-binary
    aq_phy_restart- Restart Aquantia phy
    base    - print or set address offset
    bdinfo  - print Board Info structure
    bootbf  - bootbf from flash device [for Buffalo]
    bootipq - bootipq from flash device
    bootm   - boot application image from memory
    bootp   - boot image via network using BOOTP/TFTP protocol
    bootz   - boot Linux zImage image from memory
    chpart  - change active partition
    cmp     - memory compare
    cp      - memory copy
    crc32   - checksum calculation
    dcache  - enable or disable data cache
    dhcp    - boot image via network using DHCP/TFTP protocol
    dm      - Driver model low level access
    echo    - echo args to console
    env     - environment handling commands
    erase   - erase FLASH memory
    exectzt - execute TZT
    
    exit    - exit script
    false   - do nothing, unsuccessfully
    fdt     - flattened device tree utility commands
    flash   - flash part_name 
            flash part_name load_addr file_size 
    
    flasherase- flerase part_name 
    
    flinfo  - print FLASH memory information
    fuseipq - fuse QFPROM registers from memory
    
    go      - start application at address 'addr'
    help    - print command description/usage
    i2c     - I2C sub-system
    icache  - enable or disable instruction cache
    imxtract- extract a part of a multi-image
    ipq_mdio- IPQ mdio utility commands
    is_sec_boot_enabled- check secure boot fuse is enabled or not
    
    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 address)
    mmc     - MMC sub system
    mmcinfo - display MMC info
    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)
    pci     - list and access PCI Configuration Space
    ping    - send ICMP ECHO_REQUEST to network host
    printenv- print environment variables
    protect - enable or disable FLASH write protection
    reset   - Perform RESET of the CPU
    run     - run commands in an environment variable
    runmulticore- Enable and schedule secondary cores
    saveenv - save environment variables to persistent storage
    secure_authenticate- authenticate the signed image
    
    setenv  - set environment variables
    sf      - SPI flash sub-system
    showvar - print local hushshell variables
    sleep   - delay execution for some time
    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
    true    - do nothing, successfully
    uart    - UART sub-system
    ubi     - ubi commands
    usb     - USB sub-system
    usbboot - boot from USB device
    version - print monitor, compiler and linker version
    

  • version
    IPQ807x# version
    
    U-Boot 2016.01 [BUFFALO U-Boot Ver.1.01] (Jul 12 2019 - 17:37:52 +0900)
    arm-openwrt-linux-uclibcgnueabi-gcc (OpenWrt GCC 5.2.0 6ff3409+r49254) 5.2.0
    GNU ld (GNU Binutils) 2.24.0
    

  • printenv
    IPQ807x# printenv
    DEF-wireless-authmode=psk
    DEF-wireless-authmode_ex=wpa2-psk
    DEF-wireless-crypto=aes
    DEF-wireless-wpapsk=************
    admin_passwd=********
    baudrate=115200
    bootargs=console=ttyMSM0,115200n8
    bootcmd=bootbf
    bootdelay=2
    buf_ver=2016.01-1.01
    build_date=Jul 12 2019 - 17:37:52
    custom_id=0
    eth1addr=50:c4:dd:xx:xx:28
    eth2addr=50:c4:dd:xx:xx:28
    eth3addr=50:c4:dd:xx:xx:28
    eth4addr=50:c4:dd:xx:xx:28
    eth5addr=50:c4:dd:xx:xx:28
    ethact=eth0
    ethaddr=50:c4:dd:xx:xx:28
    fdt_high=0x4A400000
    fdtcontroladdr=4a96a630
    flash_type=2
    hw_rev=0
    ipaddr=192.168.11.1
    machid=8010000
    melco_id=RD_18021
    netmask=255.255.255.0
    pincode=********
    product=WXR-5950AX12
    product_vendor=BUFFALO
    ram_bootargs=earlyprintk=ocd,keep ignore_loglevel rootfstype=ramfs
    region=JP
    serverip=192.168.11.10
    soc_version_major=2
    soc_version_minor=0
    stderr=serial@78B3000
    stdin=serial@78B3000
    stdout=serial@78B3000
    wlan0addr=50:c4:dd:xx:xx:30
    wlan1addr=50:c4:dd:xx:xx:38
    wlan2addr=00:00:00:00:00:00
    
    Environment size: 1031/262140 bytes
    

  • smeminfo
    IPQ807x# smeminfo
    flash_type:             0x2
    flash_index:            0x0
    flash_chip_select:      0x0
    flash_block_size:       0x20000
    flash_density:          0x100000
    partition table offset  0x0
    No.: Name             Attributes            Start             Size
      0: 0:SBL1           0x0000ffff              0x0         0x100000
      1: 0:MIBIB          0x0000ffff         0x100000         0x100000
      2: 0:BOOTCONFIG     0x0000ffff         0x200000          0x80000
      3: 0:BOOTCONFIG1    0x0000ffff         0x280000          0x80000
      4: 0:QSEE           0x0000ffff         0x300000         0x300000
      5: 0:QSEE_1         0x0000ffff         0x600000         0x300000
      6: 0:DEVCFG         0x0000ffff         0x900000          0x80000
      7: 0:DEVCFG_1       0x0000ffff         0x980000          0x80000
      8: 0:APDP           0x0000ffff         0xa00000          0x80000
      9: 0:APDP_1         0x0000ffff         0xa80000          0x80000
     10: 0:RPM            0x0000ffff         0xb00000          0x80000
     11: 0:RPM_1          0x0000ffff         0xb80000          0x80000
     12: 0:CDT            0x0000ffff         0xc00000          0x80000
     13: 0:CDT_1          0x0000ffff         0xc80000          0x80000
     14: 0:APPSBLENV      0x0000ffff         0xd00000          0x80000
     15: 0:APPSBL         0x0000ffff         0xd80000         0x100000
     16: 0:APPSBL_1       0x0000ffff         0xe80000         0x100000
     17: 0:ART            0x0000ffff         0xf80000          0x80000
     18: 0:ART_1          0x0000ffff        0x1000000          0x80000
     19: 0:ORGDATA        0x0000ffff        0x1080000          0x80000
     20: 0:ORGDATA_1      0x0000ffff        0x1100000          0x80000
     21: rootfs           0x0000ffff        0x1180000        0x4000000
     22: rootfs_recover   0x0000ffff        0x5180000        0x4000000
     23: user_property    0x0000ffff        0x9180000        0x6e80000
    

  • bdinfo
    IPQ807x# bdinfo
    arch_number = 0x08010000
    boot_params = 0x40000100
    DRAM bank   = 0x00000000
    -> start    = 0x40000000
    -> size     = 0x40000000
    eth0name    = eth0
    ethaddr     = 50:c4:dd:**:**:28
    current eth = eth0
    ip_addr     = 192.168.11.1
    baudrate    = 115200 bps
    TLB addr    = 0x4A9A0000
    relocaddr   = 0x4A900000
    reloc off   = 0x00000000
    irq_sp      = 0x4A77FA90
    sp start    = 0x4A77FA80
    

  • nand info
    IPQ807x# nand info
    
    Device 0: nand0, sector size 128 KiB
      Page size       2048 b
      OOB size          64 b
      Erase size    131072 b
      subpagesize        0 b
      options     0x       0
      bbt options 0x       0
    

  • help
    
    

  • help
    
    

  • help
    
    

  • help
    
    

  • help
    
    

Kernel

  • uname -a
    # uname -a
    Linux AP50C4DD****28 4.4.60 #1 SMP PREEMPT Wed Oct 9 00:28:49 JST 2019 armv7l unknown
    

  • cat /proc/version
    # cat /proc/version
    Linux version 4.4.60 (jenkins@dev-build1.melco.local) (gcc version 5.2.0 (OpenWrt GCC 5.2.0 6ff3409+r49254) ) #1 SMP PREEMPT Wed Oct 9 00:28:49 JST 2019
    

  • cat /proc/cpuinfo
    # cat /proc/cpuinfo 
    processor       : 0
    model name      : ARMv7 Processor rev 4 (v7l)
    BogoMIPS        : 48.84
    Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm aes pmull sha1 sha2 crc32 
    CPU implementer : 0x41
    CPU architecture: 7
    CPU variant     : 0x0
    CPU part        : 0xd03
    CPU revision    : 4
    
    processor       : 1
    model name      : ARMv7 Processor rev 4 (v7l)
    BogoMIPS        : 48.84
    Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm aes pmull sha1 sha2 crc32 
    CPU implementer : 0x41
    CPU architecture: 7
    CPU variant     : 0x0
    CPU part        : 0xd03
    CPU revision    : 4
    
    processor       : 2
    model name      : ARMv7 Processor rev 4 (v7l)
    BogoMIPS        : 48.84
    Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm aes pmull sha1 sha2 crc32 
    CPU implementer : 0x41
    CPU architecture: 7
    CPU variant     : 0x0
    CPU part        : 0xd03
    CPU revision    : 4
    
    processor       : 3
    model name      : ARMv7 Processor rev 4 (v7l)
    BogoMIPS        : 48.84
    Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm aes pmull sha1 sha2 crc32 
    CPU implementer : 0x41
    CPU architecture: 7
    CPU variant     : 0x0
    CPU part        : 0xd03
    CPU revision    : 4
    
    Hardware        : Generic DT based system
    Revision        : 0000
    Serial          : 0000000000000000
    

  • cat /proc/meminfo
    # cat /proc/meminfo
    MemTotal:         903004 kB
    MemFree:          556412 kB
    MemAvailable:     606556 kB
    Buffers:           12716 kB
    Cached:            45184 kB
    SwapCached:            0 kB
    Active:            41056 kB
    Inactive:          29328 kB
    Active(anon):      12492 kB
    Inactive(anon):        0 kB
    Active(file):      28564 kB
    Inactive(file):    29328 kB
    Unevictable:           0 kB
    Mlocked:               0 kB
    HighTotal:             0 kB
    HighFree:              0 kB
    LowTotal:         903004 kB
    LowFree:          556412 kB
    SwapTotal:             0 kB
    SwapFree:              0 kB
    Dirty:                 0 kB
    Writeback:             0 kB
    AnonPages:         12492 kB
    Mapped:             6308 kB
    Shmem:                 0 kB
    Slab:             199508 kB
    SReclaimable:       4516 kB
    SUnreclaim:       194992 kB
    KernelStack:        1760 kB
    PageTables:          908 kB
    NFS_Unstable:          0 kB
    Bounce:                0 kB
    WritebackTmp:          0 kB
    CommitLimit:      451500 kB
    Committed_AS:      56128 kB
    VmallocTotal:    1048576 kB
    VmallocUsed:           0 kB
    VmallocChunk:          0 kB
    

  • cat /proc/mtd
    # cat /proc/mtd
    dev:    size   erasesize  name
    mtd0: 00100000 00020000 "0:SBL1"
    mtd1: 00100000 00020000 "0:MIBIB"
    mtd2: 00080000 00020000 "0:BOOTCONFIG"
    mtd3: 00080000 00020000 "0:BOOTCONFIG1"
    mtd4: 00300000 00020000 "0:QSEE"
    mtd5: 00300000 00020000 "0:QSEE_1"
    mtd6: 00080000 00020000 "0:DEVCFG"
    mtd7: 00080000 00020000 "0:DEVCFG_1"
    mtd8: 00080000 00020000 "0:APDP"
    mtd9: 00080000 00020000 "0:APDP_1"
    mtd10: 00080000 00020000 "0:RPM"
    mtd11: 00080000 00020000 "0:RPM_1"
    mtd12: 00080000 00020000 "0:CDT"
    mtd13: 00080000 00020000 "0:CDT_1"
    mtd14: 00080000 00020000 "0:APPSBLENV"
    mtd15: 00100000 00020000 "0:APPSBL"
    mtd16: 00100000 00020000 "0:APPSBL_1"
    mtd17: 00080000 00020000 "0:ART"
    mtd18: 00080000 00020000 "0:ART_1"
    mtd19: 00080000 00020000 "0:ORGDATA"
    mtd20: 00080000 00020000 "0:ORGDATA_1"
    mtd21: 04000000 00020000 "rootfs"
    mtd22: 04000000 00020000 "rootfs_recover"
    mtd23: 06e80000 00020000 "user_property"
    mtd24: 0046d560 0001f000 "kernel"
    mtd25: 02500004 0001f000 "ubi_rootfs"
    mtd26: 00000024 0001f000 "fw_hash"
    mtd27: 0001f000 0001f000 "user_property_ubi"
    mtd28: 005d0000 0001f000 "extra_property"
    

  • ubinfo -a
    # ubinfo -a
    UBI version:                    1
    Count of UBI devices:           2
    UBI control device major/minor: 10:56
    Present UBI devices:            ubi0, ubi1
    
    ubi0
    Volumes count:                           3
    Logical eraseblock size:                 126976 bytes, 124.0 KiB
    Total amount of logical eraseblocks:     512 (65011712 bytes, 62.0 MiB)
    Amount of available logical eraseblocks: 124 (15745024 bytes, 15.0 MiB)
    Maximum count of volumes                 128
    Count of bad physical eraseblocks:       0
    Count of reserved physical eraseblocks:  40
    Current maximum erase counter value:     1
    Minimum input/output unit size:          2048 bytes
    Character device major/minor:            242:0
    Present volumes:                         0, 1, 2
    
    Volume ID:   0 (on ubi0)
    Type:        static
    Alignment:   1
    Size:        37 LEBs (4698112 bytes, 4.5 MiB)
    Data bytes:  4642144 bytes (4.4 MiB)
    State:       OK
    Name:        kernel
    Character device major/minor: 242:1
    -----------------------------------
    Volume ID:   1 (on ubi0)
    Type:        static
    Alignment:   1
    Size:        306 LEBs (38854656 bytes, 37.1 MiB)
    Data bytes:  38797316 bytes (37.0 MiB)
    State:       OK
    Name:        ubi_rootfs
    Character device major/minor: 242:2
    -----------------------------------
    Volume ID:   2 (on ubi0)
    Type:        static
    Alignment:   1
    Size:        1 LEBs (126976 bytes, 124.0 KiB)
    Data bytes:  36 bytes
    State:       OK
    Name:        fw_hash
    Character device major/minor: 242:3
    
    ===================================
    
    ubi1
    Volumes count:                           2
    Logical eraseblock size:                 126976 bytes, 124.0 KiB
    Total amount of logical eraseblocks:     884 (112246784 bytes, 107.0 MiB)
    Amount of available logical eraseblocks: 791 (100438016 bytes, 95.8 MiB)
    Maximum count of volumes                 128
    Count of bad physical eraseblocks:       0
    Count of reserved physical eraseblocks:  40
    Current maximum erase counter value:     2
    Minimum input/output unit size:          2048 bytes
    Character device major/minor:            237:0
    Present volumes:                         0, 1
    
    Volume ID:   0 (on ubi1)
    Type:        dynamic
    Alignment:   1
    Size:        1 LEBs (126976 bytes, 124.0 KiB)
    State:       OK
    Name:        user_property_ubi
    Character device major/minor: 237:1
    -----------------------------------
    Volume ID:   1 (on ubi1)
    Type:        dynamic
    Alignment:   1
    Size:        48 LEBs (6094848 bytes, 5.8 MiB)
    State:       OK
    Name:        extra_property
    Character device major/minor: 237:2
    

  • mount
    # mount
    mtd:ubi_rootfs on / type squashfs (ro,relatime)
    proc on /proc type proc (rw,relatime)
    udev on /dev type tmpfs (rw,relatime)
    ramfs on /tmp type ramfs (rw,relatime)
    none on /sys type sysfs (rw,relatime)
    debugfs on /sys/kernel/debug type debugfs (rw,noatime)
    ubi1!extra_property on /mnt/ubi/ext_par type ubifs (rw,relatime,compr=none)
    devpts on /dev/pts type devpts (rw,relatime,mode=600,ptmxmode=000)
    

  • cat /sys/kernel/debug/gpio
    # cat /sys/kernel/debug/gpio    
    GPIOs 0-69, platform/1000000.pinctrl, 1000000.pinctrl:
     gpio0   : in  1 8mA no pull
     gpio1   : in  1 8mA no pull
     gpio2   : in  1 8mA no pull
     gpio3   : in  1 8mA no pull
     gpio4   : in  1 8mA no pull
     gpio5   : in  1 8mA no pull
     gpio6   : in  1 8mA no pull
     gpio7   : in  1 8mA no pull
     gpio8   : in  1 8mA no pull
     gpio9   : in  1 8mA no pull
     gpio10  : in  1 8mA no pull
     gpio11  : in  1 8mA no pull
     gpio12  : in  1 8mA no pull
     gpio13  : in  1 8mA no pull
     gpio14  : in  1 8mA no pull
     gpio15  : in  1 8mA no pull
     gpio16  : in  1 8mA no pull
     gpio17  : in  1 8mA no pull
     gpio18  : in  0 2mA pull down
     gpio19  : in  0 2mA pull down
     gpio20  : in  0 2mA pull down
     gpio21  : out 0 10mA pull up
     gpio22  : out 0 10mA pull up
     gpio23  : out 2 8mA no pull
     gpio24  : out 2 8mA no pull
     gpio25  : in  0 2mA pull down
     gpio26  : in  0 2mA pull down
     gpio27  : in  0 2mA pull down
     gpio28  : in  0 2mA pull down
     gpio29  : in  0 2mA pull down
     gpio30  : in  0 2mA pull down
     gpio31  : out 0 10mA pull up
     gpio32  : in  0 2mA pull down
     gpio33  : in  0 2mA pull down
     gpio34  : out 0 10mA pull up
     gpio35  : in  0 2mA pull down
     gpio36  : in  0 2mA pull down
     gpio37  : out 0 2mA pull down
     gpio38  : in  3 8mA no pull
     gpio39  : in  3 8mA no pull
     gpio40  : in  2 8mA no pull
     gpio41  : in  2 8mA no pull
     gpio42  : in  2 2mA pull down
     gpio43  : out 0 10mA pull up
     gpio44  : out 0 10mA pull up
     gpio45  : in  1 2mA pull down
     gpio46  : in  0 2mA pull down
     gpio47  : in  0 2mA pull down
     gpio48  : in  0 2mA pull down
     gpio49  : in  0 2mA pull down
     gpio50  : in  0 2mA pull down
     gpio51  : in  0 2mA pull down
     gpio52  : in  0 2mA pull down
     gpio53  : in  0 2mA pull down
     gpio54  : in  0 2mA pull down
     gpio55  : out 0 10mA pull up
     gpio56  : out 0 10mA pull up
     gpio57  : in  0 2mA pull down
     gpio58  : in  0 2mA pull down
     gpio59  : in  0 2mA pull down
     gpio60  : out 0 10mA pull up
     gpio61  : out 0 2mA pull down
     gpio62  : in  0 2mA pull down
     gpio63  : out 0 2mA pull up
     gpio64  : out 0 10mA pull up
     gpio65  : in  0 2mA pull down
     gpio66  : in  0 2mA pull down
     gpio67  : in  0 2mA pull down
     gpio68  : in  1 8mA pull up
     gpio69  : in  1 8mA pull up
    

  • cat /sys/kernel/debug/pinctrl/pinctrl-maps
    # cat /sys/kernel/debug/pinctrl/pinctrl-maps    
    Pinctrl maps:
    device 78b3000.serial
    state default
    type MUX_GROUP (2)
    controlling device 1000000.pinctrl
    group gpio23
    function blsp4_uart1
    
    device 78b3000.serial
    state default
    type CONFIGS_GROUP (4)
    controlling device 1000000.pinctrl
    group gpio23
    config 00000001
    config 00080009
    
    device 78b3000.serial
    state default
    type MUX_GROUP (2)
    controlling device 1000000.pinctrl
    group gpio24
    function blsp4_uart1
    
    device 78b3000.serial
    state default
    type CONFIGS_GROUP (4)
    controlling device 1000000.pinctrl
    group gpio24
    config 00000001
    config 00080009
    
    device 78b5000.spi
    state default
    type MUX_GROUP (2)
    controlling device 1000000.pinctrl
    group gpio38
    function blsp0_spi
    
    device 78b5000.spi
    state default
    type CONFIGS_GROUP (4)
    controlling device 1000000.pinctrl
    group gpio38
    config 00000001
    config 00080009
    
    device 78b5000.spi
    state default
    type MUX_GROUP (2)
    controlling device 1000000.pinctrl
    group gpio39
    function blsp0_spi
    
    device 78b5000.spi
    state default
    type CONFIGS_GROUP (4)
    controlling device 1000000.pinctrl
    group gpio39
    config 00000001
    config 00080009
    
    device 78b5000.spi
    state default
    type MUX_GROUP (2)
    controlling device 1000000.pinctrl
    group gpio40
    function blsp0_spi
    
    device 78b5000.spi
    state default
    type CONFIGS_GROUP (4)
    controlling device 1000000.pinctrl
    group gpio40
    config 00000001
    config 00080009
    
    device 78b5000.spi
    state default
    type MUX_GROUP (2)
    controlling device 1000000.pinctrl
    group gpio41
    function blsp0_spi
    
    device 78b5000.spi
    state default
    type CONFIGS_GROUP (4)
    controlling device 1000000.pinctrl
    group gpio41
    config 00000001
    config 00080009
    
    device 79b0000.qpic-nand
    state default
    type MUX_GROUP (2)
    controlling device 1000000.pinctrl
    group gpio15
    function qpic_pad0
    
    device 79b0000.qpic-nand
    state default
    type CONFIGS_GROUP (4)
    controlling device 1000000.pinctrl
    group gpio15
    config 00000001
    config 00080009
    
    device 79b0000.qpic-nand
    state default
    type MUX_GROUP (2)
    controlling device 1000000.pinctrl
    group gpio12
    function qpic_pad1
    
    device 79b0000.qpic-nand
    state default
    type CONFIGS_GROUP (4)
    controlling device 1000000.pinctrl
    group gpio12
    config 00000001
    config 00080009
    
    device 79b0000.qpic-nand
    state default
    type MUX_GROUP (2)
    controlling device 1000000.pinctrl
    group gpio13
    function qpic_pad2
    
    device 79b0000.qpic-nand
    state default
    type CONFIGS_GROUP (4)
    controlling device 1000000.pinctrl
    group gpio13
    config 00000001
    config 00080009
    
    device 79b0000.qpic-nand
    state default
    type MUX_GROUP (2)
    controlling device 1000000.pinctrl
    group gpio14
    function qpic_pad3
    
    device 79b0000.qpic-nand
    state default
    type CONFIGS_GROUP (4)
    controlling device 1000000.pinctrl
    group gpio14
    config 00000001
    config 00080009
    
    device 79b0000.qpic-nand
    state default
    type MUX_GROUP (2)
    controlling device 1000000.pinctrl
    group gpio5
    function qpic_pad4
    
    device 79b0000.qpic-nand
    state default
    type CONFIGS_GROUP (4)
    controlling device 1000000.pinctrl
    group gpio5
    config 00000001
    config 00080009
    
    device 79b0000.qpic-nand
    state default
    type MUX_GROUP (2)
    controlling device 1000000.pinctrl
    group gpio6
    function qpic_pad5
    
    device 79b0000.qpic-nand
    state default
    type CONFIGS_GROUP (4)
    controlling device 1000000.pinctrl
    group gpio6
    config 00000001
    config 00080009
    
    device 79b0000.qpic-nand
    state default
    type MUX_GROUP (2)
    controlling device 1000000.pinctrl
    group gpio7
    function qpic_pad6
    
    device 79b0000.qpic-nand
    state default
    type CONFIGS_GROUP (4)
    controlling device 1000000.pinctrl
    group gpio7
    config 00000001
    config 00080009
    
    device 79b0000.qpic-nand
    state default
    type MUX_GROUP (2)
    controlling device 1000000.pinctrl
    group gpio8
    function qpic_pad7
    
    device 79b0000.qpic-nand
    state default
    type CONFIGS_GROUP (4)
    controlling device 1000000.pinctrl
    group gpio8
    config 00000001
    config 00080009
    
    device 79b0000.qpic-nand
    state default
    type MUX_GROUP (2)
    controlling device 1000000.pinctrl
    group gpio16
    function qpic_pad8
    
    device 79b0000.qpic-nand
    state default
    type CONFIGS_GROUP (4)
    controlling device 1000000.pinctrl
    group gpio16
    config 00000001
    config 00080009
    
    device 79b0000.qpic-nand
    state default
    type MUX_GROUP (2)
    controlling device 1000000.pinctrl
    group gpio0
    function qpic_pad
    
    device 79b0000.qpic-nand
    state default
    type CONFIGS_GROUP (4)
    controlling device 1000000.pinctrl
    group gpio0
    config 00000001
    config 00080009
    
    device 79b0000.qpic-nand
    state default
    type MUX_GROUP (2)
    controlling device 1000000.pinctrl
    group gpio1
    function qpic_pad
    
    device 79b0000.qpic-nand
    state default
    type CONFIGS_GROUP (4)
    controlling device 1000000.pinctrl
    group gpio1
    config 00000001
    config 00080009
    
    device 79b0000.qpic-nand
    state default
    type MUX_GROUP (2)
    controlling device 1000000.pinctrl
    group gpio2
    function qpic_pad
    
    device 79b0000.qpic-nand
    state default
    type CONFIGS_GROUP (4)
    controlling device 1000000.pinctrl
    group gpio2
    config 00000001
    config 00080009
    
    device 79b0000.qpic-nand
    state default
    type MUX_GROUP (2)
    controlling device 1000000.pinctrl
    group gpio3
    function qpic_pad
    
    device 79b0000.qpic-nand
    state default
    type CONFIGS_GROUP (4)
    controlling device 1000000.pinctrl
    group gpio3
    config 00000001
    config 00080009
    
    device 79b0000.qpic-nand
    state default
    type MUX_GROUP (2)
    controlling device 1000000.pinctrl
    group gpio4
    function qpic_pad
    
    device 79b0000.qpic-nand
    state default
    type CONFIGS_GROUP (4)
    controlling device 1000000.pinctrl
    group gpio4
    config 00000001
    config 00080009
    
    device 79b0000.qpic-nand
    state default
    type MUX_GROUP (2)
    controlling device 1000000.pinctrl
    group gpio9
    function qpic_pad
    
    device 79b0000.qpic-nand
    state default
    type CONFIGS_GROUP (4)
    controlling device 1000000.pinctrl
    group gpio9
    config 00000001
    config 00080009
    
    device 79b0000.qpic-nand
    state default
    type MUX_GROUP (2)
    controlling device 1000000.pinctrl
    group gpio10
    function qpic_pad
    
    device 79b0000.qpic-nand
    state default
    type CONFIGS_GROUP (4)
    controlling device 1000000.pinctrl
    group gpio10
    config 00000001
    config 00080009
    
    device 79b0000.qpic-nand
    state default
    type MUX_GROUP (2)
    controlling device 1000000.pinctrl
    group gpio11
    function qpic_pad
    
    device 79b0000.qpic-nand
    state default
    type CONFIGS_GROUP (4)
    controlling device 1000000.pinctrl
    group gpio11
    config 00000001
    config 00080009
    
    device 79b0000.qpic-nand
    state default
    type MUX_GROUP (2)
    controlling device 1000000.pinctrl
    group gpio17
    function qpic_pad
    
    device 79b0000.qpic-nand
    state default
    type CONFIGS_GROUP (4)
    controlling device 1000000.pinctrl
    group gpio17
    config 00000001
    config 00080009
    
    device 90000.mdio
    state default
    type MUX_GROUP (2)
    controlling device 1000000.pinctrl
    group gpio68
    function mdc
    
    device 90000.mdio
    state default
    type CONFIGS_GROUP (4)
    controlling device 1000000.pinctrl
    group gpio68
    config 00010005
    config 00080009
    
    device 90000.mdio
    state default
    type MUX_GROUP (2)
    controlling device 1000000.pinctrl
    group gpio69
    function mdio
    
    device 90000.mdio
    state default
    type CONFIGS_GROUP (4)
    controlling device 1000000.pinctrl
    group gpio69
    config 00010005
    config 00080009
    

  • cat /sys/kernel/debug/pinctrl/1000000.pinctrl/gpio-ranges
    # cat /sys/kernel/debug/pinctrl/1000000.pinctrl/gpio-ranges   
    GPIO ranges handled:
    0: 1000000.pinctrl GPIOS [0 - 69] PINS [0 - 69]
    

  • cat /sys/kernel/debug/pinctrl/1000000.pinctrl/pinconf-config
    # cat /sys/kernel/debug/pinctrl/1000000.pinctrl/pinconf-config
    No config found for dev/state/pin, expected:
    Searched dev:
    Searched state:
    Searched pin:
    Use: modify config_pin    
    

  • cat /sys/kernel/debug/pinctrl/1000000.pinctrl/pinconf-groups
    # cat /sys/kernel/debug/pinctrl/1000000.pinctrl/pinconf-groups
    Pin config settings per pin group
    Format: group (name): configs
    0 (gpio0): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (8 mA) input enabled
    1 (gpio1): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (8 mA) input enabled
    2 (gpio2): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (8 mA) input enabled
    3 (gpio3): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (8 mA) input enabled
    4 (gpio4): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (8 mA) input enabled
    5 (gpio5): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (8 mA) input enabled
    6 (gpio6): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (8 mA) input enabled
    7 (gpio7): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (8 mA) input enabled
    8 (gpio8): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (8 mA) input enabled
    9 (gpio9): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (8 mA) input enabled
    10 (gpio10): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (8 mA) input enabled
    11 (gpio11): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (8 mA) input enabled
    12 (gpio12): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (8 mA) input enabled
    13 (gpio13): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (8 mA) input enabled
    14 (gpio14): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (8 mA) input enabled
    15 (gpio15): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (8 mA) input enabled
    16 (gpio16): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (8 mA) input enabled
    17 (gpio17): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (8 mA) input enabled
    18 (gpio18): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (2 mA) input enabled
    19 (gpio19): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (2 mA) input enabled
    20 (gpio20): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (2 mA) input enabled
    21 (gpio21): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (10 mA) pin output (1 level)
    22 (gpio22): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (10 mA) pin output (0 level)
    23 (gpio23): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (8 mA) pin output (1 level)
    24 (gpio24): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (8 mA) pin output (1 level)
    25 (gpio25): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (2 mA) input enabled
    26 (gpio26): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (2 mA) input enabled
    27 (gpio27): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (2 mA) input enabled
    28 (gpio28): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (2 mA) input enabled
    29 (gpio29): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (2 mA) input enabled
    30 (gpio30): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (2 mA) input enabled
    31 (gpio31): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (10 mA) pin output (0 level)
    32 (gpio32): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (2 mA) input enabled
    33 (gpio33): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (2 mA) input enabled
    34 (gpio34): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (10 mA) pin output (1 level)
    35 (gpio35): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (2 mA) input enabled
    36 (gpio36): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (2 mA) input enabled
    37 (gpio37): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (2 mA) pin output (1 level)
    38 (gpio38): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (8 mA) input enabled
    39 (gpio39): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (8 mA) input enabled
    40 (gpio40): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (8 mA) input enabled
    41 (gpio41): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (8 mA) input enabled
    42 (gpio42): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (2 mA) input enabled
    43 (gpio43): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (10 mA) pin output (0 level)
    44 (gpio44): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (10 mA) pin output (0 level)
    45 (gpio45): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (2 mA) input enabled
    46 (gpio46): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (2 mA) input enabled
    47 (gpio47): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (2 mA) input enabled
    48 (gpio48): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (2 mA) input enabled
    49 (gpio49): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (2 mA) input enabled
    50 (gpio50): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (2 mA) input enabled
    51 (gpio51): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (2 mA) input enabled
    52 (gpio52): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (2 mA) input enabled
    53 (gpio53): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (2 mA) input enabled
    54 (gpio54): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (2 mA) input enabled
    55 (gpio55): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (10 mA) pin output (0 level)
    56 (gpio56): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (10 mA) pin output (1 level)
    57 (gpio57): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (2 mA) input enabled
    58 (gpio58): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (2 mA) input enabled
    59 (gpio59): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (2 mA) input enabled
    60 (gpio60): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (10 mA) pin output (1 level)
    61 (gpio61): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (2 mA) pin output (0 level)
    62 (gpio62): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (2 mA) input enabled
    63 (gpio63): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (2 mA) pin output (1 level)
    64 (gpio64): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (10 mA) pin output (1 level)
    65 (gpio65): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (2 mA) input enabled
    66 (gpio66): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (2 mA) input enabled
    67 (gpio67): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (2 mA) input enabled
    68 (gpio68): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (8 mA) input enabled
    69 (gpio69): input bias bus hold input bias disabled input bias pull down input bias pull up output drive open drain output drive strength (8 mA) input enabled
    

  • cat /sys/kernel/debug/pinctrl/1000000.pinctrl/pinconf-pins
    # cat /sys/kernel/debug/pinctrl/1000000.pinctrl/pinconf-pins
    Pin config settings per pin
    Format: pin (name): configs
    pin 0 (GPIO_0):
    pin 1 (GPIO_1):
    pin 2 (GPIO_2):
    pin 3 (GPIO_3):
    pin 4 (GPIO_4):
    pin 5 (GPIO_5):
    pin 6 (GPIO_6):
    pin 7 (GPIO_7):
    pin 8 (GPIO_8):
    pin 9 (GPIO_9):
    pin 10 (GPIO_10):
    pin 11 (GPIO_11):
    pin 12 (GPIO_12):
    pin 13 (GPIO_13):
    pin 14 (GPIO_14):
    pin 15 (GPIO_15):
    pin 16 (GPIO_16):
    pin 17 (GPIO_17):
    pin 18 (GPIO_18):
    pin 19 (GPIO_19):
    pin 20 (GPIO_20):
    pin 21 (GPIO_21):
    pin 22 (GPIO_22):
    pin 23 (GPIO_23):
    pin 24 (GPIO_24):
    pin 25 (GPIO_25):
    pin 26 (GPIO_26):
    pin 27 (GPIO_27):
    pin 28 (GPIO_28):
    pin 29 (GPIO_29):
    pin 30 (GPIO_30):
    pin 31 (GPIO_31):
    pin 32 (GPIO_32):
    pin 33 (GPIO_33):
    pin 34 (GPIO_34):
    pin 35 (GPIO_35):
    pin 36 (GPIO_36):
    pin 37 (GPIO_37):
    pin 38 (GPIO_38):
    pin 39 (GPIO_39):
    pin 40 (GPIO_40):
    pin 41 (GPIO_41):
    pin 42 (GPIO_42):
    pin 43 (GPIO_43):
    pin 44 (GPIO_44):
    pin 45 (GPIO_45):
    pin 46 (GPIO_46):
    pin 47 (GPIO_47):
    pin 48 (GPIO_48):
    pin 49 (GPIO_49):
    pin 50 (GPIO_50):
    pin 51 (GPIO_51):
    pin 52 (GPIO_52):
    pin 53 (GPIO_53):
    pin 54 (GPIO_54):
    pin 55 (GPIO_55):
    pin 56 (GPIO_56):
    pin 57 (GPIO_57):
    pin 58 (GPIO_58):
    pin 59 (GPIO_59):
    pin 60 (GPIO_60):
    pin 61 (GPIO_61):
    pin 62 (GPIO_62):
    pin 63 (GPIO_63):
    pin 64 (GPIO_64):
    pin 65 (GPIO_65):
    pin 66 (GPIO_66):
    pin 67 (GPIO_67):
    pin 68 (GPIO_68):
    pin 69 (GPIO_69):
    pin 70 (SDC1_CLK):
    pin 71 (SDC1_CMD):
    pin 72 (SDC1_DATA):
    pin 73 (SDC2_CLK):
    pin 74 (SDC2_CMD):
    pin 75 (SDC2_DATA):
    

  • cat /sys/kernel/debug/pinctrl/1000000.pinctrl/pingroups
    # cat /sys/kernel/debug/pinctrl/1000000.pinctrl/pingroups
    registered pin groups:
    group: gpio0
    pin 0 (GPIO_0)
    
    group: gpio1
    pin 1 (GPIO_1)
    
    group: gpio2
    pin 2 (GPIO_2)
    
    group: gpio3
    pin 3 (GPIO_3)
    
    group: gpio4
    pin 4 (GPIO_4)
    
    group: gpio5
    pin 5 (GPIO_5)
    
    group: gpio6
    pin 6 (GPIO_6)
    
    group: gpio7
    pin 7 (GPIO_7)
    
    group: gpio8
    pin 8 (GPIO_8)
    
    group: gpio9
    pin 9 (GPIO_9)
    
    group: gpio10
    pin 10 (GPIO_10)
    
    group: gpio11
    pin 11 (GPIO_11)
    
    group: gpio12
    pin 12 (GPIO_12)
    
    group: gpio13
    pin 13 (GPIO_13)
    
    group: gpio14
    pin 14 (GPIO_14)
    
    group: gpio15
    pin 15 (GPIO_15)
    
    group: gpio16
    pin 16 (GPIO_16)
    
    group: gpio17
    pin 17 (GPIO_17)
    
    group: gpio18
    pin 18 (GPIO_18)
    
    group: gpio19
    pin 19 (GPIO_19)
    
    group: gpio20
    pin 20 (GPIO_20)
    
    group: gpio21
    pin 21 (GPIO_21)
    
    group: gpio22
    pin 22 (GPIO_22)
    
    group: gpio23
    pin 23 (GPIO_23)
    
    group: gpio24
    pin 24 (GPIO_24)
    
    group: gpio25
    pin 25 (GPIO_25)
    
    group: gpio26
    pin 26 (GPIO_26)
    
    group: gpio27
    pin 27 (GPIO_27)
    
    group: gpio28
    pin 28 (GPIO_28)
    
    group: gpio29
    pin 29 (GPIO_29)
    
    group: gpio30
    pin 30 (GPIO_30)
    
    group: gpio31
    pin 31 (GPIO_31)
    
    group: gpio32
    pin 32 (GPIO_32)
    
    group: gpio33
    pin 33 (GPIO_33)
    
    group: gpio34
    pin 34 (GPIO_34)
    
    group: gpio35
    pin 35 (GPIO_35)
    
    group: gpio36
    pin 36 (GPIO_36)
    
    group: gpio37
    pin 37 (GPIO_37)
    
    group: gpio38
    pin 38 (GPIO_38)
    
    group: gpio39
    pin 39 (GPIO_39)
    
    group: gpio40
    pin 40 (GPIO_40)
    
    group: gpio41
    pin 41 (GPIO_41)
    
    group: gpio42
    pin 42 (GPIO_42)
    
    group: gpio43
    pin 43 (GPIO_43)
    
    group: gpio44
    pin 44 (GPIO_44)
    
    group: gpio45
    pin 45 (GPIO_45)
    
    group: gpio46
    pin 46 (GPIO_46)
    
    group: gpio47
    pin 47 (GPIO_47)
    
    group: gpio48
    pin 48 (GPIO_48)
    
    group: gpio49
    pin 49 (GPIO_49)
    
    group: gpio50
    pin 50 (GPIO_50)
    
    group: gpio51
    pin 51 (GPIO_51)
    
    group: gpio52
    pin 52 (GPIO_52)
    
    group: gpio53
    pin 53 (GPIO_53)
    
    group: gpio54
    pin 54 (GPIO_54)
    
    group: gpio55
    pin 55 (GPIO_55)
    
    group: gpio56
    pin 56 (GPIO_56)
    
    group: gpio57
    pin 57 (GPIO_57)
    
    group: gpio58
    pin 58 (GPIO_58)
    
    group: gpio59
    pin 59 (GPIO_59)
    
    group: gpio60
    pin 60 (GPIO_60)
    
    group: gpio61
    pin 61 (GPIO_61)
    
    group: gpio62
    pin 62 (GPIO_62)
    
    group: gpio63
    pin 63 (GPIO_63)
    
    group: gpio64
    pin 64 (GPIO_64)
    
    group: gpio65
    pin 65 (GPIO_65)
    
    group: gpio66
    pin 66 (GPIO_66)
    
    group: gpio67
    pin 67 (GPIO_67)
    
    group: gpio68
    pin 68 (GPIO_68)
    
    group: gpio69
    pin 69 (GPIO_69)
    

  • cat /sys/kernel/debug/pinctrl/1000000.pinctrl/pinmux-functions
    # cat /sys/kernel/debug/pinctrl/1000000.pinctrl/pinmux-functions 
    function: gpio, groups = [ gpio0 gpio1 gpio2 gpio3 gpio4 gpio5 gpio6 gpio7 gpio8 gpio9 gpio10 gpio11 gpio12 gpio13 gpio14 gpio15 gpio16 gpio17 gpio18 gpio19 gpio20 gpio21 gpio22 gpio23 gpio24 gpio25 gpio26 gpio27 gpio28 gpio29 gpio30 gpio31 gpio32 gpio33 gpio34 gpio35 gpio36 gpio37 gpio38 gpio39 gpio40 gpio41 gpio42 gpio43 gpio44 gpio45 gpio46 gpio47 gpio48 gpio49 gpio50 gpio51 gpio52 gpio53 gpio54 gpio55 gpio56 gpio57 gpio58 gpio59 gpio60 gpio61 gpio62 gpio63 gpio64 gpio65 gpio66 gpio67 gpio68 gpio69 ]
    function: qpic_pad, groups = [ gpio0 gpio1 gpio2 gpio3 gpio4 gpio9 gpio10 gpio11 gpio17 ]
    function: , groups = [ gpio0 gpio1 gpio2 gpio3 gpio4 gpio5 gpio6 gpio7 gpio8 gpio9 gpio10 gpio11 gpio12 gpio13 gpio14 gpio15 gpio16 gpio17 gpio18 gpio19 gpio20 gpio21 gpio22 gpio23 gpio24 gpio25 gpio26 gpio27 gpio28 gpio29 gpio30 gpio31 gpio32 gpio33 gpio34 gpio35 gpio36 gpio37 gpio38 gpio39 gpio40 gpio41 gpio42 gpio43 gpio44 gpio45 gpio46 gpio47 gpio48 gpio49 gpio50 gpio51 gpio52 gpio53 gpio54 gpio55 gpio56 gpio57 gpio58 gpio59 gpio60 gpio61 gpio62 gpio63 gpio64 gpio65 gpio66 gpio67 gpio68 gpio69 ]
    function: blsp5_i2c, groups = [ gpio0 gpio2 ]
    function: blsp5_spi, groups = [ gpio0 gpio2 gpio9 gpio16 ]
    function: wci20, groups = [ gpio0 gpio2 ]
    function: blsp3_spi3, groups = [ gpio0 gpio2 gpio9 ]
    function: burn0, groups = [ gpio0 ]
    function: pcm_zsi0, groups = [ gpio1 ]
    function: blsp5_uart, groups = [ gpio0 gpio2 gpio9 gpio16 ]
    function: mac12, groups = [ gpio1 gpio11 ]
    function: blsp3_spi0, groups = [ gpio1 gpio3 gpio4 ]
    function: burn1, groups = [ gpio1 ]
    function: mac01, groups = [ gpio3 gpio4 ]
    function: qdss_cti_trig_out_b0, groups = [ gpio3 ]
    function: qdss_cti_trig_in_b0, groups = [ gpio4 ]
    function: qpic_pad4, groups = [ gpio5 ]
    function: blsp4_uart0, groups = [ gpio5 gpio6 gpio7 gpio8 ]
    function: blsp4_i2c0, groups = [ gpio5 gpio6 ]
    function: blsp4_spi0, groups = [ gpio5 gpio6 gpio7 gpio8 ]
    function: mac21, groups = [ gpio5 gpio6 ]
    function: qdss_cti_trig_out_b1, groups = [ gpio5 ]
    function: qpic_pad5, groups = [ gpio6 ]
    function: qdss_cti_trig_in_b1, groups = [ gpio6 ]
    function: qpic_pad6, groups = [ gpio7 ]
    function: qpic_pad7, groups = [ gpio8 ]
    function: cxc0, groups = [ gpio9 gpio16 ]
    function: mac13, groups = [ gpio9 gpio16 ]
    function: qdss_cti_trig_in_a1, groups = [ gpio9 ]
    function: qdss_cti_trig_out_a1, groups = [ gpio10 ]
    function: wci22, groups = [ gpio11 gpio17 ]
    function: qdss_cti_trig_in_a0, groups = [ gpio11 ]
    function: qpic_pad1, groups = [ gpio12 ]
    function: qdss_cti_trig_out_a0, groups = [ gpio12 ]
    function: qpic_pad2, groups = [ gpio13 ]
    function: qpic_pad3, groups = [ gpio14 ]
    function: qdss_traceclk_b, groups = [ gpio14 ]
    function: qpic_pad0, groups = [ gpio15 ]
    function: qdss_tracectl_b, groups = [ gpio15 ]
    function: qpic_pad8, groups = [ gpio16 ]
    function: pcm_zsi1, groups = [ gpio16 ]
    function: qdss_tracedata_b, groups = [ gpio16 gpio17 gpio18 gpio19 gpio20 gpio21 gpio22 gpio23 gpio24 gpio25 gpio26 gpio27 gpio28 gpio29 gpio30 gpio31 ]
    function: led0, groups = [ gpio18 ]
    function: pwm04, groups = [ gpio18 ]
    function: led1, groups = [ gpio19 ]
    function: pwm14, groups = [ gpio19 ]
    function: led2, groups = [ gpio20 ]
    function: pwm24, groups = [ gpio20 ]
    function: pwm00, groups = [ gpio21 ]
    function: blsp4_uart1, groups = [ gpio21 gpio22 gpio23 gpio24 ]
    function: blsp4_i2c1, groups = [ gpio21 gpio22 ]
    function: blsp4_spi1, groups = [ gpio21 gpio22 gpio23 gpio24 ]
    function: wci23, groups = [ gpio21 gpio22 ]
    function: mac11, groups = [ gpio21 gpio22 ]
    function: blsp3_spi2, groups = [ gpio21 gpio22 gpio23 ]
    function: pwm10, groups = [ gpio22 ]
    function: pwm20, groups = [ gpio23 ]
    function: pwm30, groups = [ gpio24 ]
    function: audio_txmclk, groups = [ gpio25 ]
    function: pwm02, groups = [ gpio25 ]
    function: audio_txbclk, groups = [ gpio26 ]
    function: pwm12, groups = [ gpio26 ]
    function: audio_txfsync, groups = [ gpio27 ]
    function: pwm22, groups = [ gpio27 ]
    function: audio_txd, groups = [ gpio28 ]
    function: pwm32, groups = [ gpio28 ]
    function: audio_rxmclk, groups = [ gpio29 ]
    function: pwm03, groups = [ gpio29 ]
    function: atest_char0, groups = [ gpio29 ]
    function: audio_rxbclk, groups = [ gpio30 ]
    function: pwm13, groups = [ gpio30 ]
    function: atest_char1, groups = [ gpio30 ]
    function: audio_rxfsync, groups = [ gpio31 ]
    function: pwm23, groups = [ gpio31 ]
    function: atest_char2, groups = [ gpio31 ]
    function: audio_rxd, groups = [ gpio32 ]
    function: pwm33, groups = [ gpio32 ]
    function: atest_char3, groups = [ gpio32 ]
    function: pcm_drx, groups = [ gpio33 ]
    function: mac10, groups = [ gpio33 gpio34 ]
    function: mac00, groups = [ gpio33 gpio34 ]
    function: pcm_dtx, groups = [ gpio34 ]
    function: pcm_fsync, groups = [ gpio35 ]
    function: mac20, groups = [ gpio35 gpio36 ]
    function: qdss_traceclk_a, groups = [ gpio35 ]
    function: pcm_pclk, groups = [ gpio36 ]
    function: qdss_tracectl_a, groups = [ gpio36 ]
    function: atest_char, groups = [ gpio37 ]
    function: qdss_tracedata_a, groups = [ gpio37 gpio38 gpio39 gpio40 gpio41 gpio42 gpio43 gpio44 gpio45 gpio46 gpio47 gpio48 gpio49 gpio50 gpio51 gpio52 ]
    function: blsp0_uart, groups = [ gpio38 gpio39 gpio40 gpio41 ]
    function: blsp0_i2c, groups = [ gpio38 gpio39 ]
    function: blsp0_spi, groups = [ gpio38 gpio39 gpio40 gpio41 ]
    function: blsp1_uart, groups = [ gpio42 gpio43 gpio44 gpio45 ]
    function: blsp1_i2c, groups = [ gpio42 gpio43 ]
    function: blsp1_spi, groups = [ gpio42 gpio43 gpio44 gpio45 ]
    function: blsp2_uart, groups = [ gpio46 gpio47 gpio48 gpio49 ]
    function: blsp2_i2c, groups = [ gpio46 gpio47 ]
    function: blsp2_spi, groups = [ gpio46 gpio47 gpio48 gpio49 ]
    function: blsp3_uart, groups = [ gpio50 gpio51 gpio52 gpio53 ]
    function: blsp3_i2c, groups = [ gpio50 gpio51 ]
    function: blsp3_spi, groups = [ gpio50 gpio51 gpio52 gpio53 ]
    function: pta2_0, groups = [ gpio54 ]
    function: wci21, groups = [ gpio54 gpio56 ]
    function: cxc1, groups = [ gpio54 gpio56 ]
    function: blsp3_spi1, groups = [ gpio54 gpio55 gpio56 ]
    function: pta2_1, groups = [ gpio55 ]
    function: pta2_2, groups = [ gpio56 ]
    function: pcie0_clk, groups = [ gpio57 ]
    function: dbg_out, groups = [ gpio57 ]
    function: cri_trng0, groups = [ gpio57 ]
    function: pcie0_rst, groups = [ gpio58 ]
    function: cri_trng1, groups = [ gpio58 ]
    function: pcie0_wake, groups = [ gpio59 ]
    function: cri_trng, groups = [ gpio59 ]
    function: pcie1_clk, groups = [ gpio60 ]
    function: rx2, groups = [ gpio60 ]
    function: ldo_update, groups = [ gpio60 ]
    function: pcie1_rst, groups = [ gpio61 ]
    function: ldo_en, groups = [ gpio61 ]
    function: pcie1_wake, groups = [ gpio62 ]
    function: gcc_plltest, groups = [ gpio62 gpio63 ]
    function: sd_card, groups = [ gpio63 ]
    function: pwm01, groups = [ gpio63 ]
    function: pta1_1, groups = [ gpio64 ]
    function: pwm11, groups = [ gpio64 ]
    function: rx1, groups = [ gpio64 ]
    function: pta1_2, groups = [ gpio65 ]
    function: gcc_tlmm, groups = [ gpio65 ]
    function: pta1_0, groups = [ gpio66 ]
    function: pwm21, groups = [ gpio66 ]
    function: prng_rosc, groups = [ gpio66 ]
    function: sd_write, groups = [ gpio67 ]
    function: pwm31, groups = [ gpio67 ]
    function: rx0, groups = [ gpio67 ]
    function: tsens_max, groups = [ gpio67 ]
    function: mdc, groups = [ gpio68 ]
    function: mdio, groups = [ gpio69 ]
    

  • cat /sys/kernel/debug/pinctrl/1000000.pinctrl/pinmux-pins
    # cat /sys/kernel/debug/pinctrl/1000000.pinctrl/pinmux-pins      
    Pinmux settings per pin
    Format: pin (name): mux_owner gpio_owner hog?
    pin 0 (GPIO_0): 79b0000.qpic-nand (GPIO UNCLAIMED) function qpic_pad group gpio0
    pin 1 (GPIO_1): 79b0000.qpic-nand (GPIO UNCLAIMED) function qpic_pad group gpio1
    pin 2 (GPIO_2): 79b0000.qpic-nand (GPIO UNCLAIMED) function qpic_pad group gpio2
    pin 3 (GPIO_3): 79b0000.qpic-nand (GPIO UNCLAIMED) function qpic_pad group gpio3
    pin 4 (GPIO_4): 79b0000.qpic-nand (GPIO UNCLAIMED) function qpic_pad group gpio4
    pin 5 (GPIO_5): 79b0000.qpic-nand (GPIO UNCLAIMED) function qpic_pad4 group gpio5
    pin 6 (GPIO_6): 79b0000.qpic-nand (GPIO UNCLAIMED) function qpic_pad5 group gpio6
    pin 7 (GPIO_7): 79b0000.qpic-nand (GPIO UNCLAIMED) function qpic_pad6 group gpio7
    pin 8 (GPIO_8): 79b0000.qpic-nand (GPIO UNCLAIMED) function qpic_pad7 group gpio8
    pin 9 (GPIO_9): 79b0000.qpic-nand (GPIO UNCLAIMED) function qpic_pad group gpio9
    pin 10 (GPIO_10): 79b0000.qpic-nand (GPIO UNCLAIMED) function qpic_pad group gpio10
    pin 11 (GPIO_11): 79b0000.qpic-nand (GPIO UNCLAIMED) function qpic_pad group gpio11
    pin 12 (GPIO_12): 79b0000.qpic-nand (GPIO UNCLAIMED) function qpic_pad1 group gpio12
    pin 13 (GPIO_13): 79b0000.qpic-nand (GPIO UNCLAIMED) function qpic_pad2 group gpio13
    pin 14 (GPIO_14): 79b0000.qpic-nand (GPIO UNCLAIMED) function qpic_pad3 group gpio14
    pin 15 (GPIO_15): 79b0000.qpic-nand (GPIO UNCLAIMED) function qpic_pad0 group gpio15
    pin 16 (GPIO_16): 79b0000.qpic-nand (GPIO UNCLAIMED) function qpic_pad8 group gpio16
    pin 17 (GPIO_17): 79b0000.qpic-nand (GPIO UNCLAIMED) function qpic_pad group gpio17
    pin 18 (GPIO_18): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 19 (GPIO_19): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 20 (GPIO_20): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 21 (GPIO_21): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 22 (GPIO_22): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 23 (GPIO_23): 78b3000.serial (GPIO UNCLAIMED) function blsp4_uart1 group gpio23
    pin 24 (GPIO_24): 78b3000.serial (GPIO UNCLAIMED) function blsp4_uart1 group gpio24
    pin 25 (GPIO_25): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 26 (GPIO_26): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 27 (GPIO_27): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 28 (GPIO_28): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 29 (GPIO_29): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 30 (GPIO_30): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 31 (GPIO_31): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 32 (GPIO_32): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 33 (GPIO_33): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 34 (GPIO_34): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 35 (GPIO_35): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 36 (GPIO_36): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 37 (GPIO_37): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 38 (GPIO_38): 78b5000.spi (GPIO UNCLAIMED) function blsp0_spi group gpio38
    pin 39 (GPIO_39): 78b5000.spi (GPIO UNCLAIMED) function blsp0_spi group gpio39
    pin 40 (GPIO_40): 78b5000.spi (GPIO UNCLAIMED) function blsp0_spi group gpio40
    pin 41 (GPIO_41): 78b5000.spi (GPIO UNCLAIMED) function blsp0_spi group gpio41
    pin 42 (GPIO_42): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 43 (GPIO_43): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 44 (GPIO_44): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 45 (GPIO_45): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 46 (GPIO_46): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 47 (GPIO_47): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 48 (GPIO_48): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 49 (GPIO_49): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 50 (GPIO_50): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 51 (GPIO_51): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 52 (GPIO_52): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 53 (GPIO_53): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 54 (GPIO_54): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 55 (GPIO_55): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 56 (GPIO_56): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 57 (GPIO_57): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 58 (GPIO_58): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 59 (GPIO_59): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 60 (GPIO_60): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 61 (GPIO_61): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 62 (GPIO_62): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 63 (GPIO_63): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 64 (GPIO_64): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 65 (GPIO_65): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 66 (GPIO_66): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 67 (GPIO_67): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 68 (GPIO_68): 90000.mdio (GPIO UNCLAIMED) function mdc group gpio68
    pin 69 (GPIO_69): 90000.mdio (GPIO UNCLAIMED) function mdio group gpio69
    pin 70 (SDC1_CLK): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 71 (SDC1_CMD): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 72 (SDC1_DATA): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 73 (SDC2_CLK): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 74 (SDC2_CMD): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 75 (SDC2_DATA): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    

  • cat /sys/kernel/debug/pinctrl/1000000.pinctrl/pins
    # cat /sys/kernel/debug/pinctrl/1000000.pinctrl/pins
    registered pins: 76
    pin 0 (GPIO_0) 
    pin 1 (GPIO_1) 
    pin 2 (GPIO_2) 
    pin 3 (GPIO_3) 
    pin 4 (GPIO_4) 
    pin 5 (GPIO_5) 
    pin 6 (GPIO_6) 
    pin 7 (GPIO_7) 
    pin 8 (GPIO_8) 
    pin 9 (GPIO_9) 
    pin 10 (GPIO_10) 
    pin 11 (GPIO_11) 
    pin 12 (GPIO_12) 
    pin 13 (GPIO_13) 
    pin 14 (GPIO_14) 
    pin 15 (GPIO_15) 
    pin 16 (GPIO_16) 
    pin 17 (GPIO_17) 
    pin 18 (GPIO_18) 
    pin 19 (GPIO_19) 
    pin 20 (GPIO_20) 
    pin 21 (GPIO_21) 
    pin 22 (GPIO_22) 
    pin 23 (GPIO_23) 
    pin 24 (GPIO_24) 
    pin 25 (GPIO_25) 
    pin 26 (GPIO_26) 
    pin 27 (GPIO_27) 
    pin 28 (GPIO_28) 
    pin 29 (GPIO_29) 
    pin 30 (GPIO_30) 
    pin 31 (GPIO_31) 
    pin 32 (GPIO_32) 
    pin 33 (GPIO_33) 
    pin 34 (GPIO_34) 
    pin 35 (GPIO_35) 
    pin 36 (GPIO_36) 
    pin 37 (GPIO_37) 
    pin 38 (GPIO_38) 
    pin 39 (GPIO_39) 
    pin 40 (GPIO_40) 
    pin 41 (GPIO_41) 
    pin 42 (GPIO_42) 
    pin 43 (GPIO_43) 
    pin 44 (GPIO_44) 
    pin 45 (GPIO_45) 
    pin 46 (GPIO_46) 
    pin 47 (GPIO_47) 
    pin 48 (GPIO_48) 
    pin 49 (GPIO_49) 
    pin 50 (GPIO_50) 
    pin 51 (GPIO_51) 
    pin 52 (GPIO_52) 
    pin 53 (GPIO_53) 
    pin 54 (GPIO_54) 
    pin 55 (GPIO_55) 
    pin 56 (GPIO_56) 
    pin 57 (GPIO_57) 
    pin 58 (GPIO_58) 
    pin 59 (GPIO_59) 
    pin 60 (GPIO_60) 
    pin 61 (GPIO_61) 
    pin 62 (GPIO_62) 
    pin 63 (GPIO_63) 
    pin 64 (GPIO_64) 
    pin 65 (GPIO_65) 
    pin 66 (GPIO_66) 
    pin 67 (GPIO_67) 
    pin 68 (GPIO_68) 
    pin 69 (GPIO_69) 
    pin 70 (SDC1_CLK) 
    pin 71 (SDC1_CMD) 
    pin 72 (SDC1_DATA) 
    pin 73 (SDC2_CLK) 
    pin 74 (SDC2_CMD) 
    pin 75 (SDC2_DATA)
    

  • help
    
    

  • help
    
    

  • bootlog
    Format: Log Type - Time(microsec) - Message - Optional Info
    Log Type: B - Since Boot(Power On Reset),  D - Delta,  S - Statistic
    S - QC_IMAGE_VERSION_STRING=BOOT.BF.3.3.1-00147
    S - IMAGE_VARIANT_STRING=HAACANAZA
    S - OEM_IMAGE_VERSION_STRING=CRM
    S - Boot Config, 0x000002e5
    B -       201 - PBL, Start
    B -      2735 - bootable_media_detect_entry, Start
    B -      3441 - bootable_media_detect_success, Start
    B -      3445 - elf_loader_entry, Start
    B -      6107 - auth_hash_seg_entry, Start
    B -      6349 - auth_hash_seg_exit, Start
    B -     68412 - elf_segs_hash_verify_entry, Start
    B -    131108 - PBL, End
    B -    142984 - SBL1, Start
    B -    195139 - GCC [RstStat:0x10, RstDbg:0x600000] WDog Stat : 0x4
    B -    201635 - pm_device_init, Start
    B -    322446 - PM_SET_VAL:Skip
    D -    120170 - pm_device_init, Delta
    B -    324703 - pm_driver_init, Start
    D -      5307 - pm_driver_init, Delta
    B -    331199 - clock_init, Start
    D -      2074 - clock_init, Delta
    B -    335195 - boot_flash_init, Start
    D -     12474 - boot_flash_init, Delta
    B -    351451 - boot_config_data_table_init, Start
    D -      3080 - boot_config_data_table_init, Delta - (575 Bytes)
    B -    358924 - Boot Setting :  0x00000618
    B -    362858 - CDT version:2,Platform ID:8,Major ID:1,Minor ID:0,Subtype:0
    B -    369782 - sbl1_ddr_set_params, Start
    B -    373594 - CPR configuration: 0x30c
    B -    376949 - cpr_init, Start
    B -    379816 - Rail:0 Mode: 5 Voltage: 800000
    B -    384940 - CL CPR settled at 752000mV
    B -    387746 - Rail:1 Mode: 5 Voltage: 880000
    B -    392047 - Rail:1 Mode: 7 Voltage: 896000
    D -     16531 - cpr_init, Delta
    B -    398848 - Pre_DDR_clock_init, Start
    B -    402935 - Pre_DDR_clock_init, End
    B -    406229 - DDR Type : PCDDR3
    B -    411994 - do ddr sanity test, Start
    D -      1067 - do ddr sanity test, Delta
    B -    416752 - DDR: Start of HAL DDR Boot Training
    B -    421388 - DDR: End of HAL DDR Boot Training
    B -    427183 - DDR: Checksum to be stored on flash is 1692210399
    B -    437492 - Image Load, Start
    D -    223931 - QSEE Image Loaded, Delta - (1373936 Bytes)
    B -    661514 - Image Load, Start
    D -        61 - SEC Image Loaded, Delta - (0 Bytes)
    B -    669200 - Image Load, Start
    D -     10706 - DEVCFG Image Loaded, Delta - (26004 Bytes)
    B -    679997 - Image Load, Start
    D -     25224 - RPM Image Loaded, Delta - (105964 Bytes)
    B -    705312 - Image Load, Start
    D -     96045 - APPSBL Image Loaded, Delta - (586920 Bytes)
    B -    801479 - QSEE Execution, Start
    D -        61 - QSEE Execution, Delta
    B -    807304 - USB D+ check, Start
    D -         0 - USB D+ check, Delta
    B -    813679 - SBL1, End
    D -    673013 - SBL1, Delta
    S - Flash Throughput, 6727 KB/s  (2094071 Bytes,  311248 us)
    S - DDR Frequency, 466 MHz
    S - Core 0 Frequency, 1651 MHz
    
    
    U-Boot 2016.01 [BUFFALO U-Boot Ver.1.01] (Jul 12 2019 - 17:37:52 +0900)
    
    DRAM:  smem ram ptable found: ver: 1 len: 4
    ### Sys Mem Test Start: 41300000 - 4A900000
    Memory Test start(0x41300000) end(0x4A900000) size(157286400)
    Data line test start:0x41300000 pattern 0x00000001 0x00000003 0x00000007 0x0000000F 0x00000005 0x00000015 0x00000055 0xAAAAAA
    AA 
    Address line test start:0x41300000 len:0x9600000 pattern 0xAAAAAAAA 0x55555555  
    Fill test patnum:2 
    fill Pattern 5555AAAA  Writing...   Reading...
    fill Pattern AAAA5555  Writing...   Reading...
    ### System Memory Test OK
    ### Work Memory Test Start: 50000000 - 80000000
    Memory Test start(0x50000000) end(0x80000000) size(805306368)
    Data line test start:0x50000000 pattern 0x00000001 0x00000003 0x00000007 0x0000000F 0x00000005 0x00000015 0x00000055 0xAAAAAA
    AA 
    Address line test start:0x50000000 len:0x30000000 pattern 0xAAAAAAAA 0x55555555  
    Fill test patnum:2 
    fill Pattern 5555AAAA  Writing...   Reading...
    fill Pattern AAAA5555  Writing...   Reading...
    ### Work Memory Test OK 40000000
    1 GiB
    NAND:  ONFI device found
    ID = 1590aaef
    Vendor = ef
    Device = aa
    SF: Unsupported flash IDs: manuf ff, jedec ffff, ext_jedec ffff
    ipq_spi: SPI Flash not found (bus/cs/speed/mode) = (0/0/48000000/0)
    256 MiB
    MMC:   : 0
    In:    serial@78B3000
    Out:   serial@78B3000
    Err:   serial@78B3000
    check product = WXR-5950AX12 / WXR-5950AX12 (32)
    check ethaddr = 50:c4:dd:**:**:28 / 50:c4:dd:**:**:28 (6)
    check wlan0addr = 50:c4:dd:**:**:30 / 50:c4:dd:**:**:30 (6)
    check wlan1addr = 50:c4:dd:**:**:38 / 50:c4:dd:**:**:38 (6)
    check wlan2addr = 00:00:00:00:00:00 / 00:00:00:00:00:00 (6)
    check hw_rev = 0 / 0 (4)
    check custom_id = 0 / 0 (4)
    check melco_id = RD_18021 / RD_18021 (12)
    check region = JP / JP (4)
    check product_vendor = BUFFALO / BUFFALO (16)
    check pincode = ******** / ******** (16)
    check psk = ************ / ************ (16)
    check admin_passwd = ******** / ******** (16)
    machid: 8010000
    Card did not respond to voltage select!
    ### AOSS check(51)  none
    Hit any key to stop autoboot:  0 
    ubi0: attaching mtd1
    ubi0: scanning is finished
    ubi0: attached mtd1 (name "mtd=1", size 64 MiB)
    ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
    ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
    ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
    ubi0: good PEBs: 512, bad PEBs: 0, corrupted PEBs: 0
    ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128
    ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 259244242
    ubi0: available PEBs: 124, total reserved PEBs: 388, PEBs reserved for bad PEB handling: 40
    Read 36 bytes from volume fw_hash to 4a77f678
    hash_size: 36 bytes
    396239623737383636333763343563383261343137383737616332616137393420202D0A
    ubi0: detaching mtd1
    ubi0: mtd1 is detached
    ubi0: attaching mtd1
    ubi0: scanning is finished
    ubi0: attached mtd1 (name "mtd=0", size 64 MiB)
    ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
    ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
    ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
    ubi0: good PEBs: 512, bad PEBs: 0, corrupted PEBs: 0
    ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128
    ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 259244242
    ubi0: available PEBs: 124, total reserved PEBs: 388, PEBs reserved for bad PEB handling: 40
    Read 36 bytes from volume fw_hash to 4a77f6b8
    hash_size: 36 bytes
    396239623737383636333763343563383261343137383737616332616137393420202D0A
    Try boot partition: [CURRENT]
    UBI: Checking volume 0(kernel) on UBI device 0 ...
    UBI: OK
    UBI: Checking volume 1(ubi_rootfs) on UBI device 0 ...
    UBI: OK
    UBI: Checking volume 2(fw_hash) on UBI device 0 ...
    UBI: OK
    UBI: Checking volume 128(layout volume) on UBI device 0 ...
    UBI: OK
    Loading kernel partition..
    Read 0 bytes from volume kernel to 44000000
    No size specified -> Using max size (4642144)
    Start kernel..
    bootm 0x44000000#config@hk01
    ## Loading kernel from FIT Image at 44000000 ...
       Using 'config@hk01' configuration
       Trying 'kernel@1' kernel subimage
         Description:  ARM OpenWrt Linux-4.4.60
         Type:         Kernel Image
         Compression:  gzip compressed
         Data Start:   0x440000e4
         Data Size:    3983312 Bytes = 3.8 MiB
         Architecture: ARM
         OS:           Linux
         Load Address: 0x41208000
         Entry Point:  0x41208000
         Hash algo:    crc32
         Hash value:   c4f687b8
         Hash algo:    sha1
         Hash value:   604266deee680ef619cdccd9dbe88df41254ca5f
       Verifying Hash Integrity ... crc32+ sha1+ OK
    ## Loading fdt from FIT Image at 44000000 ...
       Using 'config@hk01' configuration
       Trying 'fdt@hk01' fdt subimage
         Description:  ARM OpenWrt  device tree blob
         Type:         Flat Device Tree
         Compression:  uncompressed
         Data Start:   0x44459910
         Data Size:    78350 Bytes = 76.5 KiB
         Architecture: ARM
         Hash algo:    crc32
         Hash value:   ea5c5e6c
         Hash algo:    sha1
         Hash value:   30c344d8d72ae431f7e4bf4dfbf3ace9bc512642
       Verifying Hash Integrity ... crc32+ sha1+ OK
       Booting using the fdt blob at 0x44459910
       Uncompressing Kernel Image ... OK
       Loading Device Tree to 4a3e9000, end 4a3ff20d ... OK
    Using machid 0x8010000 from environment
    
    Starting kernel ...
    
    Booting Linux on physical CPU 0x0
    Initializing cgroup subsys cpuset
    Initializing cgroup subsys cpu
    Initializing cgroup subsys cpuacct
    Linux version 4.4.60 (jenkins@dev-build1.melco.local) (gcc version 5.2.0 (OpenWrt GCC 5.2.0 6ff3409+r49254) ) #1 SMP PREEMPT 
    Wed Oct 9 00:28:49 JST 2019
    CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c0383d
    CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    Machine model: Qualcomm Technologies, Inc. IPQ807x/AP-HK01-C1
    Ignoring memory range 0x40000000 - 0x41000000
    Reserved memory: OVERLAP DETECTED!
    wifi_dump@51000000 (0x51000000--0x51600000) overlaps with wigig_dump@51200000 (0x51200000--0x51600000)
    Memory policy: Data cache writealloc
    psci: probing for conduit method from DT.
    psci: PSCIv1.0 detected in firmware.
    psci: Using standard PSCI v0.2 function IDs
    psci: MIGRATE_INFO_TYPE not supported.
    PERCPU: Embedded 11 pages/cpu @be6b7000 s14592 r8192 d22272 u45056
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 227876
    Kernel command line: console=ttyMSM0,115200n8 ubi.mtd=rootfs root=mtd:ubi_rootfs rootfstype=squashfs rootwait swiotlb=1
    PID hash table entries: 4096 (order: 2, 16384 bytes)
    Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    Memory: 902780K/920576K available (5495K kernel code, 375K rwdata, 1900K rodata, 224K init, 341K bss, 17796K reserved, 0K cma
    -reserved, 0K highmem)
    Virtual kernel memory layout:
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)
        fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
        vmalloc : 0xbf800000 - 0xff800000   (1024 MB)
        lowmem  : 0x80000000 - 0xbf000000   (1008 MB)
        pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)
        modules : 0x7f000000 - 0x7fe00000   (  14 MB)
          .text : 0x80208000 - 0x809410b0   (7397 kB)
          .init : 0x80942000 - 0x8097a000   ( 224 kB)
          .data : 0x8097a000 - 0x809d7d80   ( 376 kB)
           .bss : 0x809da000 - 0x80a2f654   ( 342 kB)
    SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    Preemptible hierarchical RCU implementation.
            Build-time adjustment of leaf fanout to 32.
    NR_IRQS:16 nr_irqs:16 16
    Architected cp15 timer(s) running at 19.20MHz (virt).
    clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
    sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
    Switching to timer-based delay loop, resolution 52ns
    Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
    pid_max: default: 32768 minimum: 301
    Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    Initializing cgroup subsys io
    Initializing cgroup subsys memory
    Initializing cgroup subsys devices
    Initializing cgroup subsys freezer
    Initializing cgroup subsys net_cls
    Initializing cgroup subsys pids
    CPU: Testing write buffer coherency: ok
    CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    Setting up static identity map for 0x41208280 - 0x412082d8
    MSM Memory Dump base table set up
    MSM Memory Dump apps data table set up
    CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
    CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
    Brought up 4 CPUs
    SMP: Total of 4 processors activated (153.60 BogoMIPS).
    CPU: All CPU(s) started in SVC mode.
    VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4
    clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    futex hash table entries: 1024 (order: 4, 65536 bytes)
    pinctrl core: initialized pinctrl subsystem
    NET: Registered protocol family 16
    DMA: preallocated 2048 KiB pool for atomic coherent allocations
    cpuidle: using governor ladder
    cpuidle: using governor menu
    Soc version is not 1, changing clock offsets
    irq: no irq domain found for /soc/smp2p-wcss/slave-kernel !
    irq: no irq domain found for /soc/smp2p-wcss/slave-kernel !
    CPU: unavail, SoC Version: 2.0
     glink_init: IPC Logging Disabled
     glink_core_register_transport: IPC Logging disabled
    msm_glink_smem_native_xprt      rx fifo not found
    msm_rpm_dev_probe: APSS-RPM communication over GLINK
    qcom,cpr3-npu-regulator a4000.npu-cpr: NPU CPR valid fuse count: 2
    qcom,cpr4-apss-regulator b018000.cpr4-ctrl: CPR valid fuse count: 4
    IPC logging disabled
    IPC logging disabled
    IPC logging disabled
    IPC logging disabled
    IPC logging disabled
    sps:sps is ready.
    pps_core: LinuxPPS API ver. 1 registered
    pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti 
    PTP clock support registered
    Advanced Linux Sound Architecture Driver Initialized.
    clocksource: Switched to clocksource arch_sys_counter
    NET: Registered protocol family 2
    TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    TCP: Hash tables configured (established 8192 bind 8192)
    UDP hash table entries: 512 (order: 2, 16384 bytes)
    UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    NET: Registered protocol family 1
    squashfs: version 4.0 (2009/01/31) Phillip Lougher
    jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
    Key type asymmetric registered
    Asymmetric key parser 'x509' registered
    io scheduler noop registered
    io scheduler deadline registered (default)
    20000000.pci supply vdda not found, using dummy regulator
    20000000.pci supply vdda_phy not found, using dummy regulator
    20000000.pci supply vdda_refclk not found, using dummy regulator
    PCI host bridge /soc/pci@20000000 ranges:
       IO 0x20200000..0x202fffff -> 0x20200000
      MEM 0x20300000..0x20ffffff -> 0x20300000
    qcom-pcie 20000000.pci: phy link never came up
    qcom-pcie 20000000.pci: hostinit failed
    qcom-pcie 20000000.pci: cannot initialize host
    qcom-pcie: probe of 20000000.pci failed with error -110
    10000000.pci supply vdda not found, using dummy regulator
    10000000.pci supply vdda_phy not found, using dummy regulator
    10000000.pci supply vdda_refclk not found, using dummy regulator
    PCI host bridge /soc/pci@10000000 ranges:
       IO 0x10200000..0x102fffff -> 0x10200000
      MEM 0x10300000..0x10ffffff -> 0x10300000
    qcom-pcie 10000000.pci: phy link never came up
    qcom-pcie 10000000.pci: hostinit failed
    qcom-pcie 10000000.pci: cannot initialize host
    qcom-pcie: probe of 10000000.pci failed with error -110
    MDSS QPIC HW Base phy_Address=0x7980000 virt=bfb40000
    mdss_qpic_panel_probe: Panel Name = qpic lcd panel
    mdss_fb_register: FrameBuffer[0] 800x480 registered successfully!
    NET: Registered protocol family 27
    IPC_RTR: ipc_router_create_log_ctx: IPC Logging disabled
    qmi_log_init: IPC Logging disabled
    qmi_log_init: IPC Logging disabled
    msm_rpm_log_probe: OK
    msm-dcc b3000.dcc: DCC XPU is not specified
    msm-dcc b3000.dcc: DCC SRAM dump setup failed
    msm-dcc b3000.dcc: jiffies_64: 0xffff8bc3, cntvct_64: 0x10b958c7
    msm-dcc b3000.dcc: gcnt_hi: 0x00000000(0xbfb1e004)
    msm-dcc b3000.dcc: gcnt_lo: 0x10b95a3f(0xbfb1e000)
    TZ Log : Will warn on Access Violation, as paniconaccessviolation is not set
    msm_serial 78b3000.serial: msm_serial: detected port #0
    msm_serial 78b3000.serial: uartclk = 3686400
    78b3000.serial: ttyMSM0 at MMIO 0x78b3000 (irq = 22, base_baud = 230400) is a MSM
    msm_serial: console setup on port #0
    console [ttyMSM0] enabled
    msm_serial: driver initialized
    msm_serial_hsl_init: driver initialized
    set_diag_led_status: w
    brd: module loaded
    spi_qup 78b5000.spi: IN:block:16, fifo:64, OUT:block:16, fifo:64
    m25p80 spi32766.0: unrecognized JEDEC id bytes: ff, ff, ff
    nand: device found, Manufacturer ID: 0xef, Chip ID: 0xaa
    nand: Winbond W29N02GZ
    nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    24 ofpart partitions found on MTD device qcom_nand.0
    Creating 24 MTD partitions on "qcom_nand.0":
    0x000000000000-0x000000100000 : "0:SBL1"
    0x000000100000-0x000000200000 : "0:MIBIB"
    0x000000200000-0x000000280000 : "0:BOOTCONFIG"
    0x000000280000-0x000000300000 : "0:BOOTCONFIG1"
    0x000000300000-0x000000600000 : "0:QSEE"
    0x000000600000-0x000000900000 : "0:QSEE_1"
    0x000000900000-0x000000980000 : "0:DEVCFG"
    0x000000980000-0x000000a00000 : "0:DEVCFG_1"
    0x000000a00000-0x000000a80000 : "0:APDP"
    0x000000a80000-0x000000b00000 : "0:APDP_1"
    0x000000b00000-0x000000b80000 : "0:RPM"
    0x000000b80000-0x000000c00000 : "0:RPM_1"
    0x000000c00000-0x000000c80000 : "0:CDT"
    0x000000c80000-0x000000d00000 : "0:CDT_1"
    0x000000d00000-0x000000d80000 : "0:APPSBLENV"
    0x000000d80000-0x000000e80000 : "0:APPSBL"
    0x000000e80000-0x000000f80000 : "0:APPSBL_1"
    0x000000f80000-0x000001000000 : "0:ART"
    0x000001000000-0x000001080000 : "0:ART_1"
    0x000001080000-0x000001100000 : "0:ORGDATA"
    0x000001100000-0x000001180000 : "0:ORGDATA_1"
    0x000001180000-0x000005180000 : "rootfs"
    mtd: device 21 (rootfs) set to be root filesystem
    mtdsplit: no squashfs found in "rootfs"
    0x000005180000-0x000009180000 : "rootfs_recover"
    0x000009180000-0x000010000000 : "user_property"
    spmi spmi-0: PMIC Arb Version-2 (0x20010000)
    libphy: Fixed MDIO Bus: probed
    qca-mdio 90000.mdio: Could not find phy-reset-gpio
    libphy: qca_mdio: probed
    qca-mdio 90000.mdio: qca-mdio driver was registered
    PPP generic driver version 2.4.2
    NET: Registered protocol family 24
    PPTP driver version 0.8.5
    Unable to create IPC log context!
    cnss: Platform driver probed successfully.
    Skip QCA8074V1 in V2 platform
    cnss_genl: genl_register_family fail: -17
    cnss: CNSS genl init failed -17
    cnss: Platform driver probed successfully.
    i2c /dev entries driver
    device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com
    qcom_ice_get_device_tree_data: No vdd-hba-supply regulator, assuming not needed
    ICE IRQ = 25
    
    Version Rollback Feature Disabled
    sps_register_bam_device : unable to create IPC Logging 0 for bam 0x08b04000
    sps_register_bam_device : unable to create IPC Logging 1 for bam 0x08b04000sps_register_bam_device : unable to create IPC Log
    ging 2 for bam 0x08b04000
    sps_register_bam_device : unable to create IPC Logging 3 for bam 0x08b04000sps_register_bam_device : unable to create IPC Log
    ging 4 for bam 0x08b04000
    sps:BAM 0x08b04000 is registered.DEV CI test message
    remoteproc remoteproc0: q6v5-wcss is available
    subsys-restart: ssr_parse_restart_orders(): q6v5_m3 device has been added to q6v5-m3's restart group
    subsys-restart: ssr_parse_restart_orders(): q6v5_wcss device has been added to q6v5-m3's restart group
    remoteproc remoteproc1: q6v5-m3 is available
    SPMI VADC - Min ch: 0 Max ch: 15
    of_graph_get_next_endpoint(): no port node found in /soc/csr@6001000
    coresight-csr 6001000.csr: CSR initialized
    of_graph_get_next_endpoint(): no port node found in /soc/cti@6010000
    of_graph_get_next_endpoint(): no port node found in /soc/cti@6011000
    of_graph_get_next_endpoint(): no port node found in /soc/cti@6012000
    of_graph_get_next_endpoint(): no port node found in /soc/cti@6013000
    of_graph_get_next_endpoint(): no port node found in /soc/cti@6014000
    of_graph_get_next_endpoint(): no port node found in /soc/cti@6015000
    of_graph_get_next_endpoint(): no port node found in /soc/cti@6016000
    of_graph_get_next_endpoint(): no port node found in /soc/cti@6017000
    of_graph_get_next_endpoint(): no port node found in /soc/cti@6018000
    of_graph_get_next_endpoint(): no port node found in /soc/cti@6019000
    of_graph_get_next_endpoint(): no port node found in /soc/cti@601a000
    of_graph_get_next_endpoint(): no port node found in /soc/cti@601b000
    of_graph_get_next_endpoint(): no port node found in /soc/cti@601c000
    of_graph_get_next_endpoint(): no port node found in /soc/cti@601d000
    of_graph_get_next_endpoint(): no port node found in /soc/cti@601e000
    of_graph_get_next_endpoint(): no port node found in /soc/cti@601f000
    of_graph_get_next_endpoint(): no port node found in /soc/cti@6198000
    of_graph_get_next_endpoint(): no port node found in /soc/cti@6199000
    of_graph_get_next_endpoint(): no port node found in /soc/cti@619a000
    of_graph_get_next_endpoint(): no port node found in /soc/cti@619b000
    of_graph_get_next_endpoint(): no port node found in /soc/cti@610c000
    sps_register_bam_device : unable to create IPC Logging 0 for bam 0x06044000
    sps_register_bam_device : unable to create IPC Logging 1 for bam 0x06044000sps_register_bam_device : unable to create IPC Log
    ging 2 for bam 0x06044000
    sps_register_bam_device : unable to create IPC Logging 3 for bam 0x06044000sps_register_bam_device : unable to create IPC Log
    ging 4 for bam 0x06044000
    sps:BAM 0x06044000 is registered.coresight-tmc 6028000.tmc: TMC initialized
    coresight-tmc 6027000.tmc: TMC initialized
    coresight-funnel 6021000.funnel: FUNNEL initialized
    coresight-funnel 6100000.funnel: FUNNEL initialized
    coresight-funnel 6120000.funnel: FUNNEL initialized
    coresight-funnel 61a1000.funnel: FUNNEL initialized
    coresight-etm4x 619c000.etm: ETM 4.0 initialized
    coresight-etm4x 619d000.etm: ETM 4.0 initialized
    coresight-etm4x 619e000.etm: ETM 4.0 initialized
    coresight-etm4x 619f000.etm: ETM 4.0 initialized
    coresight-replicator-qcom 6026000.replicator: REPLICATOR 1.0 initialized
    coresight-stm 6002000.stm: STM initialized
    of_graph_get_next_endpoint(): no port node found in /soc/hwevent@6101000
    coresight-hwevent 6101000.hwevent: Hardware Event driver initialized
    gre: GRE over IPv4 demultiplexor driver
    ip_gre: GRE over IPv4 tunneling driver
    Initializing XFRM netlink socket
    NET: Registered protocol family 10
    NET: Registered protocol family 17
    NET: Registered protocol family 15
    bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need th
    is.
    Bridge firewalling registered
    l2tp_core: L2TP core driver, V2.0
    l2tp_ppp: PPPoL2TP kernel driver, V2.0
    l2tp_ip: L2TP IP encapsulation support (L2TPv3)
    l2tp_netlink: L2TP netlink interface
    l2tp_eth: L2TP ethernet pseudowire support (L2TPv3)
    l2tp_debugfs: L2TP debugfs support
    l2tp_ip6: L2TP IP encapsulation support for IPv6 (L2TPv3)
    8021q: 802.1Q VLAN Support v1.8
    Registering SWP/SWPB emulation handler
    qcom,cpr3-npu-regulator a4000.npu-cpr: NPU CPR valid fuse count: 2
    pmd9655_s4: supplied by e-smps1-reg
    cpr3_mem_acc_init: npu: not using memory accelerator regulator
    npu_corner: fused      NOM: open-loop= 800000 uV
    ** MODE CHANGE->exec
    automode
    
    npu_corner: fused    TURBO: open-loop= 856000 uV
    npu_corner: fused      NOM: open-loop= 800000 uV
    npu_corner: fused    TURBO: open-loop= 856000 uV
    npu_corner: Normal and Cold condition init done. Default to normal.
    qcom,cpr4-apss-regulator b018000.cpr4-ctrl: CPR valid fuse count: 4
    pmd9655_s3: supplied by e-smps1-reg
    cpr4_ipq807x_apss_read_fuse_data: apc_corner: speed bin = 0
    cpr4_ipq807x_apss_read_fuse_data: apc_corner: CPR fusing revision = 1
    cpr4_ipq807x_apss_read_fuse_data: apc_corner: CPR misc fuse value = 0
    cpr4_ipq807x_apss_read_fuse_data: apc_corner: Voltage boost fuse config = 0 boost = disable
    cpr3_mem_acc_init: apc: not using memory accelerator regulator
    cpr4_ipq807x_apss_calculate_open_loop_voltages: apc_corner: fused      SVS: open-loop= 704000 uV
    cpr4_ipq807x_apss_calculate_open_loop_voltages: apc_corner: fused      NOM: open-loop= 824000 uV
    cpr4_ipq807x_apss_calculate_open_loop_voltages: apc_corner: fused    TURBO: open-loop= 880000 uV
    cpr4_ipq807x_apss_calculate_open_loop_voltages: apc_corner: fused   STURBO: open-loop= 968000 uV
    cpr4_ipq807x_apss_calculate_target_quotients: apc_corner: fused      SVS: quot[ 7]= 719, quot_offset[ 7]=   0
    cpr4_ipq807x_apss_calculate_target_quotients: apc_corner: fused      NOM: quot[ 7]= 943, quot_offset[ 7]= 220
    cpr4_ipq807x_apss_calculate_target_quotients: apc_corner: fused    TURBO: quot[ 7]=1036, quot_offset[ 7]=  90
    cpr4_ipq807x_apss_calculate_target_quotients: apc_corner: fused   STURBO: quot[ 7]=1193, quot_offset[ 7]= 155
    cpr3_regulator_init_ctrl: apc: Default CPR mode = closed-loop
    cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 800000 KHz
    cpufreq: cpufreq_online: CPU0: Unlisted initial frequency changed to: 1017600 KHz
    ubi0: attaching mtd21
    random: nonblocking pool is initialized
    ubi0: scanning is finished
    ubi0: attached mtd21 (name "rootfs", size 64 MiB)
    ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
    ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
    ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
    ubi0: good PEBs: 512, bad PEBs: 0, corrupted PEBs: 0
    ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128
    ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 259244242
    ubi0: available PEBs: 124, total reserved PEBs: 388, PEBs reserved for bad PEB handling: 40
    ubi0: background thread "ubi_bgt0d" started, PID 935
    hctosys: unable to open rtc device (rtc0)
    pmd9655_ldo11: disabling
    ALSA device list:
      No soundcards found.
    VFS: Mounted root (squashfs filesystem) readonly on device 31:25.
    Freeing unused kernel memory: 224K (80942000 - 8097a000)
    start fw_recover.sh
    normal boot
    131072+0 records in
    131072+0 records out
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    device-mapper: req-crypt: dm-req-crypt successfully initalized.
    
    ntfs: driver 2.1.32 [Flags: R/O MODULE].
    ssdk_switch_device_num_init[998]:INFO:ess-switch dts node number: 1
    ssdk_dt_get_switch_node[836]:INFO:ess-switch DT exist!
    ssdk_dt_parse_access_mode[737]:INFO:switch_access_mode: local bus
    ssdk_dt_parse_access_mode[750]:INFO:switchreg_base_addr: 0x3a000000
    ssdk_dt_parse_access_mode[751]:INFO:switchreg_size: 0x1000000
    ssdk_dt_parse_mac_mode[242]:INFO:mac mode = 0xb
    ssdk_dt_parse_mac_mode[251]:INFO:mac mode1 = 0xd
    ssdk_dt_parse_mac_mode[260]:INFO:mac mode2 = 0xd
    ssdk_dt_parse_phy_info[515]:INFO:qcom,port_phyinfo DT doesn't exist!
    ssdk_dt_parse_mdio[605]:INFO:mdio DT exist!
    ssdk_dt_parse_uniphy[279]:INFO:ess-uniphy DT exist!
    ssdk_dt_parse_intf_mac[683]:INFO:dp1 MAC 50:c4:dd:cb:ef:28
    ssdk_dt_parse_intf_mac[683]:INFO:dp2 MAC 50:c4:dd:cb:ef:28
    ssdk_dt_parse_intf_mac[683]:INFO:dp3 MAC 50:c4:dd:cb:ef:28
    ssdk_dt_parse_intf_mac[683]:INFO:dp4 MAC 50:c4:dd:cb:ef:28
    ssdk_dt_parse_intf_mac[683]:INFO:dp5 MAC 50:c4:dd:cb:ef:28
    ssdk_dt_parse_intf_mac[683]:INFO:dp6 MAC 50:c4:dd:cb:ef:28
    ssdk_plat_init start
    ssdk_ppe_clock_init[464]:INFO:ppe and uniphy clock init successfully!
    ssdk_probe[1878]:INFO:ess_rst doesn't exist!
    HPPE initializing...
    malibu_phy_api_ops_init[2851]:INFO:qca probe malibu phy driver succeeded!
    aquantia_phy_api_ops_init[2180]:INFO:qca probe aquantia phy driver succeeded!
    regi_init[3395]:INFO:Initializing HPPE!!
    ssdk_ppe_reset_init[738]:INFO:ppe reset successfully!
    qca_hppe_tdm_hw_init[737]:INFO:tdm setup num=96
    qca_hppe_portctrl_hw_init[165]:INFO:Hawkeye PPE port initializing
    ssdk_switch_register[1617]:INFO:Chip version 0x1500
    qca_link_polling_select[1279]:INFO:link-polling-required node does not exist
    ssdk_switch_register[1642]:INFO:polling is selected
    regi_init[3399]:INFO:Initializing HPPE Done!!
    regi_init[3443]:INFO:qca-ssdk module init succeeded!
    tun: Universal TUN/TAP device driver, 1.6
    tun: (C) 1999-2004 Max Krasnyansky 
    EDMA ver 1 hw init
    EDMA HW Reset completed succesfully
    Num rings - TxDesc:1 (23-23) TxCmpl:1 (7-7)
    RxDesc:1 (15-15) RxFill:1 (7-7)
    **********************************************************
    * NSS Data Plane driver
    **********************************************************
    nss_driver - fw of size 669048  bytes copied to load addr: 40000000, nss_id : 0
    Supported Frequencies - 
    748.8 MHz 1.4976 GHz 
    1.6896 GHz 
    7f42e6c0: meminfo init succeed
    node size 2 # items 4
    memory: 40000000 1073741824 (avl 938045440) items 4 active_cores 2
    7f42e6c0: nss core 0 booted successfully
    nss_driver - fw of size 265032  bytes copied to load addr: 40800000, nss_id : 1
    Supported Frequencies - 
    748.8 MHz 
    1.4976 GHz 
    1.6896 GHz 
    
    7f432980: meminfo init succeed
    node size 2 # items 4
    memory: 40000000 1073741824 (avl 938045440) items 4 active_cores 2
    7f432980: nss core 1 booted successfully
    sit: IPv6 over IPv4 tunneling driver
    nat46: module (version 8ff2ae59ec9840a7b8b45f976c51cae80abe0226) loaded.
    ip6_gre: GRE over IPv6 tunneling driver
    Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
    SCSI subsystem initialized
    ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    ehci-platform: EHCI generic platform driver
    QCA multicast snooping installed successfully
    ip6_tables: (C) 2000-2006 Netfilter Core Team
    nss_lag_init[354]:LAG Manager Installed
    :module loaded Build_ID - 10/09/19, 00:51:20 SoC=ipq807x
    cannot find nss-macsec0 node
    cannot find nss-macsec1 node
    cannot find nss-macsec2 node
    nss_macsec init success
    Failed to find u_qdss. Maybe it is a built in module ?
    Failed to find usb_f_qdss. Maybe it is a built in module ?
    msm-usb-ssphy-qmp 78000.ssphy: Initializing QMP phy
    msm-usb-ssphy-qmp 78000.ssphy: QMP PHY initialization timeout
    msm-usb-ssphy-qmp 78000.ssphy: USB3_PHY_PCS_STATUS:68686868
    msm-usb-ssphy-qmp 58000.ssphy: Initializing QMP phy
    msm-usb-ssphy-qmp 58000.ssphy: QMP PHY initialization timeout
    msm-usb-ssphy-qmp 58000.ssphy: USB3_PHY_PCS_STATUS:68686868
    u32 classifier
        input device check on
        Actions configured
    nf_conntrack version 0.5.0 (14109 buckets, 56436 max)
    initail marking buffer allocated(cnt=1024)
    Bytecounter: allocated 64 tables
    nf_init_bytecounter: init finish.
    Mirror/redirect action on
    Usage:
            insmod filename [args]
    Usage:
            insmod filename [args]
    fuse init (API version 7.23)
    Ebtables v2.0 registered
    ip_tables: (C) 2000-2006 Netfilter Core Team
    xt_time: kernel timezone is -0000
    nf_conntrack_rtsp v0.6.21 loading
    nf_nat_rtsp v0.6.21 loading
    xt_applications: module license '' taints kernel.
    Disabling lock debugging due to kernel taint
    usbcore: registered new interface driver usb-storage
    usbcore: registered new interface driver uas
    ECM init
    ECM database jhash random seed: 0xea0f891c
    ECM init complete
    diag: IPC Logging disabled
    cfg80211: World regulatory domain updated:
    cfg80211:  DFS Master region: unset
    cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
    cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
    cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz, 92000 KHz AUTO), (N/A, 2000 mBm), (N/A)
    cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
    __mm_init_module 
    cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
    cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
    cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
    cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
    qdf_dbg_mask value is invalid
    Using the default module debug levels instead
    qdf_print_ctrl_register: Allocated print control object 0
    cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
    wlan: [1744:E:CONFIG] cfg_uint_item_handler: 171: gScanProbeRepeatTime=50 - Out of range [0, 30]; Using 50
    
     MINIDUMP VA .bss start=7fcae780 module=umac
    vmap allocation for size 1196032 failed: use vmalloc= to increase size.
    
     MINIDUMP VA .bss start=c1d46340 module=qca_ol
    =======ol_if_register_wifi3_0==========
    wlan: [1757:I:ANY] osif_nss_register_module: 90: NSS wifi ops registered for target_type:1 with soc_ops:7fddaae0
    remoteproc remoteproc1: powering up q6v5-m3
    remoteproc remoteproc1: Booting fw image IPQ8074/m3_fw.mdt, size 284
    Sanity check passed for M3 image
    remoteproc remoteproc1: remote processor q6v5-m3 is now up
    wlan: [1757:I:ANY] ol_ath_ahb_ssr: 183: ol_ath_ahb_ssr: SSR event 2
    : glink SUBSYS_BEFOER_POWERUP reinit done
    remoteproc remoteproc0: powering up q6v5-wcss
    remoteproc remoteproc0: Booting fw image IPQ8074/q6_fw.mdt, size 668
    Sanity check passed for the image
    glink_core_link_up glink is up
    glink_xprt_open_event
    Subsystem error monitoring/handling services are up
    remoteproc remoteproc0: remote processor q6v5-wcss is now up
    IPC_RTR: ipc_router_create_log_ctx: IPC Logging disabled
    wlan: [1757:I:ANY] ol_ath_ahb_ssr: 183: ol_ath_ahb_ssr: SSR event 3
    cnss: QMI WLFW service connected, state: 0x1
    diag: In diag_send_feature_mask_update, control channel is not open, p: 2, 7f9e98c4
    cnss: device_id : 0xfffe mem mode : [0]
    cnss: No board_id entry in device tree
    cnss: BDF location : 0x4b0c0000
    cnss: BDF IPQ8074/bdwlan.bin size 131072
    cnss: BDF download response , result: 0, err: 0x0
    cnss: per device BDF location : 0x4b0e0000
    cnss: CALDATA IPQ8074/caldata.bin size 131072 offset 0x20000
    cnss: BDF download response , result: 0, err: 0x0
    wlan: [1757:I:ANY] pld_ahb_wlan_enable: 681: cnss_mode: Cold boot calibration
    Coldboot calibration wait started
    Coldboot calibration wait ended
    wlan: [1757:I:ANY] ol_ath_do_cold_boot_calibration: 467: Coldboot calib successful: radio_id 0x65534
    wlan: [1757:I:ANY] init_ath_pci_3_0: 151: 6ath_ol_pci_wifi3.0:  (Atheros/multi-bss)
    
     MINIDUMP VA .bss start=7fddad80 module=wifi_3_0
    wlan: [1770:I:ANY] ol_ath_ahb_ssr: 183: ol_ath_ahb_ssr: SSR event 0
    remoteproc remoteproc0: stopped remote processor q6v5-wcss
    wlan: [1770:I:ANY] ol_ath_ahb_ssr: 183: ol_ath_ahb_ssr: SSR event 1
    glink_core_link_down glink is down
    : glink SUBSYS_AFTER_SHUTDOWN cleanup done
    remoteproc remoteproc1: stopped remote processor q6v5-m3
    cnss: QMI WLFW service disconnected, state: 0x7
    glink_xprt_close_event
    vmap allocation for size 1196032 failed: use vmalloc= to increase size.
    
     MINIDUMP VA .bss start=c1d46340 module=qca_ol
    =======ol_if_register_wifi3_0==========
    wlan: [1781:I:ANY] osif_nss_register_module: 90: NSS wifi ops registered for target_type:1 with soc_ops:7fddaae0
    remoteproc remoteproc1: powering up q6v5-m3
    remoteproc remoteproc1: Booting fw image IPQ8074/m3_fw.mdt, size 284
    Sanity check passed for M3 image
    remoteproc remoteproc1: remote processor q6v5-m3 is now up
    wlan: [1781:I:ANY] ol_ath_ahb_ssr: 183: ol_ath_ahb_ssr: SSR event 2
    : glink SUBSYS_BEFOER_POWERUP reinit done
    remoteproc remoteproc0: powering up q6v5-wcss
    remoteproc remoteproc0: Booting fw image IPQ8074/q6_fw.mdt, size 668
    Sanity check passed for the image
    glink_core_link_up glink is up
    glink_xprt_open_event
    IPC_RTR: ipc_router_create_log_ctx: IPC Logging disabled
    Subsystem error monitoring/handling services are up
    remoteproc remoteproc0: remote processor q6v5-wcss is now up
    wlan: [1781:I:ANY] ol_ath_ahb_ssr: 183: ol_ath_ahb_ssr: SSR event 3
    cnss: QMI WLFW service connected, state: 0x1
    cnss: device_id : 0xfffe mem mode : [0]
    cnss: No board_id entry in device tree
    cnss: BDF location : 0x4b0c0000
    cnss: BDF IPQ8074/bdwlan.bin size 131072
    cnss: BDF download response , result: 0, err: 0x0
    cnss: per device BDF location : 0x4b0e0000
    cnss: CALDATA IPQ8074/caldata.bin size 131072 offset 0x20000
    cnss: BDF download response , result: 0, err: 0x0
    wlan: [1781:I:ANY] pld_ahb_wlan_enable: 685: cnss_mode: Mission mode 
    wlan: [1781:I:ANY] qca_napi_create: 357: qca_napi_create: napi instance 0 created on pipe 4
    wlan: [1781:I:ANY] __ol_ath_attach: 3065: Allocated soc b7e80500
    btcoex_support 0 wlan_prio_gpio 0
    wlan: [1781:E:CONFIG] cfg_uint_item_handler: 171: dp_int_timer_threshold_tx=1000 - Out of range [8, 100]; Using 1000
    wlan: [1781:I:ANY] osif_nss_wifi_soc_setup: 186: nss-wifili:#1 register wifili function for soc 
    wlan: [1781:I:ANY] osif_nss_wifi_soc_setup: 198: nss register id -1 nss config 3 Target Type 18 
    wlan: [1781:I:ANY] __ol_ath_attach: 3279: dev name soc0
    wlan: [1781:I:ANY] ol_ath_soc_attach: 6539: WMI attached. wmi_handle b903c000 
    wlan: [1781:I:ANY] htc_wmi_init: 5906: htc_wmi_init() HT Create . b9014000
    wlan: [1781:I:ANY] htc_wmi_init: 5913: htc_wmi_init() Skipping BMI Done. 
    wlan: [1781:I:ANY] htc_wmi_init: 5970: [htc_wmi_init:5970] host_enable 0 nss_nwifi_offload 0
    wlan: [1781:I:ANY] ol_target_init_complete: 6088: CDP soc attach success
    wlan: [1781:I:ANY] ol_target_init_complete: 6095: Soc attach success NSS config 0 
    wlan: [1781:I:ANY] htc_set_async_ep: 428: htc_set_async_ep: htc_handle b9014000, ep 2, value 1
    wlan: [1781:I:ANY] htc_set_async_ep: 428: htc_set_async_ep: htc_handle b9014000, ep 3, value 1
    wlan: [923:I:TIF] HE_CAP Info = 1a08010d
    wlan: [923:I:TIF] Num HW modes = 1
    wlan: [923:I:TIF] Num PHY = 2
    wlan: [923:I:TIF] Preferred HW Mode = 1 Num Radios = 2
    wlan: [923:I:TIF] init_deinit_add_11ax_modes: 1403: Adding 11ax regulatory modes,
    wlan: [923:I:TIF] init_deinit_add_11ax_modes: 1406:  phy_id = 0 wireless modes = f97f9001
    wlan: [923:I:TIF] init_deinit_add_11ax_modes: 1403: Adding 11ax regulatory modes,
    wlan: [923:I:TIF] init_deinit_add_11ax_modes: 1406:  phy_id = 1 wireless modes = 680680c
    wlan: [923:I:dfs] WLAN_DEBUG_DFS_ALWAYS : wlan_dfs_pdev_obj_create_notification: 390: dfs_offload 1
    wlan: [923:I:dfs] WLAN_DEBUG_DFS_ALWAYS : dfs_agile_soc_obj_init: 1038: dfs->dfs_psoc_idx: 0 
    wlan: [923:I:dfs] WLAN_DEBUG_DFS_ALWAYS : dfs_agile_soc_obj_init: 1044: dfs_soc_obj->num_dfs_privs: 1 
    wlan: [923:I:dfs] WLAN_DEBUG_DFS_ALWAYS : wlan_dfs_pdev_obj_create_notification: 362: Do not allocate DFS object for 2G, pdev
    _id = 1
    wlan: [923:I:TIF] init_deinit_update_pdev_tgt_info: 1064: CDP PDEV ATTACH success
    wlan: [923:I:TIF] init_deinit_update_pdev_tgt_info: 1064: CDP PDEV ATTACH success
    wlan: [923:I:ANY] copy_fw_abi_version_tlv: 6258: copy_fw_abi_version_tlv: INIT_CMD version: 1, 0, 0x5f414351, 0x4c4d, 0x0, 0x
    0
    wlan: [923:I:ANY] dp_peer_map_attach_wifi3: 9833: dp_peer_map_attach_wifi3 max_peers 1111, max_ast_index: 4112
    
    wlan: [923:I:ANY] ready_extract_init_status_tlv: 8002: ready_extract_init_status_tlv:0
    wlan: [1781:I:ANY] ol_ath_connect_htc: 1217: WMI is ready
    wlan: [1781:E:WMI] wmi_unified_register_event_handler: Event id 37 is unavailable
    wlan: [1781:E:WMI] wmi_unified_register_event_handler: Event id 141 is unavailable
    wlan: [1781:E:WMI] wmi_unified_register_event_handler: Event id 137 is unavailable
    wlan: [1781:I:ANY] ol_ath_soc_attach: 6613: connect HTC
    wlan: [1781:I:ANY] ol_ath_soc_attach: 6614: bypasswmi : 0
    wlan: [1781:E:WMI] wmi_unified_register_event_handler: Event id 38 is unavailable
    wlan: [1781:E:WMI] wmi_unified_register_event_handler: Event id 138 is unavailable
    wlan: [1781:E:WMI] wmi_unified_register_event_handler: Event id 139 is unavailable
    wlan: [1781:E:WMI] wmi_unified_register_event_handler: Event id 55 is unavailable
    wlan: [1781:E:WMI] wmi_unified_register_event_handler: Event id 49 is unavailable
    wlan: [1781:E:WMI] wmi_unified_register_event_handler: Event id 25 is unavailable
    wlan: [1781:I:ANY] ol_ath_soc_attach: 6683: ol_ath_soc_attach() UMAC attach . 
    wlan: [1781:I:ANY] ath_lowi_if_netlink_init: 177: ath_lowi_if_netlink_init LOWI Netlink successfully created
    wlan: [1781:I:ANY] __ol_ath_attach: 3393: pdev_netdev name wifi0
    wlan: [1781:I:ANY] __ol_ath_attach: 3436: Skip txrx_pdev_attach_target
    wlan: [1781:I:ANY] __ol_ath_attach: 3460: BURSTING enabled by default
    wlan: [1781:I:ANY] ol_ath_pdev_attach: 7146: interface_id 0
    wlan: [1781:I:ANY] ol_ath_pdev_regdmn_init: 6837:  phy id = 0 Modes supported
    wlan: [1781:I:ANY] ol_ath_pdev_regdmn_init: 6844:  11b = 0 11g = 0 11a = 1 11n = 1 11ac = 1 11ax = 1
    wlan: [1781:I:ANY] ol_ath_pdev_regdmn_init: 6852:  Reg cap - phy_id = 0 supp_bnd = 2, modes = f97f9001, lo_2g = 0, hi_2g = 0 
    lo_g5 = 4910, hi_5g = 6100
    wlan: [1781:I:ANY] ol_ath_update_wireless_modes: 1316: wireless_modes = f97f9001 before update
    wlan: [1781:I:ANY] ol_ath_update_wireless_modes: 1331: Wireless_modes = f97f9001 after update
    wlan: [1781:I:ANY] ol_ath_update_ext_caps: 1839: 11ax 5G supported case
    wlan: [1781:I:ANY] ol_resmgr_create: 223: OL Resmgr Init-ed
    ieee80211_cbs_init CBS Inited
    wlan: [1781:I:ANY] acfg_attach: 3458: acfg_attach: 3458: Netlink socket created:b0d3c400
    wlan: [1781:I:ANY] ol_if_eeprom_attach: 1459: rate power table override is only supported for AR98XX
    wlan: [1781:I:ANY] ol_ath_stats_attach: 2239: periodic_chan_stats: 1
    wlan: [1781:I:ANY] wlan_scan_update_channel_list: 1090: num_chan: 25
    wlan: [0:I:ANY] ol_ath_pdev_attach: 7482: Set global_ic[1], ptr:7fcaeaac
    wlan: [0:I:ANY] dp_lag_soc_enable: 88: pdev(b7bb9884) Enabling DBDC Repeater 1 
    wlan: [0:I:ANY] dp_lag_pdev_set_primary_radio: 44: pdev(b7bb9884) is_primary 1 
    wlan: [0:E:NSS] [nss-wifili]: NSS Wifili DBDC Repeater enable message passed
    wlan: [1781:I:ANY] ol_ath_pdev_attach: 7599: Pdev = 0 Number of peers = 529
    wlan: [1781:I:ANY] ol_ath_pri20_cfg_blockchanlist_parse: 545: cfg block channel list is empty
    wlan: [1781:I:ANY] osif_wrap_attach: 239: osif wrap attached
    
    wlan: [1781:I:ANY] osif_wrap_devt_init: 201: osif wrap dev table init done
    
    wlan: [1781:I:ANY] osif_wrap_attach: 247:  Wrap Attached: Wrap_com =b479ec00 ic->ic_wrap_com=b479ec00 &wrap_com->wc_devt=b479
    ec00 
    
    wlan: [1781:I:ANY] __ol_ath_attach: 3640: needed_headroom reservation 60
    wlan: [1781:I:ANY] ol_ath_enable_fraglist: 2932: Enabled Fraglist bit for the radio wifi0 features 41 
    wlan: [1781:I:ANY] wlan_cfg80211_init: 9617: Number of 5G channels: 25 
    wlan: [1781:I:ANY] ieee80211_cfg80211_radio_attach: 9711: ic: 0xb7420500, wdev: 0xb742fcb4, wiphy: 0xb0d3cd60, netdev: 0xb742
    0000 
    wlan: [1781:I:ANY] __ol_ath_attach: 3393: pdev_netdev name wifi1
    wlan: [1781:I:ANY] __ol_ath_attach: 3436: Skip txrx_pdev_attach_target
    wlan: [1781:I:ANY] __ol_ath_attach: 3460: BURSTING enabled by default
    wlan: [1781:I:ANY] ol_ath_pdev_attach: 7146: interface_id 1
    wlan: [1781:I:ANY] ol_ath_pdev_regdmn_init: 6837:  phy id = 1 Modes supported
    wlan: [1781:I:ANY] ol_ath_pdev_regdmn_init: 6844:  11b = 1 11g = 1 11a = 0 11n = 1 11ac = 1 11ax = 1
    wlan: [1781:I:ANY] ol_ath_pdev_regdmn_init: 6852:  Reg cap - phy_id = 1 supp_bnd = 1, modes = 680680c, lo_2g = 2312, hi_2g = 
    2732 lo_g5 = 0, hi_5g = 0
    wlan: [1781:I:ANY] ol_ath_update_wireless_modes: 1316: wireless_modes = 680680c before update
    wlan: [1781:I:ANY] ol_ath_update_wireless_modes: 1331: Wireless_modes = 680680c after update
    wlan: [1781:I:ANY] ol_ath_update_ext_caps: 1847: 11ax 2G supported case
    wlan: [1781:I:ANY] ol_resmgr_create: 223: OL Resmgr Init-ed
    ieee80211_cbs_init CBS Inited
    wlan: [1781:I:ANY] acfg_attach: 3433: Offload using existing sock b0d3c400
    wlan: [1781:I:ANY] ol_if_eeprom_attach: 1459: rate power table override is only supported for AR98XX
    wlan: [1781:I:ANY] ol_ath_stats_attach: 2239: periodic_chan_stats: 1
    wlan: [1781:I:ANY] wlan_scan_update_channel_list: 1090: num_chan: 11
    wlan: [0:I:ANY] ol_ath_pdev_attach: 7482: Set global_ic[2], ptr:7fcaeaac
    wlan: [0:I:ANY] dp_lag_soc_enable: 88: pdev(b7bb9dc4) Enabling DBDC Repeater 1 
    wlan: [0:I:ANY] dp_lag_pdev_set_primary_radio: 44: pdev(b7bb9dc4) is_primary 0 
    wlan: [0:E:NSS] [nss-wifili]: NSS Wifili DBDC Repeater enable message passed
    wlan: [1781:I:ANY] ol_ath_pdev_attach: 7599: Pdev = 1 Number of peers = 529
    wlan: [1781:E:WMI] event handler already registered 0x6019
    wlan: [1781:I:ANY] ol_ath_pri20_cfg_blockchanlist_parse: 545: cfg block channel list is empty
    wlan: [1781:I:ANY] osif_wrap_attach: 239: osif wrap attached
    
    wlan: [1781:I:ANY] osif_wrap_devt_init: 201: osif wrap dev table init done
    
    wlan: [1781:I:ANY] osif_wrap_attach: 247:  Wrap Attached: Wrap_com =b479fc00 ic->ic_wrap_com=b479fc00 &wrap_com->wc_devt=b479
    fc00 
    
    wlan: [1781:I:ANY] __ol_ath_attach: 3640: needed_headroom reservation 60
    wlan: [1781:I:ANY] ol_ath_enable_fraglist: 2932: Enabled Fraglist bit for the radio wifi1 features 41 
    wlan: [1781:I:ANY] wlan_cfg80211_init: 9605: Number of 2G channels: 11 
    wlan: [1781:I:ANY] ieee80211_cfg80211_radio_attach: 9711: ic: 0xb7460500, wdev: 0xb746fcb4, wiphy: 0xb0d3e560, netdev: 0xb746
    0000 
    wlan: [1781:I:ANY] wlan_pdev_operation: 727: num_radios=1, wifi_radios[0].sc = b7420500_radio_type = 2
    wlan: [1781:I:ANY] wlan_pdev_operation: 727: num_radios=2, wifi_radios[1].sc = b7460500_radio_type = 2
    wlan: [1781:I:ANY] init_ath_pci_3_0: 151: 6ath_ol_pci_wifi3.0:  (Atheros/multi-bss)
    
     MINIDUMP VA .bss start=7fddad80 module=wifi_3_0
    wlan: [1801:I:ANY] osif_nss_register_module: 90: NSS wifi ops registered for target_type:0 with soc_ops:7f33e14c
    wlan: [1801:I:ANY] osif_nss_register_module: 90: NSS wifi ops registered for target_type:0 with soc_ops:7f33e14c
    wlan: [1801:I:ANY] init_ath_pci_2_0: 143: 6ath_ol_pci_2_0:  (Atheros/multi-bss)
    File Ver: 5.3.7 (AQR-G4_v5.3.7-AQR_DNI_WXR-5950DHP_ID43546_VER1422.cld)
     ROM Ver: 5.3.7
    Running image & FW file are the same version.
    File Ver: 5.3.7 (AQR-G4_v5.3.7-AQR_DNI_WXR-5950DHP_ID43546_VER1422.cld)
     ROM Ver: 5.3.7
    Running image & FW file are the same version.
    net.bridge.bridge-nf-call-ip6tables = 1
    net.bridge.bridge-nf-call-iptables = 1
    dev.nss.general.redirect = 1
    dev.nss.rps.enable = 1
    
    Please press Enter to activate this console. start fw_recover.sh
    normal boot
    0 jp/JP -> enable
    1 eng/ENG -> disable
    2 de/LATIN1_DE -> disable
    3 fr/LATIN1_FR -> disable
    4 it/LATIN1_IT -> disable
    5 es/LATIN1_ES -> disabset_diag_led_status: w
    le
    6 zh_cn/UTF8_ZHCN -> disable
    7 zh_tw/UTF8_ZHTW -> disable
    8 ko/UTF8_KO -> disable
    9 ru/UTF8_RU -> disable
    10 th/UTF8_TH tmpr_watchd (1829): /proc/1829/oom_adj is deprecated, please use /proc/1829/oom_score_adj instead.
    -> disable
    14 fi/UTF8_FI -> disable
    16 sv/UTF8_SV -> disable
    17 no/UTF8_NO -> disable
    18 tr/UTF8_TR -> disable
    19 br_pt/UTF8_BRPT -> disable
    ubi1: attaching mtd23
    ubi1: scanning is finished
    ubi1: attached mtd23 (name "user_property", size 110 MiB)
    ubi1: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
    ubi1: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
    ubi1: VID header offset: 2048 (aligned 2048), data offset: 4096
    ubi1: good PEBs: 884, bad PEBs: 0, corrupted PEBs: 0
    ubi1: user volume: 2, internal volumes: 1, max. volumes count: 128
    ubi1: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 2967213290
    ubi1: available PEBs: 791, total reserved PEBs: 93, PEBs reserved for bad PEB handling: 40
    ubi1: background thread "ubi_bgt1d" started, PID 1836
    UBI device number 1, total 884 LEBs (112246784 bytes, 107.0 MiB), available 791 LEBs (100438016 bytes, 95.8 MiB), LEB size 12
    6976 bytes (124.0 KiB)
    Failed to find ubifs. Maybe it is a built in module ?
    UBIFS (ubi1:1): background thread "ubifs_bgt1_1" started, PID 1850
    UBIFS (ubi1:1): UBIFS: mounted UBI device 1, volume 1, name "extra_property"
    UBIFS (ubi1:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    UBIFS (ubi1:1): FS size: 4825088 bytes (4 MiB, 38 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs)
    UBIFS (ubi1:1): reserved for root: 227900 bytes (222 KiB)
    UBIFS (ubi1:1): media format: w4/r0 (latest is w4/r0), UUID 1F0265E1-E09E-4897-8ADF-D3580EE2917F, small LPT model
    0 jp/JP -> enable
    1 eng/ENG -> disable
    2 de/LATIN1_DE -> disable
    3 fr/LATIN1_FR -> disable
    4 it/LATIN1_IT -> disable
    5 es/LATIN1_ES -> disable
    6 zh_cn/UTF8_ZHCN -> disable
    7 zh_tw/UTF8_ZHTW -> disable
    8 ko/UTF8_KO -> disable
    9 ru/UTF8_RU -> disable
    10 th/UTF8_TH -> disable
    14 fi/UTF8_FI -> disable
    16 sv/UTF8_SV -> disable
    17 no/UTF8_NO -> disable
    18 tr/UTF8_TR -> disable
    19 br_pt/UTF8_BRPT -> disable
    sed: /tmp/tmp_getcountryid: No such file or directory
    wlan: [1882:I:ANY] wlan_scan_update_channel_list: 1090: num_chan: 20
    wlan: [1882:I:dfs] WLAN_DEBUG_DFS_ALWAYS : dfs_init_precac_list: 979: freq=58
    wlan: [1882:I:dfs] WLAN_DEBUG_DFS_ALWAYS : dfs_init_precac_list: 979: freq=106
    wlan: [1882:I:dfs] WLAN_DEBUG_DFS_ALWAYS : dfs_init_precac_list: 979: freq=122
    wlan: [1882:I:dfs] WLAN_DEBUG_DFS_ALWAYS : dfs_init_precac_list: 979: freq=138
    wlan: [1882:I:ANY] wlan_scan_update_channel_list: 1090: num_chan: 20
    wlan: [1882:I:dfs] WLAN_DEBUG_DFS_ALWAYS : dfs_init_precac_list: 979: freq=58
    wlan: [1882:I:dfs] WLAN_DEBUG_DFS_ALWAYS : dfs_init_precac_list: 979: freq=106
    wlan: [1882:I:dfs] WLAN_DEBUG_DFS_ALWAYS : dfs_init_precac_list: 979: freq=122
    wlan: [1882:I:dfs] WLAN_DEBUG_DFS_ALWAYS : dfs_init_precac_list: 979: freq=138
    wlan: [1882:I:ANY] number of channels: 2G = 0 5G = 20
    wlan: [1891:I:ANY] wlan_scan_update_channel_list: 1090: num_chan: 20
    wlan: [1891:I:dfs] WLAN_DEBUG_DFS_ALWAYS : dfs_init_precac_list: 979: freq=58
    wlan: [1891:I:dfs] WLAN_DEBUG_DFS_ALWAYS : dfs_init_precac_list: 979: freq=106
    wlan: [1891:I:dfs] WLAN_DEBUG_DFS_ALWAYS : dfs_init_precac_list: 979: freq=122
    wlan: [1891:I:dfs] WLAN_DEBUG_DFS_ALWAYS : dfs_init_precac_list: 979: freq=138
    wlan: [1891:I:ANY] wlan_scan_update_channel_list: 1090: num_chan: 20
    wlan: [1891:I:dfs] WLAN_DEBUG_DFS_ALWAYS : dfs_init_precac_list: 979: freq=58
    wlan: [1891:I:dfs] WLAN_DEBUG_DFS_ALWAYS : dfs_init_precac_list: 979: freq=106
    wlan: [1891:I:dfs] WLAN_DEBUG_DFS_ALWAYS : dfs_init_precac_list: 979: freq=122
    wlan: [1891:I:dfs] WLAN_DEBUG_DFS_ALWAYS : dfs_init_precac_list: 979: freq=138
    wlan: [1891:I:ANY] number of channels: 2G = 0 5G = 20
    wlan: [1900:I:ANY] ol_ath_set_config_param: 1493: set TXBF_SND_PERIOD: value 100 wmi_status 0
    wlan: [0:I:ANY] ol_ath_set_config_param: 2203: Disconnect_timeout value: 10
    wlan: [0:I:ANY] ol_ath_set_config_param: 2209: Reconfiguration_timeout value:60
    wlan: [1963:I:ANY] wlan_cfg80211_set_hwaddr: 5439: wlan_cfg80211_set_hwaddr :50:c4:dd:cb:ef:38 ret: 0 
    wlan: [1968:I:ANY] wlan_cfg80211_add_virtual_intf: 306: proprietary mode 6 for interface: ath0 : clone params: 0x00000000 
    wlan: [1968:I:ANY] osifp_create_wlan_vap: 10031: No cloning
    wlan: [1968:I:ANY] osifp_create_wlan_vap: 10160: VDEV Create 50:c4:dd:cb:ef:38
    wlan: [1968:E:CMN_MLME] mlme_vdev_ext_obj_create: 1321:  VDEV MLME obj is creation
    wlan: [1968:I:ANY] wlan_vap_create: 1539: enter. devhandle=0xb7420500, opmode=IEEE80211_M_HOSTAP, flags=0x0
    
    wlan: [1968:I:ANY] ol_ath_vap_set_param: 1106: Setting SGI value: 1
    wlan: [1968:I:ANY] ol_ath_vap_set_param: 2096: VDEV params:HE su_bfee:1|su_bfer:1|mu_bfee:0|mu_bfer:1|dl_muofdma:1|ul_muofdma
    :1|ul_mumimo:1
    wlan: [1968:I:ANY] ol_ath_vap_set_param: 2106: he_bf_cap=0x7b
    wlan: [1968:I:ANY] ol_ath_vap_set_param: 2121: VDEV params:AC/VHT sounding mode:HE|SU/MU sounding mode:SU|Trig/Non-Trig sound
    ing mode:Non-Trigged
    wlan: [1968:I:ANY] MBO Initialized
    wlan: [1968:I:ANY] OCE Initialized
    wlan: [1968:I:ANY] osif_nss_ol_vap_create: 1289: NSS wifi offload VAP create IF 30 nss_id -1 
    wlan: [1968:I:ANY] NSS radio_if 28
    wlan: [0:I:ANY] osif_nss_vdev_cfg_callback: 1041: VDEV configuration success: 0
    wlan: [1968:I:ANY] osif_nss_ol_vap_create: 1397: vap create aef28500 : if_num 30 
    wlan: [1968:I:ANY] wlan_vap_create: 1573: exit
    wlan: [1968:E:ANY] Smart Antenna functions are not registered !!! 
    wlan: [1968:E:ANY] Smart Antenna functions are not registered !!! 
    wlan: [1968:I:ANY] osif_create_vap_complete: 10355: TX Checksum:1|SG:1|TSO:1|LRO:0
    wlan: [1968:I:ANY] WLAN-NSS: VAP NSS ops initialized 
    wlan: [1968:I:ANY] VAP device ath0 created osifp: (aef28500) os_if: (aefa0000)
    lib_qca/wlctl-qca.c(8627) create_hwmode_string :XXX:create_hwmode_string: Ch:0/0 BW:5 HW:11AHE160
    lib_qca/wlctl-qca.c(2255) wlconf_reload_hw_mode_by_manual :wlctl:call set_hw_mode[11AHE160] if[ath0]
    
    lib_qca/wlctl-qca.c(8639) set_hw_mode :wlctl:set_hw_mode[11AHE160] if[ath0]
    
    lib_qca/wlctl-qca.c(8673) set_ext_nss :wlctl:set_ext_nss[0] [11AHE160] if[ath0]
    
    wlan: [2010:I:ANY] ol_ath_set_config_param: 627: Resetting spectral chainmask to Rx chainmask
    
    wlan: [2069:I:ANY] wlan_cfg80211_add_virtual_intf: 306: proprietary mode 6 for interface: ath01 : clone params: 0x00000000 
    wlan: [2069:I:ANY] osifp_create_wlan_vap: 10031: No cloning
    wlan: [2069:I:ANY] osifp_create_wlan_vap: 10160: VDEV Create 50:c4:dd:cb:ef:39
    wlan: [2069:E:CMN_MLME] mlme_vdev_ext_obj_create: 1321:  VDEV MLME obj is creation
    wlan: [2069:I:ANY] wlan_vap_create: 1539: enter. devhandle=0xb7420500, opmode=IEEE80211_M_HOSTAP, flags=0x0
    
    wlan: [2069:I:ANY] ol_ath_vap_set_param: 1106: Setting SGI value: 1
    wlan: [2069:I:ANY] ol_ath_vap_set_param: 2096: VDEV params:HE su_bfee:1|su_bfer:1|mu_bfee:0|mu_bfer:1|dl_muofdma:1|ul_muofdma
    :1|ul_mumimo:1
    wlan: [2069:I:ANY] ol_ath_vap_set_param: 2106: he_bf_cap=0x7b
    wlan: [2069:I:ANY] ol_ath_vap_set_param: 2121: VDEV params:AC/VHT sounding mode:HE|SU/MU sounding mode:SU|Trig/Non-Trig sound
    ing mode:Non-Trigged
    wlan: [2069:I:ANY] MBO Initialized
    wlan: [2069:I:ANY] OCE Initialized
    wlan: [2069:I:ANY] osif_nss_ol_vap_create: 1289: NSS wifi offload VAP create IF 31 nss_id -1 
    wlan: [2069:I:ANY] NSS radio_if 28
    wlan: [0:I:ANY] osif_nss_vdev_cfg_callback: 1041: VDEV configuration success: 0
    wlan: [2069:I:ANY] osif_nss_ol_vap_create: 1397: vap create b908e500 : if_num 31 
    wlan: [2069:I:ANY] wlan_vap_create: 1573: exit
    wlan: [2069:E:ANY] Smart Antenna functions are not registered !!! 
    wlan: [2069:E:ANY] Smart Antenna functions are not registered !!! 
    wlan: [2069:I:ANY] osif_create_vap_complete: 10355: TX Checksum:1|SG:1|TSO:1|LRO:0
    wlan: [2069:I:ANY] WLAN-NSS: VAP NSS ops initialized 
    wlan: [2069:I:ANY] VAP device ath01 created osifp: (b908e500) os_if: (aefa8000)
    lib_qca/wlctl-qca.c(8627) create_hwmode_string :XXX:create_hwmode_string: Ch:0/0 BW:5 HW:11AHE160
    lib_qca/wlctl-qca.c(2255) wlconf_reload_hw_mode_by_manual :wlctl:call set_hw_mode[11AHE160] if[ath01]
    
    lib_qca/wlctl-qca.c(8639) set_hw_mode :wlctl:set_hw_mode[11AHE160] if[ath01]
    
    lib_qca/wlctl-qca.c(8673) set_ext_nss :wlctl:set_ext_nss[0] [11AHE160] if[ath01]
    
    wlan: [2102:I:ANY] ol_ath_set_config_param: 627: Resetting spectral chainmask to Rx chainmask
    
    wlan: [2161:I:ANY] wlan_cfg80211_add_virtual_intf: 306: proprietary mode 6 for interface: ath02 : clone params: 0x00000000 
    wlan: [2161:I:ANY] osifp_create_wlan_vap: 10031: No cloning
    wlan: [2161:I:ANY] osifp_create_wlan_vap: 10160: VDEV Create 50:c4:dd:cb:ef:3a
    wlan: [2161:E:CMN_MLME] mlme_vdev_ext_obj_create: 1321:  VDEV MLME obj is creation
    wlan: [2161:I:ANY] wlan_vap_create: 1539: enter. devhandle=0xb7420500, opmode=IEEE80211_M_HOSTAP, flags=0x0
    
    wlan: [2161:I:ANY] ol_ath_vap_set_param: 1106: Setting SGI value: 1
    wlan: [2161:I:ANY] ol_ath_vap_set_param: 2096: VDEV params:HE su_bfee:1|su_bfer:1|mu_bfee:0|mu_bfer:1|dl_muofdma:1|ul_muofdma
    :1|ul_mumimo:1
    wlan: [2161:I:ANY] ol_ath_vap_set_param: 2106: he_bf_cap=0x7b
    wlan: [2161:I:ANY] ol_ath_vap_set_param: 2121: VDEV params:AC/VHT sounding mode:HE|SU/MU sounding mode:SU|Trig/Non-Trig sound
    ing mode:Non-Trigged
    wlan: [2161:I:ANY] MBO Initialized
    wlan: [2161:I:ANY] OCE Initialized
    wlan: [2161:I:ANY] osif_nss_ol_vap_create: 1289: NSS wifi offload VAP create IF 32 nss_id -1 
    wlan: [2161:I:ANY] NSS radio_if 28
    wlan: [0:I:ANY] osif_nss_vdev_cfg_callback: 1041: VDEV configuration success: 0
    wlan: [2161:I:ANY] osif_nss_ol_vap_create: 1397: vap create ae448500 : if_num 32 
    wlan: [2161:I:ANY] wlan_vap_create: 1573: exit
    wlan: [2161:E:ANY] Smart Antenna functions are not registered !!! 
    wlan: [2161:E:ANY] Smart Antenna functions are not registered !!! 
    wlan: [2161:I:ANY] osif_create_vap_complete: 10355: TX Checksum:1|SG:1|TSO:1|LRO:0
    wlan: [2161:I:ANY] WLAN-NSS: VAP NSS ops initialized 
    wlan: [2161:I:ANY] VAP device ath02 created osifp: (ae448500) os_if: (aefc0000)
    lib_qca/wlctl-qca.c(8627) create_hwmode_string :XXX:create_hwmode_string: Ch:0/0 BW:5 HW:11AHE160
    lib_qca/wlctl-qca.c(2255) wlconf_reload_hw_mode_by_manual :wlctl:call set_hw_mode[11AHE160] if[ath02]
    
    lib_qca/wlctl-qca.c(8639) set_hw_mode :wlctl:set_hw_mode[11AHE160] if[ath02]
    
    lib_qca/wlctl-qca.c(8673) set_ext_nss :wlctl:set_ext_nss[0] [11AHE160] if[ath02]
    
    wlan: [2194:I:ANY] ol_ath_set_config_param: 627: Resetting spectral chainmask to Rx chainmask
    
    wlan: [2253:I:ANY] wlan_cfg80211_add_virtual_intf: 306: proprietary mode 6 for interface: ath03 : clone params: 0x00000000 
    wlan: [2253:I:ANY] osifp_create_wlan_vap: 10031: No cloning
    wlan: [2253:I:ANY] osifp_create_wlan_vap: 10160: VDEV Create 50:c4:dd:cb:ef:3b
    wlan: [2253:E:CMN_MLME] mlme_vdev_ext_obj_create: 1321:  VDEV MLME obj is creation
    wlan: [2253:I:ANY] wlan_vap_create: 1539: enter. devhandle=0xb7420500, opmode=IEEE80211_M_HOSTAP, flags=0x0
    
    wlan: [2253:I:ANY] ol_ath_vap_set_param: 1106: Setting SGI value: 1
    wlan: [2253:I:ANY] ol_ath_vap_set_param: 2096: VDEV params:HE su_bfee:1|su_bfer:1|mu_bfee:0|mu_bfer:1|dl_muofdma:1|ul_muofdma
    :1|ul_mumimo:1
    wlan: [2253:I:ANY] ol_ath_vap_set_param: 2106: he_bf_cap=0x7b
    wlan: [2253:I:ANY] ol_ath_vap_set_param: 2121: VDEV params:AC/VHT sounding mode:HE|SU/MU sounding mode:SU|Trig/Non-Trig sound
    ing mode:Non-Trigged
    wlan: [2253:I:ANY] MBO Initialized
    wlan: [2253:I:ANY] OCE Initialized
    wlan: [2253:I:ANY] osif_nss_ol_vap_create: 1289: NSS wifi offload VAP create IF 33 nss_id -1 
    wlan: [2253:I:ANY] NSS radio_if 28
    wlan: [0:I:ANY] osif_nss_vdev_cfg_callback: 1041: VDEV configuration success: 0
    wlan: [2253:I:ANY] osif_nss_ol_vap_create: 1397: vap create ae479500 : if_num 33 
    wlan: [2253:I:ANY] wlan_vap_create: 1573: exit
    wlan: [2253:E:ANY] Smart Antenna functions are not registered !!! 
    wlan: [2253:E:ANY] Smart Antenna functions are not registered !!! 
    wlan: [2253:I:ANY] osif_create_vap_complete: 10355: TX Checksum:1|SG:1|TSO:1|LRO:0
    wlan: [2253:I:ANY] WLAN-NSS: VAP NSS ops initialized 
    wlan: [2253:I:ANY] VAP device ath03 created osifp: (ae479500) os_if: (ae4a8000)
    lib_qca/wlctl-qca.c(8627) create_hwmode_string :XXX:create_hwmode_string: Ch:0/0 BW:5 HW:11AHE160
    lib_qca/wlctl-qca.c(2255) wlconf_reload_hw_mode_by_manual :wlctl:call set_hw_mode[11AHE160] if[ath03]
    
    lib_qca/wlctl-qca.c(8639) set_hw_mode :wlctl:set_hw_mode[11AHE160] if[ath03]
    
    lib_qca/wlctl-qca.c(8673) set_ext_nss :wlctl:set_ext_nss[0] [11AHE160] if[ath03]
    
    wlan: [2286:I:ANY] ol_ath_set_config_param: 627: Resetting spectral chainmask to Rx chainmask
    
    wlan: [2345:I:ANY] wlan_cfg80211_add_virtual_intf: 306: proprietary mode 6 for interface: ath04 : clone params: 0x00000000 
    wlan: [2345:I:ANY] osifp_create_wlan_vap: 10031: No cloning
    wlan: [2345:I:ANY] osifp_create_wlan_vap: 10160: VDEV Create 50:c4:dd:cb:ef:3c
    wlan: [2345:E:CMN_MLME] mlme_vdev_ext_obj_create: 1321:  VDEV MLME obj is creation
    wlan: [2345:I:ANY] wlan_vap_create: 1539: enter. devhandle=0xb7420500, opmode=IEEE80211_M_HOSTAP, flags=0x0
    
    wlan: [2345:I:ANY] ol_ath_vap_set_param: 1106: Setting SGI value: 1
    wlan: [2345:I:ANY] ol_ath_vap_set_param: 2096: VDEV params:HE su_bfee:1|su_bfer:1|mu_bfee:0|mu_bfer:1|dl_muofdma:1|ul_muofdma
    :1|ul_mumimo:1
    wlan: [2345:I:ANY] ol_ath_vap_set_param: 2106: he_bf_cap=0x7b
    wlan: [2345:I:ANY] ol_ath_vap_set_param: 2121: VDEV params:AC/VHT sounding mode:HE|SU/MU sounding mode:SU|Trig/Non-Trig sound
    ing mode:Non-Trigged
    wlan: [2345:I:ANY] MBO Initialized
    wlan: [2345:I:ANY] OCE Initialized
    wlan: [2345:I:ANY] osif_nss_ol_vap_create: 1289: NSS wifi offload VAP create IF 34 nss_id -1 
    wlan: [2345:I:ANY] NSS radio_if 28
    wlan: [0:I:ANY] osif_nss_vdev_cfg_callback: 1041: VDEV configuration success: 0
    wlan: [2345:I:ANY] osif_nss_ol_vap_create: 1397: vap create ae4f0500 : if_num 34 
    wlan: [2345:I:ANY] wlan_vap_create: 1573: exit
    wlan: [2345:E:ANY] Smart Antenna functions are not registered !!! 
    wlan: [2345:E:ANY] Smart Antenna functions are not registered !!! 
    wlan: [2345:I:ANY] osif_create_vap_complete: 10355: TX Checksum:1|SG:1|TSO:1|LRO:0
    wlan: [2345:I:ANY] WLAN-NSS: VAP NSS ops initialized 
    wlan: [2345:I:ANY] VAP device ath04 created osifp: (ae4f0500) os_if: (ae4e8000)
    lib_qca/wlctl-qca.c(8627) create_hwmode_string :XXX:create_hwmode_string: Ch:0/0 BW:5 HW:11AHE160
    lib_qca/wlctl-qca.c(2255) wlconf_reload_hw_mode_by_manual :wlctl:call set_hw_mode[11AHE160] if[ath04]
    
    lib_qca/wlctl-qca.c(8639) set_hw_mode :wlctl:set_hw_mode[11AHE160] if[ath04]
    
    lib_qca/wlctl-qca.c(8673) set_ext_nss :wlctl:set_ext_nss[0] [11AHE160] if[ath04]
    
    wlan: [2378:I:ANY] ol_ath_set_config_param: 627: Resetting spectral chainmask to Rx chainmask
    
    wlan: [2437:I:ANY] wlan_cfg80211_add_virtual_intf: 306: proprietary mode 6 for interface: ath05 : clone params: 0x00000000 
    wlan: [2437:I:ANY] osifp_create_wlan_vap: 10031: No cloning
    wlan: [2437:I:ANY] osifp_create_wlan_vap: 10160: VDEV Create 50:c4:dd:cb:ef:3d
    wlan: [2437:E:CMN_MLME] mlme_vdev_ext_obj_create: 1321:  VDEV MLME obj is creation
    wlan: [2437:I:ANY] wlan_vap_create: 1539: enter. devhandle=0xb7420500, opmode=IEEE80211_M_HOSTAP, flags=0x0
    
    wlan: [2437:I:ANY] ol_ath_vap_set_param: 1106: Setting SGI value: 1
    wlan: [2437:I:ANY] ol_ath_vap_set_param: 2096: VDEV params:HE su_bfee:1|su_bfer:1|mu_bfee:0|mu_bfer:1|dl_muofdma:1|ul_muofdma
    :1|ul_mumimo:1
    wlan: [2437:I:ANY] ol_ath_vap_set_param: 2106: he_bf_cap=0x7b
    wlan: [2437:I:ANY] ol_ath_vap_set_param: 2121: VDEV params:AC/VHT sounding mode:HE|SU/MU sounding mode:SU|Trig/Non-Trig sound
    ing mode:Non-Trigged
    wlan: [2437:I:ANY] MBO Initialized
    wlan: [2437:I:ANY] OCE Initialized
    wlan: [2437:I:ANY] osif_nss_ol_vap_create: 1289: NSS wifi offload VAP create IF 35 nss_id -1 
    wlan: [2437:I:ANY] NSS radio_if 28
    wlan: [0:I:ANY] osif_nss_vdev_cfg_callback: 1041: VDEV configuration success: 0
    wlan: [2437:I:ANY] osif_nss_ol_vap_create: 1397: vap create ae4d6500 : if_num 35 
    wlan: [2437:I:ANY] wlan_vap_create: 1573: exit
    wlan: [2437:E:ANY] Smart Antenna functions are not registered !!! 
    wlan: [2437:E:ANY] Smart Antenna functions are not registered !!! 
    wlan: [2437:I:ANY] osif_create_vap_complete: 10355: TX Checksum:1|SG:1|TSO:1|LRO:0
    wlan: [2437:I:ANY] WLAN-NSS: VAP NSS ops initialized 
    wlan: [2437:I:ANY] VAP device ath05 created osifp: (ae4d6500) os_if: (ae508000)
    lib_qca/wlctl-qca.c(8627) create_hwmode_string :XXX:create_hwmode_string: Ch:0/0 BW:5 HW:11AHE160
    lib_qca/wlctl-qca.c(2255) wlconf_reload_hw_mode_by_manual :wlctl:call set_hw_mode[11AHE160] if[ath05]
    
    lib_qca/wlctl-qca.c(8639) set_hw_mode :wlctl:set_hw_mode[11AHE160] if[ath05]
    
    lib_qca/wlctl-qca.c(8673) set_ext_nss :wlctl:set_ext_nss[0] [11AHE160] if[ath05]
    
    wlan: [2470:I:ANY] ol_ath_set_config_param: 627: Resetting spectral chainmask to Rx chainmask
    
    wlan: [2529:I:ANY] wlan_cfg80211_add_virtual_intf: 306: proprietary mode 6 for interface: ath06 : clone params: 0x00000000 
    wlan: [2529:I:ANY] osifp_create_wlan_vap: 10031: No cloning
    wlan: [2529:I:ANY] osifp_create_wlan_vap: 10160: VDEV Create 50:c4:dd:cb:ef:3e
    wlan: [2529:E:CMN_MLME] mlme_vdev_ext_obj_create: 1321:  VDEV MLME obj is creation
    wlan: [2529:I:ANY] wlan_vap_create: 1539: enter. devhandle=0xb7420500, opmode=IEEE80211_M_HOSTAP, flags=0x0
    
    wlan: [2529:I:ANY] ol_ath_vap_set_param: 1106: Setting SGI value: 1
    wlan: [2529:I:ANY] ol_ath_vap_set_param: 2096: VDEV params:HE su_bfee:1|su_bfer:1|mu_bfee:0|mu_bfer:1|dl_muofdma:1|ul_muofdma
    :1|ul_mumimo:1
    wlan: [2529:I:ANY] ol_ath_vap_set_param: 2106: he_bf_cap=0x7b
    wlan: [2529:I:ANY] ol_ath_vap_set_param: 2121: VDEV params:AC/VHT sounding mode:HE|SU/MU sounding mode:SU|Trig/Non-Trig sound
    ing mode:Non-Trigged
    wlan: [2529:I:ANY] MBO Initialized
    wlan: [2529:I:ANY] OCE Initialized
    wlan: [2529:I:ANY] osif_nss_ol_vap_create: 1289: NSS wifi offload VAP create IF 36 nss_id -1 
    wlan: [2529:I:ANY] NSS radio_if 28
    wlan: [0:I:ANY] osif_nss_vdev_cfg_callback: 1041: VDEV configuration success: 0
    wlan: [2529:I:ANY] osif_nss_ol_vap_create: 1397: vap create ae4bc500 : if_num 36 
    wlan: [2529:I:ANY] wlan_vap_create: 1573: exit
    wlan: [2529:E:ANY] Smart Antenna functions are not registered !!! 
    wlan: [2529:E:ANY] Smart Antenna functions are not registered !!! 
    wlan: [2529:I:ANY] osif_create_vap_complete: 10355: TX Checksum:1|SG:1|TSO:1|LRO:0
    wlan: [2529:I:ANY] WLAN-NSS: VAP NSS ops initialized 
    wlan: [2529:I:ANY] VAP device ath06 created osifp: (ae4bc500) os_if: (ae538000)
    lib_qca/wlctl-qca.c(8627) create_hwmode_string :XXX:create_hwmode_string: Ch:0/0 BW:5 HW:11AHE160
    lib_qca/wlctl-qca.c(2255) wlconf_reload_hw_mode_by_manual :wlctl:call set_hw_mode[11AHE160] if[ath06]
    
    lib_qca/wlctl-qca.c(8639) set_hw_mode :wlctl:set_hw_mode[11AHE160] if[ath06]
    
    lib_qca/wlctl-qca.c(8673) set_ext_nss :wlctl:set_ext_nss[0] [11AHE160] if[ath06]
    
    wlan: [2562:I:ANY] ol_ath_set_config_param: 627: Resetting spectral chainmask to Rx chainmask
    
    wlan: [2621:I:ANY] wlan_cfg80211_add_virtual_intf: 306: proprietary mode 6 for interface: ath07 : clone params: 0x00000000 
    wlan: [2621:I:ANY] osifp_create_wlan_vap: 10031: No cloning
    wlan: [2621:I:ANY] osifp_create_wlan_vap: 10160: VDEV Create 50:c4:dd:cb:ef:3f
    wlan: [2621:E:CMN_MLME] mlme_vdev_ext_obj_create: 1321:  VDEV MLME obj is creation
    wlan: [2621:I:ANY] wlan_vap_create: 1539: enter. devhandle=0xb7420500, opmode=IEEE80211_M_HOSTAP, flags=0x0
    
    wlan: [2621:I:ANY] ol_ath_vap_set_param: 1106: Setting SGI value: 1
    wlan: [2621:I:ANY] ol_ath_vap_set_param: 2096: VDEV params:HE su_bfee:1|su_bfer:1|mu_bfee:0|mu_bfer:1|dl_muofdma:1|ul_muofdma
    :1|ul_mumimo:1
    wlan: [2621:I:ANY] ol_ath_vap_set_param: 2106: he_bf_cap=0x7b
    wlan: [2621:I:ANY] ol_ath_vap_set_param: 2121: VDEV params:AC/VHT sounding mode:HE|SU/MU sounding mode:SU|Trig/Non-Trig sound
    ing mode:Non-Trigged
    wlan: [2621:I:ANY] MBO Initialized
    wlan: [2621:I:ANY] OCE Initialized
    wlan: [2621:I:ANY] osif_nss_ol_vap_create: 1289: NSS wifi offload VAP create IF 37 nss_id -1 
    wlan: [2621:I:ANY] NSS radio_if 28
    wlan: [0:I:ANY] osif_nss_vdev_cfg_callback: 1041: VDEV configuration success: 0
    wlan: [2621:I:ANY] osif_nss_ol_vap_create: 1397: vap create ae547500 : if_num 37 
    wlan: [2621:I:ANY] wlan_vap_create: 1573: exit
    wlan: [2621:E:ANY] Smart Antenna functions are not registered !!! 
    wlan: [2621:E:ANY] Smart Antenna functions are not registered !!! 
    wlan: [2621:I:ANY] osif_create_vap_complete: 10355: TX Checksum:1|SG:1|TSO:1|LRO:0
    wlan: [2621:I:ANY] WLAN-NSS: VAP NSS ops initialized 
    wlan: [2621:I:ANY] VAP device ath07 created osifp: (ae547500) os_if: (ae528000)
    lib_qca/wlctl-qca.c(8627) create_hwmode_string :XXX:create_hwmode_string: Ch:0/0 BW:5 HW:11AHE160
    lib_qca/wlctl-qca.c(2255) wlconf_reload_hw_mode_by_manual :wlctl:call set_hw_mode[11AHE160] if[ath07]
    
    lib_qca/wlctl-qca.c(8639) set_hw_mode :wlctl:set_hw_mode[11AHE160] if[ath07]
    
    lib_qca/wlctl-qca.c(8673) set_ext_nss :wlctl:set_ext_nss[0] [11AHE160] if[ath07]
    
    wlan: [2654:I:ANY] ol_ath_set_config_param: 627: Resetting spectral chainmask to Rx chainmask
    
    configuring additional NSS pbufs
    additional pbufs of size 9003008 got added to NSS
    dev.nss.n2hcfg.extra_pbuf_core0 = 9000000
    dev.nss.n2hcfg.n2h_high_water_core0 = 67392
    dev.nss.n2hcfg.n2h_wifi_pool_buf = 40960
    dev.nss.n2hcfg.n2h_queue_limit_core0 = 256
    dev.nss.n2hcfg.n2h_queue_limit_core1 = 256
    sed: /tmp/tmp_getcountryid: No such file or directory
    wlan: [2724:I:ANY] wlan_scan_update_channel_list: 1090: num_chan: 13
    wlan: [2724:I:ANY] number of channels: 2G = 13 5G = 0
    wlan: [2733:I:ANY] wlan_scan_update_channel_list: 1090: num_chan: 13
    wlan: [2733:I:ANY] number of channels: 2G = 13 5G = 0
    wlan: [2742:I:ANY] ol_ath_set_config_param: 1493: set TXBF_SND_PERIOD: value 100 wmi_status 0
    wlan: [0:I:ANY] ol_ath_set_config_param: 2203: Disconnect_timeout value: 10
    wlan: [0:I:ANY] ol_ath_set_config_param: 2209: Reconfiguration_timeout value:60
    wlan: [2805:I:ANY] wlan_cfg80211_set_hwaddr: 5439: wlan_cfg80211_set_hwaddr :50:c4:dd:cb:ef:30 ret: 0 
    wlan: [2810:I:ANY] wlan_cfg80211_add_virtual_intf: 306: proprietary mode 6 for interface: ath1 : clone params: 0x00000000 
    wlan: [2810:I:ANY] osifp_create_wlan_vap: 10031: No cloning
    wlan: [2810:I:ANY] osifp_create_wlan_vap: 10160: VDEV Create 50:c4:dd:cb:ef:30
    wlan: [2810:E:CMN_MLME] mlme_vdev_ext_obj_create: 1321:  VDEV MLME obj is creation
    wlan: [2810:I:ANY] wlan_vap_create: 1539: enter. devhandle=0xb7460500, opmode=IEEE80211_M_HOSTAP, flags=0x0
    
    wlan: [2810:I:ANY] ol_ath_vap_set_param: 1106: Setting SGI value: 1
    wlan: [2810:I:ANY] ol_ath_vap_set_param: 2096: VDEV params:HE su_bfee:1|su_bfer:1|mu_bfee:0|mu_bfer:1|dl_muofdma:1|ul_muofdma
    :1|ul_mumimo:1
    wlan: [2810:I:ANY] ol_ath_vap_set_param: 2106: he_bf_cap=0x7b
    wlan: [2810:I:ANY] ol_ath_vap_set_param: 2121: VDEV params:AC/VHT sounding mode:HE|SU/MU sounding mode:SU|Trig/Non-Trig sound
    ing mode:Non-Trigged
    wlan: [2810:I:ANY] MBO Initialized
    wlan: [2810:I:ANY] OCE Initialized
    wlan: [2810:I:ANY] osif_nss_ol_vap_create: 1289: NSS wifi offload VAP create IF 38 nss_id -1 
    wlan: [2810:I:ANY] NSS radio_if 29
    wlan: [0:I:ANY] osif_nss_vdev_cfg_callback: 1041: VDEV configuration success: 0
    wlan: [2810:I:ANY] osif_nss_ol_vap_create: 1397: vap create acf52500 : if_num 38 
    wlan: [2810:I:ANY] wlan_vap_create: 1573: exit
    wlan: [2810:E:ANY] Smart Antenna functions are not registered !!! 
    wlan: [2810:E:ANY] Smart Antenna functions are not registered !!! 
    wlan: [2810:I:ANY] osif_create_vap_complete: 10355: TX Checksum:1|SG:1|TSO:1|LRO:0
    wlan: [2810:I:ANY] WLAN-NSS: VAP NSS ops initialized 
    wlan: [2810:I:ANY] VAP device ath1 created osifp: (acf52500) os_if: (acf58000)
    lib_qca/wlctl-qca.c(8627) create_hwmode_string :XXX:create_hwmode_string: Ch:0/0 BW:0 HW:11GHE20
    lib_qca/wlctl-qca.c(2255) wlconf_reload_hw_mode_by_manual :wlctl:call set_hw_mode[11GHE20] if[ath1]
    
    lib_qca/wlctl-qca.c(8639) set_hw_mode :wlctl:set_hw_mode[11GHE20] if[ath1]
    
    lib_qca/wlctl-qca.c(8673) set_ext_nss :wlctl:set_ext_nss[1] [11GHE20] if[ath1]
    
    wlan: [2870:I:ANY] ol_ath_set_config_param: 627: Resetting spectral chainmask to Rx chainmask
    
    wlan: [2929:I:ANY] wlan_cfg80211_add_virtual_intf: 306: proprietary mode 6 for interface: ath11 : clone params: 0x00000000 
    wlan: [2929:I:ANY] osifp_create_wlan_vap: 10031: No cloning
    wlan: [2929:I:ANY] osifp_create_wlan_vap: 10160: VDEV Create 50:c4:dd:cb:ef:31
    wlan: [2929:E:CMN_MLME] mlme_vdev_ext_obj_create: 1321:  VDEV MLME obj is creation
    wlan: [2929:I:ANY] wlan_vap_create: 1539: enter. devhandle=0xb7460500, opmode=IEEE80211_M_HOSTAP, flags=0x0
    
    wlan: [2929:I:ANY] ol_ath_vap_set_param: 1106: Setting SGI value: 1
    wlan: [2929:I:ANY] ol_ath_vap_set_param: 2096: VDEV params:HE su_bfee:1|su_bfer:1|mu_bfee:0|mu_bfer:1|dl_muofdma:1|ul_muofdma
    :1|ul_mumimo:1
    wlan: [2929:I:ANY] ol_ath_vap_set_param: 2106: he_bf_cap=0x7b
    wlan: [2929:I:ANY] ol_ath_vap_set_param: 2121: VDEV params:AC/VHT sounding mode:HE|SU/MU sounding mode:SU|Trig/Non-Trig sound
    ing mode:Non-Trigged
    wlan: [2929:I:ANY] MBO Initialized
    wlan: [2929:I:ANY] OCE Initialized
    wlan: [2929:I:ANY] osif_nss_ol_vap_create: 1289: NSS wifi offload VAP create IF 39 nss_id -1 
    wlan: [2929:I:ANY] NSS radio_if 29
    wlan: [0:I:ANY] osif_nss_vdev_cfg_callback: 1041: VDEV configuration success: 0
    wlan: [2929:I:ANY] osif_nss_ol_vap_create: 1397: vap create ae551500 : if_num 39 
    wlan: [2929:I:ANY] wlan_vap_create: 1573: exit
    wlan: [2929:E:ANY] Smart Antenna functions are not registered !!! 
    wlan: [2929:E:ANY] Smart Antenna functions are not registered !!! 
    wlan: [2929:I:ANY] osif_create_vap_complete: 10355: TX Checksum:1|SG:1|TSO:1|LRO:0
    wlan: [2929:I:ANY] WLAN-NSS: VAP NSS ops initialized 
    wlan: [2929:I:ANY] VAP device ath11 created osifp: (ae551500) os_if: (acf90000)
    lib_qca/wlctl-qca.c(8627) create_hwmode_string :XXX:create_hwmode_string: Ch:0/0 BW:0 HW:11GHE20
    lib_qca/wlctl-qca.c(2255) wlconf_reload_hw_mode_by_manual :wlctl:call set_hw_mode[11GHE20] if[ath11]
    
    lib_qca/wlctl-qca.c(8639) set_hw_mode :wlctl:set_hw_mode[11GHE20] if[ath11]
    
    lib_qca/wlctl-qca.c(8673) set_ext_nss :wlctl:set_ext_nss[1] [11GHE20] if[ath11]
    
    wlan: [2980:I:ANY] ol_ath_set_config_param: 627: Resetting spectral chainmask to Rx chainmask
    
    wlan: [3039:I:ANY] wlan_cfg80211_add_virtual_intf: 306: proprietary mode 6 for interface: ath12 : clone params: 0x00000000 
    wlan: [3039:I:ANY] osifp_create_wlan_vap: 10031: No cloning
    wlan: [3039:I:ANY] osifp_create_wlan_vap: 10160: VDEV Create 50:c4:dd:cb:ef:32
    wlan: [3039:E:CMN_MLME] mlme_vdev_ext_obj_create: 1321:  VDEV MLME obj is creation
    wlan: [3039:I:ANY] wlan_vap_create: 1539: enter. devhandle=0xb7460500, opmode=IEEE80211_M_HOSTAP, flags=0x0
    
    wlan: [3039:I:ANY] ol_ath_vap_set_param: 1106: Setting SGI value: 1
    wlan: [3039:I:ANY] ol_ath_vap_set_param: 2096: VDEV params:HE su_bfee:1|su_bfer:1|mu_bfee:0|mu_bfer:1|dl_muofdma:1|ul_muofdma
    :1|ul_mumimo:1
    wlan: [3039:I:ANY] ol_ath_vap_set_param: 2106: he_bf_cap=0x7b
    wlan: [3039:I:ANY] ol_ath_vap_set_param: 2121: VDEV params:AC/VHT sounding mode:HE|SU/MU sounding mode:SU|Trig/Non-Trig sound
    ing mode:Non-Trigged
    wlan: [3039:I:ANY] MBO Initialized
    wlan: [3039:I:ANY] OCE Initialized
    wlan: [3039:I:ANY] osif_nss_ol_vap_create: 1289: NSS wifi offload VAP create IF 40 nss_id -1 
    wlan: [3039:I:ANY] NSS radio_if 29
    wlan: [0:I:ANY] osif_nss_vdev_cfg_callback: 1041: VDEV configuration success: 0
    wlan: [3039:I:ANY] osif_nss_ol_vap_create: 1397: vap create acfc2500 : if_num 40 
    wlan: [3039:I:ANY] wlan_vap_create: 1573: exit
    wlan: [3039:E:ANY] Smart Antenna functions are not registered !!! 
    wlan: [3039:E:ANY] Smart Antenna functions are not registered !!! 
    wlan: [3039:I:ANY] osif_create_vap_complete: 10355: TX Checksum:1|SG:1|TSO:1|LRO:0
    wlan: [3039:I:ANY] WLAN-NSS: VAP NSS ops initialized 
    wlan: [3039:I:ANY] VAP device ath12 created osifp: (acfc2500) os_if: (ac810000)
    lib_qca/wlctl-qca.c(8627) create_hwmode_string :XXX:create_hwmode_string: Ch:0/0 BW:0 HW:11GHE20
    lib_qca/wlctl-qca.c(2255) wlconf_reload_hw_mode_by_manual :wlctl:call set_hw_mode[11GHE20] if[ath12]
    
    lib_qca/wlctl-qca.c(8639) set_hw_mode :wlctl:set_hw_mode[11GHE20] if[ath12]
    
    lib_qca/wlctl-qca.c(8673) set_ext_nss :wlctl:set_ext_nss[1] [11GHE20] if[ath12]
    
    wlan: [3090:I:ANY] ol_ath_set_config_param: 627: Resetting spectral chainmask to Rx chainmask
    
    wlan: [3149:I:ANY] wlan_cfg80211_add_virtual_intf: 306: proprietary mode 6 for interface: ath13 : clone params: 0x00000000 
    wlan: [3149:I:ANY] osifp_create_wlan_vap: 10031: No cloning
    wlan: [3149:I:ANY] osifp_create_wlan_vap: 10160: VDEV Create 50:c4:dd:cb:ef:33
    wlan: [3149:E:CMN_MLME] mlme_vdev_ext_obj_create: 1321:  VDEV MLME obj is creation
    wlan: [3149:I:ANY] wlan_vap_create: 1539: enter. devhandle=0xb7460500, opmode=IEEE80211_M_HOSTAP, flags=0x0
    
    wlan: [3149:I:ANY] ol_ath_vap_set_param: 1106: Setting SGI value: 1
    wlan: [3149:I:ANY] ol_ath_vap_set_param: 2096: VDEV params:HE su_bfee:1|su_bfer:1|mu_bfee:0|mu_bfer:1|dl_muofdma:1|ul_muofdma
    :1|ul_mumimo:1
    wlan: [3149:I:ANY] ol_ath_vap_set_param: 2106: he_bf_cap=0x7b
    wlan: [3149:I:ANY] ol_ath_vap_set_param: 2121: VDEV params:AC/VHT sounding mode:HE|SU/MU sounding mode:SU|Trig/Non-Trig sound
    ing mode:Non-Trigged
    wlan: [3149:I:ANY] MBO Initialized
    wlan: [3149:I:ANY] OCE Initialized
    wlan: [3149:I:ANY] osif_nss_ol_vap_create: 1289: NSS wifi offload VAP create IF 41 nss_id -1 
    wlan: [3149:I:ANY] NSS radio_if 29
    wlan: [0:I:ANY] osif_nss_vdev_cfg_callback: 1041: VDEV configuration success: 0
    wlan: [3149:I:ANY] osif_nss_ol_vap_create: 1397: vap create ac825500 : if_num 41 
    wlan: [3149:I:ANY] wlan_vap_create: 1573: exit
    wlan: [3149:E:ANY] Smart Antenna functions are not registered !!! 
    wlan: [3149:E:ANY] Smart Antenna functions are not registered !!! 
    wlan: [3149:I:ANY] osif_create_vap_complete: 10355: TX Checksum:1|SG:1|TSO:1|LRO:0
    wlan: [3149:I:ANY] WLAN-NSS: VAP NSS ops initialized 
    wlan: [3149:I:ANY] VAP device ath13 created osifp: (ac825500) os_if: (ac830000)
    lib_qca/wlctl-qca.c(8627) create_hwmode_string :XXX:create_hwmode_string: Ch:0/0 BW:0 HW:11GHE20
    lib_qca/wlctl-qca.c(2255) wlconf_reload_hw_mode_by_manual :wlctl:call set_hw_mode[11GHE20] if[ath13]
    
    lib_qca/wlctl-qca.c(8639) set_hw_mode :wlctl:set_hw_mode[11GHE20] if[ath13]
    
    lib_qca/wlctl-qca.c(8673) set_ext_nss :wlctl:set_ext_nss[1] [11GHE20] if[ath13]
    
    wlan: [3200:I:ANY] ol_ath_set_config_param: 627: Resetting spectral chainmask to Rx chainmask
    
    wlan: [3259:I:ANY] wlan_cfg80211_add_virtual_intf: 306: proprietary mode 6 for interface: ath14 : clone params: 0x00000000 
    wlan: [3259:I:ANY] osifp_create_wlan_vap: 10031: No cloning
    wlan: [3259:I:ANY] osifp_create_wlan_vap: 10160: VDEV Create 50:c4:dd:cb:ef:34
    wlan: [3259:E:CMN_MLME] mlme_vdev_ext_obj_create: 1321:  VDEV MLME obj is creation
    wlan: [3259:I:ANY] wlan_vap_create: 1539: enter. devhandle=0xb7460500, opmode=IEEE80211_M_HOSTAP, flags=0x0
    
    wlan: [3259:I:ANY] ol_ath_vap_set_param: 1106: Setting SGI value: 1
    wlan: [3259:I:ANY] ol_ath_vap_set_param: 2096: VDEV params:HE su_bfee:1|su_bfer:1|mu_bfee:0|mu_bfer:1|dl_muofdma:1|ul_muofdma
    :1|ul_mumimo:1
    wlan: [3259:I:ANY] ol_ath_vap_set_param: 2106: he_bf_cap=0x7b
    wlan: [3259:I:ANY] ol_ath_vap_set_param: 2121: VDEV params:AC/VHT sounding mode:HE|SU/MU sounding mode:SU|Trig/Non-Trig sound
    ing mode:Non-Trigged
    wlan: [3259:I:ANY] MBO Initialized
    wlan: [3259:I:ANY] OCE Initialized
    wlan: [3259:I:ANY] osif_nss_ol_vap_create: 1289: NSS wifi offload VAP create IF 42 nss_id -1 
    wlan: [3259:I:ANY] NSS radio_if 29
    wlan: [0:I:ANY] osif_nss_vdev_cfg_callback: 1041: VDEV configuration success: 0
    wlan: [3259:I:ANY] osif_nss_ol_vap_create: 1397: vap create ac858500 : if_num 42 
    wlan: [3259:I:ANY] wlan_vap_create: 1573: exit
    wlan: [3259:E:ANY] Smart Antenna functions are not registered !!! 
    wlan: [3259:E:ANY] Smart Antenna functions are not registered !!! 
    wlan: [3259:I:ANY] osif_create_vap_complete: 10355: TX Checksum:1|SG:1|TSO:1|LRO:0
    wlan: [3259:I:ANY] WLAN-NSS: VAP NSS ops initialized 
    wlan: [3259:I:ANY] VAP device ath14 created osifp: (ac858500) os_if: (ac860000)
    lib_qca/wlctl-qca.c(8627) create_hwmode_string :XXX:create_hwmode_string: Ch:0/0 BW:0 HW:11GHE20
    lib_qca/wlctl-qca.c(2255) wlconf_reload_hw_mode_by_manual :wlctl:call set_hw_mode[11GHE20] if[ath14]
    
    lib_qca/wlctl-qca.c(8639) set_hw_mode :wlctl:set_hw_mode[11GHE20] if[ath14]
    
    lib_qca/wlctl-qca.c(8673) set_ext_nss :wlctl:set_ext_nss[1] [11GHE20] if[ath14]
    
    wlan: [3310:I:ANY] ol_ath_set_config_param: 627: Resetting spectral chainmask to Rx chainmask
    
    wlan: [3369:I:ANY] wlan_cfg80211_add_virtual_intf: 306: proprietary mode 6 for interface: ath15 : clone params: 0x00000000 
    wlan: [3369:I:ANY] osifp_create_wlan_vap: 10031: No cloning
    wlan: [3369:I:ANY] osifp_create_wlan_vap: 10160: VDEV Create 50:c4:dd:cb:ef:35
    wlan: [3369:E:CMN_MLME] mlme_vdev_ext_obj_create: 1321:  VDEV MLME obj is creation
    wlan: [3369:I:ANY] wlan_vap_create: 1539: enter. devhandle=0xb7460500, opmode=IEEE80211_M_HOSTAP, flags=0x0
    
    wlan: [3369:I:ANY] ol_ath_vap_set_param: 1106: Setting SGI value: 1
    wlan: [3369:I:ANY] ol_ath_vap_set_param: 2096: VDEV params:HE su_bfee:1|su_bfer:1|mu_bfee:0|mu_bfer:1|dl_muofdma:1|ul_muofdma
    :1|ul_mumimo:1
    wlan: [3369:I:ANY] ol_ath_vap_set_param: 2106: he_bf_cap=0x7b
    wlan: [3369:I:ANY] ol_ath_vap_set_param: 2121: VDEV params:AC/VHT sounding mode:HE|SU/MU sounding mode:SU|Trig/Non-Trig sound
    ing mode:Non-Trigged
    wlan: [3369:I:ANY] MBO Initialized
    wlan: [3369:I:ANY] OCE Initialized
    wlan: [3369:I:ANY] osif_nss_ol_vap_create: 1289: NSS wifi offload VAP create IF 43 nss_id -1 
    wlan: [3369:I:ANY] NSS radio_if 29
    wlan: [0:I:ANY] osif_nss_vdev_cfg_callback: 1041: VDEV configuration success: 0
    wlan: [3369:I:ANY] osif_nss_ol_vap_create: 1397: vap create ac89a500 : if_num 43 
    wlan: [3369:I:ANY] wlan_vap_create: 1573: exit
    wlan: [3369:E:ANY] Smart Antenna functions are not registered !!! 
    wlan: [3369:E:ANY] Smart Antenna functions are not registered !!! 
    wlan: [3369:I:ANY] osif_create_vap_complete: 10355: TX Checksum:1|SG:1|TSO:1|LRO:0
    wlan: [3369:I:ANY] WLAN-NSS: VAP NSS ops initialized 
    wlan: [3369:I:ANY] VAP device ath15 created osifp: (ac89a500) os_if: (ac890000)
    lib_qca/wlctl-qca.c(8627) create_hwmode_string :XXX:create_hwmode_string: Ch:0/0 BW:0 HW:11GHE20
    lib_qca/wlctl-qca.c(2255) wlconf_reload_hw_mode_by_manual :wlctl:call set_hw_mode[11GHE20] if[ath15]
    
    lib_qca/wlctl-qca.c(8639) set_hw_mode :wlctl:set_hw_mode[11GHE20] if[ath15]
    
    lib_qca/wlctl-qca.c(8673) set_ext_nss :wlctl:set_ext_nss[1] [11GHE20] if[ath15]
    
    wlan: [3420:I:ANY] ol_ath_set_config_param: 627: Resetting spectral chainmask to Rx chainmask
    
    wlan: [3479:I:ANY] wlan_cfg80211_add_virtual_intf: 306: proprietary mode 6 for interface: ath16 : clone params: 0x00000000 
    wlan: [3479:I:ANY] osifp_create_wlan_vap: 10031: No cloning
    wlan: [3479:I:ANY] osifp_create_wlan_vap: 10160: VDEV Create 50:c4:dd:cb:ef:36
    wlan: [3479:E:CMN_MLME] mlme_vdev_ext_obj_create: 1321:  VDEV MLME obj is creation
    wlan: [3479:I:ANY] wlan_vap_create: 1539: enter. devhandle=0xb7460500, opmode=IEEE80211_M_HOSTAP, flags=0x0
    
    wlan: [3479:I:ANY] ol_ath_vap_set_param: 1106: Setting SGI value: 1
    wlan: [3479:I:ANY] ol_ath_vap_set_param: 2096: VDEV params:HE su_bfee:1|su_bfer:1|mu_bfee:0|mu_bfer:1|dl_muofdma:1|ul_muofdma
    :1|ul_mumimo:1
    wlan: [3479:I:ANY] ol_ath_vap_set_param: 2106: he_bf_cap=0x7b
    wlan: [3479:I:ANY] ol_ath_vap_set_param: 2121: VDEV params:AC/VHT sounding mode:HE|SU/MU sounding mode:SU|Trig/Non-Trig sound
    ing mode:Non-Trigged
    wlan: [3479:I:ANY] MBO Initialized
    wlan: [3479:I:ANY] OCE Initialized
    wlan: [3479:I:ANY] osif_nss_ol_vap_create: 1289: NSS wifi offload VAP create IF 44 nss_id -1 
    wlan: [3479:I:ANY] NSS radio_if 29
    wlan: [0:I:ANY] osif_nss_vdev_cfg_callback: 1041: VDEV configuration success: 0
    wlan: [3479:I:ANY] osif_nss_ol_vap_create: 1397: vap create acf6b500 : if_num 44 
    wlan: [3479:I:ANY] wlan_vap_create: 1573: exit
    wlan: [3479:E:ANY] Smart Antenna functions are not registered !!! 
    wlan: [3479:E:ANY] Smart Antenna functions are not registered !!! 
    wlan: [3479:I:ANY] osif_create_vap_complete: 10355: TX Checksum:1|SG:1|TSO:1|LRO:0
    wlan: [3479:I:ANY] WLAN-NSS: VAP NSS ops initialized 
    wlan: [3479:I:ANY] VAP device ath16 created osifp: (acf6b500) os_if: (ac8d0000)
    lib_qca/wlctl-qca.c(8627) create_hwmode_string :XXX:create_hwmode_string: Ch:0/0 BW:0 HW:11GHE20
    lib_qca/wlctl-qca.c(2255) wlconf_reload_hw_mode_by_manual :wlctl:call set_hw_mode[11GHE20] if[ath16]
    
    lib_qca/wlctl-qca.c(8639) set_hw_mode :wlctl:set_hw_mode[11GHE20] if[ath16]
    
    lib_qca/wlctl-qca.c(8673) set_ext_nss :wlctl:set_ext_nss[1] [11GHE20] if[ath16]
    
    wlan: [3530:I:ANY] ol_ath_set_config_param: 627: Resetting spectral chainmask to Rx chainmask
    
    wlan: [3589:I:ANY] wlan_cfg80211_add_virtual_intf: 306: proprietary mode 6 for interface: ath17 : clone params: 0x00000000 
    wlan: [3589:I:ANY] osifp_create_wlan_vap: 10031: No cloning
    wlan: [3589:I:ANY] osifp_create_wlan_vap: 10160: VDEV Create 50:c4:dd:cb:ef:37
    wlan: [3589:E:CMN_MLME] mlme_vdev_ext_obj_create: 1321:  VDEV MLME obj is creation
    wlan: [3589:I:ANY] wlan_vap_create: 1539: enter. devhandle=0xb7460500, opmode=IEEE80211_M_HOSTAP, flags=0x0
    
    wlan: [3589:I:ANY] ol_ath_vap_set_param: 1106: Setting SGI value: 1
    wlan: [3589:I:ANY] ol_ath_vap_set_param: 2096: VDEV params:HE su_bfee:1|su_bfer:1|mu_bfee:0|mu_bfer:1|dl_muofdma:1|ul_muofdma
    :1|ul_mumimo:1
    wlan: [3589:I:ANY] ol_ath_vap_set_param: 2106: he_bf_cap=0x7b
    wlan: [3589:I:ANY] ol_ath_vap_set_param: 2121: VDEV params:AC/VHT sounding mode:HE|SU/MU sounding mode:SU|Trig/Non-Trig sound
    ing mode:Non-Trigged
    wlan: [3589:I:ANY] MBO Initialized
    wlan: [3589:I:ANY] OCE Initialized
    wlan: [3589:I:ANY] osif_nss_ol_vap_create: 1289: NSS wifi offload VAP create IF 45 nss_id -1 
    wlan: [3589:I:ANY] NSS radio_if 29
    wlan: [0:I:ANY] osif_nss_vdev_cfg_callback: 1041: VDEV configuration success: 0
    wlan: [3589:I:ANY] osif_nss_ol_vap_create: 1397: vap create ac8aa500 : if_num 45 
    wlan: [3589:I:ANY] wlan_vap_create: 1573: exit
    wlan: [3589:E:ANY] Smart Antenna functions are not registered !!! 
    wlan: [3589:E:ANY] Smart Antenna functions are not registered !!! 
    wlan: [3589:I:ANY] osif_create_vap_complete: 10355: TX Checksum:1|SG:1|TSO:1|LRO:0
    wlan: [3589:I:ANY] WLAN-NSS: VAP NSS ops initialized 
    wlan: [3589:I:ANY] VAP device ath17 created osifp: (ac8aa500) os_if: (ac8d8000)
    lib_qca/wlctl-qca.c(8627) create_hwmode_string :XXX:create_hwmode_string: Ch:0/0 BW:0 HW:11GHE20
    lib_qca/wlctl-qca.c(2255) wlconf_reload_hw_mode_by_manual :wlctl:call set_hw_mode[11GHE20] if[ath17]
    
    lib_qca/wlctl-qca.c(8639) set_hw_mode :wlctl:set_hw_mode[11GHE20] if[ath17]
    
    lib_qca/wlctl-qca.c(8673) set_ext_nss :wlctl:set_ext_nss[1] [11GHE20] if[ath17]
    
    wlan: [3640:I:ANY] ol_ath_set_config_param: 627: Resetting spectral chainmask to Rx chainmask
    
    dev.nss.n2hcfg.extra_pbuf_core0 = 9000000
    dev.nss.n2hcfg.n2h_high_water_core0 = 67392
    dev.nss.n2hcfg.n2h_wifi_pool_buf = 40960
    dev.nss.n2hcfg.n2h_queue_limit_core0 = 256
    dev.nss.n2hcfg.n2h_queue_limit_core1 = 256
    lib_qca/wlctl-qca.c(2515) Wireless_Insmod :TRACE:wake-up hostapd
    Failed to find et. Maybe it is a built in module ?
    Failed to find -L. Maybe it is a built in module ?
    Failed to find -L. Maybe it is a built in module ?
    Cannot assign requested address
    Cannot assign requested address
    0 jp/JP -> enable
    1 eng/ENG -> disable
    2 de/LATIN1_DE -> disable
    3 fr/LATIN1_FR -> disable
    4 it/LATIN1_IT -> disable
    5 es/LATIN1_ES -> disable
    6 zh_cn/UTF8_ZHCN -> disable
    7 zh_tw/UTF8_ZHTW -> disable
    8 ko/UTF8_KO -> disable
    9 ru/UTF8_RU -> disable
    10 th/UTF8_TH -> disable
    14 fi/UTF8_FI -> disable
    16 sv/UTF8_SV -> disable
    17 no/UTF8_NO -> disable
    18 tr/UTF8_TR -> disable
    19 br_pt/UTF8_BRPT -> disable
    sed: /tmp/tmp_getcountryid: No such file or directory
    wlan: [3734:I:ANY] wlan_scan_update_channel_list: 1090: num_chan: 20
    wlan: [3734:I:dfs] WLAN_DEBUG_DFS_ALWAYS : dfs_init_precac_list: 979: freq=58
    wlan: [3734:I:dfs] WLAN_DEBUG_DFS_ALWAYS : dfs_init_precac_list: 979: freq=106
    wlan: [3734:I:dfs] WLAN_DEBUG_DFS_ALWAYS : dfs_init_precac_list: 979: freq=122
    wlan: [3734:I:dfs] WLAN_DEBUG_DFS_ALWAYS : dfs_init_precac_list: 979: freq=138
    wlan: [3734:I:ANY] wlan_scan_update_channel_list: 1090: num_chan: 20
    wlan: [3734:I:dfs] WLAN_DEBUG_DFS_ALWAYS : dfs_init_precac_list: 979: freq=58
    wlan: [3734:I:dfs] WLAN_DEBUG_DFS_ALWAYS : dfs_init_precac_list: 979: freq=106
    wlan: [3734:I:dfs] WLAN_DEBUG_DFS_ALWAYS : dfs_init_precac_list: 979: freq=122
    wlan: [3734:I:dfs] WLAN_DEBUG_DFS_ALWAYS : dfs_init_precac_list: 979: freq=138
    wlan: [3734:I:ANY] number of channels: 2G = 0 5G = 20
    wlan: [3743:I:ANY] wlan_scan_update_channel_list: 1090: num_chan: 20
    wlan: [3743:I:dfs] WLAN_DEBUG_DFS_ALWAYS : dfs_init_precac_list: 979: freq=58
    wlan: [3743:I:dfs] WLAN_DEBUG_DFS_ALWAYS : dfs_init_precac_list: 979: freq=106
    wlan: [3743:I:dfs] WLAN_DEBUG_DFS_ALWAYS : dfs_init_precac_list: 979: freq=122
    wlan: [3743:I:dfs] WLAN_DEBUG_DFS_ALWAYS : dfs_init_precac_list: 979: freq=138
    wlan: [3743:I:ANY] wlan_scan_update_channel_list: 1090: num_chan: 20
    wlan: [3743:I:dfs] WLAN_DEBUG_DFS_ALWAYS : dfs_init_precac_list: 979: freq=58
    wlan: [3743:I:dfs] WLAN_DEBUG_DFS_ALWAYS : dfs_init_precac_list: 979: freq=106
    wlan: [3743:I:dfs] WLAN_DEBUG_DFS_ALWAYS : dfs_init_precac_list: 979: freq=122
    wlan: [3743:I:dfs] WLAN_DEBUG_DFS_ALWAYS : dfs_init_precac_list: 979: freq=138
    wlan: [3743:I:ANY] number of channels: 2G = 0 5G = 20
    wlan: [3752:I:ANY] ol_ath_set_config_param: 1493: set TXBF_SND_PERIOD: value 100 wmi_status 0
    wlan: [0:I:ANY] ol_ath_set_config_param: 2203: Disconnect_timeout value: 10
    wlan: [0:I:ANY] ol_ath_set_config_param: 2209: Reconfiguration_timeout value:60
    wlan: [3815:I:ANY] wlan_cfg80211_set_hwaddr: 5439: wlan_cfg80211_set_hwaddr :50:c4:dd:cb:ef:38 ret: -16 
    wlan: [3820:I:ANY] wlan_cfg80211_add_virtual_intf: 306: proprietary mode 6 for interface: ath0 : clone params: 0x00000000 
    osif_create_vap:create netdev failed
    wlan: [3820:I:ANY] wlan_cfg80211_add_virtual_intf: 358: Failed to create VAP. osif_create_vap returned NULL!
    command failed: Invalid argument (-22)
    lib_qca/wlctl-qca.c(8627) create_hwmode_string :XXX:create_hwmode_string: Ch:0/0 BW:5 HW:11AHE160
    lib_qca/wlctl-qca.c(2255) wlconf_reload_hw_mode_by_manual :wlctl:call set_hw_mode[11AHE160] if[ath0]
    
    lib_qca/wlctl-qca.c(8639) set_hw_mode :wlctl:set_hw_mode[11AHE160] if[ath0]
    
    lib_qca/wlctl-qca.c(8673) set_ext_nss :wlctl:set_ext_nss[0] [11AHE160] if[ath0]
    
    wlan: [3853:I:ANY] ol_ath_set_config_param: 627: Resetting spectral chainmask to Rx chainmask
    
    wlan: [3862:I:ANY] wlan_set_param: 2560:  HE DCM already set with this value =1 
    wlan: [3871:I:ANY] wlan_set_param: 2541:  HE Extended range already set with this value =1 
    wlan: [3912:I:ANY] wlan_cfg80211_add_virtual_intf: 306: proprietary mode 6 for interface: ath01 : clone params: 0x00000000 
    osif_create_vap:create netdev failed
    wlan: [3912:I:ANY] wlan_cfg80211_add_virtual_intf: 358: Failed to create VAP. osif_create_vap returned NULL!
    command failed: Invalid argument (-22)
    lib_qca/wlctl-qca.c(8627) create_hwmode_string :XXX:create_hwmode_string: Ch:0/0 BW:5 HW:11AHE160
    lib_qca/wlctl-qca.c(2255) wlconf_reload_hw_mode_by_manual :wlctl:call set_hw_mode[11AHE160] if[ath01]
    
    lib_qca/wlctl-qca.c(8639) set_hw_mode :wlctl:set_hw_mode[11AHE160] if[ath01]
    
    lib_qca/wlctl-qca.c(8673) set_ext_nss :wlctl:set_ext_nss[0] [11AHE160] if[ath01]
    
    wlan: [3936:I:ANY] ol_ath_set_config_param: 627: Resetting spectral chainmask to Rx chainmask
    
    wlan: [3945:I:ANY] wlan_set_param: 2560:  HE DCM already set with this value =1 
    wlan: [3954:I:ANY] wlan_set_param: 2541:  HE Extended range already set with this value =1 
    wlan: [3995:I:ANY] wlan_cfg80211_add_virtual_intf: 306: proprietary mode 6 for interface: ath02 : clone params: 0x00000000 
    osif_create_vap:create netdev failed
    wlan: [3995:I:ANY] wlan_cfg80211_add_virtual_intf: 358: Failed to create VAP. osif_create_vap returned NULL!
    command failed: Invalid argument (-22)
    lib_qca/wlctl-qca.c(8627) create_hwmode_string :XXX:create_hwmode_string: Ch:0/0 BW:5 HW:11AHE160
    lib_qca/wlctl-qca.c(2255) wlconf_reload_hw_mode_by_manual :wlctl:call set_hw_mode[11AHE160] if[ath02]
    
    lib_qca/wlctl-qca.c(8639) set_hw_mode :wlctl:set_hw_mode[11AHE160] if[ath02]
    
    lib_qca/wlctl-qca.c(8673) set_ext_nss :wlctl:set_ext_nss[0] [11AHE160] if[ath02]
    
    wlan: [4019:I:ANY] ol_ath_set_config_param: 627: Resetting spectral chainmask to Rx chainmask
    
    wlan: [4028:I:ANY] wlan_set_param: 2560:  HE DCM already set with this value =1 
    wlan: [4037:I:ANY] wlan_set_param: 2541:  HE Extended range already set with this value =1 
    wlan: [4078:I:ANY] wlan_cfg80211_add_virtual_intf: 306: proprietary mode 6 for interface: ath03 : clone params: 0x00000000 
    osif_create_vap:create netdev failed
    wlan: [4078:I:ANY] wlan_cfg80211_add_virtual_intf: 358: Failed to create VAP. osif_create_vap returned NULL!
    command failed: Invalid argument (-22)
    lib_qca/wlctl-qca.c(8627) create_hwmode_string :XXX:create_hwmode_string: Ch:0/0 BW:5 HW:11AHE160
    lib_qca/wlctl-qca.c(2255) wlconf_reload_hw_mode_by_manual :wlctl:call set_hw_mode[11AHE160] if[ath03]
    
    lib_qca/wlctl-qca.c(8639) set_hw_mode :wlctl:set_hw_mode[11AHE160] if[ath03]
    
    lib_qca/wlctl-qca.c(8673) set_ext_nss :wlctl:set_ext_nss[0] [11AHE160] if[ath03]
    
    wlan: [4102:I:ANY] ol_ath_set_config_param: 627: Resetting spectral chainmask to Rx chainmask
    
    wlan: [4111:I:ANY] wlan_set_param: 2560:  HE DCM already set with this value =1 
    wlan: [4120:I:ANY] wlan_set_param: 2541:  HE Extended range already set with this value =1 
    wlan: [4161:I:ANY] wlan_cfg80211_add_virtual_intf: 306: proprietary mode 6 for interface: ath04 : clone params: 0x00000000 
    osif_create_vap:create netdev failed
    wlan: [4161:I:ANY] wlan_cfg80211_add_virtual_intf: 358: Failed to create VAP. osif_create_vap returned NULL!
    command failed: Invalid argument (-22)
    lib_qca/wlctl-qca.c(8627) create_hwmode_string :XXX:create_hwmode_string: Ch:0/0 BW:5 HW:11AHE160
    lib_qca/wlctl-qca.c(2255) wlconf_reload_hw_mode_by_manual :wlctl:call set_hw_mode[11AHE160] if[ath04]
    
    lib_qca/wlctl-qca.c(8639) set_hw_mode :wlctl:set_hw_mode[11AHE160] if[ath04]
    
    lib_qca/wlctl-qca.c(8673) set_ext_nss :wlctl:set_ext_nss[0] [11AHE160] if[ath04]
    
    wlan: [4185:I:ANY] ol_ath_set_config_param: 627: Resetting spectral chainmask to Rx chainmask
    
    wlan: [4194:I:ANY] wlan_set_param: 2560:  HE DCM already set with this value =1 
    wlan: [4203:I:ANY] wlan_set_param: 2541:  HE Extended range already set with this value =1 
    wlan: [4244:I:ANY] wlan_cfg80211_add_virtual_intf: 306: proprietary mode 6 for interface: ath05 : clone params: 0x00000000 
    osif_create_vap:create netdev failed
    wlan: [4244:I:ANY] wlan_cfg80211_add_virtual_intf: 358: Failed to create VAP. osif_create_vap returned NULL!
    command failed: Invalid argument (-22)
    lib_qca/wlctl-qca.c(8627) create_hwmode_string :XXX:create_hwmode_string: Ch:0/0 BW:5 HW:11AHE160
    lib_qca/wlctl-qca.c(2255) wlconf_reload_hw_mode_by_manual :wlctl:call set_hw_mode[11AHE160] if[ath05]
    
    lib_qca/wlctl-qca.c(8639) set_hw_mode :wlctl:set_hw_mode[11AHE160] if[ath05]
    
    lib_qca/wlctl-qca.c(8673) set_ext_nss :wlctl:set_ext_nss[0] [11AHE160] if[ath05]
    
    wlan: [4268:I:ANY] ol_ath_set_config_param: 627: Resetting spectral chainmask to Rx chainmask
    
    wlan: [4277:I:ANY] wlan_set_param: 2560:  HE DCM already set with this value =1 
    wlan: [4286:I:ANY] wlan_set_param: 2541:  HE Extended range already set with this value =1 
    wlan: [4327:I:ANY] wlan_cfg80211_add_virtual_intf: 306: proprietary mode 6 for interface: ath06 : clone params: 0x00000000 
    osif_create_vap:create netdev failed
    wlan: [4327:I:ANY] wlan_cfg80211_add_virtual_intf: 358: Failed to create VAP. osif_create_vap returned NULL!
    command failed: Invalid argument (-22)
    lib_qca/wlctl-qca.c(8627) create_hwmode_string :XXX:create_hwmode_string: Ch:0/0 BW:5 HW:11AHE160
    lib_qca/wlctl-qca.c(2255) wlconf_reload_hw_mode_by_manual :wlctl:call set_hw_mode[11AHE160] if[ath06]
    
    lib_qca/wlctl-qca.c(8639) set_hw_mode :wlctl:set_hw_mode[11AHE160] if[ath06]
    
    lib_qca/wlctl-qca.c(8673) set_ext_nss :wlctl:set_ext_nss[0] [11AHE160] if[ath06]
    
    wlan: [4351:I:ANY] ol_ath_set_config_param: 627: Resetting spectral chainmask to Rx chainmask
    
    wlan: [4360:I:ANY] wlan_set_param: 2560:  HE DCM already set with this value =1 
    wlan: [4369:I:ANY] wlan_set_param: 2541:  HE Extended range already set with this value =1 
    wlan: [4410:I:ANY] wlan_cfg80211_add_virtual_intf: 306: proprietary mode 6 for interface: ath07 : clone params: 0x00000000 
    osif_create_vap:create netdev failed
    wlan: [4410:I:ANY] wlan_cfg80211_add_virtual_intf: 358: Failed to create VAP. osif_create_vap returned NULL!
    command failed: Invalid argument (-22)
    lib_qca/wlctl-qca.c(8627) create_hwmode_string :XXX:create_hwmode_string: Ch:0/0 BW:5 HW:11AHE160
    lib_qca/wlctl-qca.c(2255) wlconf_reload_hw_mode_by_manual :wlctl:call set_hw_mode[11AHE160] if[ath07]
    
    lib_qca/wlctl-qca.c(8639) set_hw_mode :wlctl:set_hw_mode[11AHE160] if[ath07]
    
    lib_qca/wlctl-qca.c(8673) set_ext_nss :wlctl:set_ext_nss[0] [11AHE160] if[ath07]
    
    wlan: [4434:I:ANY] ol_ath_set_config_param: 627: Resetting spectral chainmask to Rx chainmask
    
    wlan: [4443:I:ANY] wlan_set_param: 2560:  HE DCM already set with this value =1 
    wlan: [4452:I:ANY] wlan_set_param: 2541:  HE Extended range already set with this value =1 
    dev.nss.n2hcfg.extra_pbuf_core0 = 9000000
    dev.nss.n2hcfg.n2h_high_water_core0 = 67392
    dev.nss.n2hcfg.n2h_wifi_pool_buf = 40960
    dev.nss.n2hcfg.n2h_queue_limit_core0 = 256
    dev.nss.n2hcfg.n2h_queue_limit_core1 = 256
    sed: /tmp/tmp_getcountryid: No such file or directory
    wlan: [4504:I:ANY] wlan_scan_update_channel_list: 1090: num_chan: 13
    wlan: [4504:I:ANY] number of channels: 2G = 13 5G = 0
    wlan: [4513:I:ANY] wlan_scan_update_channel_list: 1090: num_chan: 13
    wlan: [4513:I:ANY] number of channels: 2G = 13 5G = 0
    wlan: [4522:I:ANY] ol_ath_set_config_param: 1493: set TXBF_SND_PERIOD: value 100 wmi_status 0
    wlan: [0:I:ANY] ol_ath_set_config_param: 2203: Disconnect_timeout value: 10
    wlan: [0:I:ANY] ol_ath_set_config_param: 2209: Reconfiguration_timeout value:60
    wlan: [4585:I:ANY] wlan_cfg80211_set_hwaddr: 5439: wlan_cfg80211_set_hwaddr :50:c4:dd:cb:ef:30 ret: -16 
    wlan: [4590:I:ANY] wlan_cfg80211_add_virtual_intf: 306: proprietary mode 6 for interface: ath1 : clone params: 0x00000000 
    osif_create_vap:create netdev failed
    wlan: [4590:I:ANY] wlan_cfg80211_add_virtual_intf: 358: Failed to create VAP. osif_create_vap returned NULL!
    command failed: Invalid argument (-22)
    lib_qca/wlctl-qca.c(8627) create_hwmode_string :XXX:create_hwmode_string: Ch:0/0 BW:0 HW:11GHE20
    lib_qca/wlctl-qca.c(2255) wlconf_reload_hw_mode_by_manual :wlctl:call set_hw_mode[11GHE20] if[ath1]
    
    lib_qca/wlctl-qca.c(8639) set_hw_mode :wlctl:set_hw_mode[11GHE20] if[ath1]
    
    lib_qca/wlctl-qca.c(8673) set_ext_nss :wlctl:set_ext_nss[1] [11GHE20] if[ath1]
    
    wlan: [4641:I:ANY] ol_ath_set_config_param: 627: Resetting spectral chainmask to Rx chainmask
    
    wlan: [4650:I:ANY] wlan_set_param: 2560:  HE DCM already set with this value =1 
    wlan: [4659:I:ANY] wlan_set_param: 2541:  HE Extended range already set with this value =1 
    wlan: [4700:I:ANY] wlan_cfg80211_add_virtual_intf: 306: proprietary mode 6 for interface: ath11 : clone params: 0x00000000 
    osif_create_vap:create netdev failed
    wlan: [4700:I:ANY] wlan_cfg80211_add_virtual_intf: 358: Failed to create VAP. osif_create_vap returned NULL!
    command failed: Invalid argument (-22)
    lib_qca/wlctl-qca.c(8627) create_hwmode_string :XXX:create_hwmode_string: Ch:0/0 BW:0 HW:11GHE20
    lib_qca/wlctl-qca.c(2255) wlconf_reload_hw_mode_by_manual :wlctl:call set_hw_mode[11GHE20] if[ath11]
    
    lib_qca/wlctl-qca.c(8639) set_hw_mode :wlctl:set_hw_mode[11GHE20] if[ath11]
    
    lib_qca/wlctl-qca.c(8673) set_ext_nss :wlctl:set_ext_nss[1] [11GHE20] if[ath11]
    
    wlan: [4742:I:ANY] ol_ath_set_config_param: 627: Resetting spectral chainmask to Rx chainmask
    
    wlan: [4751:I:ANY] wlan_set_param: 2560:  HE DCM already set with this value =1 
    wlan: [4760:I:ANY] wlan_set_param: 2541:  HE Extended range already set with this value =1 
    wlan: [4801:I:ANY] wlan_cfg80211_add_virtual_intf: 306: proprietary mode 6 for interface: ath12 : clone params: 0x00000000 
    osif_create_vap:create netdev failed
    wlan: [4801:I:ANY] wlan_cfg80211_add_virtual_intf: 358: Failed to create VAP. osif_create_vap returned NULL!
    command failed: Invalid argument (-22)
    lib_qca/wlctl-qca.c(8627) create_hwmode_string :XXX:create_hwmode_string: Ch:0/0 BW:0 HW:11GHE20
    lib_qca/wlctl-qca.c(2255) wlconf_reload_hw_mode_by_manual :wlctl:call set_hw_mode[11GHE20] if[ath12]
    
    lib_qca/wlctl-qca.c(8639) set_hw_mode :wlctl:set_hw_mode[11GHE20] if[ath12]
    
    lib_qca/wlctl-qca.c(8673) set_ext_nss :wlctl:set_ext_nss[1] [11GHE20] if[ath12]
    
    wlan: [4843:I:ANY] ol_ath_set_config_param: 627: Resetting spectral chainmask to Rx chainmask
    
    wlan: [4852:I:ANY] wlan_set_param: 2560:  HE DCM already set with this value =1 
    wlan: [4861:I:ANY] wlan_set_param: 2541:  HE Extended range already set with this value =1 
    wlan: [4902:I:ANY] wlan_cfg80211_add_virtual_intf: 306: proprietary mode 6 for interface: ath13 : clone params: 0x00000000 
    osif_create_vap:create netdev failed
    wlan: [4902:I:ANY] wlan_cfg80211_add_virtual_intf: 358: Failed to create VAP. osif_create_vap returned NULL!
    command failed: Invalid argument (-22)
    lib_qca/wlctl-qca.c(8627) create_hwmode_string :XXX:create_hwmode_string: Ch:0/0 BW:0 HW:11GHE20
    lib_qca/wlctl-qca.c(2255) wlconf_reload_hw_mode_by_manual :wlctl:call set_hw_mode[11GHE20] if[ath13]
    
    lib_qca/wlctl-qca.c(8639) set_hw_mode :wlctl:set_hw_mode[11GHE20] if[ath13]
    
    lib_qca/wlctl-qca.c(8673) set_ext_nss :wlctl:set_ext_nss[1] [11GHE20] if[ath13]
    
    wlan: [4944:I:ANY] ol_ath_set_config_param: 627: Resetting spectral chainmask to Rx chainmask
    
    wlan: [4953:I:ANY] wlan_set_param: 2560:  HE DCM already set with this value =1 
    wlan: [4962:I:ANY] wlan_set_param: 2541:  HE Extended range already set with this value =1 
    wlan: [5003:I:ANY] wlan_cfg80211_add_virtual_intf: 306: proprietary mode 6 for interface: ath14 : clone params: 0x00000000 
    osif_create_vap:create netdev failed
    wlan: [5003:I:ANY] wlan_cfg80211_add_virtual_intf: 358: Failed to create VAP. osif_create_vap returned NULL!
    command failed: Invalid argument (-22)
    lib_qca/wlctl-qca.c(8627) create_hwmode_string :XXX:create_hwmode_string: Ch:0/0 BW:0 HW:11GHE20
    lib_qca/wlctl-qca.c(2255) wlconf_reload_hw_mode_by_manual :wlctl:call set_hw_mode[11GHE20] if[ath14]
    
    lib_qca/wlctl-qca.c(8639) set_hw_mode :wlctl:set_hw_mode[11GHE20] if[ath14]
    
    lib_qca/wlctl-qca.c(8673) set_ext_nss :wlctl:set_ext_nss[1] [11GHE20] if[ath14]
    
    wlan: [5045:I:ANY] ol_ath_set_config_param: 627: Resetting spectral chainmask to Rx chainmask
    
    wlan: [5054:I:ANY] wlan_set_param: 2560:  HE DCM already set with this value =1 
    wlan: [5063:I:ANY] wlan_set_param: 2541:  HE Extended range already set with this value =1 
    wlan: [5104:I:ANY] wlan_cfg80211_add_virtual_intf: 306: proprietary mode 6 for interface: ath15 : clone params: 0x00000000 
    osif_create_vap:create netdev failed
    wlan: [5104:I:ANY] wlan_cfg80211_add_virtual_intf: 358: Failed to create VAP. osif_create_vap returned NULL!
    command failed: Invalid argument (-22)
    lib_qca/wlctl-qca.c(8627) create_hwmode_string :XXX:create_hwmode_string: Ch:0/0 BW:0 HW:11GHE20
    lib_qca/wlctl-qca.c(2255) wlconf_reload_hw_mode_by_manual :wlctl:call set_hw_mode[11GHE20] if[ath15]
    
    lib_qca/wlctl-qca.c(8639) set_hw_mode :wlctl:set_hw_mode[11GHE20] if[ath15]
    
    lib_qca/wlctl-qca.c(8673) set_ext_nss :wlctl:set_ext_nss[1] [11GHE20] if[ath15]
    
    wlan: [5146:I:ANY] ol_ath_set_config_param: 627: Resetting spectral chainmask to Rx chainmask
    
    wlan: [5155:I:ANY] wlan_set_param: 2560:  HE DCM already set with this value =1 
    wlan: [5164:I:ANY] wlan_set_param: 2541:  HE Extended range already set with this value =1 
    wlan: [5205:I:ANY] wlan_cfg80211_add_virtual_intf: 306: proprietary mode 6 for interface: ath16 : clone params: 0x00000000 
    osif_create_vap:create netdev failed
    wlan: [5205:I:ANY] wlan_cfg80211_add_virtual_intf: 358: Failed to create VAP. osif_create_vap returned NULL!
    command failed: Invalid argument (-22)
    lib_qca/wlctl-qca.c(8627) create_hwmode_string :XXX:create_hwmode_string: Ch:0/0 BW:0 HW:11GHE20
    lib_qca/wlctl-qca.c(2255) wlconf_reload_hw_mode_by_manual :wlctl:call set_hw_mode[11GHE20] if[ath16]
    
    lib_qca/wlctl-qca.c(8639) set_hw_mode :wlctl:set_hw_mode[11GHE20] if[ath16]
    
    lib_qca/wlctl-qca.c(8673) set_ext_nss :wlctl:set_ext_nss[1] [11GHE20] if[ath16]
    
    wlan: [5247:I:ANY] ol_ath_set_config_param: 627: Resetting spectral chainmask to Rx chainmask
    
    wlan: [5256:I:ANY] wlan_set_param: 2560:  HE DCM already set with this value =1 
    wlan: [5265:I:ANY] wlan_set_param: 2541:  HE Extended range already set with this value =1 
    wlan: [5306:I:ANY] wlan_cfg80211_add_virtual_intf: 306: proprietary mode 6 for interface: ath17 : clone params: 0x00000000 
    osif_create_vap:create netdev failed
    wlan: [5306:I:ANY] wlan_cfg80211_add_virtual_intf: 358: Failed to create VAP. osif_create_vap returned NULL!
    command failed: Invalid argument (-22)
    lib_qca/wlctl-qca.c(8627) create_hwmode_string :XXX:create_hwmode_string: Ch:0/0 BW:0 HW:11GHE20
    lib_qca/wlctl-qca.c(2255) wlconf_reload_hw_mode_by_manual :wlctl:call set_hw_mode[11GHE20] if[ath17]
    
    lib_qca/wlctl-qca.c(8639) set_hw_mode :wlctl:set_hw_mode[11GHE20] if[ath17]
    
    lib_qca/wlctl-qca.c(8673) set_ext_nss :wlctl:set_ext_nss[1] [11GHE20] if[ath17]
    
    wlan: [5348:I:ANY] ol_ath_set_config_param: 627: Resetting spectral chainmask to Rx chainmask
    
    wlan: [5357:I:ANY] wlan_set_param: 2560:  HE DCM already set with this value =1 
    wlan: [5366:I:ANY] wlan_set_param: 2541:  HE Extended range already set with this value =1 
    dev.nss.n2hcfg.extra_pbuf_core0 = 9000000
    dev.nss.n2hcfg.n2h_high_water_core0 = 67392
    dev.nss.n2hcfg.n2h_wifi_pool_buf = 40960
    dev.nss.n2hcfg.n2h_queue_limit_core0 = 256
    dev.nss.n2hcfg.n2h_queue_limit_core1 = 256
    lib_qca/wlctl-qca.c(2519) Wireless_Insmod :TRACE:already hostapd
    Failed to find et. Maybe it is a built in module ?
    Failed to find -L. Maybe it is a built in module ?
    Failed to find -L. Maybe it is a built in module ?
    module is already loaded - nls_base
    module is already loaded - usbcore
    Change Mode exec
    automode
    
    ** SW MODE=automode** SW MODE=automodeFailed to find et. Maybe it is a built in module ?
    lib_qca/wiredctl-qca-ipq807x.c(282) SetEtherMdi >> UNDER_CONSTRUCT!!1
    
     SSDK Init OK!
    operation done.
    
    
     SSDK Init OK!
    operation done.
    
    Cannot assign requested address
    Cannot assign requested address
    Cannot assign requested address
    Cannot assign requested address
    Cannot assign requested address
    
    

WSR-2533DHP2 RTL8367Sレジスタメモ

BYPASS_LINE_RATE (0x03F7): 0x0000
	BYPASS_PORTx_CONSTRAINT: all off

CHIP_VER (0x1301): 0x00A0
	AFE_VERSION: 0
	MODEL_ID: 10 (0xA)
	MCID: 0
	VERID: 0

CHIP_DEBUG0 (0x1303): 0x06D6
	SLR_EXT0: No
	SLR_EXT1: Yes
	SLR_OTHER: Yes
	DRI_EXT0: No
	DRI_EXT1: Yes
	DRI_EXT0_RG: No
	DRI_EXT1_RG: Yes
	DRI_OTHER: Yes
	SEL33_EXT0: No
	SEL33_EXT1: Yes
	SEL33_EXT2: Yes

CHIP_DEBUG1 (0x1304): 0x0700
	RG0_DP: 0
	RG0_DN: 0
	RG1_DP: 7
	RG1_DN: 0

CHIP_DEBUG2 (0x13E2): 0x003F
	SLR_EXT2: Yes
	DRI_EXT2: Yes
	DRI_EXT2_RG: Yes
	RG2_DP: 7
	RG2_DN: 0

DIGITAL_INTERFACE_SELECT (0x1305): 0xC0A0
	SELECT_GMII_0: Disable
	SELECT_GMII_1: HSGMII
	SKIP_MII_0_RXER: No
	SKIP_MII_1_RXER: No
	ORG_CRS: Yes
	ORG_COL: Yes

DIGITAL_INTERFACE_SELECT_1 (0x13C3): 0x0001
	SELECT_GMII_2: RGMII
	SKIP_MII_2_RXER: No

EXT0_RGMXF (0x1306): 0x0004
	EXT0_RGMXF_RXDELAY: 4
	EXT0_RGMXF_TXDELAY: No
	EXT0_RGRX_INV: No
	EXT0_RGTX_INV: No

EXT1_RGMXF (0x1307): 0x0004
	EXT1_RGMXF_RXDELAY: 4
	EXT1_RGMXF_TXDELAY: No
	EXT1_RGRX_INV: No
	EXT1_RGTX_INV: No

EXT2_RGMXF (0x13C5): 0x000B
	EXT2_RGMXF_RXDELAY: 3
	EXT2_RGMXF_TXDELAY: Yes
	EXT2_RGRX_INV: No
	EXT2_RGTX_INV: No

DIGITAL_INTERFACE0_FORCE (0x1310): 0x0000
	SPEED: 10M
	DUPLEX: Half
	LINK: Down
	RX_PAUSE: No
	TX_PAUSE: No
	NWAY: No
	MST_MODE: No
	MST_FAULT: No
	MODE: No

DIGITAL_INTERFACE1_FORCE (0x1311): 0x1076
	SPEED: 1000M
	DUPLEX: Full
	LINK: UP
	RX_PAUSE: Yes
	TX_PAUSE: Yes
	NWAY: No
	MST_MODE: No
	MST_FAULT: No
	MODE: Yes (force)

DIGITAL_INTERFACE2_FORCE (0x13C4): 0x1076
	SPEED: 1000M
	DUPLEX: Full
	LINK: UP
	RX_PAUSE: Yes
	TX_PAUSE: Yes
	NWAY: No
	MST_MODE: No
	MST_FAULT: No
	MODE: Yes (force)

EXT_TXC_DLY (0x13F9): 0x0090
	EXT0_RGMII_TX_DELAY: 0
	EXT1_RGMII_TX_DELAY: 2
	EXT2_RGMII_TX_DELAY: 2
	EXT0_GMII_TX_DELAY: 0
	EXT1_GMII_TX_DELAY: 0

SDS_MISC (0x1D11): 0x7F00
	CFG_SDS_MODE_18C: 0
	CFG_INB_SEL: 0
	CFG_MAC8_SEL_SGMII: No
	CFG_SGMII_SPD: 1000M
	CFG_SGMII_LINK: UP
	CFG_SGMII_FDUP: Full
	CFG_MAC8_SEL_HSGMII: Yes
	INB_ARB: 1
	CFG_SGMII_TXFC: Yes
	CFG_SGMII_RXFC: Yes

TL-R600VPN v4

貴重な有線機であり、だいぶ前から気になっていた機種。今回ようやく購入できた。OpenWrtでのサポートのため、弄っていく。
なお、v3はRealtek SoC搭載。

Switch

初期構成

zone WAN1 WAN2 LAN
port
(TL-R600VPN v4)
WAN WAN/LAN LAN
port
(RTL8367S)
port0 port1 port2 port3 port4

MAC

  • LAN: 74:DA:88:xx:xx:CD (tddp, option macaddr (text))
  • WAN1: 74:DA:88:xx:xx:CE
  • WAN2: 74:DA:88:xx:xx:CF
  • WAN3: 74:DA:88:xx:xx:D0
  • WAN4: 74:DA:88:xx:xx:D1

U-Boot

ブート中 Hit Ctrl+B to stop autoboot: が表示されたタイミングで Ctrl + B で中断させU-Bootに入れる。

  • help
    “RTK …” 周辺でだいぶ崩壊している。

    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'
    bootm   - boot application image from memory
    bootp   - boot image via network using BootP/TFTP protocol
    cmp     - memory compare
    coninfo - print console devices and information
    cp      - memory copy
    crc32   - checksum calculation
    echo    - echo args to console
    erase   - erase FLASH memory
    ethreg  - Switch/PHY Reg rd/wr  utility
    exit    - exit script
    flinfo  - print FLASH memory information
    go      - start application at address 'addr'
    help    - print online help
    iminfo  - print header information for application image
    itest   - return true/false on integer compare
    loadb   - load binary file over serial line (kermit mode)
    loady   - load binary file over serial line (ymodem mode)
    loop    - infinite loop on address range
    mct   - simple RAM test
    md      - memory display
    mii     - MII utility commands
    mm      - memory modify (auto-incrementing)
    mtest   - simple RAM test
    mw      - memory write (fill)
    nfs     - boot image via network using NFS protocol
    nm      - memory modify (constant address)
    ping    - send ICMP ECHO_REQUEST to network host
    printenv- print environment variables
    progmac - Set ethernet MAC addresses
    progmac2 - Set ethernet MAC addresses
    protect - enable or disable FLASH write protection
    rarpboot- boot image via network using RARP/TFTP protocol
    RTK asic register commandsreset   - Perform RESET of the CPU
    RTK asic register commandsRTK Switch InitRTK led commandsRTK phy register commandsRTK Port MIB counter commandsRTK SMI debugrun     - 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--LSDK-10.2-00082-4 (Jun 11 2018 - 13:40:45)
    

  • 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),14528k(rootfs),1408k(uImage),64k(mib0),64k(ART)
    bootcmd=bootm 0x9f040000
    bootdelay=1
    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}board956x${bc}-jffs2&&erase 0x9f050000 +0xE30000&&cp.b $fileaddr 0x9f050000 $filesize
    lk=tftp 0x80060000 ${dir}vmlinux${bc}.lzma.uImage&&erase 0x9fe80000 +$filesize&&cp.b $fileaddr 0x9fe80000 $filesize
    stdin=serial
    stdout=serial
    stderr=serial
    ethact=eth0
    
    Environment size: 688/65532 bytes
    

  • help rtk_asic_reg
    ath> help rtk_asic_reg
    rtk_asic_reg read   <addr>  <reg>         - read asic register <reg> 
    rtk_asic_reg write  <addr>  <reg> <data>  - write asic register <reg>  with value <data> 
    

  • help rtk_port_stat
    ath> help rtk_port_stat
    rtk_port_stat show <port>       - show MIB counter of port <port> 
    rtk_port_stat reset <port>      - reset MIB counter of port <port> 
    rtk_port_stat reset all        - reset MIB counter of all ports
    

  • help rtk_phy_reg
    ath> help rtk_phy_reg
    rtk_phy_reg read   <addr>  <reg>         - read phy <addr>  register <reg> 
    rtk_phy_reg write  <addr>  <reg>  <data>  - write phy <addr>  register <reg>  with value <data> 
    


    例:

    ath> rtk_phy_reg read 0 0
    AsicPHYReg READ 0 : phy 0 reg 0x0 value 0x1140
    

  • help rtk_smi_debug
    ath> help rtk_smi_debug
    rtk_smi_debug  { off | on }   - Debug info OFF/ON
    

  • help rtk_init
    ath> help rtk_init
    rtk_init  { off | on }   - Debug info OFF/ON
    

  • help rtk_led
    ath> help rtk_led
    rtk_led <pin>  <value>         - ouput <value>  to <pin>
    

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

  • md.l 0x18070000 1
    ath> md.l 0x18070000 1
    18070000: 0003c041    ...A
    

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

Kernel

パスワードを要求されるため、コンソールにログインできない。-> 雑に弄ってたら入れた。

  • uname -a
    root@TL-R600VPN:~# uname -a
    Linux TL-R600VPN 3.3.8 #1 Thu Jan 31 17:15:52 CST 2019 mips GNU/Linux
    

  • cat /proc/version
    root@TL-R600VPN:~# cat /proc/version
    Linux version 3.3.8 (*****@*****) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2013.05 r1824) ) #1 Thu Jan 31 17:15:52 CST 2019
    

  • cat /proc/cpuinfo
    root@TL-R600VPN:~# cat /proc/cpuinfo
    system type             : Qualcomm Atheros QCA956X rev 0
    machine                 : TP-LINK TL-R600VPN-V4
    processor               : 0
    cpu model               : MIPS 74Kc V5.0
    BogoMIPS                : 373.55
    wait instruction        : yes
    microsecond timers      : yes
    tlb_entries             : 32
    extra interrupt vector  : yes
    hardware watchpoint     : yes, count: 4, address/irw mask: [0x0000, 0x0a50, 0x01a8, 0x0a40]
    ASEs implemented        : mips16 dsp
    shadow register sets    : 1
    kscratch registers      : 0
    core                    : 0
    VCED exceptions         : not available
    VCEI exceptions         : not available
    

  • cat /proc/meminfo
    root@TL-R600VPN:~# cat /proc/meminfo
    MemTotal:         126480 kB
    MemFree:           83548 kB
    Buffers:            4500 kB
    Cached:            16072 kB
    SwapCached:            0 kB
    Active:            15916 kB
    Inactive:           8664 kB
    Active(anon):       4496 kB
    Inactive(anon):     1468 kB
    Active(file):      11420 kB
    Inactive(file):     7196 kB
    Unevictable:           0 kB
    Mlocked:               0 kB
    SwapTotal:             0 kB
    SwapFree:              0 kB
    Dirty:                 0 kB
    Writeback:             0 kB
    AnonPages:          4028 kB
    Mapped:             3700 kB
    Shmem:              1956 kB
    Slab:              10736 kB
    SReclaimable:       2372 kB
    SUnreclaim:         8364 kB
    KernelStack:        1024 kB
    PageTables:          464 kB
    NFS_Unstable:          0 kB
    Bounce:                0 kB
    WritebackTmp:          0 kB
    CommitLimit:       63240 kB
    Committed_AS:      18144 kB
    VmallocTotal:    1048372 kB
    VmallocUsed:        1708 kB
    VmallocChunk:    1016964 kB
    

  • cat /proc/mtd
    root@TL-R600VPN:~# cat /proc/mtd
    dev:    size   erasesize  name
    mtd0: 00040000 00010000 "bootloader"
    mtd1: 00150000 00010000 "kernel"
    mtd2: 00ba0000 00010000 "rootfs"
    mtd3: 00010000 00010000 "device-info"
    mtd4: 00010000 00010000 "support-list"
    mtd5: 00010000 00010000 "firmware-info"
    mtd6: 00010000 00010000 "tddp"
    mtd7: 00020000 00010000 "log"
    mtd8: 00200000 00010000 "rootfs_data"
    mtd9: 01000000 00010000 "firmware"
    

  • cat /sys/kernel/debug/gpio
    root@TL-R600VPN:~# cat /sys/kernel/debug/gpio
    GPIOs 0-22, ath79:
     gpio-1   (SYS_LED             ) out hi
     gpio-5   (LED_ENABLE          ) out lo
     gpio-10  (reset               ) in  hi
    

  • mount
    root@TL-R600VPN:~# mount
    rootfs on / type rootfs (rw)
    /dev/root on /rom type squashfs (ro,relatime)
    proc on /proc type proc (rw,noatime)
    sysfs on /sys type sysfs (rw,noatime)
    tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
    root on /tmp/root type tmpfs (rw,noatime,mode=755)
    overlayfs:/tmp/root on / type overlayfs (rw,noatime,lowerdir=/,upperdir=/tmp/root)
    /dev/mtdblock8 on /tmp/userconfig type jffs2 (rw,relatime)
    tmpfs on /dev type tmpfs (rw,relatime,size=512k,mode=755)
    devpts on /dev/pts type devpts (rw,relatime,mode=600)
    debugfs on /sys/kernel/debug type debugfs (rw,noatime)
    

  • swconfig dev switch0 reg get 0x1310/0x1311/0x13c4
    root@TL-R600VPN:~# swconfig dev switch0 reg get 0x1310
    reg:0x1310   value:[0x0]
    
    root@TL-R600VPN:~# swconfig dev switch0 reg get 0x1311
    reg:0x1311   value:[0x1076]
    
    root@TL-R600VPN:~# swconfig dev switch0 reg get 0x13c4
    reg:0x13c4   value:[0x0]
    

  • bootlog
    U-Boot 1.1.4--LSDK-10.2-00082-4 (Jun 11 2018 - 13:40:45)
    
    board956x - Dragonfly 1.0DRAM:  
    sri
    ath_ddr_initial_config(289): (ddr2 init)
    ath_sys_frequency: ref_clk 25000000
    ath_sys_frequency: cpu 750 ddr 400 ahb 250
    Tap values = (0x1c, 0x1c, 0x1c, 0x1c)
    128 MB
    Top of RAM usable for U-Boot at: 88000000
    Reserving 219k for U-Boot at: 87fc8000
    Reserving 192k for malloc() at: 87f98000
    Reserving 44 Bytes for Board Info at: 87f97fd4
    Reserving 36 Bytes for Global Data at: 87f97fb0
    Reserving 128k for boot params() at: 87f77fb0
    Stack Pointer at: 87f77f98
    Now running in RAM - U-Boot at: 87fc8000
    Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18
    flash size 16MB, sector count = 256
    Flash: 16 MB
    ath_gmac_phy_mdio_init: reset mask:c02200 
    rtk_switch_init() BEGIN...
    Switch probe : the chip is 0
    rtk_port_macForceLinkExt_set(EXT_PORT0, MODE_EXT_SGMII, &mac_ability) , ret = 0
    rtl8367c_setAsicReg(0x6601, 0x2) ret = 0
    rtl8367c_setAsicReg(0x6602, 0x7180) ret = 0
    rtl8367c_setAsicReg(0x6600, 0xc0) ret = 0
    rtk_port_phyEnableAll_set(ENABLED) ret = 0
    ## PHY_REG Read - PHY 0 CONTROL_REG 0x00001140 STATUS_REG 0x000079c9
    ## PHY_REG Read - PHY 1 CONTROL_REG 0x00001140 STATUS_REG 0x000079c9
    ## PHY_REG Read - PHY 2 CONTROL_REG 0x00001140 STATUS_REG 0x000079c9
    ## PHY_REG Read - PHY 3 CONTROL_REG 0x00001140 STATUS_REG 0x000079c9
    ## PHY_REG Read - PHY 4 CONTROL_REG 0x00001140 STATUS_REG 0x000079c9
    rtk_led_enable_set(LED_GROUP_0, &portmask) ret 0
    rtk_led_groupConfig_set(LED_GROUP_0, LED_CONFIG_LINK_ACT) ret 0
    rtk_led_groupAbility_set(LED_GROUP_0, link_1000m|link_100m|link_10m) ret 0
    rtk_switch_init() DONE.
    RTL8367S led blinking : TBD.
    rtk_port_phyEnableAll_set(DISABLED) ret = 0
    ## PHY_REG Read - PHY 0 CONTROL_REG 0x00001940 STATUS_REG 0x000079c9
    ## PHY_REG Read - PHY 1 CONTROL_REG 0x00001940 STATUS_REG 0x000079c9
    ## PHY_REG Read - PHY 2 CONTROL_REG 0x00001940 STATUS_REG 0x000079c9
    ## PHY_REG Read - PHY 3 CONTROL_REG 0x00001940 STATUS_REG 0x000079c9
    ## PHY_REG Read - PHY 4 CONTROL_REG 0x00001940 STATUS_REG 0x000079c9
    *** Warning - bad CRC, using default environment
    
    *** Warning *** : PCIe WLAN Module not found !!!
    In:    serial
    Out:   serial
    Err:   serial
    Setting 0x181162c0 to 0x4b962100
    Hit Ctrl+B to stop autoboot:  0 
    ## Booting image at 9f040000 ...
       Image Name:   MIPS OpenWrt Linux-3.3.8
       Created:      2019-02-27   5:23:18 UTC
       Image Type:   MIPS Linux Multi-File Image (lzma compressed)
       Data Size:    1041215 Bytes = 1016.8 kB
       Load Address: 80060000
       Entry Point:  80060000
       Contents:
       Image 0:  1041207 Bytes = 1016.8 kB
       Verifying Checksum at 0x9f040040 ...OK
       Uncompressing Multi-File Image ... OK
    No initrd
    ## Transferring control to Linux (at address 80060000) ...
    ## Giving linux memsize in bytes, 134217728
    
    Starting kernel ...
    
    [    0.000000] Linux version 3.3.8 (vpshx@vpshx) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2013.05 r1824) ) #1 Thu Jan 31 17:15:52 CST 2019
    [    0.000000] bootconsole [early0] enabled
    [    0.000000] CPU revision is: 00019750 (MIPS 74Kc)
    [    0.000000] SoC: Qualcomm Atheros QCA956X rev 0
    [    0.000000] Clocks: CPU:750.000MHz, DDR:400.000MHz, AHB:250.000MHz, Ref:25.000MHz
    [    0.000000] Determined physical RAM map:
    [    0.000000]  memory: 08000000 @ 00000000 (usable)
    [    0.000000] @@----debug cmdline=[  board=TL-R600VPNV4 console=ttyS0,115200 root=31:02 init=/sbin/init mtdparts=spi0.0:256k(u-boot)ro,3072k(kernel),12288k(rootfs) ]
    [    0.000000] User-defined physical RAM map:
    [    0.000000]  memory: 08000000 @ 00000000 (usable)
    [    0.000000] Initrd not found or empty - disabling initrd
    [    0.000000] Zone PFN ranges:
    [    0.000000]   Normal   0x00000000 -> 0x00008000
    [    0.000000] Movable zone start PFN for each node
    [    0.000000] Early memory PFN ranges
    [    0.000000]     0: 0x00000000 -> 0x00008000
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
    [    0.000000] Kernel command line:  console=ttyS0,115200 root=31:02 rootfstype=jffs2 init=/sbin/init mtdparts=ath-nor0:256k(u-boot),64k(u-boot-env),14528k(rootfs),1408k(uImage),64k(mib0),64k(ART) mem=128M rootfstype=squashfs,jffs2 noinitrd
    [    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
    [    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
    [    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
    [    0.000000] Writing ErrCtl register=00000000
    [    0.000000] Readback ErrCtl register=00000000
    [    0.000000] Memory: 126296k/131072k available (2243k kernel code, 4776k reserved, 588k data, 184k init, 0k highmem)
    [    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] NR_IRQS:83
    [    0.000000] Calibrating delay loop... 373.55 BogoMIPS (lpj=1867776)
    [    0.060000] pid_max: default: 32768 minimum: 301
    [    0.060000] Security Framework initialized
    [    0.070000] Mount-cache hash table entries: 512
    [    0.070000] Initialized recycle list for cpu 0.
    [    0.080000] NET: Registered protocol family 16
    [    0.080000] gpiochip_add: registered GPIOs 0 to 22 on device: ath79
    [    0.090000] MIPS: machine is TP-LINK TL-R600VPN-V4
    [    0.100000] ar724x-pci ar724x-pci.0: PCIe link is down
    [    0.100000] registering PCI controller with io_map_base unset
    [    0.110000]  @@@@@@@@ athrs_sgmii_res_cal-1113, begin! 
    [    0.120000]  @@@@@@@@ athrs_sgmii_res_cal-1214, pll regs 0x28=0x000c1240, 0x30=0xa6000000 
    [    0.120000]  @@@@@@@@ athrs_sgmii_res_cal-1218, done  i = 62939! 
    [    0.130000]  @@@@@@@@ ath79_init_eth_pdata-832, ath79_soc = 16 
    [    0.130000]  @@@@@@@@ ath79_setup_phy_if_mode-602, setup eth0  phy_if_mode!  ! 
    [    0.140000]  @@@@@@@@ ath79_setup_phy_if_mode-668, mii regs 0x0=0x0003c040, 0x14=0x0000001f, 0x18=0x18038517, 0x1c=0x00000140, 0x34=0x000000a2 !
    [    0.350000] bio: create slab  at 0
    [    0.360000] PCI host bridge to bus 0000:00
    [    0.360000] pci_bus 0000:00: root bus resource [mem 0x12000000-0x13ffffff]
    [    0.370000] pci_bus 0000:00: root bus resource [io  0x0001]
    [    0.370000] Switching to clocksource MIPS
    [    0.380000] NET: Registered protocol family 2
    [    0.380000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.390000] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    [    0.400000] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.400000] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.410000] TCP reno registered
    [    0.410000] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.420000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.420000] NET: Registered protocol family 1
    [    0.440000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.450000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
    [    0.460000] msgmni has been set to 246
    [    0.460000] io scheduler noop registered
    [    0.470000] io scheduler deadline registered (default)
    [    0.470000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
    [    0.500000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
    [    0.510000] console [ttyS0] enabled, bootconsole disabled
    [    0.510000] console [ttyS0] enabled, bootconsole disabled
    [    0.520000] m25p80 spi0.0: found w25q128, expected m25p80
    [    0.530000] m25p80 spi0.0: w25q128 (16384 Kbytes)
    [    0.530000] @@-----debug r600vpn_v4--tplink flash parse--------
    [    0.540000] 10 tp-link partitions found on MTD device spi0.0
    [    0.540000] Creating 10 MTD partitions on "spi0.0":
    [    0.550000] 0x000000000000-0x000000040000 : "bootloader"
    [    0.550000] 0x000000040000-0x000000190000 : "kernel"
    [    0.560000] 0x000000190000-0x000000d30000 : "rootfs"
    [    0.570000] mtd: partition "rootfs" set to be root filesystem
    [    0.570000] 0x000000d30000-0x000000d40000 : "device-info"
    [    0.580000] 0x000000d40000-0x000000d50000 : "support-list"
    [    0.590000] 0x000000d50000-0x000000d60000 : "firmware-info"
    [    0.600000] 0x000000d60000-0x000000d70000 : "tddp"
    [    0.600000] 0x000000d70000-0x000000d90000 : "log"
    [    0.610000] 0x000000e00000-0x000001000000 : "rootfs_data"
    [    0.620000] 0x000000000000-0x000001000000 : "firmware"
    [    0.620000] nf_conntrack version 0.5.0 (1973 buckets, 7892 max)
    [    0.630000] ip_tables: (C) 2000-2006 Netfilter Core Team
    [    0.640000] TCP cubic registered
    [    0.640000] NET: Registered protocol family 17
    [    0.640000] 8021q: 802.1Q VLAN Support v1.8
    [    0.650000] ### of_selftest(): No testcase data in device tree; not running tests
    [    0.660000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
    [    0.670000] Freeing unused kernel memory: 184k freed
    procd: Console is alive
    [    2.500000] Button Hotplug driver version 0.4.1
    [    2.510000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
    procd: - preinit -
    3.57 0.07 preinit_main  define_default_set_state
    3.67 0.07 preinit_main  do_ar71xx
    3.71 0.07 preinit_main  preinit_set_mac_address
    3.73 0.07 preinit_main  set_preinit_iface
    3.75 0.07 preinit_main  preinit_ip
    3.76 0.07 preinit_main  pi_indicate_preinit
    3.78 0.07 preinit_main  indicate_regular_preinit
    3.79 0.07 preinit_main  initramfs_test
    3.80 0.07 preinit_main  do_mount_root
    ----mtdblock:/dev/mtdblock8----
    [    3.990000] JFFS2 notice: (270) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
    =========================USERCONFIG INITIAL======================
    Copy userconfig to memory
    cp: can't stat '/etc/uhttpd.crt': No such file or directory
    cp: can't stat '/etc/uhttpd.key': No such file or directory
    cp: can't stat '/tmp/userconfig/etc/uhttpd.crt': No such file or directory
    cp: can't stat '/tmp/userconfig/etc/uhttpd.key': No such file or directory
    =========================USERCONFIG DONE======================
    [setDftMac,2593]:  readMac[74:DA:88:86:BD:CD]
    cp: can't stat '/etc/uhttpd.crt': No such file or directory
    cp: can't stat '/etc/uhttpd.key': No such file or directory
    Saved
    cp: can't stat '/etc/uhttpd.crt': No such file or directory
    cp: can't stat '/etc/uhttpd.key': No such file or directory
    Saved
    8.34 0.07 preinit_main  do_load_ath10k_board_bin
    8.37 0.07 preinit_main  run_init
    procd: - early -
    procd: - ubus -
    procd: - init -
    Please press Enter to activate this console.
    cd /tmp && dkmgt_firmware_make -R -f /dev/mtdblock9 -p 0x00030000 -n firmware-info -o firmware-info.json
    {
            "software-version":     "4.0.3 Build 20190227 Rel.48206",
            "firmware-id":  "123AAAABBBBAAAABBBBAAAABBBBAAAABBBB321"
    }######: Init Firmware version *SUCCESS* !!
    ######: Init model version *SUCCESS* !!
    [   10.290000] liblogger: module license 'unspecified' taints kernel.
    [   10.300000] Disabling lock debugging due to kernel taint
    [   10.350000] alg: No test for stdrng (krng)
    [   10.390000] ag71xx_mdio: probed
    [   10.410000] eth0: Atheros AG71xx at 0xb9000000, irq 4
    [   10.960000] @@@@@@@@@@@@@@@@@@@@rtl8367s_config_init
    [   10.970000] @@@@@@@@@@@@@@@@@@@@rtl8367s_config_init: kzalloc pdev->priv = 86d10000
    [   10.970000] @@@@@@@@@@@@@@@@@@@@rtl8367s led settings
    [   11.000000] rgmii delay set:port=17, txDelay=1, rxDelay=7, reg=0x13c5, regData=0xf 
    [   11.010000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.0:00 [uid=001cc942, driver=Realtek RTL8367S]
    [   11.130000] NET: Registered protocol family 10
    [   11.150000] NET: Registered protocol family 8
    [   11.150000] NET: Registered protocol family 20
    [   11.160000] Initializing XFRM netlink socket
    [   11.170000] NET: Registered protocol family 15
    [   11.220000] L2TP core driver, V2.0
    [   11.220000] L2TP netlink interface
    [   11.240000] IPv6 over IPv4 tunneling driver
    [   11.240000] GRE over IPv4 demultiplexor driver
    [   11.270000] GRE over IPv4 tunneling driver
    [   11.290000] bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
    [   11.330000] PPP generic driver version 2.4.2
    [   11.340000] ip6_tables: (C) 2000-2006 Netfilter Core Team
    [   11.390000] Netfilter messages via NETLINK v0.30.
    [   11.410000] ip_set: protocol 6
    [   11.500000]  ipset kmod ipauthlimit loading 
    [   11.550000] 
    [   11.550000]  module multinetdev loding 
    [   11.560000]  module xt_tplimit loding 
    [   11.560000]     xt_tplimit create cell_memcache OK! 
    [   11.570000]     xt_tplimit create cell_mempool OK, capacity 8192! 
    [   11.580000]  kmodule authlimit loding 
    [   11.590000]  add cdev authlimit ok, MAJOR 254, MINOR 0 
    [   11.590000]     create cell_memcache OK! 
    [   11.600000]     create cell_mempool OK, capacity 8192! 
    [   11.600000]     create authlimit hash table OK, spec 256  @0xffffffff87b29000
    [   11.620000]  netfilter module authlimit loding 
    [   11.630000] balance route match init success!
    [   11.680000] ctnetlink v0.93: registering with nfnetlink.
    [   11.710000] PPP MPPE Compression module registered
    [   11.720000] NET: Registered protocol family 24
    [   11.730000] PPTP driver version 0.8.5
    [   11.750000] xt_connlimit: enable /proc/connlimit_stat for per-ip statistics 256.
    [   11.790000] xt_time: kernel timezone is -0000
    [   11.800000] PPPoL2TP kernel driver, V2.0
    tddpd_start
    [tddp_flash_to_config,2413]:  read tddp flash valid size:668.
    
    tddpd start success
    Check signature OK, now will enable all ports
    [   17.620000] ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   18.860000] ADDRCONF(NETDEV_UP): eth0.1: link is not ready
    [   18.860000] device eth0.1 entered promiscuous mode
    [   18.870000] device eth0 entered promiscuous mode
    [   19.130000] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [   19.210000] br-lan: port 1(eth0.1) entered forwarding state
    [   19.210000] br-lan: port 1(eth0.1) entered forwarding state
    [   19.220000] ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
    GMT+08:00 
    [   21.210000] br-lan: port 1(eth0.1) entered forwarding state
    [   31.640000] iptvc v1.0.0 loading
    [   39.410000] arp_garp is loaded.
    [   39.410000] narr=3
    stop sfe first ... 
    [   51.070000] fast-classifier: starting up
    [   51.080000] fast-classifier: registered
    Config SFE ipstat
    [   51.110000] Update Subnet-> ip: C0A80000, mask: FFFFFF00
    [   55.040000] init special_route module finish, nf_conntrack_max=[20000].
    [   55.110000] special route target init success!
    generate ipsec_check_dns time:t2 - t1 is [      0.0035719871520996      ] 
                    ipsec_reload.lua time=[ 0.0209059715271 ] 
    session_limits_enabled_rule_num = 0,rmmod xt_tpconnlimit
    {
            "software-version":     "4.0.3 Build 20190227 Rel.48206",
            "firmware-id":  "123AAAABBBBAAAABBBBAAAABBBBAAAABBBB321"
    }macAddr is 74:DA:88:86:BD:CD
    [   81.470000] eth0.1 is off
    [   81.470000] eth0.10 is off
    [   81.470000] eth0.20 is off
    [   81.490000] br-lan: port 1(eth0.1) entered disabled state
    ssh_port_switch is off
    procd: - init complete -
    [   91.510000] eth0.10 is on
    [   91.540000] ADDRCONF(NETDEV_CHANGE): eth0.10: link becomes ready
    
    

WHR-300HP2でI2Cを使ったメモ

最近急に思い立ち、I2Cを用いてLED等を制御してみたくなった。
その際、I2Cをどうやって使うか、という点で、WHR-300HP2を利用してみたメモ。

WHR-300HP2

基板のフロント寄りAOSSボタン付近にJTAG用らしきピンが並んでいる(2行7列)ため、ここに2.54mmピッチのピンヘッダを足を外側に曲げたうえでハンダ付け。
IMG_20171224_140819.jpg

IMG_20171226_163853.jpg

基板表面をフロントLEDが右、RJ-45ポートを左、UARTを上として見た場合
(I2Cに必要なピン数のみ調べた)

GND GND 3.3V
GPIO
#41
GPIO
#40

3.3VはUARTの3.3Vと同回路。

#40, #41 の各ピンは JTAG or EPHY LED or GPIO でMUXできるピンであり、OpenWrtではデフォルトでEPHY LEDとして構成されているため、WHR-300HP2のDTSを書き換えてGPIOに向ける。

diff --git a/target/linux/ramips/dts/mt7620a_buffalo_whr-300hp2.dts b/target/linux/ramips/dts/mt7620a_buffalo_whr-300hp2.dts
index 8bdf87501e..ef1f5af6a4 100644
--- a/target/linux/ramips/dts/mt7620a_buffalo_whr-300hp2.dts
+++ b/target/linux/ramips/dts/mt7620a_buffalo_whr-300hp2.dts
@@ -133,15 +133,15 @@
 &pinctrl {
        state_default: pinctrl0 {
                gpio {
-                       ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd";
+                       ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd", "ephy";
                        ralink,function = "gpio";
                };
        };
 };

 ðernet {
-       pinctrl-names = "default";
-       pinctrl-0 = <&ephy_pins>;
+/*     pinctrl-names = "default";
+       pinctrl-0 = <&ephy_pins>;*/
        mtd-mac-address = <&factory 0x4>;
        mediatek,portmap = "llllw";
 };

書き換えたDTSを用いてビルドし実機へインストール。
ビルド時に使用したconfigは以下の通り。I2C関連のドライバとツールを含める。無線は要らないから大体落とした。

CONFIG_TARGET_ramips=y
CONFIG_TARGET_ramips_mt7620=y
CONFIG_TARGET_ramips_mt7620_DEVICE_buffalo_whr-300hp2=y
# CONFIG_DRIVER_11N_SUPPORT is not set
# CONFIG_DRIVER_11W_SUPPORT is not set
CONFIG_KERNEL_BUILD_DOMAIN="Taiha.Net"
CONFIG_KERNEL_BUILD_USER="musashino205"
CONFIG_LIBCURL_COOKIES=y
CONFIG_LIBCURL_FILE=y
CONFIG_LIBCURL_FTP=y
CONFIG_LIBCURL_HTTP=y
CONFIG_LIBCURL_MBEDTLS=y
CONFIG_LIBCURL_NO_SMB="!"
CONFIG_LIBCURL_PROXY=y
CONFIG_LUCI_LANG_ja=y
CONFIG_OPENSSL_ENGINE=y
CONFIG_OPENSSL_PREFER_CHACHA_OVER_GCM=y
CONFIG_OPENSSL_WITH_ASM=y
CONFIG_OPENSSL_WITH_CHACHA_POLY1305=y
CONFIG_OPENSSL_WITH_CMS=y
CONFIG_OPENSSL_WITH_DEPRECATED=y
CONFIG_OPENSSL_WITH_ERROR_MESSAGES=y
CONFIG_OPENSSL_WITH_PSK=y
CONFIG_OPENSSL_WITH_SRP=y
CONFIG_OPENSSL_WITH_TLS13=y
CONFIG_PACKAGE_ca-bundle=y
CONFIG_PACKAGE_ca-certificates=y
CONFIG_PACKAGE_cgi-io=y
CONFIG_PACKAGE_curl=y
# CONFIG_PACKAGE_hostapd-common is not set
CONFIG_PACKAGE_i2c-tools=y
# CONFIG_PACKAGE_iw is not set
# CONFIG_PACKAGE_iwinfo is not set
# CONFIG_PACKAGE_iw is not set                                                                                                                                                                                                                                        [0/21126]
# CONFIG_PACKAGE_iwinfo is not set
# CONFIG_PACKAGE_kmod-cfg80211 is not set
CONFIG_PACKAGE_kmod-i2c-algo-bit=y
CONFIG_PACKAGE_kmod-i2c-core=y
CONFIG_PACKAGE_kmod-i2c-gpio=y
CONFIG_PACKAGE_kmod-i2c-gpio-custom=y
CONFIG_PACKAGE_kmod-ledtrig-heartbeat=y
CONFIG_PACKAGE_kmod-ledtrig-timer=y
# CONFIG_PACKAGE_kmod-mac80211 is not set
# CONFIG_PACKAGE_kmod-rt2800-soc is not set
# CONFIG_PACKAGE_kmod-rt2x00-lib is not set
CONFIG_PACKAGE_libcurl=y
CONFIG_PACKAGE_libi2c=y
CONFIG_PACKAGE_libiwinfo-lua=y
CONFIG_PACKAGE_liblua=y
CONFIG_PACKAGE_liblucihttp=y
CONFIG_PACKAGE_liblucihttp-lua=y
CONFIG_PACKAGE_libmbedtls=y
CONFIG_PACKAGE_libopenssl=y
CONFIG_PACKAGE_libpcre=y
CONFIG_PACKAGE_librt=y
CONFIG_PACKAGE_libubus-lua=y
CONFIG_PACKAGE_lua=y
CONFIG_PACKAGE_luci=y
CONFIG_PACKAGE_luci-app-commands=y
CONFIG_PACKAGE_luci-app-firewall=y
CONFIG_PACKAGE_luci-app-opkg=y
CONFIG_PACKAGE_luci-base=y
CONFIG_PACKAGE_luci-compat=y
CONFIG_PACKAGE_luci-i18n-base-ja=y
CONFIG_PACKAGE_luci-i18n-commands-ja=y
CONFIG_PACKAGE_luci-i18n-firewall-ja=y
CONFIG_PACKAGE_luci-i18n-opkg-ja=y
CONFIG_PACKAGE_luci-lib-ip=y
CONFIG_PACKAGE_luci-lib-jsonc=y
CONFIG_PACKAGE_luci-lib-nixio=y
CONFIG_PACKAGE_luci-mod-admin-full=y
CONFIG_PACKAGE_luci-mod-network=y
CONFIG_PACKAGE_luci-mod-status=y
CONFIG_PACKAGE_luci-mod-system=y
CONFIG_PACKAGE_luci-proto-ipv6=y
CONFIG_PACKAGE_luci-proto-ppp=y
CONFIG_PACKAGE_luci-theme-bootstrap=y
CONFIG_PACKAGE_rpcd=y
CONFIG_PACKAGE_rpcd-mod-file=y
CONFIG_PACKAGE_rpcd-mod-iwinfo=y
CONFIG_PACKAGE_rpcd-mod-luci=y
CONFIG_PACKAGE_rpcd-mod-rrdns=y
CONFIG_PACKAGE_uhttpd=y
CONFIG_PACKAGE_wget=y
# CONFIG_PACKAGE_wireless-regdb is not set
# CONFIG_PACKAGE_wpad-basic is not set
CONFIG_PACKAGE_zlib=y

I2Cエキスパンダ周辺回路

以下の図の通り構成。改善点あればご指摘ください。

WHR-300HP2-MCP23017.png

MCP23017のスレーブアドレスを 0x20 へ設定するため、A0, A1, A2はブリッジしてGNDに落とす。
最初RESETの接続を忘れ、i2cdetect の際検出されないタイミングがあるなど不安定な状態になった。

DSC_0700.JPG

コンソール

insmod i2c-gpio-custom bus0=0,40,41
指定したGPIOをI2Cとして登録する
ログ:

root@OpenWrt:/tmp# insmod i2c-gpio-custom bus0=0,40,41
[  130.582520] Custom GPIO-based I2C driver version 0.1.1
[  130.593327] i2c-gpio i2c-gpio.0: using pins 40 (SDA) and 41 (SCL)
      
i2cdetect -y 0
指定したI2Cにぶら下がっているスレーブを検出する

root@OpenWrt:/tmp# i2cdetect -y 0
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: 20 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- --
      
i2cset -y 0 0x20 0x0 0
MCP23017のGPAxのdirectionを全てoutに設定
i2cset -y 0 0x20 0x12 <設定値>
MCP23017のGPAxのうち、HIGHに設定するピンを設定する。ピン番号 (GPA0, GPA1, …) の番号がビット位置に対応する。

例: GPA1をHIGHにする

i2cset -y 0 0x20 0x12 2
      

例: GPA1, GPA2をHIGHにする

i2cset -y 0 0x20 0x12 3
      

その他

雑スクリプト(GPA0からGPA3まで使用している場合)

#!/bin/sh

for i in $(seq 0 100); do
	for j in $(seq 0 7); do
		i2cset -y 0 0x20 0x12 $j
		sleep 1
	done
done

i2cset -y 0 0x20 0x12 0x00

以上。

アズールレーン アカウント復旧メモ

たまには非技術的メモ。
アズールレーンでトラブルがあり、ログインできなくなったのを復旧したメモ。

環境

端末: LG Nexus 5 32GBモデル(SIMフリー版)
OS: Android 6.0.1(パッチレベル: 2016/10/5)

発端

昨日(2019/11/15)未明、Google Play Storeからアズールレーンを更新後アプリを起動した際、データ更新中にNexus 5の不具合?のような不自然な挙動により何度か無線LANが突然切断され、アプリのデータ更新が2回ほど失敗するトラブルが起きた。
この後、更新自体は完了しログイン画面へ遷移したが、サーバ選択後タップしても、いくら待ってもロード中のまま進まなくなった。

症状

  • サーバ選択後タップしても、通常では1回のタップでサーバへログインするはずが1回目では行われない。ただし1回目のタップ時にわずかに引っかかるような挙動があり、何らかの処理が発生していると思われる。
  • 上記の後2回目のタップにより「LOADING…」が表示され、サーバへのログインが試行されている(と思われる)状態になる。しかし、いくら待っても通常のホーム画面へ遷移せず「LOADING…」が表示されたままとなる。

試したこと

原則として、アプリは絶対的に問題が無い(と思われる)状況下にならない限りアンインストールしない。

  • “症状” が発生している状態から一旦アプリを終了し再度立ち上げても、依然として同じ状態のまま。
  • アプリを一旦アンインストールしてインストールし直そうかと思ったが、引き継ぎコードを発行していないため止めた。
  • 一度 “症状” が起きたサーバではなく、他のサーバではどうかと思ったが、既にプレイ履歴があるサーバではいずれも同じ “症状” が発生し、ログインできなかった。
  • プレイ履歴の無いサーバでは、ログイン画面から遷移してチュートリアルが開始されるが、チュートリアル中に引き継ぎコード発行画面へ行くことはできず、またチュートリアルを進めていくと、その中の最初の編成画面で艦の配置をタップした時点で「LOADING…」のまま進行不能となった。
  • 手は尽くしたが引き継ぎコードの発行へたどり着けないと判断し、サポート窓口に問い合わせて引き継ぎコードを発行してもらうことにした。

問い合わせ

上記の症状も、もしアプリ側で対応できることがある場合に役に立つことがあるかなと、できるだけ詳細に問い合わせメールに記載した。

前提

本人確認のため、公式FAQの “アカウントについて” -> “引継ぎコードを保存していない状態でアンインストールしてしまった” にある通りの情報が必要となる。

  • サーバー名
  • プレイヤー名
  • ユーザーUID
  • ユーザーID
  • 引き継ぎコード発行時のスクリーンショット
  • 指揮官レベル
  • 所持キャラクターとレベル
  • 選択した初期キャラクター
  • ゲームを開始した日時
  • 最後のログイン時間
  • ゲーム内で設定した生年月日
  • ダイヤ購入記録

実際に送った内容

実際の情報はメールに書いているが、記事ではおおよそ特定できてしまう内容は記号に置き換えて伏せる。備考欄は問い合わせメールには記載していない

項目 内容 備考
サーバー名 ○○ 複数のサーバでプレイ履歴がある場合は、記録または記憶が明確に残っているサーバが良い。
プレイヤー名 ○○○○ 前述のサーバ内でプレイ中のプレイヤー名
ユーザーUID ○○○○○○○○ アプリをアンインストールしていなければ、ログイン時のサーバ名を選ぶ画面の右下辺りに書かれている “UID” が該当。
下のスクリーンショットでオレンジ枠で囲っている部分
Screenshot_20191116-151934.png
ユーザーID (未確認) ゲーム内のプロフィールで、プレイヤー名の下に記載されている “UID” が恐らく該当。
ログインすることはできないし、問い合わせメールを送った時点では記憶にも無いし記録も見つからず確認できていないので、本当に “(未確認)” と書いた。問い合わせメールを送ったしばらく後に、何年か前のスクリーンショットにプロフィール画面のものが残っているのを見つけ、特定した。
引き継ぎコード発行時のスクリーンショット 引き継ぎコードを発行していなかったため、この項目は無し。
指揮官レベル 不明、○○以上 あるレベル(○○)以上であることは確かだったが、明確な数字を記憶していなかったのでとりあえずこの通り書いた。
所持キャラクターとレベル ○○改 レベルxxx前後、△△改 レベルxxxなど とりあえず記憶が残っている2人を書いた。片方(○○)は明確なレベルが不明だったが、xxx辺りであることは確かだった。
選択した初期キャラクター ○○ 明確に記憶に残っていたため、それを記述。
ゲームを開始した日時 ○○○○年xx月△△日 ◇◇:□□頃 端末内に偶然初期キャラクターを選ぶ際のスクリーンショットが残っており、それの記録日時から日付とおおよその時刻を書いた。
最後のログイン時間 2019年11月14日 時刻不明 問題が起きた前日にはログインしていた。ただし時刻の記憶は無かったため、不明と書いた。
ゲーム内で設定した生年月日 ○○○○年xx月△△日 正直に正確に設定していたことを祈る。
ダイヤ購入記録 購入無し 購入したことは無いので、FAQにある通り “購入無し”。

結果

当日中にサポートから返信があり、引き継ぎ用のパスワードを発行してもらうことができた。
そして問題が無いと思われる状況になったことから、一旦アズールレーンをアンインストールして再度インストール、ゲームを立ち上げた際の引き継ぎ設定で、サポートから提供された引き継ぎ用情報を元に引き継ぎを行い、正常にログインすることができるようになった。
結局のところ、プロフィール画面のユーザーIDは送れなかったし、情報は所々曖昧だったものの引き継ぎ情報を発行してもらうことができたので良かった。サポート担当の方に感謝。

IISからWiki.jsにリーバスプロキシするメモ

とある事情から自宅サーバ環境下にWiki.jsを構築し、IISからリバースプロキシでアクセスするようにした。その際、トラブルでド嵌りしたのでメモ。

構成

IIS側

  • Windows Server 2012 R2
  • IIS 8.5

Wiki.js側

  • Ubuntu Server 18.04.3 LTS
  • node server (port: 3000)

症状

GitHub Authenticationを各種情報を設定の上有効化し、ログインからGitHubボタンを押すとリダイレクトが発生、この際正しいURLにリダイレクトされず404になる。
具体的には、リダイレクト先のURLに以下の違いが発生する。

https://github.com/login/oauth/authorize?response_type=code&redirect_uri=...
https://wiki.taiha.net/login/oauth/authorize?response_type=code&redirect_uri=...

本来URLのドメインはgithub.comになるが、何故かWikiのドメインが使用されてしまう。なお、Wiki.js側のローカルIPアドレスでアクセスした状態からリダイレクトを発生させた場合、正しくGitHubのログインへリダイレクトされた。このため、IISが原因であることが予想された。

どこを探しても対処法が見つからず、またいくつかそれらしき症状が報告されている質問はあるにはあったものの、いずれも回答が付いていなかった。
例:

対処

検索しつつ色々なサイトをボーっと眺めていると、 preserveHostHeader というのを見かけた。ただしこれ自体はログへの記録方法を設定するものであり、無関係。しかし構成エディタで同じ階層を眺めていると、 reverseRewriteHostInResponseHeaders なる項目を見つけた。検索してみると情報は少ないものの、どうもホスト名の書き換えに関わっている様に思え、デフォルトの True から False へ変更してみたところビンゴ。GitHubへのリダイレクトが正常に行われるようになった。

2019/11/07 追記: IIS Managerのサーバホーム(各バーチャルホストではない)-> “Application Request Routing Cache” -> “Server Proxy Settings…” -> “Reverse rewrite host in response headers” でも設定できた。

その他

メインのブログに置いている “ルータ関連メモ” 等非時系列的なコンテンツは、そのうち今回構築したWikiへの移行を考えています。

AML2-17GPメモ

実際に色々弄ってみながら使ってみた感想とかをメモ。

Web設定画面は “WAN/CONSOLE” ポートからしかアクセスできない?
デフォルトではVLAN1のみ設定され全ポートにタグ無しで割り当てられ、マネジメントVLANに1が設定されているが、WAN/CONSOLEポート以外からはWeb設定画面を開けていない。
せっかくの +1 ポートであるが、個人的には使わず管理用に残しておくのが安全という感想。
RESETボタンで初期化できないのが不便
本体のRESETボタンは電源的なリセットしかしない模様。誤った設定を行って保存したり、パスワードを忘れた場合などに復旧が少々難しい。これが上の “WAN/CONSOLE” ポートを使わず残すという話にも少し繋がる。
本体が比較的小型
Twitterで某氏よりコメントを頂いて気付いたけれども、確かに16ポート機としては小型かもしれない。既に同じ16ポートのtp-link TL-SG1016DEをサーバ用で稼働させているが、横幅がAML2-17GPでは59mm短い。
リンク確立後の疎通発生が遅い
購入してログインパスワードの消去と初期化を達成後、弄り始めてすぐこの問題に気付いた。結論としてはデフォルトでスパニングツリー設定が有効になっており、これによりツリーの構成等に時間が掛かり疎通が発生するまで遅延が発生していた模様。
メインの作業用デスクトップ機そばに設置してそれを接続する関係上、スリープからの復帰時などにネットワークがすぐに復帰せずストレスとなるため、ループには注意することとしてSTPを無効化しgot kotonaki。
多機能
業務用向けらしく、多機能。ただし、知識的な問題から今のところIEEE802.1Q VLAN機能など一部だけ使用。