大破雑記帳

個人用メモな雑記ブログ いろんなことをざっくりと。

OpenWrtデュアルブート思案メモ

u-boot-envとかfixedなどのNVMEMから特定keyの値を取得し、DeviceTreeで指定された値と照合して、一致する場合はそのパーティションのmtdsplit他によるkernel + rootfs取り出しを実行させるやつ

NVMEMのu-boot-envドライバのprobeが走るのはspi-norのmtdパース後であり、firmware*パーティションのcompatibleからparserかmtdsplit探して走らせる際には利用できない
あるいはfirmware*の後にあるパーティションにインデックス情報が格納されている場合は、上記同様にfirmware*のkernel + rootfs取り出しに間に合わない

結果、spi-norのmtdのprobeが終わった後、u-boot-envなりfirmware*後方パーティションがprobeされた後に、新たにmtdデバイスを追加する形を採る必要がある

/ {
    boot-partition {
        compatible = "openwrt,bootpart-selector";

        nvmem-cells = <&ubootenv_bootpartition>;
        nvmem-cell-names = "bootname";

        openwrt,bootparts = <&firmware1>, <&firmware2>;
        openwrt,bootname = "1","2";

        /* または
        nvmem-cells = <&fwinfo_bootindex>;
        nvmem-cell-names = "bootindex";

        openwrt,bootparts = <&firmware1>, <&firmware2>;
        openwrt,bootname = <1>, <2>;
        */

        /* 新規に作成するmtdデバイスにバインド, parentは元のfirmware*か? */
        partition {
            compatible = "denx,uimage";
            label = "bootpart";
        };
    };
};


partitions {
    compatible = "fixed-partitions";

    partition@30000 {
        compatible = "denx,u-boot-env";
        reg = <0x30000 0x10000>;
        label = "u-boot-env";
        read-only;

        ubootenv_bootpartition: bootpartition {
        };
    };

    partition@40000 {
        reg = <0x40000 0x10000>;
        label = "fwinfo";
        read-only;

        nvmem-layout {
            compatible = "fixed-layout";
            #address-cells = <1>;
            #size-cells = <1>;

            fwinfo_bootindex: bootindex@4 {
                reg = <0x4 0x1>;
            };
        };
    };

    firmware1: partition@50000 {
        reg = <0x50000 0xd00000>;
        label = "firmware";
    };

    firmware2: partition@d50000 {
        reg = <0xd50000 0xd00000>;
        label = "firmware2";
    };
};

WSR-2533DHPL2 stock -> OpenWrt

WSR-2533DHPLSに続き、こちらも大体構成できたので投入テスト。

DHPLS同様、Image1 (Kernel)に書き込まれて再起動し、U-BootがImage1と2のチェックを行い、データが異なるのでImage1から2へのコピーが発生する。ブートはImage1。

NAND Flash上のOpenWrtで使用できる領域がWSR-2533DHPLSの2倍以上なので、OpenWrtブート後に利用可能な領域も大きい。ただしRAMは半分の128MiB。

The tail length is 46! Update len to 11796724!
decodesize 11796480...
cp: can't stat '/usr/sbin/ubi*': No such file or directory
cp: can't stat '/usr/sbin/uboot_env': No such file or directory
token=tools, line=default
token=partitions, line=Kernel
token=Kernel, line=0x0:-
sector: Kernel -> offset=[0x0], write_len=[0xb40000]
[get_all_mtd] MTD[0]: /dev/mtd0, 0x7f80000, 0x20000, ALL
[get_all_mtd] MTD[1]: /dev/mtd1, 0x80000, 0x20000, Bootloader
[get_all_mtd] MTD[2]: /dev/mtd2, 0x80000, 0x20000, Config
[get_all_mtd] MTD[3]: /dev/mtd3, 0x40000, 0x20000, Factory
[get_all_mtd] MTD[4]: /dev/mtd4, 0x3d20000, 0x20000, Kernel
[get_all_mtd] MTD[5]: /dev/mtd5, 0x3a40000, 0x20000, RootFS
[get_all_mtd] MTD[6]: /dev/mtd6, 0x3d20000, 0x20000, Kernel2
[get_all_mtd] MTD[7]: /dev/mtd7, 0x3a40000, 0x20000, RootFS2
[get_all_mtd] MTD[8]: /dev/mtd8, 0x200000, 0x20000, glbcfg
[get_all_mtd] MTD[9]: /dev/mtd9, 0x200000, 0x20000, board_data
[merge_sector_info] sector[0]: name=[Kernel], dev=[/dev/mtd4], offset=[0], write_len=[11796480], max_allow_size=[64094208]
[validate_file] freeram=[43520000] bufferram=[4567040]
/tmp/uploadcnNe5B: CRC OK
[do_default_update] filesize=[11796480], offset=[0]
[do_default_update] Erase MTD[Kernel]: start
[do_default_update] Erase MTD[Kernel]: end
[do_default_update] Write MTD[Kernel]: start
[do_default_update] Write MTD[Kernel]: end
[switch_bank] to 0, return 0
upload return: 0
plc upgrade reboot
Jan  1 00:03:07 miniupnpd[682]: shutting down MiniUPnPd
Restarting system.

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

==================================================================
2.dqs window
x=pass dqs delay value (min~max)center 
y=0-7bit DQ of every group
input delay:DQS0 =33 DQS1 = 32
==================================================================
bit     DQS0     bit      DQS1
0  (1~60)30  8  (1~62)31
1  (1~62)31  9  (1~59)30
2  (1~62)31  10  (1~64)32
3  (1~66)33  11  (1~61)31
4  (1~65)33  12  (1~64)32
5  (1~61)31  13  (1~61)31
6  (1~63)32  14  (1~64)32
7  (1~65)33  15  (1~62)31
==================================================================
3.dq delay value last
==================================================================
bit|    0  1  2  3  4  5  6  7  8   9
--------------------------------------
0 |    10 9 8 11 7 10 10 6 7 7 
10 |    9 8 8 11 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=50000000 HZ BUS=16666666 HZ
===================================================================


U-Boot 1.1.3 (Nov 19 2019 - 15:33:02) 0.04

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

Config XHCI 40M PLL 
******************************
Software System Reset Occurred
******************************
Allocate 16 byte aligned buffer: 87fc88b0
Enable NFI Clock
# MTK NAND # : Use HW ECC
NAND ID [EF F1 00 95 00]
Device found in MTK table, ID: eff1, EXT_ID: 9500
Support this Device in MTK table! eff1 
select_chip
[NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
Signature matched and data read!
load_fact_bbt success 1023
load fact bbt success
[mtk_nand] probe successfully!
mtd->writesize=2048 mtd->oobsize=64,    mtd->erasesize=131072  devinfo.iowidth=8
..============================================ 
Ralink UBoot Version: 5.0.0.0
-------------------------------------------- 
ASIC MT7621A DualCore (MAC to MT7530 Mode)
DRAM_CONF_FROM: Auto-Detection 
DRAM_TYPE: DDR3 
DRAM bus: 16 bit
Xtal Mode=3 OCP Ratio=1/3
Flash component: NAND Flash
Date:Nov 19 2019  Time:15:33:02
============================================ 
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. 
default: 3                                                                                                                                     0 
   
3: System Boot system code via Flash0.
## Booting image at bc140000 ...

=================================================
Check image validation:
Image1 Trx Check --> ---------------------
TRX MAGIC    324c4850
Image len    b40000
header crc32 18e6d213
---------------------
 trx magic OK!
....................................................................................................................................................................................
## check_trx, crc=417780243, *crc_ret=417780243.
OK
Image1 Header Magic Number --> OK
Image1 Header Checksum --> OK
Image1 Data Checksum --> ...............................................OK

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

=================================================
Check image validation:
Image2 Trx Check --> ---------------------
TRX MAGIC    324c4850
Image len    921000
header crc32 4c9a3a3
---------------------
 trx magic OK!
...................................................................................................................................................
## check_trx, crc=80323491, *crc_ret=80323491.
OK
Image2 Header Magic Number --> OK
Image2 Header Checksum --> OK
Image2 Data Checksum --> .............................................OK

=================================================
## check Image1 return 0, check Image2 return 0, Image1 crc=417780243, Image2 crc=80323491.
Image1 is ok!
Image2 is not same as Image1, copy Image1 to Image2!

Copy Image:
Image1(0x140000) to Image2(0x3E60000), size=0xB40000
....................................................................................................................................................................................ranand_erase: start:3e60000, len:20000 
..ranand_erase: start:3e80000, len:20000 
..ranand_erase: start:3ea0000, len:20000 
..ranand_erase: start:3ec0000, len:20000 
..ranand_erase: start:3ee0000, len:20000 
..ranand_erase: start:3f00000, len:20000 
..ranand_erase: start:3f20000, len:20000 
..ranand_erase: start:3f40000, len:20000 
..ranand_erase: start:3f60000, len:20000 
..ranand_erase: start:3f80000, len:20000 
..ranand_erase: start:3fa0000, len:20000 
..ranand_erase: start:3fc0000, len:20000 
..ranand_erase: start:3fe0000, len:20000 
..ranand_erase: start:4000000, len:20000 
..ranand_erase: start:4020000, len:20000 
..ranand_erase: start:4040000, len:20000 
..ranand_erase: start:4060000, len:20000 
..ranand_erase: start:4080000, len:20000 
..ranand_erase: start:40a0000, len:20000 
..ranand_erase: start:40c0000, len:20000 
..ranand_erase: start:40e0000, len:20000 
..ranand_erase: start:4100000, len:20000 
..ranand_erase: start:4120000, len:20000 
..ranand_erase: start:4140000, len:20000 
..ranand_erase: start:4160000, len:20000 
..ranand_erase: start:4180000, len:20000 
..ranand_erase: start:41a0000, len:20000 
..ranand_erase: start:41c0000, len:20000 
..ranand_erase: start:41e0000, len:20000 
..ranand_erase: start:4200000, len:20000 
..ranand_erase: start:4220000, len:20000 
..ranand_erase: start:4240000, len:20000 
..ranand_erase: start:4260000, len:20000 
..ranand_erase: start:4280000, len:20000 
..ranand_erase: start:42a0000, len:20000 
..ranand_erase: start:42c0000, len:20000 
..ranand_erase: start:42e0000, len:20000 
..ranand_erase: start:4300000, len:20000 
..ranand_erase: start:4320000, len:20000 
..ranand_erase: start:4340000, len:20000 
..ranand_erase: start:4360000, len:20000 
..ranand_erase: start:4380000, len:20000 
..ranand_erase: start:43a0000, len:20000 
..ranand_erase: start:43c0000, len:20000 
..ranand_erase: start:43e0000, len:20000 
..ranand_erase: start:4400000, len:20000 
..ranand_erase: start:4420000, len:20000 
..ranand_erase: start:4440000, len:20000 
..ranand_erase: start:4460000, len:20000 
..ranand_erase: start:4480000, len:20000 
..ranand_erase: start:44a0000, len:20000 
..ranand_erase: start:44c0000, len:20000 
..ranand_erase: start:44e0000, len:20000 
..ranand_erase: start:4500000, len:20000 
..ranand_erase: start:4520000, len:20000 
..ranand_erase: start:4540000, len:20000 
..ranand_erase: start:4560000, len:20000 
..ranand_erase: start:4580000, len:20000 
..ranand_erase: start:45a0000, len:20000 
..ranand_erase: start:45c0000, len:20000 
..ranand_erase: start:45e0000, len:20000 
..ranand_erase: start:4600000, len:20000 
..ranand_erase: start:4620000, len:20000 
..ranand_erase: start:4640000, len:20000 
..ranand_erase: start:4660000, len:20000 
..ranand_erase: start:4680000, len:20000 
..ranand_erase: start:46a0000, len:20000 
..ranand_erase: start:46c0000, len:20000 
..ranand_erase: start:46e0000, len:20000 
..ranand_erase: start:4700000, len:20000 
..ranand_erase: start:4720000, len:20000 
..ranand_erase: start:4740000, len:20000 
..ranand_erase: start:4760000, len:20000 
..ranand_erase: start:4780000, len:20000 
..ranand_erase: start:47a0000, len:20000 
..ranand_erase: start:47c0000, len:20000 
..ranand_erase: start:47e0000, len:20000 
..ranand_erase: start:4800000, len:20000 
..ranand_erase: start:4820000, len:20000 
..ranand_erase: start:4840000, len:20000 
..ranand_erase: start:4860000, len:20000 
..ranand_erase: start:4880000, len:20000 
..ranand_erase: start:48a0000, len:20000 
..ranand_erase: start:48c0000, len:20000 
..ranand_erase: start:48e0000, len:20000 
..ranand_erase: start:4900000, len:20000 
..ranand_erase: start:4920000, len:20000 
..ranand_erase: start:4940000, len:20000 
..ranand_erase: start:4960000, len:20000 
..ranand_erase: start:4980000, len:20000 
..Done!
   Image Name:   MIPS OpenWrt Linux-6.1.82
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    3027424 Bytes =  2.9 MB
   Load Address: 80001000
   Entry Point:  80001000
...............................................   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80001000) ...
## Giving linux memsize in MB, 128

Starting kernel ...

[    0.000000] Linux version 6.1.82 (musashino205@TAIHA.NET) (mipsel-openwrt-linux-musl-gcc (OpenWrt GCC 13.2.0 r25667-6460407338) 13.2.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Fri Mar 29 20:02:17 2024
[    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] MIPS: machine is Buffalo WSR-2533DHPL2
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] VPE topology {2,2} total 4
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] percpu: Embedded 12 pages/cpu s18016 r8192 d22944 u49152
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32480
[    0.000000] Kernel command line: console=ttyS0,57600n8 ubi.block=0,rootfs root=/dev/ubiblock0_0 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Writing ErrCtl register=00002580
[    0.000000] Readback ErrCtl register=00002580
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 118516K/131072K available (7363K kernel code, 627K rwdata, 1592K rodata, 1220K init, 222K bss, 12556K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 256
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[    0.000004] sched_clock: 64 bits at 880MHz, resolution 1ns, wraps every 4398046511103ns
[    0.016005] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[    0.088323] pid_max: default: 32768 minimum: 301
[    0.098360] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.112774] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.131371] cblist_init_generic: Setting adjustable number of callback queues.
[    0.145685] cblist_init_generic: Setting shift to 2 and lim to 1.
[    0.158254] rcu: Hierarchical SRCU implementation.
[    0.167625] rcu:     Max phase no-delay instances is 1000.
[    0.178820] smp: Bringing up secondary CPUs ...
[    0.188623] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.188648] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.188663] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.188713] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.248330] Synchronize counters for CPU 1: done.
[    0.310566] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.310585] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.310597] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.310627] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.369546] Synchronize counters for CPU 2: done.
[    0.429944] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.429965] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.429977] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.430010] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.489132] Synchronize counters for CPU 3: done.
[    0.548723] smp: Brought up 1 node, 4 CPUs
[    0.562160] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.581656] futex hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.595523] pinctrl core: initialized pinctrl subsystem
[    0.607219] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.636237] clocksource: Switched to clocksource GIC
[    0.647514] NET: Registered PF_INET protocol family
[    0.657350] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.672389] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.688938] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.704280] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.719486] TCP bind hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    0.733710] TCP: Hash tables configured (established 1024 bind 1024)
[    0.746436] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.759336] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.773529] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.784742] PCI: CLS 0 bytes, default 32
[    0.795713] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    0.813799] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.825323] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.849184] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.860616] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.872057] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.883657] mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges:
[    0.896916] mt7621-pci 1e140000.pcie:   No bus range found for /pcie@1e140000, using [bus 00-ff]
[    0.914387] mt7621-pci 1e140000.pcie:      MEM 0x0060000000..0x006fffffff -> 0x0060000000
[    0.930603] mt7621-pci 1e140000.pcie:       IO 0x001e160000..0x001e16ffff -> 0x0000000000
[    1.306250] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK)
[    1.320038] mt7621-pci 1e140000.pcie: PCIE0 enabled
[    1.329680] mt7621-pci 1e140000.pcie: PCIE1 enabled
[    1.339374] PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    1.353571] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[    1.366108] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.377006] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    1.390636] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    1.402950] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    1.414847] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.427284] pci 0000:00:00.0: reg 0x14: [mem 0x60200000-0x6020ffff]
[    1.439782] pci 0000:00:00.0: supports D1
[    1.447659] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    1.459741] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    1.471656] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.484045] pci 0000:00:01.0: reg 0x14: [mem 0x60210000-0x6021ffff]
[    1.496570] pci 0000:00:01.0: supports D1
[    1.504399] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    1.517977] pci 0000:01:00.0: [14c3:7615] type 00 class 0x000280
[    1.529893] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[    1.543458] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:00.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    1.573232] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    1.583541] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    1.595604] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    1.609091] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.622451] pci 0000:02:00.0: [14c3:7615] type 00 class 0x000280
[    1.634340] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[    1.647909] pci 0000:02:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:01.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    1.677684] pci 0000:00:01.0: PCI bridge to [bus 02-ff]
[    1.688005] pci 0000:00:01.0:   bridge window [io  0x0000-0x0fff]
[    1.700057] pci 0000:00:01.0:   bridge window [mem 0x60100000-0x601fffff]
[    1.713548] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    1.726719] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    1.739805] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    1.753639] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    1.766757] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    1.780591] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    1.794062] pci 0000:00:01.0: BAR 8: assigned [mem 0x60100000-0x601fffff]
[    1.807554] pci 0000:00:00.0: BAR 1: assigned [mem 0x60200000-0x6020ffff]
[    1.821030] pci 0000:00:01.0: BAR 1: assigned [mem 0x60210000-0x6021ffff]
[    1.834501] pci 0000:00:00.0: BAR 7: assigned [io  0x0000-0x0fff]
[    1.846595] pci 0000:00:01.0: BAR 7: assigned [io  0x1000-0x1fff]
[    1.858704] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
[    1.873226] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.883058] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    1.895149] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    1.908639] pci 0000:02:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit]
[    1.923157] pci 0000:00:01.0: PCI bridge to [bus 02]
[    1.933003] pci 0000:00:01.0:   bridge window [io  0x1000-0x1fff]
[    1.945094] pci 0000:00:01.0:   bridge window [mem 0x60100000-0x601fffff]
[    1.960254] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    1.974571] printk: console [ttyS0] disabled
[    1.983099] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 18, base_baud = 3125000) is a 16550A
[    2.001042] printk: console [ttyS0] enabled
[    2.001042] printk: console [ttyS0] enabled
[    2.017605] printk: bootconsole [early0] disabled
[    2.017605] printk: bootconsole [early0] disabled
[    2.039701] nand: device found, Manufacturer ID: 0xef, Chip ID: 0xf1
[    2.052453] nand: Winbond W29N01HV
[    2.059233] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    2.074321] mt7621-nand 1e003000.nand: ECC strength adjusted to 4 bits
[    2.088195] read_bbt: found bbt at block 1023
[    2.097054] 7 fixed-partitions partitions found on MTD device mt7621-nand
[    2.110935] Creating 7 MTD partitions on "mt7621-nand":
[    2.121383] 0x000000000000-0x000000080000 : "u-boot"
[    2.135286] 0x000000080000-0x000000100000 : "u-boot-env"
[    2.149590] 0x000000100000-0x000000140000 : "factory"
[    2.162602] 0x000000140000-0x000003e60000 : "firmware"
[    2.515296] 2 trx partitions found on MTD device firmware
[    2.526092] Creating 2 MTD partitions on "firmware":
[    2.536056] 0x00000000001c-0x000000600000 : "linux"
[    2.545798] mtd: partition "linux" doesn't start on an erase/write block boundary -- force read-only
[    2.595414] 0x000000600000-0x000003d20000 : "ubi"
[    2.883782] 0x000003e60000-0x000007b80000 : "Kernel2"
[    3.203377] 0x000007b80000-0x000007d80000 : "glbcfg"
[    3.224645] 0x000007d80000-0x000007f80000 : "board_data"
[    3.387733] mtk_soc_eth 1e100000.ethernet: generated random MAC address 65:74:68:25:64:00
[    3.404115] mtk_soc_eth 1e100000.ethernet: generated random MAC address 77:61:6e:00:64:00
[    3.421833] mt7530-mdio mdio-bus:1f: MT7530 adapts as multi-chip module
[    3.442157] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 19
[    3.461924] mtk_soc_eth 1e100000.ethernet wan: mediatek frame engine at 0xbe100000, irq 19
[    3.479914] i2c_dev: i2c /dev entries driver
[    3.491290] NET: Registered PF_INET6 protocol family
[    3.503959] Segment Routing with IPv6
[    3.511430] In-situ OAM (IOAM) with IPv6
[    3.519458] NET: Registered PF_PACKET protocol family
[    3.529982] 8021q: 802.1Q VLAN Support v1.8
[    3.547541] mt7530-mdio mdio-bus:1f: MT7530 adapts as multi-chip module
[    3.579464] mt7530-mdio mdio-bus:1f: configuring for fixed/rgmii link mode
[    3.594084] mt7530-mdio mdio-bus:1f: Link is Up - 1Gbps/Full - flow control rx/tx
[    3.597421] mt7530-mdio mdio-bus:1f lan1 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7530 PHY] (irq=21)
[    3.632400] mt7530-mdio mdio-bus:1f lan2 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7530 PHY] (irq=22)
[    3.655517] mt7530-mdio mdio-bus:1f lan3 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7530 PHY] (irq=23)
[    3.678710] device eth0 entered promiscuous mode
[    3.688110] DSA: tree 0 setup
[    3.695357] UBI: auto-attach mtd5
[    3.702048] ubi0: attaching mtd5
[    3.778074] UBI: EOF marker found, PEBs from 36 will be erased
[    4.044396] ubi0: scanning is finished
[    4.093126] ubi0: volume 1 ("rootfs_data") re-sized from 9 to 383 LEBs
[    4.107286] ubi0: attached mtd5 (name "ubi", size 55 MiB)
[    4.118140] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    4.131854] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    4.145392] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    4.159266] ubi0: good PEBs: 441, bad PEBs: 0, corrupted PEBs: 0
[    4.171251] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    4.185653] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1711742537
[    4.203851] ubi0: available PEBs: 0, total reserved PEBs: 441, PEBs reserved for bad PEB handling: 20
[    4.222261] ubi0: background thread "ubi_bgt0d" started, PID 296
[    4.224225] block ubiblock0_0: created from ubi0:0(rootfs)
[    4.245379] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    4.290524] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    4.310333] Freeing unused kernel image (initmem) memory: 1220K
[    4.322299] This architecture does not have kernel memory protection.
[    4.335220] Run /sbin/init as init process
[    5.032169] init: Console is alive
[    5.039443] init: - watchdog -
[    5.840838] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    5.908216] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    5.928313] init: - preinit -
[    9.386239] random: crng init done
[    9.553459] mtdblock: MTD device 'board_data' is NAND, please consider using UBI block devices instead.
[   10.763984] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[   10.784153] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   10.786730] mt7530-mdio mdio-bus:1f lan1: configuring for phy/gmii link mode
[   10.815553] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[   13.034104] UBIFS (ubi0:1): default file-system created
[   13.045903] UBIFS (ubi0:1): Mounting in unauthenticated mode
[   13.057473] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 454
[   13.183427] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[   13.199082] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   13.218827] UBIFS (ubi0:1): FS size: 47362048 bytes (45 MiB, 373 LEBs), max 383 LEBs, journal size 2412544 bytes (2 MiB, 19 LEBs)
[   13.242055] UBIFS (ubi0:1): reserved for root: 2237026 bytes (2184 KiB)
[   13.255233] UBIFS (ubi0:1): media format: w5/r0 (latest is w5/r0), UUID A094D1BB-0E29-41D4-B475-163D1AAF36C3, small LPT model
[   13.281256] mount_root: overlay filesystem has not been fully initialized yet
[   13.296355] mount_root: switching to ubifs overlay
[   13.313791] urandom-seed: Seed file not found (/etc/urandom.seed)
[   13.435280] procd: - early -
[   13.441337] procd: - watchdog -
[   14.053275] procd: - watchdog -
[   14.060651] procd: - ubus -
[   14.222928] procd: - init -
Please press Enter to activate this console.
[   14.909919] kmodloader: loading kernel modules from /etc/modules.d/*
[   14.985448] mtk-eip93 1e004000.crypto: EIP93 Crypto Engine Initialized.
[   15.192150] Loading modules backported from Linux version v6.6.15-0-g51f354b815c4
[   15.207098] Backport generated by backports.git 193becf2
[   15.433508] pci 0000:00:00.0: enabling device (0002 -> 0003)
[   15.444857] mt7615e 0000:01:00.0: enabling device (0000 -> 0002)
[   15.469124] mt7615e 0000:01:00.0: registering led 'mt76-phy0'
[   15.484854] pci 0000:00:01.0: enabling device (0002 -> 0003)
[   15.496277] mt7615e 0000:02:00.0: enabling device (0000 -> 0002)
[   15.497811] mt7615e 0000:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20180518100604a
[   15.497811] 
[   15.525827] mt7615e 0000:02:00.0: registering led 'mt76-phy1'
[   15.608944] mt7615e 0000:02:00.0: HW/SW Version: 0x8a108a10, Build Time: 20180518100604a
[   15.608944] 
[   15.659481] PPP generic driver version 2.4.2
[   15.670001] NET: Registered PF_PPPOX protocol family
[   15.688033] kmodloader: done loading kernel modules from /etc/modules.d/*
[   15.854388] mt7615e 0000:01:00.0: N9 Firmware Version: _reserved_, Build Time: 20200814163649
[   15.854430] mt7615e 0000:02:00.0: N9 Firmware Version: _reserved_, Build Time: 20200814163649
[   15.948661] mt7615e 0000:02:00.0: CR4 Firmware Version: _reserved_, Build Time: 20190415154149
[   15.948709] mt7615e 0000:01:00.0: CR4 Firmware Version: _reserved_, Build Time: 20190415154149
[   16.193692] urngd: v1.0.2 started.
[   17.028273] mtdblock: MTD device 'board_data' is NAND, please consider using UBI block devices instead.
[   36.747933] mtk_soc_eth 1e100000.ethernet eth0: Link is Down
[   36.782292] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[   36.798712] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   36.804667] mt7530-mdio mdio-bus:1f lan1: configuring for phy/gmii link mode
[   36.832844] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   36.847317] br-lan: port 1(lan1) entered blocking state
[   36.857868] br-lan: port 1(lan1) entered disabled state
[   36.872451] device lan1 entered promiscuous mode
[   36.901620] mt7530-mdio mdio-bus:1f lan2: configuring for phy/gmii link mode
[   36.917560] br-lan: port 2(lan2) entered blocking state
[   36.928176] br-lan: port 2(lan2) entered disabled state
[   36.941748] device lan2 entered promiscuous mode
[   36.958549] mt7530-mdio mdio-bus:1f lan3: configuring for phy/gmii link mode
[   36.974944] br-lan: port 3(lan3) entered blocking state
[   36.985614] br-lan: port 3(lan3) entered disabled state
[   36.998935] device lan3 entered promiscuous mode
[   37.024058] mtk_soc_eth 1e100000.ethernet wan: PHY [mdio-bus:00] driver [MediaTek MT7530 PHY] (irq=POLL)
[   37.043075] mtk_soc_eth 1e100000.ethernet wan: configuring for phy/rgmii link mode
[   40.196477] mtk_soc_eth 1e100000.ethernet wan: Link is Up - 1Gbps/Full - flow control off
[   40.212874] IPv6: ADDRCONF(NETDEV_CHANGE): wan: link becomes ready
[   40.234677] mt7530-mdio mdio-bus:1f lan2: Link is Up - 1Gbps/Full - flow control rx/tx
[   40.250722] br-lan: port 2(lan2) entered blocking state
[   40.261327] br-lan: port 2(lan2) entered forwarding state
[   40.274172] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready



BusyBox v1.36.1 (2024-03-28 11:18:56 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r25694+38-2ec025d554
 -----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:/# ubus call system board
{
        "kernel": "6.1.82",
        "hostname": "OpenWrt",
        "system": "MediaTek MT7621 ver:1 eco:3",
        "model": "Buffalo WSR-2533DHPL2",
        "board_name": "buffalo,wsr-2533dhpl2",
        "rootfs_type": "squashfs",
        "release": {
                "distribution": "OpenWrt",
                "version": "SNAPSHOT",
                "revision": "r25694+38-2ec025d554",
                "target": "ramips/mt7621",
                "description": "OpenWrt SNAPSHOT r25694+38-2ec025d554"
        }
}
root@OpenWrt:/# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00080000 00020000 "u-boot"
mtd1: 00080000 00020000 "u-boot-env"
mtd2: 00040000 00020000 "factory"
mtd3: 03d20000 00020000 "firmware"
mtd4: 005fffe4 00020000 "linux"
mtd5: 03720000 00020000 "ubi"
mtd6: 03d20000 00020000 "Kernel2"
mtd7: 00200000 00020000 "glbcfg"
mtd8: 00200000 00020000 "board_data"
root@OpenWrt:/# ubinfo -a
UBI version:                    1
Count of UBI devices:           1
UBI control device major/minor: 10:127
Present UBI devices:            ubi0

ubi0
Volumes count:                           2
Logical eraseblock size:                 126976 bytes, 124.0 KiB
Total amount of logical eraseblocks:     441 (55996416 bytes, 53.4 MiB)
Amount of available logical eraseblocks: 0 (0 bytes)
Maximum count of volumes                 128
Count of bad physical eraseblocks:       0
Count of reserved physical eraseblocks:  20
Current maximum erase counter value:     2
Minimum input/output unit size:          2048 bytes
Character device major/minor:            251:0
Present volumes:                         0, 1

Volume ID:   0 (on ubi0)
Type:        dynamic
Alignment:   1
Size:        34 LEBs (4317184 bytes, 4.1 MiB)
State:       OK
Name:        rootfs
Character device major/minor: 251:1
-----------------------------------
Volume ID:   1 (on ubi0)
Type:        dynamic
Alignment:   1
Size:        383 LEBs (48631808 bytes, 46.3 MiB)
State:       OK
Name:        rootfs_data
Character device major/minor: 251:2
root@OpenWrt:/# mount
/dev/root on /rom type squashfs (ro,relatime,errors=continue)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
/dev/ubi0_1 on /overlay type ubifs (rw,noatime,assert=read-only,ubi=0,vol=1)
overlayfs:/overlay on / type overlay (rw,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work)
tmpfs on /dev type tmpfs (rw,nosuid,noexec,noatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,noatime,mode=600,ptmxmode=000)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
bpffs on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,noatime,mode=700)
root@OpenWrt:/# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 4.3M      4.3M         0 100% /rom
tmpfs                    58.5M    212.0K     58.3M   0% /tmp
/dev/ubi0_1              41.1M    156.0K     38.8M   0% /overlay
overlayfs:/overlay       41.1M    156.0K     38.8M   0% /
tmpfs                   512.0K         0    512.0K   0% /dev
root@OpenWrt:/#

WSR-2533DHPLS stock -> OpenWrt

ファームウェアの生成や取り扱い周りを大体実装し終わったので、いくつかの投入方法でテストしたうちのWebUIからfactoryイメージを投入したもの

Flash内のImage1 (Kernel)に書き込まれ再起動した際、U-Bootによって2つのOSイメージがチェックされ、Image1とImage2で異なるのでImage1から2へコピーされた上でImage1からブートしている

hostsacd_daily_proc(145):HSAC-DBG:DATE[2024/3/30 9:45:32] 1711759532 154 154280(4) loggerdb:1319
The tail length is 46! Update len to 11796724!
decodesize 11796480...
cp: can't stat '/usr/sbin/uboot_env': No such file or directory
nvram_set: No such file or directory
token=tools, line=nandwrite
token=partitions, line=Kernel
token=Kernel, line=0x0:-
sector: Kernel -> offset=[0x0], write_len=[0xb40000]
[get_all_mtd] MTD[0]: /dev/mtd0, 0x8000000, 0x20000, mtk-nand
[get_all_mtd] MTD[1]: /dev/mtd1, 0x80000, 0x20000, Bootloader
[get_all_mtd] MTD[2]: /dev/mtd2, 0x80000, 0x20000, Config
[get_all_mtd] MTD[3]: /dev/mtd3, 0x80000, 0x20000, Factory
[get_all_mtd] MTD[4]: /dev/mtd4, 0x1800000, 0x20000, Kernel
[get_all_mtd] MTD[5]: /dev/mtd5, 0x31ffe4, 0x20000, kernel
[get_all_mtd] MTD[6]: /dev/mtd6, 0x14e0000, 0x20000, rootfs
[get_all_mtd] MTD[7]: /dev/mtd7, 0xb20000, 0x20000, rootfs_data
[get_all_mtd] MTD[8]: /dev/mtd8, 0x1800000, 0x20000, Kernel2
[get_all_mtd] MTD[9]: /dev/mtd9, 0x200000, 0x20000, glbcfg
[get_all_mtd] MTD[10]: /dev/mtd10, 0x200000, 0x20000, board_data
[get_all_mtd] MTD[11]: /dev/mtd11, 0x900000, 0x20000, debug_log
[get_all_mtd] MTD[12]: /dev/mtd12, 0x3600000, 0x20000, WTB
[merge_sector_info] sector[0]: name=[Kernel], dev=[/dev/mtd4], offset=[0], write_len=[11796480], max_allow_size=[25165824]
[validate_file] freeram=[137547776] bufferram=[7000064]
/tmp/uploadACNpLK: CRC OK
[do_nandwrite_erase] Erase MTD[Kernel]: start
[do_nandwrite_erase] Erase MTD[Kernel]: end
[do_nandwrite_update] Write MTD[Kernel]: start
[do_nandwrite_update] cmd=[/tmp/nandwrite -q -p --if_start=0x0 --if_len=0xb40000 /dev/mtd4 /tmp/uploadACNpLK]
[do_nandwrite_update] Write MTD[Kernel]: end
nvram_set: No such file or directory
nvram_set: No such file or directory
[switch_bank] to 0, return 2
upload return: 0
plc upgrade reboot
[  192.882337] reboot: Restarting system

===================================================================
                MT7621   stage1 code Dec 16 2019 17:45:55 (ASIC)
                CPU=500000000 HZ BUS=166666666 HZ
==================================================================
Change MPLL source from XTAL to CR...
do MEMPLL setting..
MEMPLL Config : 0x11000000
3PLL mode + External loopback
=== XTAL-40Mhz === DDR-1200Mhz ===
PLL3 FB_DL: 0xe, 1/0 = 652/372 39000000
PLL2 FB_DL: 0x14, 1/0 = 713/311 51000000
MEMPLL 3PLL mode calibration fail
DDR patch working
do DDR setting..[01F40000]
Apply DDR3 Setting...(use default AC)
          0    8   16   24   32   40   48   56   64   72   80   88   96  104  112  120
      --------------------------------------------------------------------------------
0000:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0001:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0002:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0003:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0004:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0005:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0006:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0007:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0008:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0009:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
000A:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
000B:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
000C:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
000D:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    1    1
000E:|    0    0    0    0    0    0    0    0    0    1    1    1    1    1    1    1
000F:|    0    0    0    0    1    1    1    1    1    1    1    1    1    1    0    0
0010:|    1    1    1    1    1    1    1    1    1    0    0    0    0    0    0    0
0011:|    1    1    1    1    0    0    0    0    0    0    0    0    0    0    0    0
0012:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0013:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0014:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0015:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0016:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0017:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0018:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0019:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001A:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001B:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001C:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001D:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001E:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001F:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
DRAMC_DQSCTL1[0e0]=13000000
DRAMC_DQSGCTL[124]=80000033
rank 0 coarse = 15
rank 0 fine = 72
B:|    0    0    0    0    0    0    0    0    0    0    1    1    1    0    0    0
opt_dle value:11
DRAMC_DDR2CTL[07c]=C287223D
DRAMC_PADCTL4[0e4]=000022B3
DRAMC_DQIDLY1[210]=0B0A090A
DRAMC_DQIDLY2[214]=07080907
DRAMC_DQIDLY3[218]=09080707
DRAMC_DQIDLY4[21c]=09070A07
DRAMC_R0DELDLY[018]=00001C1D
==================================================================
                RX      DQS perbit delay software calibration 
==================================================================
1.0-15 bit dq delay value
==================================================================
bit|     0  1  2  3  4  5  6  7  8  9
--------------------------------------
0 |    9 8 8 11 6 8 7 7 6 6 

=================================================
Checking Image1
--> nmbm nmbm0 read 83000000 180000 1c
Reading from 0x180000, size 0x1c
Succeeded
---------------------
TRX MAGIC    534c4844
Image len    b40000
header crc32 f1c3eebc
---------------------
 trx magic OK!
--> nmbm nmbm0 read 83000000 180000 b40000
Reading from 0x180000, size 0xb40000
Succeeded
---------------------
Image1 crc32 f1c3eebc
---------------------
 crc32 OK!
=================================================

=================================================
Checking Image2
--> nmbm nmbm0 read 83000000 1980000 1c
Reading from 0x1980000, size 0x1c
Succeeded
---------------------
TRX MAGIC    534c4844
Image len    cd6000
header crc32 bad4df21
---------------------
 trx magic OK!
--> nmbm nmbm0 read 83000000 1980000 cd6000
Reading from 0x1980000, size 0xcd6000
Succeeded
---------------------
Image2 crc32 bad4df21
---------------------
 crc32 OK!
=================================================
## check Image1 return 0, check Image2 return 0, Image1 crc32=f1c3eebc, Image2 crc32=bad4df21.
Image1 is ok!
Image2 is not same as Image1, copy Image1 to Image2!

=================================================
--> nmbm nmbm0 read 83000000 180000 1c
Reading from 0x180000, size 0x1c
Succeeded
--> nmbm nmbm0 read 83000000 180000 b40000
Reading from 0x180000, size 0xb40000
Succeeded
--> nmbm nmbm0 erase 1980000 1800000
Erasing from 0x1980000, size 0x1800000 ...
Succeeded
--> nmbm nmbm0 write 83000000 1980000 b40000
Writing to 0x1980000, size 0xb40000
Succeeded
=================================================
Recovery done!
genimg_get_format> IMAGE_FORMAT_TRX!
TRX Image
[210] Loading mtd[nmbm0] TRX image at offset 0x180000 to memory 0x83000000, size 0xb40000 ...
genimg_get_format> IMAGE_FORMAT_LEGACY!
Automatic boot of image at addr 0x83000000 ...
genimg_get_format> IMAGE_FORMAT_LEGACY!
## Booting kernel from Legacy Image at 8300001c ...
   Image Name:   MIPS OpenWrt Linux-6.1.82
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    3027450 Bytes = 2.9 MiB
   Load Address: 80001000
   Entry Point:  80001000
   Verifying Checksum ... OK
genimg_get_format> IMAGE_FORMAT_LEGACY!
   Uncompressing Kernel Image ... OK
[    0.000000] Linux version 6.1.82 (musashino205@TAIHA.NET) (mipsel-openwrt-linux-musl-gcc (OpenWrt GCC 13.2.0 r25667-6460407338) 13.2.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Fri Mar 29 11:31:01 2024
[    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] MIPS: machine is Buffalo WSR-2533DHPLS
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] VPE topology {2,2} total 4
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] percpu: Embedded 12 pages/cpu s18016 r8192 d22944 u49152
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64960
[    0.000000] Kernel command line: console=ttyS0,115200n8 ubi.block=0,rootfs root=/dev/ubiblock0_0 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Writing ErrCtl register=000029c0
[    0.000000] Readback ErrCtl register=000029c0
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 248340K/262144K available (7363K kernel code, 627K rwdata, 1592K rodata, 1220K init, 222K bss, 13804K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 256
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[    0.000005] sched_clock: 64 bits at 880MHz, resolution 1ns, wraps every 4398046511103ns
[    0.008024] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[    0.066230] pid_max: default: 32768 minimum: 301
[    0.071700] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.078912] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.089915] cblist_init_generic: Setting adjustable number of callback queues.
[    0.097141] cblist_init_generic: Setting shift to 2 and lim to 1.
[    0.103668] rcu: Hierarchical SRCU implementation.
[    0.108401] rcu:     Max phase no-delay instances is 1000.
[    0.114339] smp: Bringing up secondary CPUs ...
[    0.119748] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.119776] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.119791] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.119841] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.179097] Synchronize counters for CPU 1: done.
[    0.211705] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.211726] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.211737] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.211769] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.270655] Synchronize counters for CPU 2: done.
[    0.301290] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.301309] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.301320] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.301356] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.355852] Synchronize counters for CPU 3: done.
[    0.385702] smp: Brought up 1 node, 4 CPUs
[    0.395182] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.404995] futex hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.412057] pinctrl core: initialized pinctrl subsystem
[    0.418723] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.442182] clocksource: Switched to clocksource GIC
[    0.448627] NET: Registered PF_INET protocol family
[    0.453731] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.461792] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.470091] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.477785] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.485405] TCP bind hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.492635] TCP: Hash tables configured (established 2048 bind 2048)
[    0.499072] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.505577] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.512909] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.518526] PCI: CLS 0 bytes, default 32
[    0.525137] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    0.537195] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.543013] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.557542] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.563572] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.569451] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.575556] mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges:
[    0.582247] mt7621-pci 1e140000.pcie:   No bus range found for /pcie@1e140000, using [bus 00-ff]
[    0.590968] mt7621-pci 1e140000.pcie:      MEM 0x0060000000..0x006fffffff -> 0x0060000000
[    0.599094] mt7621-pci 1e140000.pcie:       IO 0x001e160000..0x001e16ffff -> 0x0000000000
[    0.962196] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK)
[    0.969100] mt7621-pci 1e140000.pcie: PCIE0 enabled
[    0.973978] mt7621-pci 1e140000.pcie: PCIE1 enabled
[    0.978787] PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    0.985955] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[    0.992265] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.997662] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    1.004517] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    1.010672] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    1.016630] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.022848] pci 0000:00:00.0: reg 0x14: [mem 0x60200000-0x6020ffff]
[    1.029141] pci 0000:00:00.0: supports D1
[    1.033099] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    1.039468] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    1.045485] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.051665] pci 0000:00:01.0: reg 0x14: [mem 0x60210000-0x6021ffff]
[    1.057981] pci 0000:00:01.0: supports D1
[    1.061899] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    1.069719] pci 0000:01:00.0: [14c3:7615] type 00 class 0x000280
[    1.075748] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[    1.082649] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:00.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    1.097717] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    1.102905] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    1.108906] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    1.115677] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.122526] pci 0000:02:00.0: [14c3:7615] type 00 class 0x000280
[    1.128475] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[    1.135384] pci 0000:02:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:01.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    1.150458] pci 0000:00:01.0: PCI bridge to [bus 02-ff]
[    1.155649] pci 0000:00:01.0:   bridge window [io  0x0000-0x0fff]
[    1.161649] pci 0000:00:01.0:   bridge window [mem 0x60100000-0x601fffff]
[    1.168446] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    1.175055] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    1.181569] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    1.188516] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    1.195078] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    1.201965] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    1.208742] pci 0000:00:01.0: BAR 8: assigned [mem 0x60100000-0x601fffff]
[    1.215471] pci 0000:00:00.0: BAR 1: assigned [mem 0x60200000-0x6020ffff]
[    1.222221] pci 0000:00:01.0: BAR 1: assigned [mem 0x60210000-0x6021ffff]
[    1.228921] pci 0000:00:00.0: BAR 7: assigned [io  0x0000-0x0fff]
[    1.234994] pci 0000:00:01.0: BAR 7: assigned [io  0x1000-0x1fff]
[    1.241021] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
[    1.248314] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.253227] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    1.259246] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    1.266031] pci 0000:02:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit]
[    1.273282] pci 0000:00:01.0: PCI bridge to [bus 02]
[    1.278166] pci 0000:00:01.0:   bridge window [io  0x1000-0x1fff]
[    1.284244] pci 0000:00:01.0:   bridge window [mem 0x60100000-0x601fffff]
[    1.292528] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    1.300367] printk: console [ttyS0] disabled
[    1.304740] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 18, base_baud = 3125000) is a 16550A
[    1.313760] printk: console [ttyS0] enabled
[    1.313760] printk: console [ttyS0] enabled
[    1.322008] printk: bootconsole [early0] disabled
[    1.322008] printk: bootconsole [early0] disabled
[    1.334700] nand: device found, Manufacturer ID: 0x98, Chip ID: 0xf1
[    1.341087] nand: Toshiba NAND 128MiB 3,3V 8-bit
[    1.345740] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.353317] mt7621-nand 1e003000.nand: ECC strength adjusted to 4 bits
[    1.361882] Signature found at block 1023 [0x07fe0000]
[    1.367025] NMBM management region starts at block 960 [0x07800000]
[    1.377296] First info table with writecount 2 found in block 960
[    1.395183] Second info table with writecount 2 found in block 963
[    1.401440] NMBM has been successfully attached
[    1.406119] 9 fixed-partitions partitions found on MTD device mt7621-nand
[    1.413241] Creating 9 MTD partitions on "mt7621-nand":
[    1.418476] 0x000000000000-0x000000080000 : "u-boot"
[    1.430053] 0x000000080000-0x000000100000 : "u-boot-env"
[    1.441782] 0x000000100000-0x000000180000 : "factory"
[    1.453709] 0x000000180000-0x000001980000 : "firmware"
[    1.776521] 2 trx partitions found on MTD device firmware
[    1.781941] Creating 2 MTD partitions on "firmware":
[    1.786907] 0x00000000001c-0x000000600000 : "linux"
[    1.791768] mtd: partition "linux" doesn't start on an erase/write block boundary -- force read-only
[    1.864492] 0x000000600000-0x000001800000 : "ubi"
[    2.057854] 0x000001980000-0x000003180000 : "Kernel2"
[    2.313668] 0x000003180000-0x000003380000 : "glbcfg"
[    2.340689] 0x000003380000-0x000003580000 : "board_data"
[    2.367931] 0x000003580000-0x000003e80000 : "debug_log"
[    2.468032] 0x000003e80000-0x000007480000 : "WTB"
[    3.173691] mtk_soc_eth 1e100000.ethernet: generated random MAC address 65:74:68:25:64:00
[    3.181909] mtk_soc_eth 1e100000.ethernet: generated random MAC address 77:61:6e:00:64:00
[    3.191599] mt7530-mdio mdio-bus:1f: MT7530 adapts as multi-chip module
[    3.205437] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 19
[    3.217122] mtk_soc_eth 1e100000.ethernet wan: mediatek frame engine at 0xbe100000, irq 19
[    3.227086] i2c_dev: i2c /dev entries driver
[    3.234148] NET: Registered PF_INET6 protocol family
[    3.241836] Segment Routing with IPv6
[    3.245645] In-situ OAM (IOAM) with IPv6
[    3.249665] NET: Registered PF_PACKET protocol family
[    3.255140] 8021q: 802.1Q VLAN Support v1.8
[    3.268434] mt7530-mdio mdio-bus:1f: MT7530 adapts as multi-chip module
[    3.294072] mt7530-mdio mdio-bus:1f: configuring for fixed/rgmii link mode
[    3.301823] mt7530-mdio mdio-bus:1f: Link is Up - 1Gbps/Full - flow control rx/tx
[    3.303486] mt7530-mdio mdio-bus:1f lan1 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7530 PHY] (irq=21)
[    3.322521] mt7530-mdio mdio-bus:1f lan2 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7530 PHY] (irq=22)
[    3.335369] mt7530-mdio mdio-bus:1f lan3 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7530 PHY] (irq=23)
[    3.348282] device eth0 entered promiscuous mode
[    3.353082] DSA: tree 0 setup
[    3.358161] UBI: auto-attach mtd5
[    3.361507] ubi0: attaching mtd5
[    3.460501] UBI: EOF marker found, PEBs from 36 will be erased
[    3.605608] ubi0: scanning is finished
[    3.654082] ubi0: volume 1 ("rootfs_data") re-sized from 9 to 87 LEBs
[    3.661492] ubi0: attached mtd5 (name "ubi", size 18 MiB)
[    3.666976] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    3.673860] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    3.680623] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    3.687580] ubi0: good PEBs: 144, bad PEBs: 0, corrupted PEBs: 0
[    3.693585] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    3.700779] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1711711861
[    3.709891] ubi0: available PEBs: 0, total reserved PEBs: 144, PEBs reserved for bad PEB handling: 19
[    3.719135] ubi0: background thread "ubi_bgt0d" started, PID 307
[    3.721044] block ubiblock0_0: created from ubi0:0(rootfs)
[    3.730684] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    3.780841] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    3.793387] Freeing unused kernel image (initmem) memory: 1220K
[    3.799355] This architecture does not have kernel memory protection.
[    3.805845] Run /sbin/init as init process
[    4.454534] init: Console is alive
[    4.458315] init: - watchdog -
[    5.207570] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    5.269387] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    5.283777] init: - preinit -
[    8.752179] random: crng init done
[    8.917712] mtdblock: MTD device 'board_data' is NAND, please consider using UBI block devices instead.
[   10.143345] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[   10.155815] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   10.162699] mt7530-mdio mdio-bus:1f lan1: configuring for phy/gmii link mode
[   10.171743] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[   12.391047] UBIFS (ubi0:1): default file-system created
[   12.397708] UBIFS (ubi0:1): Mounting in unauthenticated mode
[   12.403657] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 464
[   12.532660] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[   12.540499] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   12.550424] UBIFS (ubi0:1): FS size: 9777152 bytes (9 MiB, 77 LEBs), max 87 LEBs, journal size 1015809 bytes (0 MiB, 6 LEBs)
[   12.561641] UBIFS (ubi0:1): reserved for root: 461798 bytes (450 KiB)
[   12.568084] UBIFS (ubi0:1): media format: w5/r0 (latest is w5/r0), UUID AC2F689B-4F98-41CD-8752-D9F3A13D8CC7, small LPT model
[   12.582928] mount_root: overlay filesystem has not been fully initialized yet
[   12.590750] mount_root: switching to ubifs overlay
[   12.603805] urandom-seed: Seed file not found (/etc/urandom.seed)
[   12.721434] procd: - early -
[   12.724825] procd: - watchdog -
[   13.338500] procd: - watchdog -
[   13.343095] procd: - ubus -
[   13.501447] procd: - init -
Please press Enter to activate this console.
[   14.195405] kmodloader: loading kernel modules from /etc/modules.d/*
[   14.265378] mtk-eip93 1e004000.crypto: EIP93 Crypto Engine Initialized.
[   14.471976] Loading modules backported from Linux version v6.6.15-0-g51f354b815c4
[   14.479528] Backport generated by backports.git 193becf2
[   14.703327] pci 0000:00:00.0: enabling device (0006 -> 0007)
[   14.709016] mt7615e 0000:01:00.0: enabling device (0000 -> 0002)
[   14.717489] mt7615e 0000:01:00.0: Invalid MAC address, using random address 3a:fc:cc:42:a5:7c
[   14.730142] mt7615e 0000:01:00.0: registering led 'mt76-phy0'
[   14.740070] pci 0000:00:01.0: enabling device (0006 -> 0007)
[   14.745984] mt7615e 0000:02:00.0: enabling device (0000 -> 0002)
[   14.753643] mt7615e 0000:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20180518100604a
[   14.753643] 
[   14.759638] mt7615e 0000:02:00.0: Invalid MAC address, using random address 6e:12:18:b0:51:e9
[   14.777711] mt7615e 0000:02:00.0: registering led 'mt76-phy1'
[   14.823936] mt7615e 0000:02:00.0: HW/SW Version: 0x8a108a10, Build Time: 20180518100604a
[   14.823936] 
[   14.883842] PPP generic driver version 2.4.2
[   14.889966] NET: Registered PF_PPPOX protocol family
[   14.904266] kmodloader: done loading kernel modules from /etc/modules.d/*
[   15.090688] mt7615e 0000:01:00.0: N9 Firmware Version: _reserved_, Build Time: 20200814163649
[   15.090757] mt7615e 0000:02:00.0: N9 Firmware Version: _reserved_, Build Time: 20200814163649
[   15.136201] mtdblock: MTD device 'board_data' is NAND, please consider using UBI block devices instead.
[   15.198679] mt7615e 0000:01:00.0: CR4 Firmware Version: _reserved_, Build Time: 20190415154149
[   15.198776] mt7615e 0000:02:00.0: CR4 Firmware Version: _reserved_, Build Time: 20190415154149
[   15.684702] urngd: v1.0.2 started.
[   16.374525] mtdblock: MTD device 'board_data' is NAND, please consider using UBI block devices instead.
[   38.523332] mtk_soc_eth 1e100000.ethernet eth0: Link is Down
[   38.553075] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[   38.561412] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   38.570362] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   38.581462] mt7530-mdio mdio-bus:1f lan1: configuring for phy/gmii link mode
[   38.590546] br-lan: port 1(lan1) entered blocking state
[   38.595892] br-lan: port 1(lan1) entered disabled state
[   38.603968] device lan1 entered promiscuous mode
[   38.627839] mt7530-mdio mdio-bus:1f lan2: configuring for phy/gmii link mode
[   38.636723] br-lan: port 2(lan2) entered blocking state
[   38.642004] br-lan: port 2(lan2) entered disabled state
[   38.649640] device lan2 entered promiscuous mode
[   38.665045] mt7530-mdio mdio-bus:1f lan3: configuring for phy/gmii link mode
[   38.674156] br-lan: port 3(lan3) entered blocking state
[   38.679432] br-lan: port 3(lan3) entered disabled state
[   38.687063] device lan3 entered promiscuous mode
[   38.708754] mtk_soc_eth 1e100000.ethernet wan: PHY [mdio-bus:00] driver [MediaTek MT7530 PHY] (irq=POLL)
[   38.718342] mtk_soc_eth 1e100000.ethernet wan: configuring for phy/rgmii link mode
[   41.731319] mt7530-mdio mdio-bus:1f lan1: Link is Up - 10Mbps/Full - flow control off
[   41.739283] br-lan: port 1(lan1) entered blocking state
[   41.744566] br-lan: port 1(lan1) entered forwarding state
[   41.750676] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   41.872433] mtk_soc_eth 1e100000.ethernet wan: Link is Up - 1Gbps/Full - flow control off
[   41.880661] IPv6: ADDRCONF(NETDEV_CHANGE): wan: link becomes ready



BusyBox v1.36.1 (2024-03-28 11:18:56 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r25698+3-9baf5d0f44
 -----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:/# ubus call system board
{
        "kernel": "6.1.82",
        "hostname": "OpenWrt",
        "system": "MediaTek MT7621 ver:1 eco:3",
        "model": "Buffalo WSR-2533DHPLS",
        "board_name": "buffalo,wsr-2533dhpls",
        "rootfs_type": "squashfs",
        "release": {
                "distribution": "OpenWrt",
                "version": "SNAPSHOT",
                "revision": "r25698+3-9baf5d0f44",
                "target": "ramips/mt7621",
                "description": "OpenWrt SNAPSHOT r25698+3-9baf5d0f44"
        }
}
root@OpenWrt:/# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00080000 00020000 "u-boot"
mtd1: 00080000 00020000 "u-boot-env"
mtd2: 00080000 00020000 "factory"
mtd3: 01800000 00020000 "firmware"
mtd4: 005fffe4 00020000 "linux"
mtd5: 01200000 00020000 "ubi"
mtd6: 01800000 00020000 "Kernel2"
mtd7: 00200000 00020000 "glbcfg"
mtd8: 00200000 00020000 "board_data"
mtd9: 00900000 00020000 "debug_log"
mtd10: 03600000 00020000 "WTB"
root@OpenWrt:/# ubinfo -a
UBI version:                    1
Count of UBI devices:           1
UBI control device major/minor: 10:127
Present UBI devices:            ubi0

ubi0
Volumes count:                           2
Logical eraseblock size:                 126976 bytes, 124.0 KiB
Total amount of logical eraseblocks:     144 (18284544 bytes, 17.4 MiB)
Amount of available logical eraseblocks: 0 (0 bytes)
Maximum count of volumes                 128
Count of bad physical eraseblocks:       0
Count of reserved physical eraseblocks:  19
Current maximum erase counter value:     2
Minimum input/output unit size:          2048 bytes
Character device major/minor:            251:0
Present volumes:                         0, 1

Volume ID:   0 (on ubi0)
Type:        dynamic
Alignment:   1
Size:        34 LEBs (4317184 bytes, 4.1 MiB)
State:       OK
Name:        rootfs
Character device major/minor: 251:1
-----------------------------------
Volume ID:   1 (on ubi0)
Type:        dynamic
Alignment:   1
Size:        87 LEBs (11046912 bytes, 10.5 MiB)
State:       OK
Name:        rootfs_data
Character device major/minor: 251:2
root@OpenWrt:/# mount
/dev/root on /rom type squashfs (ro,relatime,errors=continue)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
/dev/ubi0_1 on /overlay type ubifs (rw,noatime,assert=read-only,ubi=0,vol=1)
overlayfs:/overlay on / type overlay (rw,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work)
tmpfs on /dev type tmpfs (rw,nosuid,noexec,noatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,noatime,mode=600,ptmxmode=000)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
bpffs on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,noatime,mode=700)
root@OpenWrt:/# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 4.3M      4.3M         0 100% /rom
tmpfs                   121.9M    204.0K    121.7M   0% /tmp
/dev/ubi0_1               7.9M    156.0K      7.4M   2% /overlay
overlayfs:/overlay        7.9M    156.0K      7.4M   2% /
tmpfs                   512.0K         0    512.0K   0% /dev
root@OpenWrt:/# 

WSR-2533DHPLS

しばらく前に市川大野のハードオフに行った際に見付け、MT7621であることを把握しており少し悩んで確保したもの。

他のデバイスを弄っていて放置していたら別の方によりPRがオープンされていたものの、弄っていくのでメモ。

Switch

zone WAN LAN
port (WSR-2533DHPLS) INTERNET LAN1 LAN2 LAN3
port (MT7530) port0 port1 port2 port3

MAC

  • LAN: 90:96:F3:xx:xx:30 (board_data, mac (hex))
  • WAN: 90:96:F3:xx:xx:30 (board_data, mac (hex))
  • 2.4G: 90:96:F3:xx:xx:31
  • 5G: 90:96:F3:xx:xx:38

Factory パーティション内のEEPROMデータにMACアドレスが埋め込まれており、なおかつBUFFALOのOUIを持っているものの、実際にインターフェースに割り当てられているアドレスとは異なっていることから、埋め込まれているものは使用されていないようである

root@localhost:/# hexdump -C /dev/mtdblock3 | grep "^0000[08]000\s"
00000000  15 76 a0 00 88 57 ee xx  xx a8 15 76 c3 14 00 80  |.v...W.....v....|
00008000  15 76 a0 00 88 57 ee xx  xx f8 15 76 c3 14 00 80  |.v...W.....v....|

U-Boot

  • help

      => help
      ?       - alias for 'help'
      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
      bootmenu- ANSI terminal bootmenu
      bootp   - boot image via network using BOOTP/TFTP protocol
      chpart  - change active partition
      cmp     - memory compare
      coninfo - print console devices and information
      cp      - memory copy
      crc32   - checksum calculation
      echo    - echo args to console
      editenv - edit environment variable
      env     - environment handling commands
      fdt     - flattened device tree utility commands
      go      - start application at address 'addr'
      gpio    - query and control gpio pins
      help    - print command description/usage
      iminfo  - print header information for application image
      itest   - return true/false on integer compare
      loadb   - load binary file over serial line (kermit mode)
      loads   - load S-Record file over serial line
      loadx   - load binary file over serial line (xmodem mode)
      loady   - load binary file over serial line (ymodem mode)
      loop    - infinite loop on address range
      md      - memory display
      mm      - memory modify (auto-incrementing address)
      mtdparts- define flash/nand partitions
      mtkautoboot- Display MediaTek bootmenu
      mtkboardboot- Boot MT7621 firmware
      mtkload - MTK image loading utility
      mtkupgrade- MTK firmware/bootloader upgrading utility
      mw      - memory write (fill)
      nand    - NAND sub-system
      nboot   - boot from NAND device
      nm      - memory modify (constant address)
      nmbm    - NMBM utility commands
      printenv- print environment variables
      reset   - Perform RESET of the CPU
      run     - run commands in an environment variable
      saveenv - save environment variables to persistent storage
      setenv  - set environment variables
      setexpr - set environment variable as the result of eval expression
      sleep   - delay execution for some time
      source  - run script from memory
      tftpboot- boot image via network using TFTP protocol
      version - print monitor, compiler and linker version
    
  • version

      => version
      U-Boot 2018.090.02 (Jul 09 2021 - 09:54:03 +0800)
    
      mipsel-linux-gcc (Buildroot 2014.11) 4.9.2
      GNU ld (GNU Binutils) 2.24
    
  • printenv

      => printenv
      baudrate=115200
      bootcmd=mtkautoboot
      bootdelay=1
      bootfile=linux.trx-recovery
      bootfile.bootloader=u-boot-mt7621.bin
      bootfile.firmware=openwrt-ramips-squashfs-trx.bin
      bootmenu_0=Startup system (Default)=mtkboardboot
      bootmenu_1=Upgrade firmware=mtkupgrade fw
      bootmenu_2=Upgrade bootloader=mtkupgrade bl
      bootmenu_3=Load image=mtkload
      bootversion=0.02
      fdtcontroladdr=8fff20e0
      ipaddr=192.168.11.1
      netmask=255.255.255.0
      serverip=192.168.11.2
      stderr=uartlite0@1e000c00
      stdin=uartlite0@1e000c00
      stdout=uartlite0@1e000c00
    
      Environment size: 511/131068 bytes
    
  • tftpboot

      => tftpboot
      Using eth@1e100000 device
      TFTP from server 192.168.11.2; our IP address is 192.168.11.1
      Filename 'linux.trx-recovery'.
      Load address: 0x83000000
      Loading: *
    

Kernel

  • uname -a

      root@localhost:/# uname -a
      Linux localhost 4.4.198 #0 SMP Fri Oct 22 07:10:42 UTC 2021 mips GNU/Linux
    
  • cat /proc/version

      root@localhost:/# cat /proc/version
      Linux version 4.4.198 (xxxxx@docker_xxxxx_xxxxx) (gcc version 5.4.0 (LEDE GCC 5.4.0 r0-6716e5f) ) #0 SMP Fri Oct 22 07:10:42 UTC 2021
    
  • cat /proc/cpuinfo

      root@localhost:/# cat /proc/cpuinfo
      system type             : MediaTek MT7621 ver:1 eco:3
      machine                 : MediaTek MT7621 RFB (NAND with NMBM)
      processor               : 0
      cpu model               : MIPS 1004Kc V2.15
      BogoMIPS                : 586.13
      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
      package                 : 0
      core                    : 0
      VCED exceptions         : not available
      VCEI exceptions         : not available
      VPE                     : 0
    
      processor               : 1
      cpu model               : MIPS 1004Kc V2.15
      BogoMIPS                : 586.13
      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
      package                 : 0
      core                    : 0
      VCED exceptions         : not available
      VCEI exceptions         : not available
      VPE                     : 1
    
      processor               : 2
      cpu model               : MIPS 1004Kc V2.15
      BogoMIPS                : 586.13
      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
      package                 : 0
      core                    : 1
      VCED exceptions         : not available
      VCEI exceptions         : not available
      VPE                     : 0
    
      processor               : 3
      cpu model               : MIPS 1004Kc V2.15
      BogoMIPS                : 586.13
      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
      package                 : 0
      core                    : 1
      VCED exceptions         : not available
      VCEI exceptions         : not available
      VPE                     : 1
    
  • cat /proc/meminfo

      root@localhost:/# cat /proc/meminfo
      MemTotal:         250416 kB
      MemFree:          150156 kB
      MemAvailable:     170364 kB
      Buffers:            5796 kB
      Cached:            20652 kB
      SwapCached:            0 kB
      Active:            25844 kB
      Inactive:          15808 kB
      Active(anon):      15532 kB
      Inactive(anon):      596 kB
      Active(file):      10312 kB
      Inactive(file):    15212 kB
      Unevictable:           0 kB
      Mlocked:               0 kB
      SwapTotal:             0 kB
      SwapFree:              0 kB
      Dirty:                 0 kB
      Writeback:             0 kB
      AnonPages:         15204 kB
      Mapped:            10340 kB
      Shmem:               924 kB
      Slab:              11616 kB
      SReclaimable:       2156 kB
      SUnreclaim:         9460 kB
      KernelStack:        1400 kB
      PageTables:          864 kB
      NFS_Unstable:          0 kB
      Bounce:                0 kB
      WritebackTmp:          0 kB
      CommitLimit:      125208 kB
      Committed_AS:      29316 kB
      VmallocTotal:    1048372 kB
      VmallocUsed:           0 kB
      VmallocChunk:          0 kB
    
  • cat /proc/mtd

    セキュリティ機能に用いるらしい "WTB" パーティションにかなりのサイズを取られている

      root@localhost:/# cat /proc/mtd
      dev:    size   erasesize  name
      mtd0: 08000000 00020000 "mtk-nand"
      mtd1: 00080000 00020000 "Bootloader"
      mtd2: 00080000 00020000 "Config"
      mtd3: 00080000 00020000 "Factory"
      mtd4: 01800000 00020000 "Kernel"
      mtd5: 0031ffe4 00020000 "kernel"
      mtd6: 014e0000 00020000 "rootfs"
      mtd7: 00ba0000 00020000 "rootfs_data"
      mtd8: 01800000 00020000 "Kernel2"
      mtd9: 00200000 00020000 "glbcfg"
      mtd10: 00200000 00020000 "board_data"
      mtd11: 00900000 00020000 "debug_log"
      mtd12: 03600000 00020000 "WTB"
    
  • cat /etc/gpio/button_map.txt

      root@localhost:/# cat /etc/gpio/button_map.txt 
      #button should be define link this
      #name=gpio
      #active=[low/high]
      #spec=duration
      #the order of the keywords are critical
    
      #define the button "wps"
      wps_sgl=6
      active=low
      spec=1000
    
      #define the button "default"
      default_sgl=3
      active=low
      spec=3000
    
      #define the switch "router/ap mode"
      routermode=7
      active=high
      spec=0
    
  • bootlog

    
    
      ===================================================================
    
                  MT7621   stage1 code Dec 16 2019 17:45:55 (ASIC)
    
                  CPU=500000000 HZ BUS=166666666 HZ
    
      ==================================================================
    
      Change MPLL source from XTAL to CR...
    
      do MEMPLL setting..
    
      MEMPLL Config : 0x11000000
    
      3PLL mode + External loopback
    
      === XTAL-40Mhz === DDR-1200Mhz ===
    
      PLL3 FB_DL: 0xe, 1/0 = 663/361 39000000
    
      PLL2 FB_DL: 0x14, 1/0 = 660/364 51000000
    
      MEMPLL 3PLL mode calibration fail
    
      DDR patch working
    
      do DDR setting..[01F40000]
    
      Apply DDR3 Setting...(use default AC)
    
                0    8   16   24   32   40   48   56   64   72   80   88   96  104  112  120
    
            --------------------------------------------------------------------------------
    
      0000:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    
      0001:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    
      0002:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    
      0003:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    
      0004:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    
      0005:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    
      0006:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    
      0007:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    
      0008:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    
      0009:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    
      000A:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    
      000B:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    
      000C:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    
      000D:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    1    1
    
      000E:|    0    0    0    0    0    0    0    0    0    1    1    1    1    1    1    1
    
      000F:|    0    0    0    0    1    1    1    1    1    1    1    1    1    1    0    0
    
      0010:|    1    1    1    1    1    1    1    1    1    0    0    0    0    0    0    0
    
      0011:|    1    1    1    1    0    0    0    0    0    0    0    0    0    0    0    0
    
      0012:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    
      0013:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    
      0014:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    
      0015:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    
      0016:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    
      0017:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    
      0018:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    
      0019:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    
      001A:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    
      001B:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    
      001C:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    
      001D:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    
      001E:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    
      001F:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    
      DRAMC_DQSCTL1[0e0]=13000000
    
      DRAMC_DQSGCTL[124]=80000033
    
      rank 0 coarse = 15
    
      rank 0 fine = 72
    
      B:|    0    0    0    0    0    0    0    0    0    1    1    1    0    0    0    0
    
      opt_dle value:10
    
      DRAMC_DDR2CTL[07c]=C287222D
    
      DRAMC_PADCTL4[0e4]=000022B3
    
      DRAMC_DQIDLY1[210]=0B0A0A0A
    
      DRAMC_DQIDLY2[214]=07090907
    
      DRAMC_DQIDLY3[218]=09090807
    
      DRAMC_DQIDLY4[21c]=09070A07
    
      DRAMC_R0DELDLY[018]=00001C1D
    
      ==================================================================
    
              RX  DQS perbit delay software calibration 
    
      ==================================================================
    
      1.0-15 bit dq delay value
    
      ==================================================================
    
      bit|     0  1  2  3  4  5  6  7  8  9
    
      --------------------------------------
    
      0 |    9 8 8 10 6 8 7 7 6 6 
    
      10 |    7 8 7 10 7 9 
    
      --------------------------------------
    
    
      ==================================================================
    
      2.dqs window
    
      x=pass dqs delay value (min~max)center 
    
      y=0-7bit DQ of every group
    
      input delay:DQS0 =29 DQS1 = 28
    
      ==================================================================
    
      bit DQS0     bit      DQS1
    
      0  (1~56)28  8  (1~54)27
    
      1  (1~54)27  9  (1~52)26
    
      2  (1~53)27  10  (1~52)26
    
      3  (1~56)28  11  (1~53)27
    
      4  (1~56)28  12  (1~55)28
    
      5  (1~55)28  13  (2~55)28
    
      6  (1~54)27  14  (1~55)28
    
      7  (1~58)29  15  (1~55)28
    
      ==================================================================
    
      3.dq delay value last
    
      ==================================================================
    
      bit|    0  1  2  3  4  5  6  7  8   9
    
      --------------------------------------
    
      0 |    10 10 10 11 7 9 9 7 7 8 
    
      10 |    9 9 7 10 7 9 
    
      ==================================================================
    
      ==================================================================
    
           TX  perbyte calibration 
    
      ==================================================================
    
      DQS loop = 15, cmp_err_1 = ffff0000 
    
      dqs_perbyte_dly.last_dqsdly_pass[0]=15,  finish count=1 
    
      dqs_perbyte_dly.last_dqsdly_pass[1]=15,  finish count=2 
    
      DQ loop=15, cmp_err_1 = ffff0080
    
      dqs_perbyte_dly.last_dqdly_pass[1]=15,  finish count=1 
    
      DQ loop=14, cmp_err_1 = ffff0000
    
      dqs_perbyte_dly.last_dqdly_pass[0]=14,  finish count=2 
    
      byte:0, (DQS,DQ)=(8,8)
    
      byte:1, (DQS,DQ)=(8,8)
    
      DRAMC_DQODLY1[200]=88888888
    
      DRAMC_DQODLY2[204]=88888888
    
      20,data:88
    
      [EMI] DRAMC calibration passed
    
    
    
      ===================================================================
    
                  MT7621   stage1 code done 
    
                  CPU=500000000 HZ BUS=166666666 HZ
    
      ===================================================================
    
      U-Boot SPL 2018.090.02 (Jul 09 2021 - 09:54:03 +0800)
      Trying to boot from NAND
    
      Initializing NMBM ...
      Signature found at block 1023 [0x07fe0000]
      First info table with writecount 2 found in block 960
      Second info table with writecount 2 found in block 963
      NMBM has been successfully attached
    
    
      U-Boot 2018.090.02 (Jul 09 2021 - 09:54:03 +0800)
    
      CPU:   MediaTek MT7621AT ver 1, eco 3
      Clocks: CPU: 880MHz, DDR: 600MHz (1200MT/s), Bus: 220MHz, XTAL: 40MHz
      Model: MediaTek MT7621 reference board (NAND)
      DRAM:  256 MiB
      NAND:  128 MiB
    
      Initializing NMBM ...
      Signature found at block 1023 [0x07fe0000]
      First info table with writecount 2 found in block 960
      Second info table with writecount 2 found in block 963
      NMBM has been successfully attached
    
      Loading Environment from NMBM... OK
      In:    uartlite0@1e000c00
      Out:   uartlite0@1e000c00
      Err:   uartlite0@1e000c00
      Net:   
      Warning: eth@1e100000 (eth0) using random MAC address - 3a:71:92:34:e2:b4
      eth0: eth@1e100000
      [?25l[2J[1;1H[1;1H[2K[2;1H  *** U-Boot Boot Menu ***[0K[3;1H[2K[10;1H[2K[11;1H  Press UP/DOWN to move, ENTER to select[0K[12;1H[2K[4;1H     [7m1. Startup system (Default)[0m[5;1H     2. Upgrade firmware[6;1H     3. Upgrade bootloader[7;1H     4. Load image[8;1H     0. U-Boot console[10;1H  Hit space to stop autoboot:  1  0 [10;1H[2K[?25h[2J[1;1H
      =================================================
      Checking Image1
      --> nmbm nmbm0 read 83000000 180000 1c
      Reading from 0x180000, size 0x1c
      Succeeded
      ---------------------
      TRX MAGIC    534c4844
      Image len    c4b000
      header crc32 37b4797f
      ---------------------
       trx magic OK!
      --> nmbm nmbm0 read 83000000 180000 c4b000
      Reading from 0x180000, size 0xc4b000
      Succeeded
      ---------------------
      Image1 crc32 37b4797f
      ---------------------
       crc32 OK!
      =================================================
    
      =================================================
      Checking Image2
      --> nmbm nmbm0 read 83000000 1980000 1c
      Reading from 0x1980000, size 0x1c
      Succeeded
      ---------------------
      TRX MAGIC    534c4844
      Image len    c4b000
      header crc32 37b4797f
      ---------------------
       trx magic OK!
      --> nmbm nmbm0 read 83000000 1980000 c4b000
      Reading from 0x1980000, size 0xc4b000
      Succeeded
      ---------------------
      Image2 crc32 37b4797f
      ---------------------
       crc32 OK!
      =================================================
      ## check Image1 return 0, check Image2 return 0, Image1 crc32=37b4797f, Image2 crc32=37b4797f.
      Image1 is ok!
      Image2 is ok and same as Image1!
      genimg_get_format> IMAGE_FORMAT_TRX!
      TRX Image
      [210] Loading mtd[nmbm0] TRX image at offset 0x180000 to memory 0x83000000, size 0xc4b000 ...
      genimg_get_format> IMAGE_FORMAT_FIT!
      Automatic boot of image at addr 0x83000000 ...
      genimg_get_format> IMAGE_FORMAT_FIT!
      ## Loading kernel from FIT Image at 8300001c ...
         Using 'config@1' configuration
         Trying 'kernel@1' kernel subimage
           Description:  MIPS OpenWrt Linux-4.4.198
           Type:         Kernel Image
           Compression:  lzma compressed
           Data Start:   0x83000100
           Data Size:    3230966 Bytes = 3.1 MiB
           Architecture: MIPS
           OS:           Linux
           Load Address: 0x81001000
           Entry Point:  0x81001000
           Hash algo:    crc32
           Hash value:   a3aa7fd2
           Hash algo:    sha1
           Hash value:   84437fe4bb8150c8d366d5c4bc63c09baf5ae947
         Verifying Hash Integrity ... crc32+ sha1+ OK
      genimg_get_format> IMAGE_FORMAT_FIT!
      genimg_get_format> IMAGE_FORMAT_FIT!
      ## Loading fdt from FIT Image at 8300001c ...
         Using 'config@1' configuration
         Trying 'fdt@1' fdt subimage
           Description:  MIPS OpenWrt mt7621-rfb-nmbm device tree blob
           Type:         Flat Device Tree
           Compression:  uncompressed
           Data Start:   0x83314f38
           Data Size:    11064 Bytes = 10.8 KiB
           Architecture: MIPS
           Hash algo:    crc32
           Hash value:   df8bc807
           Hash algo:    sha1
           Hash value:   b9c2888f121b920426a203b8bd2d060b835490a1
         Verifying Hash Integrity ... crc32+ sha1+ OK
         Booting using the fdt blob at 0x83314f38
      genimg_get_format> IMAGE_FORMAT_FIT!
         Uncompressing Kernel Image ... OK
         Loading Device Tree to 8fe77000, end 8fe7cb37 ... OK
      [    0.000000] Linux version 4.4.198 (xxxxx@docker_xxxxx_xxxx) (gcc version 5.4.0 (LEDE GCC 5.4.0 r0-6716e5f) ) #0 SMP Fri Oct 22 07:10:42 UTC 2021
      [    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
      [    0.000000] bootconsole [early0] enabled
      [    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
      [    0.000000] MIPS: machine is MediaTek MT7621 RFB (NAND with NMBM)
      [    0.000000] Determined physical RAM map:
      [    0.000000]  memory: 10000000 @ 00000000 (usable)
      [    0.000000] Initrd not found or empty - disabling initrd
      [    0.000000] Zone ranges:
      [    0.000000]   DMA      [mem 0x0000000000000000-0x0000000000ffffff]
      [    0.000000]   Normal   [mem 0x0000000001000000-0x000000000fffffff]
      [    0.000000] Movable zone start for each node
      [    0.000000] Early memory node ranges
      [    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
      [    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
      [    0.000000] VPE topology {2,2} total 4
      [    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
      [    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
      [    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
      [    0.000000] PERCPU: Embedded 10 pages/cpu @81b4b000 s8832 r8192 d23936 u40960
      [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
      [    0.000000] Kernel command line: console=ttyS0,115200 init=/sbin/preinit rootfstype=squashfs,jffs2
      [    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
      [    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
      [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
      [    0.000000] Writing ErrCtl register=000029c0
      [    0.000000] Readback ErrCtl register=000029c0
      [    0.000000] Memory: 250204K/262144K available (6490K kernel code, 850K rwdata, 1524K rodata, 212K init, 352K bss, 11940K reserved, 0K cma-reserved)
      [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
      [    0.000000] Hierarchical RCU implementation.
      [    0.000000] NR_IRQS:256
      [    0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
      [    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
      [    0.000009] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns
      [    0.007777] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
      [    0.070403] pid_max: default: 32768 minimum: 301
      [    0.075124] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
      [    0.081650] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
      [    3.212420] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
      [    3.212430] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
      [    3.212440] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
      [    3.212586] CPU1 revision is: 0001992f (MIPS 1004Kc)
      [    0.177605] Synchronize counters for CPU 1: done.
      [    2.987389] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
      [    2.987395] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
      [    2.987402] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
      [    2.987472] CPU2 revision is: 0001992f (MIPS 1004Kc)
      [    0.267974] Synchronize counters for CPU 2: done.
      [    3.077499] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
      [    3.077505] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
      [    3.077511] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
      [    3.077595] CPU3 revision is: 0001992f (MIPS 1004Kc)
      [    0.353151] Synchronize counters for CPU 3: done.
      [    0.357889] Brought up 4 CPUs
      [    0.365541] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
      [    0.375333] futex hash table entries: 1024 (order: 3, 32768 bytes)
      [    0.381636] pinctrl core: initialized pinctrl subsystem
      [    0.388241] NET: Registered protocol family 16
      [    0.427155] mt7621_gpio 1e000600.gpio: registering 32 gpios
      [    0.432819] mt7621_gpio 1e000600.gpio: registering 32 gpios
      [    0.438434] mt7621_gpio 1e000600.gpio: registering 32 gpios
      [    0.444576] mt7621-pci 1e140000.pcie: Failed to get gpio for PCIe1
      [    0.450688] mt7621-pci 1e140000.pcie: Failed to get gpio for PCIe2
      [    0.657171] PCIe port 2 link down
      [    0.660404] PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
      [    0.700171] PCI host bridge to bus 0000:00
      [    0.704197] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
      [    0.711076] pci_bus 0000:00: root bus resource [io  0x1e160000-0x1e16ffff]
      [    0.717854] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
      [    0.724620] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
      [    0.734806] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
      [    0.741493] pci 0000:00:01.0: BAR 8: assigned [mem 0x60100000-0x601fffff]
      [    0.748246] pci 0000:00:00.0: BAR 1: assigned [mem 0x60200000-0x6020ffff]
      [    0.754967] pci 0000:00:01.0: BAR 1: assigned [mem 0x60210000-0x6021ffff]
      [    0.761730] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
      [    0.768981] pci 0000:00:00.0: PCI bridge to [bus 01]
      [    0.773910] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
      [    0.780641] pci 0000:02:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit]
      [    0.787912] pci 0000:00:01.0: PCI bridge to [bus 02]
      [    0.792807] pci 0000:00:01.0:   bridge window [mem 0x60100000-0x601fffff]
      [    0.801357] clocksource: Switched to clocksource GIC
      [    0.808300] NET: Registered protocol family 2
      [    0.813387] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
      [    0.820280] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
      [    0.826700] TCP: Hash tables configured (established 2048 bind 2048)
      [    0.833050] UDP hash table entries: 256 (order: 1, 8192 bytes)
      [    0.838801] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
      [    0.845314] NET: Registered protocol family 1
      [    0.863742] squashfs: version 4.0 (2009/01/31) Phillip Lougher
      [    0.869515] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
      [    0.882412] io scheduler noop registered
      [    0.886254] io scheduler deadline registered (default)
      [    0.892685] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
      [    0.899966] console [ttyS0] disabled
      [    0.903533] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 33, base_baud = 3125000) is a 16550A
      [    0.912511] console [ttyS0] enabled
      [    0.912511] console [ttyS0] enabled
      [    0.919402] bootconsole [early0] disabled
      [    0.919402] bootconsole [early0] disabled
      [    0.928098] init_led_status(): Reguest GPIO 13 success!
      [    0.933361] init_led_status(): Reguest GPIO 14 success!
      [    0.938584] init_led_status(): Reguest GPIO 17 success!
      [    0.943817] init_led_status(): Reguest GPIO  8 success!
      [    0.949037] init_led_status(): Reguest GPIO 12 success!
      [    0.954271] init_led_status(): Reguest GPIO 10 success!
      [    0.959491] init_led_status(): Reguest GPIO 18 success!
      [    0.964724] init_led_status(): Reguest GPIO  4 success!
      [    0.969983] @@@@@@#### buffalo_led_init initialized. 
      [    0.977045] libphy: Fixed MDIO Bus: probed
      [    1.021670] libphy: mdio: probed
      [    1.025427] mtk_soc_eth 1e100000.ethernet: generated random MAC address a6:dd:c8:e5:74:99
      [    1.034102] mtk_soc_eth 1e100000.ethernet: connected mac 0 to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY]
      [    1.045249] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 10
      [    1.053714] mtk_soc_eth 1e100000.ethernet: generated random MAC address 92:8c:93:0a:28:34
      [    1.062408] mtk_soc_eth 1e100000.ethernet: connected mac 1 to PHY at fixed-0:01 [uid=00000000, driver=Generic PHY]
      [    1.073505] mtk_soc_eth 1e100000.ethernet eth1: mediatek frame engine at 0xbe100000, irq 10
      [    1.082175] register mt_drv
      [    1.102927] 
      [    1.102927] == pAd = c0181000, size = 6527808, Status=0 ==
      [    1.109910] pAd->PciHif.CSRBaseAddress =0xc0080000, csr_addr=0xc0080000!
      [    1.116638] RTMPInitPCIeDevice():device_id=0x7615
      [    1.121369] mt_pci_chip_cfg(): HWVer=0x8a10, FWVer=0x8a10, pAd->ChipID=0x7615
      [    1.128501] mt_pci_chip_cfg(): HIF_SYS_REV=0x76150001
      [    1.133559] AP Driver version-5.1.0.0
      [    1.137221] RtmpChipOpsHook(223): Not support for HIF_MT yet! MACVersion=0x0
      [    1.144275] mt7615_init()-->
      [    1.147155] Use 1st iPAiLNA default bin.
      [    1.151071] Use 0st /etc_ro/wlan/MT7615E_EEPROM1.bin default bin.
      [    1.157187] <--mt7615_init()
      [    1.162829] <-- RTMPAllocTxRxRingMemory, Status=0
      [    1.167685] RtmpOSFileOpen(): Error 2 opening /etc/wireless/l1profile.dat
      [    1.194004] 
      [    1.194004] == pAd = c0901000, size = 6527808, Status=0 ==
      [    1.200987] pAd->PciHif.CSRBaseAddress =0xc0800000, csr_addr=0xc0800000!
      [    1.207715] RTMPInitPCIeDevice():device_id=0x7615
      [    1.212436] mt_pci_chip_cfg(): HWVer=0x8a10, FWVer=0x8a10, pAd->ChipID=0x7615
      [    1.219567] mt_pci_chip_cfg(): HIF_SYS_REV=0x76150001
      [    1.224633] AP Driver version-5.1.0.0
      [    1.228295] RtmpChipOpsHook(223): Not support for HIF_MT yet! MACVersion=0x0
      [    1.235355] mt7615_init()-->
      [    1.238234] Use 2nd iPAiLNA default bin.
      [    1.242165] Use 1st /etc_ro/wlan/MT7615E_EEPROM2.bin default bin.
      [    1.248269] <--mt7615_init()
      [    1.253919] <-- RTMPAllocTxRxRingMemory, Status=0
      [    1.258777] RtmpOSFileOpen(): Error 2 opening /etc/wireless/l1profile.dat
      [    1.268412] mt7621_wdt 1e000100.wdt: Initialized
      [    1.273485] Netfilter messages via NETLINK v0.30.
      [    1.278222] nf_conntrack version 0.5.0 (3909 buckets, 15636 max)
      [    1.284783] Bytecounter: allocated 64 tables
      [    1.289515] ip_tables: (C) 2000-2006 Netfilter Core Team
      [    1.296483] NET: Registered protocol family 10
      [    1.301993] mca_alloc:863->current[swapper/0]
      [    1.306365] mca_alloc:863->current[swapper/0]
      [    1.310860] mca_alloc:863->current[swapper/0]
      [    1.315251] mca_alloc:863->current[swapper/0]
      [    1.319733] mca_alloc:863->current[swapper/0]
      [    1.324106] mca_alloc:863->current[swapper/0]
      [    1.328595] mca_alloc:863->current[swapper/0]
      [    1.332971] mca_alloc:863->current[swapper/0]
      [    1.337450] mca_alloc:863->current[swapper/0]
      [    1.341820] mca_alloc:863->current[swapper/0]
      [    1.346423] sit: IPv6 over IPv4 tunneling driver
      [    1.352070] mca_alloc:863->current[swapper/0]
      [    1.356441] mca_alloc:863->current[swapper/0]
      [    1.361889] mca_alloc:863->current[swapper/0]
      [    1.366261] mca_alloc:863->current[swapper/0]
      [    1.370686] ip6_tunnel: Create ip6_tunnel_fmr proc
      [    1.375509] ip6_tunnel: Success
      [    1.378956] NET: Registered protocol family 17
      [    1.383590] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
      [    1.396228] 8021q: 802.1Q VLAN Support v1.8
      [    1.402916] mtkmips-pinmux pinctrl: spi is already enabled
      [    1.408422] mtk-nand 1e003000.nand: Error applying setting, reverse things back
      [    1.416029] nand: device found, Manufacturer ID: 0x98, Chip ID: 0xf1
      [    1.422396] nand: Toshiba NAND 128MiB 3,3V 8-bit
      [    1.427012] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
      [    1.435194] Scanning device for bad blocks
      [    2.732182] Bad eraseblock 768 at 0x000006000000
      [    3.168060] nmbm nmbm: Signature found at block 1023 [0x07fe0000]
      [    3.177733] nmbm nmbm: First info table with writecount 2 found in block 960
      [    3.195053] nmbm nmbm: Second info table with writecount 2 found in block 963
      [    3.202339] nmbm nmbm: NMBM has been successfully attached
      [    3.207880] 9 ofpart partitions found on MTD device nmbm
      [    3.213203] Creating 9 MTD partitions on "nmbm":
      [    3.217825] 0x000000000000-0x000000080000 : "Bootloader"
      [    3.224393] 0x000000080000-0x000000100000 : "Config"
      [    3.230444] 0x000000100000-0x000000180000 : "Factory"
      [    3.236736] 0x000000180000-0x000001980000 : "Kernel"
      [    3.244820] 2 trx-fw partitions found on MTD device Kernel
      [    3.250325] 0x00000018001c-0x0000004a0000 : "kernel"
      [    3.256529] 0x0000004a0000-0x000001980000 : "rootfs"
      [    3.262828] mtd: device 6 (rootfs) set to be root filesystem
      [    3.269484] 1 squashfs-split partitions found on MTD device rootfs
      [    3.275704] 0x000000de0000-0x000001980000 : "rootfs_data"
      [    3.282430] 0x000001980000-0x000003180000 : "Kernel2"
      [    3.288777] 0x000003180000-0x000003380000 : "glbcfg"
      [    3.294989] 0x000003380000-0x000003580000 : "board_data"
      [    3.301538] 0x000003580000-0x000003e80000 : "debug_log"
      [    3.307949] 0x000003e80000-0x000007480000 : "WTB"
      [    3.351499] mt753x gsw: Switch is MediaTek MT7530 rev 1
      [    3.378222] libphy: mt753x_mdio: probed
      [    3.388195] hctosys: unable to open rtc device (rtc0)
      [    3.405774] VFS: Mounted root (squashfs filesystem) readonly on device 31:6.
      [    3.413387] Freeing unused kernel memory: 212K
      [    3.417841] This architecture does not have kernel memory protection.
      [    6.711638] mt753x gsw: Port 3 Link is Up - 1Gbps/Full
      [    6.813202] random: dbus-uuidgen: uninitialized urandom read (12 bytes read, 33 bits of entropy available)
      [    6.823095] random: dbus-uuidgen: uninitialized urandom read (8 bytes read, 33 bits of entropy available)
      [    7.266687] random: dbus-daemon: uninitialized urandom read (12 bytes read, 33 bits of entropy available)
      [    7.285895] random: dbus-daemon: uninitialized urandom read (12 bytes read, 33 bits of entropy available)
      arca.dbus.mng: is ready
      agent_handler(246):arca.dbus.misc: is ready
    
      Please press Enter to activate this console. [   10.484515] l2tp_core: L2TP core driver, V2.0
      [   10.493992] l2tp_netlink: L2TP netlink interface
      [   10.598412] gre: GRE over IPv4 demultiplexor driver
      [   10.607950] ip_gre: GRE over IPv4 tunneling driver
      [   10.614050] mca_alloc:863->current[insmod]
      [   10.618243] mca_alloc:863->current[insmod]
      [   10.623673] mca_alloc:863->current[insmod]
      [   10.627863] mca_alloc:863->current[insmod]
      [   10.636865] ip6_tables: (C) 2000-2006 Netfilter Core Team
      [   11.040285] mediatek_soc_hnat 1e100000.hnat: wan = eth1
      [   11.045664] mediatek_soc_hnat 1e100000.hnat: lan = eth0
      [   11.050915] mediatek_soc_hnat 1e100000.hnat: ppd = eth0
      [   11.056174] mediatek_soc_hnat 1e100000.hnat: gmac num = 2
      [   11.061825] mediatek_soc_hnat 1e100000.hnat: ext devices = rai0
      [   11.067746] mediatek_soc_hnat 1e100000.hnat: ext devices = ra0
      [   11.073591] mediatek_soc_hnat 1e100000.hnat: ext devices = rai1
      [   11.079511] mediatek_soc_hnat 1e100000.hnat: ext devices = ra1
      [   11.085354] mediatek_soc_hnat 1e100000.hnat: ext devices = rai2
      [   11.091273] mediatek_soc_hnat 1e100000.hnat: ext devices = ra2
      [   11.097147] mediatek_soc_hnat 1e100000.hnat: ext devices = rai3
      [   11.103114] mediatek_soc_hnat 1e100000.hnat: ext devices = ra3
      [   11.108956] mediatek_soc_hnat 1e100000.hnat: ext devices = apclii0
      [   11.115169] mediatek_soc_hnat 1e100000.hnat: ext devices = apcli0
      [   11.126013] mediatek_soc_hnat 1e100000.hnat: FOE entry number = 16384
      [   11.135015] mediatek_soc_hnat 1e100000.hnat: hwnat start
      [   11.178802] nf_log_ipv4: failed to register logger
      [   11.460878] xt_time: kernel timezone is -0000
      [   11.584644] PPP generic driver version 2.4.2
      [   11.595861] PPP MPPE Compression module registered
      [   11.605698] NET: Registered protocol family 24
      [   11.615442] PPTP driver version 0.8.5
      [   11.674610] l2tp_ppp: PPPoL2TP kernel driver, V2.0
      [   11.836773] Bridge firewalling registered
      [   11.877189] ctnetlink v0.93: registering with nfnetlink.
      [   11.912263] initial /net/netfilter/nf_safety proc
      [   11.939901] xt_applications: module license '' taints kernel.
      [   11.945700] Disabling lock debugging due to kernel taint
      [   11.961164] initialize xt_schedule.
      [   11.964836] Create /proc/net/xt_schedule_timeout_force_unmatch.
      [   12.122261] ubi0: attaching mtd12
      [   12.856108] ubi0: scanning is finished
      [   12.881801] ubi0: attached mtd12 (name "WTB", size 54 MiB)
      [   12.887533] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
      [   12.894569] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
      [   12.901414] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
      [   12.908381] ubi0: good PEBs: 432, bad PEBs: 0, corrupted PEBs: 0
      [   12.914401] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
      [   12.921643] ubi0: max/mean erase counter: 3/2, WL threshold: 4096, image sequence number: 1008274761
      [   12.930772] ubi0: available PEBs: 0, total reserved PEBs: 432, PEBs reserved for bad PEB handling: 19
      [   12.940044] ubi0: background thread "ubi_bgt0d" started, PID 788
      [   13.976535] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 800
      [   14.082952] UBIFS (ubi0:0): recovery needed
      [   14.153872] UBIFS (ubi0:0): recovery completed
      [   14.158428] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "dpi"
      [   14.165612] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
      [   14.175575] UBIFS (ubi0:0): FS size: 50663424 bytes (48 MiB, 399 LEBs), journal size 2539520 bytes (2 MiB, 20 LEBs)
      [   14.186029] UBIFS (ubi0:0): reserved for root: 2392958 bytes (2336 KiB)
      [   14.192669] UBIFS (ubi0:0): media format: w4/r0 (latest is w4/r0), UUID 4A52096B-3091-4A3C-8FC1-D227680B7D92, small LPT model
      [   14.245276] ubi1: attaching mtd11
      [   14.370775] ubi1: scanning is finished
      [   14.395499] ubi1: attached mtd11 (name "debug_log", size 9 MiB)
      [   14.401542] ubi1: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
      [   14.408443] ubi1: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
      [   14.415251] ubi1: VID header offset: 2048 (aligned 2048), data offset: 4096
      [   14.422227] ubi1: good PEBs: 72, bad PEBs: 0, corrupted PEBs: 0
      [   14.428145] ubi1: user volume: 1, internal volumes: 1, max. volumes count: 128
      [   14.435383] ubi1: max/mean erase counter: 3/2, WL threshold: 4096, image sequence number: 1492924613
      [   14.444532] ubi1: available PEBs: 0, total reserved PEBs: 72, PEBs reserved for bad PEB handling: 19
      [   14.453717] ubi1: background thread "ubi_bgt1d" started, PID 815
      [   15.496772] UBIFS (ubi1:0): background thread "ubifs_bgt1_0" started, PID 827
      [   15.603185] UBIFS (ubi1:0): recovery needed
      [   15.672621] UBIFS (ubi1:0): recovery completed
      [   15.677176] UBIFS (ubi1:0): UBIFS: mounted UBI device 1, volume 0, name "debug_log"
      [   15.684874] UBIFS (ubi1:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
      [   15.694806] UBIFS (ubi1:0): FS size: 4952064 bytes (4 MiB, 39 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs)
      [   15.704908] UBIFS (ubi1:0): reserved for root: 233898 bytes (228 KiB)
      [   15.711379] UBIFS (ubi1:0): media format: w4/r0 (latest is w4/r0), UUID 85695455-71D4-46D8-89A6-4648613BF7CE, small LPT model
      [   17.197341] mca_alloc:863->current[kworker/1:0]
      Need check if need fine tune smp in arc_elan later
      [   19.074218] mt753x gsw: Port 3 Link is Down
      [   19.158805] mca_alloc:863->current[brctl]
      [   19.163190] mca_alloc:863->current[brctl]
      [   19.178677] debug : Enter [BRCTL_ADD_IF] 
      [   19.182820] add_if 00000000 ***************************
      [   19.188449] device eth0 entered promiscuous mode
      [   19.206831] mca_alloc:863->current[brctl]
      [   19.211103] mca_alloc:863->current[brctl]
      [   19.227989] mca_alloc:863->current[brctl]
      [   19.232122] mca_alloc:863->current[brctl]
      [   19.322879] br0: port 1(eth0) entered forwarding state
      [   19.328064] br0: port 1(eth0) entered forwarding state
      [   19.350095] mca_alloc:863->current[kworker/1:0]
      [   19.359007] mca_alloc:863->current[kworker/0:0]
      [   19.544228] mca_alloc:863->current[kworker/3:1]
      [   19.821886] random: nonblocking pool is initialized
      [   19.886669] ra0: ===> main_virtual_if_open
      [   19.891275] load l1profile succeed!
      [   19.894902] driver_own()::Try to Clear FW Own...
      [   20.200862] driver_own()::Success to clear FW Own
      [   20.207778] APWdsInitialize():WdsEntry Number=4
      [   20.218327] RtmpOSFileOpen(): Error 2 opening /etc/Wireless/RT2860/RT2860_5G.dat
      [   20.225799] Open file "/etc/Wireless/RT2860/RT2860_5G.dat" failed!
      [   20.232843] MacAddress1 = 00:00:00:00:00:00
      [   20.237310] MacAddress2 = 00:00:00:00:00:00
      [   20.241799] MacAddress3 = 00:00:00:00:00:00
      [   20.246259] MacAddress4 = 00:00:00:00:00:00
      [   20.250713] MacAddress5 = 00:00:00:00:00:00
      [   20.255388] E2pAccessMode=2
      [   20.258836] SSID[0]=Buffalo-G-D530, EdcaIdx=0
      [   20.263436] SSID[1]=Buffalo-G-D530_2, EdcaIdx=0
      [   20.268190] SSID[2]=Guest-D530, EdcaIdx=0
      [   20.272451] SSID[3]=, EdcaIdx=0
      [   20.275815] SSID[4]=, EdcaIdx=0
      [   20.279178] SSID[5]=Buffalo-G-D530-WPA3, EdcaIdx=0
      [   20.284849] BSS0 PhyMode=14
      [   20.287649] wmode_band_equal(): Band Equal!
      [   20.291850] BSS1 PhyMode=14
      [   20.294642] BSS2 PhyMode=14
      [   20.297430] BSS3 PhyMode=14
      [   20.300218] BSS4 PhyMode=14
      [   20.303042] BSS5 PhyMode=14
      [   20.306002] auto_ch_select_set_cfg(): BandIdx0, AutoChannelAtBootup=1, AutoChannelAlg = 3
      [   20.315839] BandSteering=0
      [   20.318692] BndStrgBssIdx=
      [   20.321650] [TxPower] BAND0: 100 
      [   20.325443] Power Boost (CCK, OFDM): RTMPSetProfileParametersPower Boost (HT20): RTMPSetProfileParametersPower Boost (HT40): RTMPSetProfileParametersPower Boost (VHT20): RTMPSetProfileParametersPower Boost (VHT40): RTMPSetProfileParametersPower Boost (VHT80): RTMPSetProfileParametersPower Boost (VHT160): RTMPSetProfileParameters[CCKTxStream] BAND0: 4
      [   20.358491] [PERCENTAGEenable] BAND0: 1 
      [   20.362585] [BFBACKOFFenable] BAND0: 0 
      [   20.366570] CalCacheApply = 0 
      [   20.370826] FragThreshold[0]=2346
      [   20.387150] DfsZeroWait Support=0/0
      [   20.391942] DfsZeroWaitCacTime=255/255
      [   20.397627] read_etxbf: ETxBfEnCond = 1
      [   20.401483] read_etxbf: BSSID[0]
      [   20.404708] read_etxbf: MBSS[0] ETxBfEnCond = 1
      [   20.409233] read_etxbf: More BSSID[1]
      [   20.412921] read_etxbf: More MBSS[1] ETxBfEnCond = 1
      [   20.417882] read_etxbf: More BSSID[2]
      [   20.421558] read_etxbf: More MBSS[2] ETxBfEnCond = 1
      [   20.426518] read_etxbf: More BSSID[3]
      [   20.430175] read_etxbf: More MBSS[3] ETxBfEnCond = 1
      [   20.435152] read_etxbf: More BSSID[4]
      [   20.438812] read_etxbf: More MBSS[4] ETxBfEnCond = 1
      [   20.443790] read_etxbf: More BSSID[5]
      [   20.447450] read_etxbf: More MBSS[5] ETxBfEnCond = 1
      [   20.507452] If/wds0 - PeerPhyOpMode=255
      [   20.512421] APWdsInitialize():WdsEntry Number=4
      [   20.516949] WDS-Enable mode=0
      [   20.520128] AndesSendCmdMsg: Could not send in band command due to diablefRTMP_ADAPTER_MCU_SEND_IN_BAND_CMD
      [   20.529884] AndesSendCmdMsg: Command type = ed, Extension command type = 48
      [   20.537803] HT: Channel Width = 20 MHz
      [   20.544726] HT: WDEV[0] Ext Channel = ABOVE
      [   20.549248] HT: greenap_cap = 1
      [   20.552614] ChipI=7615, Value=0, pcie_aspm in profile=0
      [   20.605245] Oce_read_parameters_from_file: OCE_FILS_CACHE1 (0000)
      [   20.621725] ICapMode = 0
      [   20.632150] WtcSetMaxStaNum: BssidNum:6, MaxStaNum:120 (WdsNum:4, ApcliNum:1, MaxNumChipRept:32), MinMcastWcid:121
      [   20.642762] Top Init Done!
      [   20.645480] Use dev_alloc_skb
      [   20.649820] RX[0] DESC a0cec000 size = 16384
      [   20.655491] RX[1] DESC a0d20000 size = 8192
      [   20.660242] cut_through_init(): ct sw token number = 4095
      [   20.666061] cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
      [   20.673844] cut_through_token_list_init(): 8d5c4488,8d5c4488
      [   20.680024] cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
      [   20.687783] cut_through_token_list_init(): 8d5c4498,8d5c4498
      [   20.693481] Hif Init Done!
      [   20.696192] ctl->txq = c07912d4
      [   20.699327] ctl->rxq = c07912e0
      [   20.702481] ctl->ackq = c07912ec
      [   20.705706] ctl->kickq = c07912f8
      [   20.709014] ctl->tx_doneq = c0791304
      [   20.712603] ctl->rx_doneq = c0791310
      [   20.716247] Parsing patch header
      [   20.719470]  Built date: 20180518100604a
      [   20.723466] 
      [   20.724953]  Platform: ALPS
      [   20.727757]  HW/SW version: 0x8a108a10
      [   20.731551]  Patch version: 0x00000010
      [   20.735325]  Target address: 0x80000, length: 11072
      [   20.740367] patch is not ready && get semaphore success
      [   20.745686] EventGenericEventHandler: CMD Success
      [   20.750556] MtCmdPatchFinishReq
      [   20.765003] EventGenericEventHandler: CMD Success
      [   20.769824] release patch semaphore
      [   20.773343] WfMcuHwInit: Before NICLoadFirmware, check ICapMode = 0
      [   20.779618] Parsing CPU 0 fw tailer
      [   20.783116]  Chip ID: 0x04
      [   20.785835]  Eco version: 0x00
      [   20.788894]  Region number: 0x00
      [   20.792147]  Format version: 0x00
      [   20.795467]  Ram version: _reserved_
      [   20.799074]  Built date: 20211020144735 
      [   20.803067]  Common crc: 0x0
      [   20.805945] Parsing tailer region 0
      [   20.809427]  Feature set: 0x01
      [   20.812511]  Target address: 0x84000, Download size: 409600
      [   20.818078] Parsing tailer region 1
      [   20.821574]  Feature set: 0x01
      [   20.824640]  Target address: 0x209c400, Download size: 48304
      [   20.830359] EventGenericEventHandler: CMD Success
      [   20.839437] EventGenericEventHandler: CMD Success
      [   20.844731] MtCmdFwStartReq: override = 0x1, address = 0x84000
      [   20.850619] EventGenericEventHandler: CMD Success
      [   20.855363] Parsing CPU 1 fw tailer
      [   20.858855]  Chip ID: 0x04
      [   20.861606]  Eco version: 0x00
      [   20.864669]  Region number: 0x00
      [   20.867901]  Format version: 0x00
      [   20.871220]  Ram version: _reserved_
      [   20.874847]  Built date: 20190415154149 
      [   20.878822]  Common crc: 0x0
      [   20.881717] Parsing tailer region 0
      [   20.885202]  Feature set: 0x01
      [   20.888265]  Target address: 0x90000000, Download size: 122608
      [   20.894179] EventGenericEventHandler: CMD Success
      [   20.899999] MtCmdFwStartReq: override = 0x4, address = 0x0
      [   20.940820] EventGenericEventHandler: CMD Success
      [   21.009755] MCU Init Done!
      [   21.012496] efuse_probe: efuse = 10000212
      [   21.016509] RtmpChipOpsEepromHook::e2p_type=2, inf_Type=5
      [   21.021916] RtmpEepromGetDefault::e2p_dafault=1
      [   21.026445] RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 2, E2P default = 1
      [   21.034032] NVM is FLASH mode. dev_idx [0] FLASH OFFSET [0x0]
      [   21.040739] [34mNICReadEEPROMParameters: EEPROM 0x52 b317 12288[m
      [   21.047993] MtCmdSetTxLpfCal:(ret = 0)
      [   21.051824] MtCmdSetTxIqCal:(ret = 0)
      [   21.055513] MtCmdSetTxDcCal:(ret = 0)
      [   21.059193] MtCmdSetRxFiCal:(ret = 0)
      [   21.062922] MtCmdSetRxFdCal:(ret = 0)
      [   21.066610] MtCmdSetRxFdCal:(ret = 0)
      [   21.070293] MtCmdSetRxFdCal:(ret = 0)
      [   21.074007] MtCmdSetRxFdCal:(ret = 0)
      [   21.077695] MtCmdSetRxFdCal:(ret = 0)
      [   21.081394] MtCmdSetRxFdCal:(ret = 0)
      [   21.085078] MtCmdSetRxFdCal:(ret = 0)
      [   21.088758] MtCmdSetRxFdCal:(ret = 0)
      [   21.092459] MtCmdSetRxFdCal:(ret = 0)
      [   21.618529] Country Region from e2p = 101
      [   21.622596] mt7615_antenna_default_reset(): TxPath = 4, RxPath = 4
      [   21.628780] RcRadioInit(): DbdcMode=0, ConcurrentBand=1
      [   21.634026] RcRadioInit(): pRadioCtrl=8f0d8af4,Band=0,rfcap=3,channel=1,PhyMode=2 extCha=0xf
      [   21.642497] MtSingleSkuLoadParam: RF_LOCKDOWN Feature OFF !!!
      [   21.650171] MtBfBackOffLoadParam: RF_LOCKDOWN Feature OFF !!!
      [   21.656247] EEPROM Init Done!
      [   21.659222] mt_mac_init()-->
      [   21.662122] mt7615_init_mac_cr()-->
      [   21.665626] mt7615_init_mac_cr(): TMAC_TRCR0=0x82783c8c
      [   21.670862] <--mt_mac_init()
      [   21.673970] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
      [   21.680598] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
      [   21.687264] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
      [   21.693881] MAC Init Done!
      [   21.696592] MT7615BBPInit():BBP Initialization.....
      [   21.701501]  Band 0: valid=1, isDBDC=0, Band=2, CBW=1, CentCh/PrimCh=1/1, prim_ch_idx=0, txStream=2
      [   21.710547]  Band 1: valid=0, isDBDC=0, Band=0, CBW=0, CentCh/PrimCh=0/0, prim_ch_idx=0, txStream=0
      [   21.719606] MT7615BBPInit() todo
      [   21.722849] PHY Init Done!
      [   21.728461] MtCmdSetMacTxRx:(ret = 0)
      [   21.732514] ap_ftkd> Initialize FT KDP Module...
      [   21.737180] Main bssid = 00:00:00:00:00:00
      [   21.741527] MtCmdSetMacTxRx:(ret = 0)
      [   21.746401] MtCmdSetMacTxRx:(ret = 0)
      [   21.750077] <==== mt_wifi_init, Status=0
      [   21.754016] TxBfModuleEnCtrl:It's not DBDC mode
      [   21.758600] MtCmdEDCCACtrl: BandIdx: 0, EDCCACtrl: 1
      [   21.764893] mca_alloc:863->current[ifconfig]
      [   21.769422] mca_alloc:863->current[ifconfig]
      [   21.775172] mca_alloc:863->current[ifconfig]
      [   21.779537] mca_alloc:863->current[ifconfig]
      [   21.785820] mca_alloc:863->current[ifconfig]
      [   21.790289] mca_alloc:863->current[ifconfig]
      [   21.796133] mca_alloc:863->current[ifconfig]
      [   21.800665] mca_alloc:863->current[ifconfig]
      [   21.806445] mca_alloc:863->current[ifconfig]
      [   21.810811] mca_alloc:863->current[ifconfig]
      [   21.815620] The new WDS interface MAC = 00:00:00:00:00:00, MacTabMatchWCID = 0
      [   21.824237] mca_alloc:863->current[ifconfig]
      [   21.828712] mca_alloc:863->current[ifconfig]
      [   21.833328] The new WDS interface MAC = 00:00:00:00:00:00, MacTabMatchWCID = 0
      [   21.841958] mca_alloc:863->current[ifconfig]
      [   21.846422] mca_alloc:863->current[ifconfig]
      [   21.850982] The new WDS interface MAC = 00:00:00:00:00:00, MacTabMatchWCID = 0
      [   21.859570] mca_alloc:863->current[ifconfig]
      [   21.864132] mca_alloc:863->current[ifconfig]
      [   21.868694] The new WDS interface MAC = 00:00:00:00:00:00, MacTabMatchWCID = 0
      [   21.877152] mca_alloc:863->current[ifconfig]
      [   21.881706] mca_alloc:863->current[ifconfig]
      [   21.886178] Total allocated 4 WDS interfaces!
      [   21.890698] (Apcli0)Macaddress=92:96:f3:xx:xx:31!----
      [   21.896949] mca_alloc:863->current[ifconfig]
      [   21.901313] mca_alloc:863->current[ifconfig]
      [   21.905977] WtcSetMaxStaNum: BssidNum:6, MaxStaNum:120 (WdsNum:4, ApcliNum:1, MaxNumChipRept:32), MinMcastWcid:121
      [   21.954443] RedInit: set CR4/N9 RED Enable to 1.
      [   21.959090] RedInit: RED Initiailize Done.
      [   21.963228] cp_support_is_enabled: set CR4 CP_SUPPORT to Mode 2.
      [   21.969257] RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
      [   21.975607] wifi_sys_open(), wdev idx = 0
      [   21.979644] wdev_attr_update(): wdevId0 = 90:96:f3:xx:xx:31
      [   21.985255] [RcGetHdevByPhyMode]-- channel 0 fix for rdev fetching
      [   21.991595] [1;33m [RadarStateCheck] RD_NORMAL_MODE [m 
      [   21.997050] phy_freq_adjust : no prim_ch value for adjust!
      [   22.002649] Caller: wlan_operate_init+0xf8/0x10c
      [   22.007266] phy_mode=14, ch=0, wdev_type=1
      [   22.011387] ht_cap->HtCapInfo: ldpc=1,ch_width=0,gf=0,sgi20=1,sgi40=0,tx_stbc=1,rx_stbc=1,amsdu_size=1
      [   22.020689] ht_cap->HtCapParm: mdpu_density=5, ampdu_factor=3
      [   22.026722] AP inf up for ra_0(func_idx) OmacIdx=0
      [   22.031570] AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
      [   22.036569] ApAutoChannelAtBootUp----------------->
      [   22.041484] ApAutoChannelAtBootUp: AutoChannelBootup[0] = 1
      [   22.047217] MtCmdSetMacTxRx:(ret = 0)
      [   22.050932] mt7615_apply_dcoc() : reload Central CH [1] BW [0] from cetral freq [2417]  offset [2200]
      [   22.060351] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   22.064760] mt7615_apply_dpd() : reload Central CH [1] BW [0] from cetral freq [2422] i[44] offset [4b20]
      [   22.074496] MtCmdGetTXDPDCalResult:(ret = 0)
      [   22.078770] MtCmdChannelSwitch: control_chl = 1,control_ch2=0, central_chl = 1 DBDCIdx= 0, Band= 0
      [   22.087754] BW = 0,TXStream = 4, RXStream = 4, scan(1)
      [   22.291375] mt7615_apply_dcoc() : reload Central CH [2] BW [0] from cetral freq [2417]  offset [2200]
      [   22.300758] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   22.305155] mt7615_apply_dpd() : reload Central CH [2] BW [0] from cetral freq [2422] i[44] offset [4b20]
      [   22.315049] MtCmdGetTXDPDCalResult:(ret = 0)
      [   22.319333] MtCmdChannelSwitch: control_chl = 2,control_ch2=0, central_chl = 2 DBDCIdx= 0, Band= 0
      [   22.328454] BW = 0,TXStream = 4, RXStream = 4, scan(1)
      [   22.424898] mt753x gsw: Port 3 Link is Up - 1Gbps/Full
      [   22.531394] mt7615_apply_dcoc() : reload Central CH [3] BW [0] from cetral freq [2417]  offset [2200]
      [   22.540777] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   22.545188] mt7615_apply_dpd() : reload Central CH [3] BW [0] from cetral freq [2422] i[44] offset [4b20]
      [   22.554922] MtCmdGetTXDPDCalResult:(ret = 0)
      [   22.559195] MtCmdChannelSwitch: control_chl = 3,control_ch2=0, central_chl = 3 DBDCIdx= 0, Band= 0
      [   22.568179] BW = 0,TXStream = 4, RXStream = 4, scan(1)
      [   22.771377] mt7615_apply_dcoc() : reload Central CH [4] BW [0] from cetral freq [2432]  offset [2300]
      [   22.780733] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   22.785144] mt7615_apply_dpd() : reload Central CH [4] BW [0] from cetral freq [2422] i[44] offset [4b20]
      [   22.794865] MtCmdGetTXDPDCalResult:(ret = 0)
      [   22.799139] MtCmdChannelSwitch: control_chl = 4,control_ch2=0, central_chl = 4 DBDCIdx= 0, Band= 0
      [   22.808131] BW = 0,TXStream = 4, RXStream = 4, scan(1)
      [   22.921834] :MtCmdPktBudgetCtrl: bssid(255),wcid(65535),type(0)
      [   23.011385] mt7615_apply_dcoc() : reload Central CH [5] BW [0] from cetral freq [2432]  offset [2300]
      [   23.020748] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   23.025350] mt7615_apply_dpd() : reload Central CH [5] BW [0] from cetral freq [2442] i[45] offset [4bf8]
      [   23.035080] MtCmdGetTXDPDCalResult:(ret = 0)
      [   23.039353] MtCmdChannelSwitch: control_chl = 5,control_ch2=0, central_chl = 5 DBDCIdx= 0, Band= 0
      [   23.048355] BW = 0,TXStream = 4, RXStream = 4, scan(1)
      [   23.251398] mt7615_apply_dcoc() : reload Central CH [6] BW [0] from cetral freq [2432]  offset [2300]
      [   23.260790] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   23.265192] mt7615_apply_dpd() : reload Central CH [6] BW [0] from cetral freq [2442] i[45] offset [4bf8]
      [   23.274924] MtCmdGetTXDPDCalResult:(ret = 0)
      [   23.279197] MtCmdChannelSwitch: control_chl = 6,control_ch2=0, central_chl = 6 DBDCIdx= 0, Band= 0
      [   23.288173] BW = 0,TXStream = 4, RXStream = 4, scan(1)
      [   23.491365] mt7615_apply_dcoc() : reload Central CH [7] BW [0] from cetral freq [2447]  offset [2400]
      [   23.500739] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   23.505217] mt7615_apply_dpd() : reload Central CH [7] BW [0] from cetral freq [2442] i[45] offset [4bf8]
      [   23.515047] MtCmdGetTXDPDCalResult:(ret = 0)
      [   23.519436] MtCmdChannelSwitch: control_chl = 7,control_ch2=0, central_chl = 7 DBDCIdx= 0, Band= 0
      [   23.528554] BW = 0,TXStream = 4, RXStream = 4, scan(1)
      [   23.731372] mt7615_apply_dcoc() : reload Central CH [8] BW [0] from cetral freq [2447]  offset [2400]
      [   23.740738] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   23.745148] mt7615_apply_dpd() : reload Central CH [8] BW [0] from cetral freq [2442] i[45] offset [4bf8]
      [   23.754877] MtCmdGetTXDPDCalResult:(ret = 0)
      [   23.759151] MtCmdChannelSwitch: control_chl = 8,control_ch2=0, central_chl = 8 DBDCIdx= 0, Band= 0
      [   23.768144] BW = 0,TXStream = 4, RXStream = 4, scan(1)
      [   23.971392] mt7615_apply_dcoc() : reload Central CH [9] BW [0] from cetral freq [2447]  offset [2400]
      [   23.980753] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   23.985151] mt7615_apply_dpd() : reload Central CH [9] BW [0] from cetral freq [2442] i[45] offset [4bf8]
      [   23.994870] MtCmdGetTXDPDCalResult:(ret = 0)
      [   23.999143] MtCmdChannelSwitch: control_chl = 9,control_ch2=0, central_chl = 9 DBDCIdx= 0, Band= 0
      [   24.008125] BW = 0,TXStream = 4, RXStream = 4, scan(1)
      [   24.211385] mt7615_apply_dcoc() : reload Central CH [10] BW [0] from cetral freq [2467]  offset [2500]
      [   24.220845] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   24.225434] mt7615_apply_dpd() : reload Central CH [10] BW [0] from cetral freq [2462] i[46] offset [4cd0]
      [   24.235302] MtCmdGetTXDPDCalResult:(ret = 0)
      [   24.239579] MtCmdChannelSwitch: control_chl = 10,control_ch2=0, central_chl = 10 DBDCIdx= 0, Band= 0
      [   24.248759] BW = 0,TXStream = 4, RXStream = 4, scan(1)
      [   24.451384] mt7615_apply_dcoc() : reload Central CH [11] BW [0] from cetral freq [2467]  offset [2500]
      [   24.460852] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   24.465279] mt7615_apply_dpd() : reload Central CH [11] BW [0] from cetral freq [2462] i[46] offset [4cd0]
      [   24.475087] MtCmdGetTXDPDCalResult:(ret = 0)
      [   24.479361] MtCmdChannelSwitch: control_chl = 11,control_ch2=0, central_chl = 11 DBDCIdx= 0, Band= 0
      [   24.488510] BW = 0,TXStream = 4, RXStream = 4, scan(1)
      [   24.691362] ====================================================================
      [   24.698776] Channel   1 : Busy Time =   5699, Skip Channel = FALSE, BwCap = TRUE
      [   24.706198] Channel   2 : Busy Time =   4690, Skip Channel = FALSE, BwCap = TRUE
      [   24.713610] Channel   3 : Busy Time =   6179, Skip Channel = FALSE, BwCap = TRUE
      [   24.721001] Channel   4 : Busy Time =   1356, Skip Channel = FALSE, BwCap = TRUE
      [   24.728430] Channel   5 : Busy Time =   2515, Skip Channel = FALSE, BwCap = TRUE
      [   24.735848] Channel   6 : Busy Time =   2249, Skip Channel = FALSE, BwCap = TRUE
      [   24.743263] Channel   7 : Busy Time =   3234, Skip Channel = FALSE, BwCap = TRUE
      [   24.750655] Channel   8 : Busy Time =   2578, Skip Channel = FALSE, BwCap = TRUE
      [   24.758068] Channel   9 : Busy Time =   2670, Skip Channel = FALSE, BwCap = TRUE
      [   24.765481] Channel  10 : Busy Time =   4475, Skip Channel = FALSE, BwCap = TRUE
      [   24.772892] Channel  11 : Busy Time =   8230, Skip Channel = FALSE, BwCap = TRUE
      [   24.780282] ====================================================================
      [   24.787700] Rule 3 Channel Busy time value : Select Primary Channel 4
      [   24.794155] Rule 3 Channel Busy time value : Min Channel Busy = 1356
      [   24.800505] Rule 3 Channel Busy time value : BW = 20
      [   24.805483] [SelectClearChannelBusyTime] - band0 END
      [   24.810447] ApAutoChannelAtBootUp : Auto channel selection: Selected channel = 4, IsAband = 0
      [   24.818989] [41m AutoChSelUpdateChannel(): Update channel for wdev for this band PhyMode = 14, Channel = 4 [m
      [   24.829099] [1;33m [RadarStateCheck] RD_NORMAL_MODE [m 
      [   24.834560] mt7615_apply_dcoc() : reload Central CH [4] BW [0] from cetral freq [2432]  offset [2300]
      [   24.843939] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   24.848305] mt7615_apply_dpd() : reload Central CH [4] BW [0] from cetral freq [2422] i[44] offset [4b20]
      [   24.858048] MtCmdGetTXDPDCalResult:(ret = 0)
      [   24.862347] MtCmdChannelSwitch: control_chl = 4,control_ch2=0, central_chl = 4 DBDCIdx= 0, Band= 0
      [   24.871328] BW = 0,TXStream = 4, RXStream = 4, scan(0)
      [   24.885190] ApAutoChannelAtBootUp<-----------------
      [   24.890132] [PMF]APPMFInit:: apidx=0, MFPC=0, MFPR=0, SHA256=0
      [   24.896074] wifi_sys_linkup(), wdev idx = 0
      [   24.900265] wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:127 for WDEV_TYPE:1
      [   24.900265]  LinkToOmacIdx = 0, LinkToWdevType = 1
      [   25.025194] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
      [   25.037701] UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 0
      [   25.043512] APStartUpForMbss: BssIndex = 0 channel = 4
      [   25.048772] MtCmdTxPowerDropCtrl: ucPowerDrop: 100, BandIdx: 0
      [   25.054722] TxCCKStreamCtrl: set wrong parameters
      [   25.061566] Enable 20/40 BSSCoex Channel Scan(BssCoex=1)
      [   25.066883] apidx 0 for WscUUIDInit
      [   25.070365] Generate UUID for apidx(0)
      [   25.074789] extif_set_dev(ra0)
      [   25.078469] mca_alloc:863->current[kworker/0:1]
      [25.03][987][set_confs_after_interface_up:578]: cmd iwpriv ra0 mac 82078024=0,82078028=0,82078124=0,82078128=0,82078094=0,82078098=0,82078194=0,82078198=0,82078030=0,82078034=0,82078130=0,82078134=0,820780A0=0,820780A4=0,820781A0=0,820781A4=0
      [   25.116235] RTMPIoctlMAC():after trim space, ptr len=175, pointer(8e7b7000)=82078024=0,82078028=0,82078124=0,82078128=0,82078094=0,82078098=0,82078194=0,82078198=0,82078030=0,82078034=0,82078130=0,82078134=0,820780A0=0,820780A4=0,820781A0=0,820781A4=0!
      [25.08][987][set_confs_after_interface_up:582]: cmd iwpriv ra0 m[   25.145232] RTMPIoctlMAC():after trim space, ptr len=175, pointer(8e7b7000)=8207803C=0,82078040=0,8207813C=0,82078140=0,820780AC=0,820780B0=0,820781AC=0,820781B0=0,82078050=0,82078054=0,82078150=0,82078154=0,820780BC=0,820780C0=0,820781BC=0,820781C0=0!
      ac 8207803C=0,82078040=0,8207813C=0,82078140=0,820780AC=0,820780B0=0,820781AC=0,820781B0=0,82078[   25.175254] set_thermal_protection_admin_ctrl_duty_proc: u4Lv0Duty: 100, u4Lv1Duty: 80, u4Lv2Duty: 60, u4Lv3Duty: 40
      050=0,82078054=0,82078150=0,82078154=0,820780BC=0,820780C0=0,820781BC=0,820781C0[   25.193371] set_thermal_protection_criteria_proc: fgHighEn: 1, fgLowEn: 1, fgRFOffEn: 1, cHighTempTh: 122, cLowTempTh: 116, cRFOffTh: 125
      =0
      [25.11][987][   25.205939] set_thermal_protection_criteria_proc: u4RechkTimer: 30, ucType: Duty Cycle
      [set_confs_after[   25.215245] MtCmdThermalProtect: HighEn: 1, HighTempTh: 122, LowEn: 1, LowTempTh: 116, RechkTimer: 30
      _interface_up:62[   25.225812] MtCmdThermalProtect: RFOffEn: 1, RFOffTh: 125, ucType: 1
      8]: cmd iwpriv ra0 set tpc_duty=100:080:060:040
      [25.13][987][set_confs_after_interface_up:633]:[   25.240604] debug : Enter [BRCTL_ADD_RULE_IF] 
       cmd iwpriv ra0 [   25.246346] add_if 00000100 ***************************
      set tpc=1:1:1:12[   25.253305] device ra0 entered promiscuous mode
      2:116:125:0030:1[   25.258885] br0: port 2(ra0) entered forwarding state
    
      [   25.265288] br0: port 2(ra0) entered forwarding state
      [   25.285125] ra5: ===> mbss_virtual_if_open
      [   25.289252] RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
      [   25.295673] wifi_sys_open(), wdev idx = 5
      [   25.299690] wdev_attr_update(): wdevId5 = 90:96:f3:xx:xx:32
      [   25.305408] Caller: wlan_operate_init+0xf8/0x10c
      [   25.310226] phy_mode=14, ch=4, wdev_type=1
      [   25.314363] ht_cap->HtCapInfo: ldpc=1,ch_width=0,gf=0,sgi20=1,sgi40=0,tx_stbc=1,rx_stbc=1,amsdu_size=1
      [   25.323853] ht_cap->HtCapParm: mdpu_density=0, ampdu_factor=3
      [   25.329764] AP inf up for ra_5(func_idx) OmacIdx=21
      [   25.334721] AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
      [   25.339730] ApAutoChannelAtBootUp----------------->
      [   25.344655] ApAutoChannelAtBootUp: AutoChannelBootup[0] = 1
      [   25.350394] MtCmdSetMacTxRx:(ret = 0)
      [   25.354084] ApAutoChannelAtBootUp<-----------------
      [   25.359023] [PMF]APPMFInit:: apidx=5, MFPC=1, MFPR=1, SHA256=0
      [   25.421099] [PMF]PMF_MakeRsnIeGMgmtCipher: Insert BIP to the group management cipher of RSNIE
      [   25.429910] wifi_sys_linkup(), wdev idx = 5
      [   25.434149] wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:126 for WDEV_TYPE:1
      [   25.434149]  LinkToOmacIdx = 15, LinkToWdevType = 1
      [   25.558727] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
      [   25.571363] UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 15
      [   25.577245] APStartUpForMbss: BssIndex = 0 channel = 4
      [   25.582536] MtCmdTxPowerDropCtrl: ucPowerDrop: 100, BandIdx: 0
      [   25.588519] TxCCKStreamCtrl: set wrong parameters
      [   25.595318] apidx 5 for WscUUIDInit
      [   25.599049] Generate UUID for apidx(5)
      [   25.603590] mca_alloc:863->current[kworker/0:1]
      [25.55][987][set_confs_after_interface_up:578]: cmd iwpriv ra5 m[   25.614572] RTMPIoctlMAC():after trim space, ptr len=175, pointer(8e7b7000)=82078024=0,82078028=0,82078124=0,82078128=0,82078094=0,82078098=0,82078194=0,82078198=0,82078030=0,82078034=0,82078130=0,82078134=0,820780A0=0,820780A4=0,820781A0=0,820781A4=0!
      ac 82078024=0,82078028=0,82078124=0,82078128=0,82078094=0,82078098=0,82078194=0,[   25.643655] RTMPIoctlMAC():after trim space, ptr len=175, pointer(80c27000)=8207803C=0,82078040=0,8207813C=0,82078140=0,820780AC=0,820780B0=0,820781AC=0,820781B0=0,82078050=0,82078054=0,82078150=0,82078154=0,820780BC=0,820780C0=0,820781BC=0,820781C0=0!
      82078198=0,82078030=0,82078034=0,82078130=0,82078134=0,820780A0=0,820780A4=0,820[   25.672996] set_thermal_protection_admin_ctrl_duty_proc: u4Lv0Duty: 100, u4Lv1Duty: 80, u4Lv2Duty: 60, u4Lv3Duty: 40
      781A0=0,820781A4=0
      [25.58][987][set_confs_after_interface_up:582]: cmd iwpriv r[   25.690614] set_thermal_protection_criteria_proc: fgHighEn: 1, fgLowEn: 1, fgRFOffEn: 1, cHighTempTh: 122, cLowTempTh: 116, cRFOffTh: 125
      a5 mac 8207803C=[   25.703150] set_thermal_protection_criteria_proc: u4RechkTimer: 30, ucType: Duty Cycle
      0,82078040=0,820[   25.712408] MtCmdThermalProtect: HighEn: 1, HighTempTh: 122, LowEn: 1, LowTempTh: 116, RechkTimer: 30
      7813C=0,82078140[   25.722997] MtCmdThermalProtect: RFOffEn: 1, RFOffTh: 125, ucType: 1
      =0,820780AC=0,820780B0=0,820781AC=0,820781B0=0,82078050=0,82078054=0,82078150=0,82078154=0,82078[   25.737847] debug : Enter [BRCTL_ADD_RULE_IF] 
      0BC=0,820780C0=0[   25.743527] add_if 00000100 ***************************
      ,820781BC=0,8207[   25.750471] device ra5 entered promiscuous mode
      81C0=0
      [25.61][[   25.756093] br0: port 3(ra5) entered forwarding state
      987][set_confs_a[   25.762460] br0: port 3(ra5) entered forwarding state
      fter_interface_up:628]: cmd iwpriv ra5 set tpc_duty=100:080:060:040
      [25.63][987][set_confs_after_interface_up:633]: cmd iwpriv ra5 set tpc=1:1:1:122:116:125:0030:1
      [   25.800943] rai0: ===> main_virtual_if_open
      [   25.805849] load l1profile succeed!
      [   25.809413] driver_own()::Try to Clear FW Own...
      [   26.115943] driver_own()::Success to clear FW Own
      [   26.123056] APWdsInitialize():WdsEntry Number=4
      [   26.133418] RtmpOSFileOpen(): Error 2 opening /etc/Wireless/iNIC/iNIC_ap_5G.dat
      [   26.140744] Open file "/etc/Wireless/iNIC/iNIC_ap_5G.dat" failed!
      [   26.147764] MacAddress1 = 00:00:00:00:00:00
      [   26.152279] MacAddress2 = 00:00:00:00:00:00
      [   26.156744] MacAddress3 = 00:00:00:00:00:00
      [   26.161206] MacAddress4 = 00:00:00:00:00:00
      [   26.165720] MacAddress5 = 00:00:00:00:00:00
      [   26.170390] E2pAccessMode=2
      [   26.173883] SSID[0]=Buffalo-A-D530, EdcaIdx=0
      [   26.178470] SSID[1]=Buffalo-A-D530_2, EdcaIdx=0
      [   26.183254] SSID[2]=Guest-D530, EdcaIdx=0
      [   26.187493] SSID[3]=, EdcaIdx=0
      [   26.190862] SSID[4]=, EdcaIdx=0
      [   26.194286] SSID[5]=Buffalo-A-D530-WPA3, EdcaIdx=0
      [   26.200089] BSS0 PhyMode=49
      [   26.202946] wmode_band_equal(): Band Equal!
      [   26.207135] BSS1 PhyMode=49
      [   26.209925] BSS2 PhyMode=49
      [   26.212733] BSS3 PhyMode=49
      [   26.215524] BSS4 PhyMode=49
      [   26.218312] BSS5 PhyMode=49
      [   26.221290] auto_ch_select_set_cfg(): BandIdx0, AutoChannelAtBootup=1, AutoChannelAlg = 3
      [   26.231289] BandSteering=0
      [   26.234203] BndStrgBssIdx=
      [   26.237150] [TxPower] BAND0: 100 
      [   26.240954] Power Boost (CCK, OFDM): RTMPSetProfileParametersPower Boost (HT20): RTMPSetProfileParametersPower Boost (HT40): RTMPSetProfileParametersPower Boost (VHT20): RTMPSetProfileParametersPower Boost (VHT40): RTMPSetProfileParametersPower Boost (VHT80): RTMPSetProfileParametersPower Boost (VHT160): RTMPSetProfileParameters[CCKTxStream] BAND0: 4
      [   26.274189] [PERCENTAGEenable] BAND0: 1 
      [   26.278262] [BFBACKOFFenable] BAND0: 0 
      [   26.282272] CalCacheApply = 0 
      [   26.286565] FragThreshold[0]=2346
      [   26.303462] DfsZeroWait Support=0/0
      [   26.308003] DfsZeroWaitCacTime=255/255
      [   26.313771] read_etxbf: ETxBfEnCond = 1
      [   26.317602] read_etxbf: BSSID[0]
      [   26.320825] read_etxbf: MBSS[0] ETxBfEnCond = 1
      [   26.325464] read_etxbf: More BSSID[1]
      [   26.329124] read_etxbf: More MBSS[1] ETxBfEnCond = 1
      [   26.334101] read_etxbf: More BSSID[2]
      [   26.337760] read_etxbf: More MBSS[2] ETxBfEnCond = 1
      [   26.342735] read_etxbf: More BSSID[3]
      [   26.346395] read_etxbf: More MBSS[3] ETxBfEnCond = 1
      [   26.351668] read_etxbf: More BSSID[4]
      [   26.355331] read_etxbf: More MBSS[4] ETxBfEnCond = 1
      [   26.360289] read_etxbf: More BSSID[5]
      [   26.363975] read_etxbf: More MBSS[5] ETxBfEnCond = 1
      [   26.418168] MAP_MODE=0
      [   26.428083] If/wds0 - PeerPhyOpMode=255
      [   26.433050] APWdsInitialize():WdsEntry Number=4
      [   26.437576] WDS-Enable mode=0
      [   26.440757] AndesSendCmdMsg: Could not send in band command due to diablefRTMP_ADAPTER_MCU_SEND_IN_BAND_CMD
      [   26.450512] AndesSendCmdMsg: Command type = ed, Extension command type = 48
      [   26.458447] HT: Channel Width = 40 MHz
      [   26.465628] HT: WDEV[0] Ext Channel = BELOW
      [   26.470166] HT: greenap_cap = 0
      [   26.473547] ChipI=7615, Value=0, pcie_aspm in profile=0
      [   26.538734] ICapMode = 0
      [   26.549404] WtcSetMaxStaNum: BssidNum:6, MaxStaNum:120 (WdsNum:4, ApcliNum:1, MaxNumChipRept:32), MinMcastWcid:121
      [   26.560018] Top Init Done!
      [   26.562768] Use dev_alloc_skb
      [   26.566898] RX[0] DESC a0de4000 size = 16384
      [   26.572627] RX[1] DESC a0c28000 size = 8192
      [   26.577379] cut_through_init(): ct sw token number = 4095
      [   26.583320] cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
      [   26.591064] cut_through_token_list_init(): 8c972908,8c972908
      [   26.597318] cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
      [   26.605110] cut_through_token_list_init(): 8c972918,8c972918
      [   26.610927] Hif Init Done!
      [   26.613672] ctl->txq = c0f112d4
      [   26.616811] ctl->rxq = c0f112e0
      [   26.619945] ctl->ackq = c0f112ec
      [   26.623307] ctl->kickq = c0f112f8
      [   26.626620] ctl->tx_doneq = c0f11304
      [   26.630189] ctl->rx_doneq = c0f11310
      [   26.633851] Parsing patch header
      [   26.637078]  Built date: 20180518100604a
      [   26.641053] 
      [   26.642563]  Platform: ALPS
      [   26.645371]  HW/SW version: 0x8a108a10
      [   26.649139]  Patch version: 0x00000010
      [   26.652932]  Target address: 0x80000, length: 11072
      [   26.657957] patch is not ready && get semaphore success
      [   26.663305] EventGenericEventHandler: CMD Success
      [   26.668164] MtCmdPatchFinishReq
      [   26.682639] EventGenericEventHandler: CMD Success
      [   26.687448] release patch semaphore
      [   26.690941] WfMcuHwInit: Before NICLoadFirmware, check ICapMode = 0
      [   26.697240] Parsing CPU 0 fw tailer
      [   26.700725]  Chip ID: 0x04
      [   26.703513]  Eco version: 0x00
      [   26.706576]  Region number: 0x00
      [   26.709809]  Format version: 0x00
      [   26.713156]  Ram version: _reserved_
      [   26.716764]  Built date: 20211020144735 
      [   26.720737]  Common crc: 0x0
      [   26.723764] Parsing tailer region 0
      [   26.727253]  Feature set: 0x01
      [   26.730317]  Target address: 0x84000, Download size: 409600
      [   26.735903] Parsing tailer region 1
      [   26.739386]  Feature set: 0x01
      [   26.742473]  Target address: 0x209c400, Download size: 48304
      [   26.748233] EventGenericEventHandler: CMD Success
      [   26.757942] EventGenericEventHandler: CMD Success
      [   26.763377] MtCmdFwStartReq: override = 0x1, address = 0x84000
      [   26.769274] EventGenericEventHandler: CMD Success
      [   26.774047] Parsing CPU 1 fw tailer
      [   26.777535]  Chip ID: 0x04
      [   26.780250]  Eco version: 0x00
      [   26.783355]  Region number: 0x00
      [   26.786589]  Format version: 0x00
      [   26.789908]  Ram version: _reserved_
      [   26.793538]  Built date: 20190415154149 
      [   26.797513]  Common crc: 0x0
      [   26.800389] Parsing tailer region 0
      [   26.803890]  Feature set: 0x01
      [   26.806957]  Target address: 0x90000000, Download size: 122608
      [   26.812936] EventGenericEventHandler: CMD Success
      [   26.819091] MtCmdFwStartReq: override = 0x4, address = 0x0
      [   26.860089] EventGenericEventHandler: CMD Success
      [   26.929246] MCU Init Done!
      [   26.932001] efuse_probe: efuse = 10000212
      [   26.936010] RtmpChipOpsEepromHook::e2p_type=2, inf_Type=5
      [   26.941428] RtmpEepromGetDefault::e2p_dafault=1
      [   26.945958] RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 2, E2P default = 1
      [   26.953549] NVM is FLASH mode. dev_idx [1] FLASH OFFSET [0x8000]
      [   26.960522] [34mNICReadEEPROMParameters: EEPROM 0x52 b317 12288[m
      [   26.967837] MtCmdSetTxLpfCal:(ret = 0)
      [   26.971684] MtCmdSetTxIqCal:(ret = 0)
      [   26.975383] MtCmdSetTxDcCal:(ret = 0)
      [   26.979074] MtCmdSetRxFiCal:(ret = 0)
      [   26.982854] MtCmdSetRxFdCal:(ret = 0)
      [   26.986554] MtCmdSetRxFdCal:(ret = 0)
      [   26.990246] MtCmdSetRxFdCal:(ret = 0)
      [   26.993969] MtCmdSetRxFdCal:(ret = 0)
      [   26.997663] MtCmdSetRxFdCal:(ret = 0)
      [   27.001403] MtCmdSetRxFdCal:(ret = 0)
      [   27.005098] MtCmdSetRxFdCal:(ret = 0)
      [   27.008789] MtCmdSetRxFdCal:(ret = 0)
      [   27.012504] MtCmdSetRxFdCal:(ret = 0)
      [   27.538605] Country Region from e2p = 101
      [   27.542671] mt7615_antenna_default_reset(): TxPath = 4, RxPath = 4
      [   27.548855] RcRadioInit(): DbdcMode=0, ConcurrentBand=1
      [   27.554108] RcRadioInit(): pRadioCtrl=8f0dcaf4,Band=0,rfcap=3,channel=1,PhyMode=2 extCha=0xf
      [   27.562586] MtSingleSkuLoadParam: RF_LOCKDOWN Feature OFF !!!
      [   27.570283] MtBfBackOffLoadParam: RF_LOCKDOWN Feature OFF !!!
      [   27.576373] EEPROM Init Done!
      [   27.579350] mt_mac_init()-->
      [   27.582266] mt7615_init_mac_cr()-->
      [   27.585772] mt7615_init_mac_cr(): TMAC_TRCR0=0x82783c8c
      [   27.591008] <--mt_mac_init()
      [   27.594124] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
      [   27.600749] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
      [   27.607411] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
      [   27.614036] MAC Init Done!
      [   27.616758] MT7615BBPInit():BBP Initialization.....
      [   27.621788]  Band 0: valid=1, isDBDC=0, Band=2, CBW=1, CentCh/PrimCh=1/1, prim_ch_idx=0, txStream=2
      [   27.630835]  Band 1: valid=0, isDBDC=0, Band=0, CBW=0, CentCh/PrimCh=0/0, prim_ch_idx=0, txStream=0
      [   27.639971] MT7615BBPInit() todo
      [   27.643222] PHY Init Done!
      [   27.648772] MtCmdSetMacTxRx:(ret = 0)
      [   27.652863] ap_ftkd> Initialize FT KDP Module...
      [   27.657532] Main bssid = 00:00:00:00:00:00
      [   27.661863] MtCmdSetMacTxRx:(ret = 0)
      [   27.666736] MtCmdSetMacTxRx:(ret = 0)
      [   27.670415] <==== mt_wifi_init, Status=0
      [   27.674365] TxBfModuleEnCtrl:It's not DBDC mode
      [   27.678953] MtCmdEDCCACtrl: BandIdx: 0, EDCCACtrl: 1
      [   27.685201] mca_alloc:863->current[ifconfig]
      [   27.689736] mca_alloc:863->current[ifconfig]
      [   27.695507] mca_alloc:863->current[ifconfig]
      [   27.699876] mca_alloc:863->current[ifconfig]
      [   27.706114] mca_alloc:863->current[ifconfig]
      [   27.710582] mca_alloc:863->current[ifconfig]
      [   27.716416] mca_alloc:863->current[ifconfig]
      [   27.720782] mca_alloc:863->current[ifconfig]
      [   27.726844] mca_alloc:863->current[ifconfig]
      [   27.731312] mca_alloc:863->current[ifconfig]
      [   27.735958] The new WDS interface MAC = 00:00:00:00:00:00, MacTabMatchWCID = 0
      [   27.744518] mca_alloc:863->current[ifconfig]
      [   27.748986] mca_alloc:863->current[ifconfig]
      [   27.753585] The new WDS interface MAC = 00:00:00:00:00:00, MacTabMatchWCID = 0
      [   27.762252] mca_alloc:863->current[ifconfig]
      [   27.766719] mca_alloc:863->current[ifconfig]
      [   27.771291] The new WDS interface MAC = 00:00:00:00:00:00, MacTabMatchWCID = 0
      [   27.779780] mca_alloc:863->current[ifconfig]
      [   27.784348] mca_alloc:863->current[ifconfig]
      [   27.788893] The new WDS interface MAC = 00:00:00:00:00:00, MacTabMatchWCID = 0
      [   27.797370] mca_alloc:863->current[ifconfig]
      [   27.801917] mca_alloc:863->current[ifconfig]
      [   27.806424] Total allocated 4 WDS interfaces!
      [   27.810987] (Apcli0)Macaddress=92:96:f3:xx:xx:38!----
      [   27.817247] mca_alloc:863->current[ifconfig]
      [   27.822048] mca_alloc:863->current[ifconfig]
      [   27.826550] WtcSetMaxStaNum: BssidNum:6, MaxStaNum:120 (WdsNum:4, ApcliNum:1, MaxNumChipRept:32), MinMcastWcid:121
      [   27.875193] RedInit: set CR4/N9 RED Enable to 1.
      [   27.879839] RedInit: RED Initiailize Done.
      [   27.883983] cp_support_is_enabled: set CR4 CP_SUPPORT to Mode 2.
      [   27.890013] RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
      [   27.896309] wifi_sys_open(), wdev idx = 0
      [   27.900324] wdev_attr_update(): wdevId0 = 90:96:f3:xx:xx:38
      [   27.905919] [RcGetHdevByPhyMode]-- channel 0 fix for rdev fetching
      [   27.912351] [1;33m [RadarStateCheck] RD_NORMAL_MODE [m 
      [   27.917805] phy_freq_adjust : no prim_ch value for adjust!
      [   27.923527] Caller: wlan_operate_init+0xf8/0x10c
      [   27.928146] phy_mode=49, ch=0, wdev_type=1
      [   27.932273] ht_cap->HtCapInfo: ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=1
      [   27.941805] ht_cap->HtCapParm: mdpu_density=5, ampdu_factor=3
      [   27.947713] AP inf up for ra_0(func_idx) OmacIdx=0
      [   27.952577] AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
      [   27.957578] ApAutoChannelAtBootUp----------------->
      [   27.962488] ApAutoChannelAtBootUp: AutoChannelBootup[0] = 1
      [   27.968203] MtCmdSetMacTxRx:(ret = 0)
      [   27.971937] [AutoChSelBuildChannelListFor5G] ChListNum5G = 20
      [   27.977762] mt7615_apply_dcoc() : reload Central CH [36] BW [0] from cetral freq [5190]  offset [700]
      [   27.987131] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   27.991533] mt7615_apply_dpd() : reload Central CH [36] BW [0] from cetral freq [5180] i[7] offset [2be8]
      [   28.001233] MtCmdGetTXDPDCalResult:(ret = 0)
      [   28.005550] MtCmdChannelSwitch: control_chl = 36,control_ch2=0, central_chl = 36 DBDCIdx= 0, Band= 0
      [   28.014703] BW = 0,TXStream = 4, RXStream = 4, scan(1)
      [   28.221474] mt7615_apply_dcoc() : reload Central CH [40] BW [0] from cetral freq [5190]  offset [700]
      [   28.230851] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   28.235253] mt7615_apply_dpd() : reload Central CH [40] BW [0] from cetral freq [5200] i[8] offset [2cc0]
      [   28.245191] MtCmdGetTXDPDCalResult:(ret = 0)
      [   28.249471] MtCmdChannelSwitch: control_chl = 40,control_ch2=0, central_chl = 40 DBDCIdx= 0, Band= 0
      [   28.258720] BW = 0,TXStream = 4, RXStream = 4, scan(1)
      [   28.461391] mt7615_apply_dcoc() : reload Central CH [44] BW [0] from cetral freq [5230]  offset [800]
      [   28.470773] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   28.475186] mt7615_apply_dpd() : reload Central CH [44] BW [0] from cetral freq [5220] i[9] offset [2d98]
      [   28.484910] MtCmdGetTXDPDCalResult:(ret = 0)
      [   28.489184] MtCmdChannelSwitch: control_chl = 44,control_ch2=0, central_chl = 44 DBDCIdx= 0, Band= 0
      [   28.498343] BW = 0,TXStream = 4, RXStream = 4, scan(1)
      [   28.701382] mt7615_apply_dcoc() : reload Central CH [48] BW [0] from cetral freq [5230]  offset [800]
      [   28.710751] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   28.715170] mt7615_apply_dpd() : reload Central CH [48] BW [0] from cetral freq [5240] i[10] offset [2e70]
      [   28.725092] MtCmdGetTXDPDCalResult:(ret = 0)
      [   28.729366] MtCmdChannelSwitch: control_chl = 48,control_ch2=0, central_chl = 48 DBDCIdx= 0, Band= 0
      [   28.738595] BW = 0,TXStream = 4, RXStream = 4, scan(1)
      [   28.841847] :MtCmdPktBudgetCtrl: bssid(255),wcid(65535),type(0)
      [   28.941475] mt7615_apply_dcoc() : reload Central CH [52] BW [0] from cetral freq [5270]  offset [900]
      [   28.950862] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   28.955264] mt7615_apply_dpd() : reload Central CH [52] BW [0] from cetral freq [5260] i[11] offset [2f48]
      [   28.965071] MtCmdGetTXDPDCalResult:(ret = 0)
      [   28.969347] MtCmdChannelSwitch: control_chl = 52,control_ch2=0, central_chl = 52 DBDCIdx= 0, Band= 0
      [   28.978498] BW = 0,TXStream = 4, RXStream = 4, scan(1)
      [   29.181376] mt7615_apply_dcoc() : reload Central CH [56] BW [0] from cetral freq [5270]  offset [900]
      [   29.190751] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   29.195159] mt7615_apply_dpd() : reload Central CH [56] BW [0] from cetral freq [5280] i[12] offset [3020]
      [   29.205030] MtCmdGetTXDPDCalResult:(ret = 0)
      [   29.209307] MtCmdChannelSwitch: control_chl = 56,control_ch2=0, central_chl = 56 DBDCIdx= 0, Band= 0
      [   29.218460] BW = 0,TXStream = 4, RXStream = 4, scan(1)
      [   29.421482] mt7615_apply_dcoc() : reload Central CH [60] BW [0] from cetral freq [5310]  offset [a00]
      [   29.430864] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   29.435265] mt7615_apply_dpd() : reload Central CH [60] BW [0] from cetral freq [5300] i[13] offset [30f8]
      [   29.445165] MtCmdGetTXDPDCalResult:(ret = 0)
      [   29.449439] MtCmdChannelSwitch: control_chl = 60,control_ch2=0, central_chl = 60 DBDCIdx= 0, Band= 0
      [   29.458605] BW = 0,TXStream = 4, RXStream = 4, scan(1)
      [   29.661373] mt7615_apply_dcoc() : reload Central CH [64] BW [0] from cetral freq [5310]  offset [a00]
      [   29.670754] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   29.675170] mt7615_apply_dpd() : reload Central CH [64] BW [0] from cetral freq [5320] i[14] offset [31d0]
      [   29.685074] MtCmdGetTXDPDCalResult:(ret = 0)
      [   29.689349] MtCmdChannelSwitch: control_chl = 64,control_ch2=0, central_chl = 64 DBDCIdx= 0, Band= 0
      [   29.698520] BW = 0,TXStream = 4, RXStream = 4, scan(1)
      [   29.901386] mt7615_apply_dcoc() : reload Central CH [100] BW [0] from cetral freq [5510]  offset [f00]
      [   29.910842] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   29.915242] mt7615_apply_dpd() : reload Central CH [100] BW [0] from cetral freq [5500] i[23] offset [3968]
      [   29.925248] MtCmdGetTXDPDCalResult:(ret = 0)
      [   29.929523] MtCmdChannelSwitch: control_chl = 100,control_ch2=0, central_chl = 100 DBDCIdx= 0, Band= 0
      [   29.938855] BW = 0,TXStream = 4, RXStream = 4, scan(1)
      [   30.141482] mt7615_apply_dcoc() : reload Central CH [104] BW [0] from cetral freq [5510]  offset [f00]
      [   30.150958] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   30.155379] mt7615_apply_dpd() : reload Central CH [104] BW [0] from cetral freq [5520] i[24] offset [3a40]
      [   30.165369] MtCmdGetTXDPDCalResult:(ret = 0)
      [   30.169644] MtCmdChannelSwitch: control_chl = 104,control_ch2=0, central_chl = 104 DBDCIdx= 0, Band= 0
      [   30.178988] BW = 0,TXStream = 4, RXStream = 4, scan(1)
      [   30.381376] mt7615_apply_dcoc() : reload Central CH [108] BW [0] from cetral freq [5550]  offset [1000]
      [   30.390943] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   30.395373] mt7615_apply_dpd() : reload Central CH [108] BW [0] from cetral freq [5540] i[25] offset [3b18]
      [   30.405369] MtCmdGetTXDPDCalResult:(ret = 0)
      [   30.409646] MtCmdChannelSwitch: control_chl = 108,control_ch2=0, central_chl = 108 DBDCIdx= 0, Band= 0
      [   30.418982] BW = 0,TXStream = 4, RXStream = 4, scan(1)
      [   30.621401] mt7615_apply_dcoc() : reload Central CH [112] BW [0] from cetral freq [5550]  offset [1000]
      [   30.630971] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   30.635372] mt7615_apply_dpd() : reload Central CH [112] BW [0] from cetral freq [5560] i[26] offset [3bf0]
      [   30.645264] MtCmdGetTXDPDCalResult:(ret = 0)
      [   30.649539] MtCmdChannelSwitch: control_chl = 112,control_ch2=0, central_chl = 112 DBDCIdx= 0, Band= 0
      [   30.658874] BW = 0,TXStream = 4, RXStream = 4, scan(1)
      [   30.861370] mt7615_apply_dcoc() : reload Central CH [116] BW [0] from cetral freq [5590]  offset [1100]
      [   30.870894] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   30.875312] mt7615_apply_dpd() : reload Central CH [116] BW [0] from cetral freq [5580] i[27] offset [3cc8]
      [   30.885260] MtCmdGetTXDPDCalResult:(ret = 0)
      [   30.889539] MtCmdChannelSwitch: control_chl = 116,control_ch2=0, central_chl = 116 DBDCIdx= 0, Band= 0
      [   30.898885] BW = 0,TXStream = 4, RXStream = 4, scan(1)
      [   31.101413] mt7615_apply_dcoc() : reload Central CH [120] BW [0] from cetral freq [5590]  offset [1100]
      [   31.110981] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   31.115479] mt7615_apply_dpd() : reload Central CH [120] BW [0] from cetral freq [5600] i[28] offset [3da0]
      [   31.125496] MtCmdGetTXDPDCalResult:(ret = 0)
      [   31.129770] MtCmdChannelSwitch: control_chl = 120,control_ch2=0, central_chl = 120 DBDCIdx= 0, Band= 0
      [   31.139144] BW = 0,TXStream = 4, RXStream = 4, scan(1)
      [   31.341377] mt7615_apply_dcoc() : reload Central CH [124] BW [0] from cetral freq [5630]  offset [1200]
      [   31.350931] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   31.355338] mt7615_apply_dpd() : reload Central CH [124] BW [0] from cetral freq [5620] i[29] offset [3e78]
      [   31.365230] MtCmdGetTXDPDCalResult:(ret = 0)
      [   31.369504] MtCmdChannelSwitch: control_chl = 124,control_ch2=0, central_chl = 124 DBDCIdx= 0, Band= 0
      [   31.378829] BW = 0,TXStream = 4, RXStream = 4, scan(1)
      [   31.581387] mt7615_apply_dcoc() : reload Central CH [128] BW [0] from cetral freq [5630]  offset [1200]
      [   31.590923] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   31.595330] mt7615_apply_dpd() : reload Central CH [128] BW [0] from cetral freq [5640] i[30] offset [3f50]
      [   31.605220] MtCmdGetTXDPDCalResult:(ret = 0)
      [   31.609494] MtCmdChannelSwitch: control_chl = 128,control_ch2=0, central_chl = 128 DBDCIdx= 0, Band= 0
      [   31.618819] BW = 0,TXStream = 4, RXStream = 4, scan(1)
      [   31.821373] ====================================================================
      [   31.828788] Channel  36 : Busy Time =   2976, Skip Channel = FALSE, BwCap = TRUE
      [   31.836209] Channel  40 : Busy Time =   1368, Skip Channel = FALSE, BwCap = TRUE
      [   31.843631] Channel  44 : Busy Time =   1056, Skip Channel = FALSE, BwCap = TRUE
      [   31.851027] Channel  48 : Busy Time =   1233, Skip Channel = FALSE, BwCap = TRUE
      [   31.858431] Channel  52 : Busy Time =    488, Skip Channel = FALSE, BwCap = TRUE
      [   31.865837] Channel  56 : Busy Time =    601, Skip Channel = FALSE, BwCap = TRUE
      [   31.873254] Channel  60 : Busy Time =    163, Skip Channel = FALSE, BwCap = TRUE
      [   31.880648] Channel  64 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
      [   31.888059] Channel 100 : Busy Time =    509, Skip Channel = FALSE, BwCap = TRUE
      [   31.895471] Channel 104 : Busy Time =     23, Skip Channel = FALSE, BwCap = TRUE
      [   31.902900] Channel 108 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
      [   31.910303] Channel 112 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
      [   31.917726] Channel 116 : Busy Time =    245, Skip Channel = FALSE, BwCap = TRUE
      [   31.925140] Channel 120 : Busy Time =     81, Skip Channel = FALSE, BwCap = TRUE
      [   31.932557] Channel 124 : Busy Time =    423, Skip Channel = FALSE, BwCap = TRUE
      [   31.939954] Channel 128 : Busy Time =      3, Skip Channel = FALSE, BwCap = TRUE
      [   31.947364] ====================================================================
      [   31.954793] Rule 3 Channel Busy time value : Select Primary Channel 128
      [   31.961422] Rule 3 Channel Busy time value : Min Channel Busy = 423
      [   31.967685] Rule 3 Channel Busy time value : BW = 80
      [   31.972663] [SelectClearChannelBusyTime] - band0 END
      [   31.977628] ApAutoChannelAtBootUp : Auto channel selection: Selected channel = 128, IsAband = 1
      [   31.986349] [41m AutoChSelUpdateChannel(): Update channel for wdev for this band PhyMode = 49, Channel = 128 [m
      [   31.996634] [1;33m [RadarStateCheck] RD_SILENCE_MODE [m 
      [   32.002166] [DfsCacNormalStart] CAC 65 seconds start . Disable MAC TX
      [   32.008730] [DfsSwitchCheck]: DFS ByPass TX calibration.
      [   32.014077] mt7615_apply_dcoc() : reload Central CH [122] BW [2] from cetral freq [5610]  offset [1e00]
      [   32.023609] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   32.027978] mt7615_apply_dpd() : reload Central CH [122] BW [2] from cetral freq [5620] i[29] offset [3e78]
      [   32.037954] MtCmdGetTXDPDCalResult:(ret = 0)
      [   32.042366] MtCmdChannelSwitch: control_chl = 128,control_ch2=0, central_chl = 122 DBDCIdx= 0, Band= 0
      [   32.051701] BW = 2,TXStream = 4, RXStream = 4, scan(0)
      [   32.064633] [WrapDfsRadarDetectStart]: DfsChBand[0]: 1, DfsChBand[1]: 0
      [   32.071421] ApAutoChannelAtBootUp<-----------------
      [   32.076415] [PMF]APPMFInit:: apidx=0, MFPC=0, MFPR=0, SHA256=0
      [   32.082397] wifi_sys_linkup(), wdev idx = 0
      [   32.086598] wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:127 for WDEV_TYPE:1
      [   32.086598]  LinkToOmacIdx = 0, LinkToWdevType = 1
      [   32.210824] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 8192, CmdBssInfoBmcRate.u2McTransmit = 8196
      [   32.223853] UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 0
      [   32.229647] APStartUpForMbss: BssIndex = 0 channel = 128
      [   32.235125] MtCmdTxPowerDropCtrl: ucPowerDrop: 100, BandIdx: 0
      [   32.241125] TxCCKStreamCtrl: set wrong parameters
      [   32.247954] apidx 0 for WscUUIDInit
      [   32.251508] Generate UUID for apidx(0)
      [   32.255803] extif_set_dev(rai0)
      [   32.259615] mca_alloc:863->current[kworker/0:0]
      [32.21][987][set_confs_after_interface_up:601]: cmd iwpriv rai0 set thermal_protect_duty_cfg=0:0:100
      [32.21][987][set_confs_after_interface_up:606]: cmd iwpriv rai0 set thermal_protect_duty_cfg=0:1:80
      [32.22][987][set_confs_after_interface_up:611]: cmd iwpriv rai0 set thermal_protect_duty_cfg=0:2:50
      [32.23][987][set_confs_after_interface_up:616]: cmd iwpriv rai0 set thermal_protect_duty_cfg=0:3:20
      [32.23][987][set_confs_after_interface_up:6[   32.303281] debug : Enter [BRCTL_ADD_RULE_IF] 
      21]: cmd iwpriv [   32.308212] add_if 00000100 ***************************
      rai0 set thermal[   32.315308] device rai0 entered promiscuous mode
      _protect_enable=[   32.320882] br0: port 4(rai0) entered forwarding state
      0:1:1:120:114:00[   32.327404] br0: port 4(rai0) entered forwarding state
      05
      [   32.348717] rai5: ===> mbss_virtual_if_open
      [   32.352968] RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
      [   32.359241] wifi_sys_open(), wdev idx = 5
      [   32.363270] wdev_attr_update(): wdevId5 = 90:96:f3:xx:xx:39
      [   32.368917] [1;33m [RadarStateCheck] RD_SILENCE_MODE [m 
      [   32.374450] [DfsCacNormalStart] CAC 65 seconds start . Disable MAC TX
      [   32.380993] [WrapDfsRadarDetectStart]: DfsChBand[0]: 1, DfsChBand[1]: 0
      [   32.387706] Caller: wlan_operate_init+0xf8/0x10c
      [   32.392336] phy_mode=49, ch=128, wdev_type=1
      [   32.396607] ht_cap->HtCapInfo: ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=1
      [   32.405919] ht_cap->HtCapParm: mdpu_density=0, ampdu_factor=3
      [   32.411886] AP inf up for ra_5(func_idx) OmacIdx=21
      [   32.416806] AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
      [   32.422043] ApAutoChannelAtBootUp----------------->
      [   32.426941] ApAutoChannelAtBootUp: AutoChannelBootup[0] = 1
      [   32.432725] MtCmdSetMacTxRx:(ret = 0)
      [   32.436388] ApAutoChannelAtBootUp<-----------------
      [   32.441410] [PMF]APPMFInit:: apidx=5, MFPC=1, MFPR=1, SHA256=0
      [   32.502949] [PMF]PMF_MakeRsnIeGMgmtCipher: Insert BIP to the group management cipher of RSNIE
      [   32.511572] wifi_sys_linkup(), wdev idx = 5
      [   32.515765] wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:126 for WDEV_TYPE:1
      [   32.515765]  LinkToOmacIdx = 15, LinkToWdevType = 1
      [   32.639720] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 8192, CmdBssInfoBmcRate.u2McTransmit = 8196
      [   32.652848] UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 15
      [   32.658739] APStartUpForMbss: BssIndex = 0 channel = 128
      [   32.664125] MtCmdTxPowerDropCtrl: ucPowerDrop: 100, BandIdx: 0
      [   32.669971] TxCCKStreamCtrl: set wrong parameters
      [   32.676406] apidx 5 for WscUUIDInit
      [   32.679896] Generate UUID for apidx(5)
      [   32.684281] mca_alloc:863->current[kworker/2:2]
      [32.63][987][set_confs_after_interface_up:601]: cmd iwpriv rai5 set thermal_protect_duty_cfg=0:0:100
      [32.64][987][set_confs_after_interface_up:606]: cmd iwpriv rai5 set thermal_protect_duty_cfg=0:1:80
      [32.65][987][set_confs_after_interface_up:611]: cmd iwpriv rai5 set thermal_protect_duty_cfg=0:2:50
      [32.65][987][set_confs_after_interface_up:616]: cmd iwpriv rai5 set thermal_protect_duty_cfg=0:3:20
      [32.66][987][set_confs_after_interface_up:6[   32.728763] debug : Enter [BRCTL_ADD_RULE_IF] 
      21]: cmd iwpriv [   32.733610] add_if 00000100 ***************************
      rai5 set thermal[   32.740497] device rai5 entered promiscuous mode
      _protect_enable=[   32.746262] br0: port 5(rai5) entered forwarding state
      0:1:1:120:114:00[   32.752662] br0: port 5(rai5) entered forwarding state
      05
      [   32.823362] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
      [   32.835130] set BSSID:90:96:f3:xx:xx:31, Band=2.4G
      [   32.846445] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
      [   32.858411] set BSSID:90:96:f3:xx:xx:31, Band=2.4G
      [   32.870476] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
      [   32.882227] set BSSID:90:96:f3:xx:xx:32, Band=2.4G
      [   32.893422] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
      [   32.905196] set BSSID:90:96:f3:xx:xx:32, Band=2.4G
      [   33.410443] mcsnoop: flush all snoop entry
      [   33.414737] mcsnoop: Bridge Multicast Snooping module Ver0.1/20070912
      [   33.439176] mcsnoop_br_ioctl_device:275: mcast_maxage 75000 / 250
      [   33.449161] device eth0 left promiscuous mode
      [   33.453736] br0: port 1(eth0) entered disabled state
      [   33.462929] debug : Enter [BRCTL_ADD_RULE_IF] 
      [   33.467394] add_if 00000600 ***************************
      [   33.473149] device eth0 entered promiscuous mode
      [   33.477899] br0: port 1(eth0) entered forwarding state
      [   33.483080] br0: port 1(eth0) entered forwarding state
      [   33.538870] xt_applicxation maclist: clean
      start_dpi lan mac 90:96:F3:xx:xx:30
      start_dpi cmd diot_setup init 90:96:F3:xx:xx:30 br0 br1
      IPC-ERR:ML_CreateIpcClientRaw(398):can't connect ipc: +/diot-security-ipc
      hostsacd_incident_restore_handle(507):HSAC-ERR:can't initialize incident handler
      [   36.874838] netwatchd uses obsolete (PF_INET,SOCK_PACKET)
      [   36.914529] mca_alloc:863->current[kworker/0:0]
      [   36.926180] mca_alloc:863->current[sh]
      [   36.929967] mca_alloc:863->current[sh]
      [   36.933769] mca_alloc:863->current[sh]
      crond[1347]: crond: crond (busybox 1.18.5) started, log level 8
      start miniupnpd
      miniupnpd[1383]: HTTP listening on port 37467
      miniupnpd[1383]: Listening for NAT-PMP/PCP traffic on port 5351
      miniupnpd[1383]: chain upnp_nat not found
      miniupnpd[1383]: chain upnp_nat not found
      [   38.303886] mca_alloc:863->current[kworker/0:0]
      Firmware version: 1.00.0.20
      Firmware build time: 21.10.22 07:41
      Link Status Changed - WAN Port Link Down
      ntp.jst.mfeed.ad.jp: Try againTime out! You may increase DEFAULT_TIMEOUT_COUNT[10]!
    

WSR-2533DHPL2

これもWMC-DLGST2同様に、定期的な通院のついでに吉川のハードオフに行ってみた際見付け、MT7621であることを把握しており確保したもの。

弄っていくのでメモ。

Switch

確認中

zone WAN LAN
port (WSR-2533DHPL2) INTERNET LAN1 LAN2 LAN3
port (MT7530) port0 port1 port2 port3

MAC

  • LAN: 18:EC:E7:xx:xx:E0 (board_data, mac (hex))
  • WAN: 18:EC:E7:xx:xx:E0 (board_data, mac (hex))
  • 2.4G: 18:EC:E7:xx:xx:E1 (Factory, 0x4 (hex))
  • 5G: 18:EC:E7:xx:xx:E4 (Factory, 0x8004 (hex))

U-Boot

  • help

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

      MT7621 # version
    
      U-Boot 1.1.3 (Nov 19 2019 - 15:33:02) 0.04
    
  • printenv

      MT7621 # printenv
      bootcmd=tftp
      bootdelay=5
      baudrate=57600
      ethaddr="00:AA:BB:CC:DD:10"
      ipaddr=192.168.11.1
      serverip=192.168.11.2
      bootfile="linux.trx-recovery"
      bootpartition=0
      bootversion=0.04
      stdin=serial
      stdout=serial
      stderr=serial
      BootType=3
    
      Environment size: 225/4092 bytes
    
  • tftpboot

      MT7621 # tftpboot
    
       NetLoop,call eth_halt ! 
    
       NetLoop,call eth_init ! 
      Trying Eth0 (10/100-M)
    
       Waitting for RX_DMA_BUSY status Start... done
    
    
       ETH_STATE_ACTIVE!! 
      TFTP from server 192.168.11.2; our IP address is 192.168.11.1
      Filename 'linux.trx-recovery'.
    
       TIMEOUT_COUNT=10,Load address: 0x84000000
      Loading: *
    

Kernel

  • uname -a

      root@localhost:/# uname -a
      Linux localhost 3.10.14 #3 SMP Mon Oct 10 14:58:22 CST 2022 mips GNU/Linux
    
  • cat /proc/version

      root@localhost:/# cat /proc/version
      Linux version 3.10.14 (xxxxxxxxx@build02-sw2-dc6) (gcc version 4.6.3 (Buildroot 2012.11.1) ) #3 SMP Mon Oct 10 14:58:22 CST 2022
    
  • cat /proc/cpuinfo

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

      root@localhost:/# cat /proc/meminfo
      MemTotal:         121916 kB
      MemFree:           54140 kB
      Buffers:            4724 kB
      Cached:            15688 kB
      SwapCached:            0 kB
      Active:            14980 kB
      Inactive:          12748 kB
      Active(anon):       7656 kB
      Inactive(anon):      584 kB
      Active(file):       7324 kB
      Inactive(file):    12164 kB
      Unevictable:           0 kB
      Mlocked:               0 kB
      SwapTotal:             0 kB
      SwapFree:              0 kB
      Dirty:                 0 kB
      Writeback:             0 kB
      AnonPages:          7288 kB
      Mapped:             5736 kB
      Shmem:               924 kB
      Slab:              17708 kB
      SReclaimable:       2100 kB
      SUnreclaim:        15608 kB
      KernelStack:         984 kB
      PageTables:          928 kB
      NFS_Unstable:          0 kB
      Bounce:                0 kB
      WritebackTmp:          0 kB
      CommitLimit:       60956 kB
      Committed_AS:      17672 kB
      VmallocTotal:    1048372 kB
      VmallocUsed:       16012 kB
      VmallocChunk:    1032096 kB
    
  • cat /proc/mtd

      root@localhost:/# cat /proc/mtd
      dev:    size   erasesize  name
      mtd0: 07f80000 00020000 "ALL"
      mtd1: 00080000 00020000 "Bootloader"
      mtd2: 00080000 00020000 "Config"
      mtd3: 00040000 00020000 "Factory"
      mtd4: 03d20000 00020000 "Kernel"
      mtd5: 03a40000 00020000 "RootFS"
      mtd6: 03d20000 00020000 "Kernel2"
      mtd7: 03a40000 00020000 "RootFS2"
      mtd8: 00200000 00020000 "glbcfg"
      mtd9: 00200000 00020000 "board_data"
    
  • cat /etc/gpio/button_map.txt

      root@localhost:/# cat /etc/gpio/button_map.txt 
      #button should be define link this
      #name=gpio
      #active=[low/high]
      #spec=duration
      #the order of the keywords are critical
    
      #define the button "wps"
      wps_sgl=6
      active=low
      spec=1000
    
      #define the button "default"
      default_sgl=3
      active=low
      spec=3000
    
      #define the switch "router/ap mode"
      routermode=7
      active=high
      spec=0
    
  • bootlog

    
      ===================================================================
                      MT7621   stage1 code 10:33:11 (ASIC)
                      CPU=50000000 HZ BUS=16666666 HZ
      ==================================================================
      Change MPLL source from XTAL to CR...
      do MEMPLL setting..
      MEMPLL Config : 0x11100000
      3PLL mode + External loopback
      === XTAL-40Mhz === DDR-1200Mhz ===
      PLL3 FB_DL: 0x2, 1/0 = 646/378 09000000
      PLL4 FB_DL: 0x10, 1/0 = 598/426 41000000
      PLL2 FB_DL: 0x19, 1/0 = 684/340 65000000
      do DDR setting..[00320381]
      Apply DDR3 Setting...(use customer AC)
                0    8   16   24   32   40   48   56   64   72   80   88   96  104  112  120
            --------------------------------------------------------------------------------
      0000:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      0001:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      0002:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      0003:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      0004:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      0005:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      0006:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      0007:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      0008:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      0009:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      000A:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      000B:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      000C:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      000D:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      000E:|    0    0    0    0    0    0    0    0    0    0    0    1    1    1    1    1
      000F:|    0    0    0    0    0    0    1    1    1    1    1    1    1    1    1    1
      0010:|    1    1    1    1    1    1    1    1    1    1    1    0    0    0    0    0
      0011:|    1    1    1    1    1    0    0    0    0    0    0    0    0    0    0    0
      0012:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      0013:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      0014:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      0015:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      0016:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      0017:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      0018:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      0019:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      001A:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      001B:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      001C:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      001D:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      001E:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      001F:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      rank 0 coarse = 16
      rank 0 fine = 40
      B:|    0    0    0    0    0    0    0    0    1    1    1    0    0    0    0    0
      opt_dle value:9
      DRAMC_R0DELDLY[018]=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 |    7 7 6 11 6 8 9 6 6 5 
      10 |    9 7 8 10 9 7 
      --------------------------------------
    
      ==================================================================
      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~61)31  8  (1~61)31
      1  (1~62)31  9  (1~59)30
      2  (1~63)32  10  (1~65)33
      3  (1~66)33  11  (1~61)31
      4  (0~63)31  12  (1~64)32
      5  (1~61)31  13  (1~61)31
      6  (1~64)32  14  (2~64)33
      7  (1~65)33  15  (0~61)30
      ==================================================================
      3.dq delay value last
      ==================================================================
      bit|    0  1  2  3  4  5  6  7  8   9
      --------------------------------------
      0 |    9 9 7 11 8 10 10 6 8 8 
      10 |    9 9 9 12 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=50000000 HZ BUS=16666666 HZ
      ===================================================================
    
    
      U-Boot 1.1.3 (Nov 19 2019 - 15:33:02) 0.04
    
      Board: Ralink APSoC DRAM:  128 MB
      relocate_code Pointer at: 87f94000
    
      Config XHCI 40M PLL 
      ******************************
      Software System Reset Occurred
      ******************************
      Allocate 16 byte aligned buffer: 87fc88b0
      Enable NFI Clock
      # MTK NAND # : Use HW ECC
      NAND ID [EF F1 00 95 00]
      Device found in MTK table, ID: eff1, EXT_ID: 9500
      Support this Device in MTK table! eff1 
      select_chip
      [NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
      Signature matched and data read!
      load_fact_bbt success 1023
      load fact bbt success
      [mtk_nand] probe successfully!
      mtd->writesize=2048 mtd->oobsize=64,    mtd->erasesize=131072  devinfo.iowidth=8
      ..============================================ 
      Ralink UBoot Version: 5.0.0.0
      -------------------------------------------- 
      ASIC MT7621A DualCore (MAC to MT7530 Mode)
      DRAM_CONF_FROM: Auto-Detection 
      DRAM_TYPE: DDR3 
      DRAM bus: 16 bit
      Xtal Mode=3 OCP Ratio=1/3
      Flash component: NAND Flash
      Date:Nov 19 2019  Time:15:33:02
      ============================================ 
      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. 
      default: 3
       0 
    
      3: System Boot system code via Flash0.
      ## Booting image at bc140000 ...
    
      =================================================
      Check image validation:
      Image1 Trx Check --> ---------------------
      TRX MAGIC    324c4850
      Image len    924000
      header crc32 99d09d2e
      ---------------------
       trx magic OK!
      ...................................................................................................................................................
      ## check_trx, crc=-1714381522, *crc_ret=-1714381522.
      OK
      Image1 Header Magic Number --> OK
      Image1 Header Checksum --> OK
      Image1 Data Checksum --> .............................................OK
    
      =================================================
    
      =================================================
      Check image validation:
      Image2 Trx Check --> ---------------------
      TRX MAGIC    324c4850
      Image len    924000
      header crc32 99d09d2e
      ---------------------
       trx magic OK!
      ...................................................................................................................................................
      ## check_trx, crc=-1714381522, *crc_ret=-1714381522.
      OK
      Image2 Header Magic Number --> OK
      Image2 Header Checksum --> OK
      Image2 Data Checksum --> .............................................OK
    
      =================================================
      ## check Image1 return 0, check Image2 return 0, Image1 crc=-1714381522, Image2 crc=-1714381522.
      Image1 is ok!
      Image2 is ok and same as Image1!
         Image Name:   MIPS OpenWrt Linux-3.10.14
         Image Type:   MIPS Linux Kernel Image (lzma compressed)
         Data Size:    2933542 Bytes =  2.8 MB
         Load Address: 81001000
         Entry Point:  815489e0
      .............................................   Uncompressing Kernel Image ... OK
      No initrd
      ## Transferring control to Linux (at address 815489e0) ...
      ## Giving linux memsize in MB, 128
    
      Starting kernel ...
    
    
      LINUX started...
    
       THIS IS ASIC
    
      SDK 5.0.S.0
      Linux version 3.10.14 (xxxxxxxxxx@build02-sw2-dc6) (gcc version 4.6.3 (Buildroot 2012.11.1) ) #3 SMP Mon Oct 10 14:58:22 CST 2022
    
       The CPU feqenuce set to 880 MHz
      GCMP present
      CPU0 revision is: 0001992f (MIPS 1004Kc)
      Software DMA cache coherency
      Determined physical RAM map:
       memory: 08000000 @ 00000000 (usable)
      Zone ranges:
        DMA      [mem 0x00000000-0x00ffffff]
        Normal   [mem 0x01000000-0x07ffffff]
      Movable zone start for each node
      Early memory node ranges
        node   0: [mem 0x00000000-0x07ffffff]
      Detected 3 available secondary CPU(s)
      Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
      Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
      MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
      PERCPU: Embedded 7 pages/cpu @818f8000 s6784 r8192 d13696 u32768
      Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
      Kernel command line: console=ttyS1,57600n8 root=/dev/mtdblock5 init=/sbin/preinit rootfstype=squashfs,jffs2
      PID hash table entries: 512 (order: -1, 2048 bytes)
      Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
      Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
      Writing ErrCtl register=00004580
      Readback ErrCtl register=00004580
      Memory: 121664k/131072k available (5446k kernel code, 9408k reserved, 2232k data, 252k init, 0k highmem)
      Hierarchical RCU implementation.
      NR_IRQS:128
      Console: colour dummy device 80x25
      console [ttyS1] enabled
      Calibrating delay loop... 577.53 BogoMIPS (lpj=1155072)
      pid_max: default: 32768 minimum: 301
      Mount-cache hash table entries: 512
      launch: starting cpu1
      launch: cpu1 gone!
      CPU1 revision is: 0001992f (MIPS 1004Kc)
      Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
      Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
      MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
      Synchronize counters for CPU 1: done.
      launch: starting cpu2
      launch: cpu2 gone!
      CPU2 revision is: 0001992f (MIPS 1004Kc)
      Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
      Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
      MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
      Synchronize counters for CPU 2: done.
      launch: starting cpu3
      launch: cpu3 gone!
      CPU3 revision is: 0001992f (MIPS 1004Kc)
      Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
      Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
      MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
      Synchronize counters for CPU 3: done.
      Brought up 4 CPUs
      devtmpfs: initialized
      NET: Registered protocol family 16
      release PCIe RST: RALINK_RSTCTRL = 7000000
      PCIE PHY initialize
      ***** Xtal 40MHz *****
      start MT7621 PCIe register access
      RALINK_RSTCTRL = 7000000
      RALINK_CLKCFG1 = 77ffeff8
    
      *************** MT7621 PCIe RC mode *************
      PCIE2 no card, disable it(RST&CLK)
      pcie_link status = 0x3
      RALINK_RSTCTRL= 3000000
      *** Configure Device number setting of Virtual PCI-PCI bridge ***
      RALINK_PCI_PCICFG_ADDR = 21007f2 -> 21007f2
      PCIE0 enabled
      PCIE1 enabled
      interrupt enable status: 300000
      Port 1 N_FTS = 1b105000
      Port 0 N_FTS = 1b105000
      config reg done
      init_rt2880pci done
      bio: create slab <bio-0> at 0
      vgaarb: loaded
      SCSI subsystem initialized
      PCI host bridge to bus 0000:00
      pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
      pci_bus 0000:00: root bus resource [io  0x1e160000-0x1e16ffff]
      pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
      pci 0000:00:00.0: BAR 0: can't assign mem (size 0x80000000)
      pci 0000:00:01.0: BAR 0: can't assign mem (size 0x80000000)
      pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
      pci 0000:00:01.0: BAR 8: assigned [mem 0x60100000-0x601fffff]
      pci 0000:00:00.0: BAR 1: assigned [mem 0x60200000-0x6020ffff]
      pci 0000:00:01.0: BAR 1: assigned [mem 0x60210000-0x6021ffff]
      pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
      pci 0000:00:00.0: PCI bridge to [bus 01]
      pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
      pci 0000:02:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit]
      pci 0000:00:01.0: PCI bridge to [bus 02]
      pci 0000:00:01.0:   bridge window [mem 0x60100000-0x601fffff]
      BAR0 at slot 0 = 0
      bus=0x0, slot = 0x0
      res[0]->start = 0
      res[0]->end = 0
      res[1]->start = 60200000
      res[1]->end = 6020ffff
      res[2]->start = 0
      res[2]->end = 0
      res[3]->start = 0
      res[3]->end = 0
      res[4]->start = 0
      res[4]->end = 0
      res[5]->start = 0
      res[5]->end = 0
      BAR0 at slot 1 = 0
      bus=0x0, slot = 0x1
      res[0]->start = 0
      res[0]->end = 0
      res[1]->start = 60210000
      res[1]->end = 6021ffff
      res[2]->start = 0
      res[2]->end = 0
      res[3]->start = 0
      res[3]->end = 0
      res[4]->start = 0
      res[4]->end = 0
      res[5]->start = 0
      res[5]->end = 0
      bus=0x1, slot = 0x0, irq=0x4
      res[0]->start = 60000000
      res[0]->end = 600fffff
      res[1]->start = 0
      res[1]->end = 0
      res[2]->start = 0
      res[2]->end = 0
      res[3]->start = 0
      res[3]->end = 0
      res[4]->start = 0
      res[4]->end = 0
      res[5]->start = 0
      res[5]->end = 0
      bus=0x2, slot = 0x1, irq=0x18
      res[0]->start = 60100000
      res[0]->end = 601fffff
      res[1]->start = 0
      res[1]->end = 0
      res[2]->start = 0
      res[2]->end = 0
      res[3]->start = 0
      res[3]->end = 0
      res[4]->start = 0
      res[4]->end = 0
      res[5]->start = 0
      res[5]->end = 0
      Switching to clocksource MIPS
      NET: Registered protocol family 2
      TCP established hash table entries: 1024 (order: 1, 8192 bytes)
      TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
      TCP: Hash tables configured (established 1024 bind 1024)
      TCP: reno registered
      UDP hash table entries: 256 (order: 1, 8192 bytes)
      UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
      NET: Registered protocol family 1
      4 CPUs re-calibrate udelay(lpj = 1167360)
      Load Kernel WDG Timer Module
      Load Ralink Timer0 Module
      Load Ralink Timer2 Module
      squashfs: version 4.0 (2009/01/31) Phillip Lougher
      fuse init (API version 7.22)
      msgmni has been set to 237
      io scheduler noop registered (default)
      reg_int_mask=0, INT_MASK= 0 
      HSDMA_init
    
       hsdma_phy_tx_ring0 = 0x00c00000, hsdma_tx_ring0 = 0xa0c00000
    
       hsdma_phy_rx_ring0 = 0x00c04000, hsdma_rx_ring0 = 0xa0c04000
      TX_CTX_IDX0 = 0
      TX_DTX_IDX0 = 0
      RX_CRX_IDX0 = 3ff
      RX_DRX_IDX0 = 0
      set_fe_HSDMA_glo_cfg
      HSDMA_GLO_CFG = 465
      Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
      serial8250: ttyS0 at MMIO 0x1e000d00 (irq = 27) is a 16550A
      serial8250: ttyS1 at MMIO 0x1e000c00 (irq = 26) is a 16550A
      Ralink gpio driver initialized
      LED gpio mode e05ac
      @@@@@@#### buffalo_led_init initialized. 
      brd: module loaded
      MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
      Allocate 16 byte aligned buffer: 817d1d50
      Enable NFI Clock
      # MTK NAND # : Use HW ECC
      NAND ID [EF F1 00 95 00, 00009500]
      Device found in MTK table, ID: eff1, EXT_ID: 9500
      Support this Device in MTK table! eff1 
      NAND device: Manufacturer ID: 0xef, Chip ID: 0xf1 (Unknown NAND 128MiB 3,3V 8-bit), 128MiB, page size: 2048, OOB size: 64
      [NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
      Scanning device for bad blocks
      Signature matched and data read!
      load_fact_bbt success 1023
      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
      in find_rootfs_partitions  off=0x00140000 end=0x03e60000
      The trx header magic offset 0x002e0000
      * Found image1 partition off 0x00420000 size 0x03a40000
      in find_rootfs_partitions  off=0x03e60000 end=0x07b80000
      The trx header magic offset 0x002e0000
      Found image2 partition off 0x04140000 size 0x03a40000
      Creating 10 MTD partitions on "MT7621-NAND":
      0x000000000000-0x000007f80000 : "ALL"
      0x000000000000-0x000000080000 : "Bootloader"
      0x000000080000-0x000000100000 : "Config"
      0x000000100000-0x000000140000 : "Factory"
      0x000000140000-0x000003e60000 : "Kernel"
      0x000000420000-0x000003e60000 : "RootFS"
      0x000003e60000-0x000007b80000 : "Kernel2"
      0x000004140000-0x000007b80000 : "RootFS2"
      0x000007b80000-0x000007d80000 : "glbcfg"
      0x000007d80000-0x000007f80000 : "board_data"
      [mtk_nand] probe successfully!
      IMQ driver loaded successfully. (numdevs = 2, numqueues = 1)
              Hooking IMQ after NAT on PREROUTING.
              Hooking IMQ before NAT on POSTROUTING.
      PPP generic driver version 2.4.2
      PPP BSD Compression module registered
      PPP MPPE Compression module registered
      NET: Registered protocol family 24
      register mt_drv
    
      == pAd = c0181000, size = 6777344, Status=0 ==
      pAd->PciHif.CSRBaseAddress =0xc0080000, csr_addr=0xc0080000!
      RTMPInitPCIeDevice():device_id=0x7615
      mt_pci_chip_cfg(): HWVer=0x8a10, FWVer=0x8a10, pAd->ChipID=0x7615
      mt_pci_chip_cfg(): HIF_SYS_REV=0x76150001
      AP Driver version-5.0.4.0
      RtmpChipOpsHook(223): Not support for HIF_MT yet! MACVersion=0x0
      mt7615_init()-->
      Use 1st iPAiLNA default bin.
      Use 0st /etc_ro/wlan/MT7615E_EEPROM1.bin default bin.
      <--mt7615_init()
      <-- RTMPAllocTxRxRingMemory, Status=0
    
      == pAd = c0901000, size = 6777344, Status=0 ==
      pAd->PciHif.CSRBaseAddress =0xc0800000, csr_addr=0xc0800000!
      RTMPInitPCIeDevice():device_id=0x7615
      mt_pci_chip_cfg(): HWVer=0x8a10, FWVer=0x8a10, pAd->ChipID=0x7615
      mt_pci_chip_cfg(): HIF_SYS_REV=0x76150001
      AP Driver version-5.0.4.0
      RtmpChipOpsHook(223): Not support for HIF_MT yet! MACVersion=0x0
      mt7615_init()-->
      Use 2nd iPAiLNA default bin.
      Use 1st /etc_ro/wlan/MT7615E_EEPROM2.bin default bin.
      <--mt7615_init()
      <-- RTMPAllocTxRxRingMemory, Status=0
      rdm_major = 253
      GMAC1_MAC_ADRH -- : 0x00000000
      GMAC1_MAC_ADRL -- : 0x1f000000
      Ralink APSoC Ethernet Driver Initilization. v3.1  1024 rx/tx descriptors allocated, mtu = 1500!
      GMAC1_MAC_ADRH -- : 0x00000000
      GMAC1_MAC_ADRL -- : 0x1f000000
      PROC INIT OK!
      mousedev: PS/2 mouse device common for all mice
      Netfilter messages via NETLINK v0.30.
      nf_conntrack version 0.5.0 (1901 buckets, 7604 max)
      Bytecounter: allocated 64 tables
      ctnetlink v0.93: registering with nfnetlink.
      IPVS: Registered protocols ()
      IPVS: Connection hash table configured (size=4096, memory=32Kbytes)
      IPVS: Creating netns size=776 id=0
      IPVS: ipvs loaded.
      ip_tables: (C) 2000-2006 Netfilter Core Team
      Type=Linux
      TCP: cubic registered
      NET: Registered protocol family 10
      ipv6_dev_mc_inc:896->current[swapper/0]
      ipv6_dev_mc_inc:896->current[swapper/0]
      ipv6_dev_mc_inc:896->current[swapper/0]
      ipv6_dev_mc_inc:896->current[swapper/0]
      ipv6_dev_mc_inc:896->current[swapper/0]
      ipv6_dev_mc_inc:896->current[swapper/0]
      ipv6_dev_mc_inc:896->current[swapper/0]
      ipv6_dev_mc_inc:896->current[swapper/0]
      ipv6_dev_mc_inc:896->current[swapper/0]
      ipv6_dev_mc_inc:896->current[swapper/0]
      ipv6_dev_mc_inc:896->current[swapper/0]
      ipv6_dev_mc_inc:896->current[swapper/0]
      ip6_tables: (C) 2000-2006 Netfilter Core Team
      sit: IPv6 over IPv4 tunneling driver
      ipv6_dev_mc_inc:896->current[swapper/0]
      ipv6_dev_mc_inc:896->current[swapper/0]
      ipv6_dev_mc_inc:896->current[swapper/0]
      ipv6_dev_mc_inc:896->current[swapper/0]
      NET: Registered protocol family 17
      8021q: 802.1Q VLAN Support v1.8
      Boot from /dev/mtdblock5
      VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
      devtmpfs: mounted
      Freeing unused kernel memory: 252K (81781000 - 817c0000)
      arca.dbus.mng: is ready
      agent_handler(244):arca.dbus.misc: is ready
    
      Please press Enter to activate this console. nf_conntrack_rtsp v0.7 loading
      init:569->port #0: 554
      init:569->port #1: 10556
      init:569->port #2: 10557
      init:569->port #3: 10558
      init:569->port #4: 10559
      init:569->port #5: 10560
      init:569->port #6: 10561
      init:569->port #7: 10562
      init:569->port #8: 10563
      init:569->port #9: 10564
      init:569->port #10: 10565
      init:569->port #11: 10566
      init:569->port #12: 10567
      init:569->port #13: 10568
      init:569->port #14: 10569
      init:569->port #15: 10570
      init:569->port #16: 10571
      init:569->port #17: 10572
      init:569->port #18: 10573
      init:569->port #19: 10574
      init:569->port #20: 10575
      init:569->port #21: 10576
      init:569->port #22: 10577
      init:569->port #23: 10578
      init:569->port #24: 10579
      init:569->port #25: 10580
      init:569->port #26: 10581
      init:569->port #27: 10582
      init:569->port #28: 10583
      init:569->port #29: 10584
      init:569->port #30: 10585
      init:569->port #31: 10586
      init:569->port #32: 10587
      init:569->port #33: 10588
      init:569->port #34: 10589
      init:569->port #35: 10590
      init:569->port #36: 10591
      init:569->port #37: 10592
      nf_nat_rtsp v0.7 loading
       0: 0:1F: 0: 0: 0
      Raeth v3.1 (Tasklet)
      set CLK_CFG_0 = 0x40a00020!!!!!!!!!!!!!!!!!!1
      phy_free_head is 0xc28000!!!
      phy_free_tail_phy is 0xc29ff0!!!
      txd_pool=a0c30000 phy_txd_pool=00C30000
      ei_local->skb_free start address is 0x86af26cc.
      free_txd: 00c30010, ei_local->cpu_ptr: 00C30000
       POOL  HEAD_PTR | DMA_PTR | CPU_PTR 
      ----------------+---------+--------
           0xa0c30000 0x00C30000 0x00C30000
    
      phy_qrx_ring = 0x00c2a000, qrx_ring = 0xa0c2a000
    
      phy_rx_ring0 = 0x00c2c000, rx_ring[0] = 0xa0c2c000
      MT7530 Reset Completed!!
      change HW-TRAP to 0x117c8f
      set LAN/WAN WLLLL
      GMAC1_MAC_ADRH -- : 0x000018ec
      GMAC1_MAC_ADRL -- : 0xe7xxxxe0
      GDMA2_MAC_ADRH -- : 0x00000000
      GDMA2_MAC_ADRL -- : 0x00001f00
      ipv6_dev_mc_inc:896->current[ifconfig]
      ipv6_dev_mc_inc:896->current[ifconfig]
      eth3: ===> VirtualIF_open
      MT7621 GE2 link rate to 1G
      CDMA_CSG_CFG = 81000000
      GDMA1_FWD_CFG = 20710000
      GDMA2_FWD_CFG = 20710000
      ipv6_dev_mc_inc:896->current[ifconfig]
      Disable flow control
      ipv6_dev_mc_inc:896->current[brctl]
      ipv6_dev_mc_inc:896->current[brctl]
      debug : Enter [BRCTL_ADD_IF] 
      add_if 00000000 ***************************
      device eth2 entered promiscuous mode
      ipv6_dev_mc_inc:896->current[brctl]
      ipv6_dev_mc_inc:896->current[brctl]
      ipv6_dev_mc_inc:896->current[brctl]
      ipv6_dev_mc_inc:896->current[brctl]
      br0: port 1(eth2) entered forwarding state
      br0: port 1(eth2) entered forwarding state
      ipv6_dev_mc_inc:896->current[ifconfig]
      ipv6_dev_mc_inc:896->current[ifconfig]
      GDMA2_MAC_ADRH -- : 0x000018ec
      GDMA2_MAC_ADRL -- : 0xe7xxxxe0
      eth3: ===> VirtualIF_open
      ipv6_dev_mc_inc:896->current[ifconfig]
      ra0: ===> main_virtual_if_open
      RtmpOSFileOpen(): Error 2 opening /etc/wireless/l1profile.dat
      load l1profile succeed!
      driver_own()::Try to Clear FW Own...
      driver_own()::Success to clear FW Own
      MacAddress1 = 00:00:00:00:00:00
      MacAddress2 = 00:00:00:00:00:00
      MacAddress3 = 00:00:00:00:00:00
      MacAddress4 = 00:00:00:00:00:00
      E2pAccessMode=2
      SSID[0]=Buffalo-G-4AE0, EdcaIdx=0
      SSID[1]=Buffalo-G-4AE0_2, EdcaIdx=0
      SSID[2]=Guest-4AE0, EdcaIdx=0
      SSID[3]=MT7621_AP_4, EdcaIdx=0
      SSID[4]=MT7621_AP_5, EdcaIdx=0
      DBDC Mode=0, eDBDC_mode = 0
      BSS0 PhyMode=14
      wmode_band_equal(): Band Equal!
      auto_ch_select_set_cfg(): BandIdx0, AutoChannelAtBootup=1, AutoChannelAlg = 3
      auto_ch_select_set_cfg(): BandIdx1, AutoChannelAtBootup=0, AutoChannelAlg = 0
      [TxPower] BAND0: 100 
      [PERCENTAGEenable] BAND0: 1 
      [BFBACKOFFenable] BAND0: 0 
      CalCacheApply = 0 
      FragThreshold[0]=2346
      DfsZeroWait Support=0/0
      DfsZeroWaitCacTime=0/0
      read_etxbf: ETxBfEnCond = 1
      read_etxbf: BSSID[0]
      read_etxbf: MBSS[0] ETxBfEnCond = 1
      read_etxbf: More BSSID[1]
      read_etxbf: More MBSS[1] ETxBfEnCond = 1
      read_etxbf: More BSSID[2]
      read_etxbf: More MBSS[2] ETxBfEnCond = 1
      read_etxbf: More BSSID[3]
      read_etxbf: More MBSS[3] ETxBfEnCond = 1
      read_etxbf: More BSSID[4]
      read_etxbf: More MBSS[4] ETxBfEnCond = 1
      [RTMPSetProfileParameters]Disable DFS/Zero wait=0/0
      AndesSendCmdMsg: Could not send in band command due to diablefRTMP_ADAPTER_MCU_SEND_IN_BAND_CMD
      AndesSendCmdMsg: Command type = ed, Extension command type = 48
      HT: WDEV[0] Ext Channel = ABOVE
      HT: greenap_cap = 0
      ICapMode = 0
      WtcSetMaxStaNum: BssidNum:5, MaxStaNum:120 (WdsNum:0, ApcliNum:2, MaxNumChipRept:32), MinMcastWcid:121
      Top Init Done!
      Use alloc_skb
      RX[0] DESC a0c14000 size = 16384
      RX[1] DESC a0c12000 size = 8192
      cut_through_init(): ct sw token number = 4095
      cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
      cut_through_token_list_init(): 859add88,859add88
      cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
      cut_through_token_list_init(): 859add98,859add98
      Hif Init Done!
      ctl->txq = c07ce1f0
      ctl->rxq = c07ce1fc
      ctl->ackq = c07ce208
      ctl->kickq = c07ce214
      ctl->tx_doneq = c07ce220
      ctl->rx_doneq = c07ce22c
      Parsing patch header
              Built date: 20180518100604a
    
              Platform: ALPS
              HW/SW version: 0x8a108a10
              Patch version: 0x00000010
              Target address: 0x80000, length: 11072
      patch is not ready && get semaphore success
      EventGenericEventHandler: CMD Success
      MtCmdPatchFinishReq
      EventGenericEventHandler: CMD Success
      release patch semaphore
      WfMcuHwInit: Before NICLoadFirmware, check ICapMode = 0
      Parsing CPU 0 fw tailer
              Chip ID: 0x04
              Eco version: 0x00
              Region number: 0x00
              Format version: 0x00
              Ram version: _reserved_
              Built date: 20191218015348
              Common crc: 0x0
      Parsing tailer region 0
              Feature set: 0x01
              Target address: 0x84000, Download size: 409600
      Parsing tailer region 1
              Feature set: 0x01
              Target address: 0x209c400, Download size: 48160
      EventGenericEventHandler: CMD Success
      EventGenericEventHandler: CMD Success
      MtCmdFwStartReq: override = 0x1, address = 0x84000
      EventGenericEventHandler: CMD Success
      Parsing CPU 1 fw tailer
              Chip ID: 0x04
              Eco version: 0x00
              Region number: 0x00
              Format version: 0x00
              Ram version: _reserved_
              Built date: 20190415154149
              Common crc: 0x0
      Parsing tailer region 0
              Feature set: 0x01
              Target address: 0x90000000, Download size: 122608
      EventGenericEventHandler: CMD Success
      MtCmdFwStartReq: override = 0x4, address = 0x0
      EventGenericEventHandler: CMD Success
      MCU Init Done!
      efuse_probe: efuse = 10000212
      RtmpChipOpsEepromHook::e2p_type=2, inf_Type=5
      RtmpEepromGetDefault::e2p_dafault=1
      RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 2, E2P default = 1
      NVM is FLASH mode. dev_idx [0] FLASH OFFSET [0x0]
      NICReadEEPROMParameters: EEPROM 0x52 b317
      MtCmdSetTxLpfCal:(ret = 0)
      MtCmdSetTxIqCal:(ret = 0)
      MtCmdSetTxDcCal:(ret = 0)
      MtCmdSetRxFiCal:(ret = 0)
      MtCmdSetRxFdCal:(ret = 0)
      MtCmdSetRxFdCal:(ret = 0)
      MtCmdSetRxFdCal:(ret = 0)
      MtCmdSetRxFdCal:(ret = 0)
      MtCmdSetRxFdCal:(ret = 0)
      MtCmdSetRxFdCal:(ret = 0)
      MtCmdSetRxFdCal:(ret = 0)
      MtCmdSetRxFdCal:(ret = 0)
      MtCmdSetRxFdCal:(ret = 0)
      NICReadEEPROMParameters: EEPROM 0x52 b317
      Country Region from e2p = 101
      mt7615_antenna_default_reset(): TxPath = 4, RxPath = 4
      mt7615_antenna_default_reset(): DBDC BAND0 TxPath = 2, RxPath = 2
      mt7615_antenna_default_reset(): DBDC BAND1 TxPath = 2, RxPath = 2
      RcRadioInit(): DbdcMode=0, ConcurrentBand=1
      RcRadioInit(): pRadioCtrl=870f2efc,Band=0,rfcap=3,channel=1,PhyMode=2 extCha=0xf
      MtCmdSetDbdcCtrl:(ret = 0)
      MtSingleSkuLoadParam: RF_LOCKDOWN Feature OFF !!!
      MtBfBackOffLoadParam: RF_LOCKDOWN Feature OFF !!!
      EEPROM Init Done!
      mt_mac_init()-->
      mt7615_init_mac_cr()-->
      mt7615_init_mac_cr(): TMAC_TRCR0=0x82783c8c
      mt7615_init_mac_cr(): TMAC_TRCR1=0x82783c8c
      <--mt_mac_init()
      CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
      CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
      CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
      MAC Init Done!
      MT7615BBPInit():BBP Initialization.....
              Band 0: valid=1, isDBDC=0, Band=2, CBW=1, CentCh/PrimCh=1/1, prim_ch_idx=0, txStream=2
              Band 1: valid=0, isDBDC=0, Band=0, CBW=0, CentCh/PrimCh=0/0, prim_ch_idx=0, txStream=0
      MT7615BBPInit() todo
      PHY Init Done!
      MtCmdSetMacTxRx:(ret = 0)
      WifiFwdSet::disabled=0
      Main bssid = 00:00:00:00:00:00
      MtCmdSetMacTxRx:(ret = 0)
      MtCmdSetMacTxRx:(ret = 0)
      <==== mt_wifi_init, Status=0
      TxBfModuleEnCtrl:It's not DBDC mode
      MtCmdEDCCACtrl: BandIdx: 0, EDCCACtrl: 1
      MtCmdEDCCACtrl: BandIdx: 1, EDCCACtrl: 1
      ipv6_dev_mc_inc:896->current[ifconfig]
      ipv6_dev_mc_inc:896->current[ifconfig]
      ipv6_dev_mc_inc:896->current[ifconfig]
      ipv6_dev_mc_inc:896->current[ifconfig]
      ipv6_dev_mc_inc:896->current[ifconfig]
      ipv6_dev_mc_inc:896->current[ifconfig]
      ipv6_dev_mc_inc:896->current[ifconfig]
      ipv6_dev_mc_inc:896->current[ifconfig]
      ipv6_dev_mc_inc:896->current[ifconfig]
      ipv6_dev_mc_inc:896->current[ifconfig]
      WtcSetMaxStaNum: BssidNum:5, MaxStaNum:120 (WdsNum:0, ApcliNum:2, MaxNumChipRept:32), MinMcastWcid:121
      RedInit: set CR4/N9 RED Enable to 1.
      RedInit: RED Initiailize Done.
      cp_support_is_enabled: set CR4 CP_SUPPORT to Mode 2.
      RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
      wifi_sys_open(), wdev idx = 0
      wdev_attr_update(): wdevId0 = 18:ec:e7:xx:xx:e1
      [RcGetHdevByPhyMode]-- channel 0 fix for rdev fetching
      MtCmdSetDbdcCtrl:(ret = 0)
       [RadarStateCheck] RD_NORMAL_MODE  
      phy_freq_adjust : no prim_ch value for adjust!
      Caller: wlan_operate_init+0x100/0x114
      phy_mode=14, ch=0, wdev_type=1
      ht_cap->HtCapInfo: ldpc=1,ch_width=0,gf=0,sgi20=1,sgi40=0,tx_stbc=1,rx_stbc=1,amsdu_size=1
      ht_cap->HtCapParm: mdpu_density=5, ampdu_factor=3
      AP inf up for ra_0(func_idx) OmacIdx=0
      AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
      ApAutoChannelAtBootUp----------------->
      ApAutoChannelAtBootUp: AutoChannelBootup[0] = 1
      MtCmdSetMacTxRx:(ret = 0)
      mt7615_apply_dcoc() : reload Central CH [1] BW [0] from cetral freq [2417]  offset [2200]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [1] BW [0] from cetral freq [2422] i[44] offset [4b20]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 1,control_ch2=0, central_chl = 1 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      mt7615_apply_dcoc() : reload Central CH [2] BW [0] from cetral freq [2417]  offset [2200]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [2] BW [0] from cetral freq [2422] i[44] offset [4b20]
      ESW: Link Status Changed - Port3 Link UP
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 2,control_ch2=0, central_chl = 2 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      mt7615_apply_dcoc() : reload Central CH [3] BW [0] from cetral freq [2417]  offset [2200]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [3] BW [0] from cetral freq [2422] i[44] offset [4b20]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 3,control_ch2=0, central_chl = 3 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      mt7615_apply_dcoc() : reload Central CH [4] BW [0] from cetral freq [2432]  offset [2300]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [4] BW [0] from cetral freq [2422] i[44] offset [4b20]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 4,control_ch2=0, central_chl = 4 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      :MtCmdPktBudgetCtrl: bssid(255),wcid(65535),type(0)
      mt7615_apply_dcoc() : reload Central CH [5] BW [0] from cetral freq [2432]  offset [2300]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [5] BW [0] from cetral freq [2442] i[45] offset [4bf8]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 5,control_ch2=0, central_chl = 5 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      mt7615_apply_dcoc() : reload Central CH [6] BW [0] from cetral freq [2432]  offset [2300]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [6] BW [0] from cetral freq [2442] i[45] offset [4bf8]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 6,control_ch2=0, central_chl = 6 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      mt7615_apply_dcoc() : reload Central CH [7] BW [0] from cetral freq [2447]  offset [2400]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [7] BW [0] from cetral freq [2442] i[45] offset [4bf8]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 7,control_ch2=0, central_chl = 7 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      mt7615_apply_dcoc() : reload Central CH [8] BW [0] from cetral freq [2447]  offset [2400]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [8] BW [0] from cetral freq [2442] i[45] offset [4bf8]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 8,control_ch2=0, central_chl = 8 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      mt7615_apply_dcoc() : reload Central CH [9] BW [0] from cetral freq [2447]  offset [2400]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [9] BW [0] from cetral freq [2442] i[45] offset [4bf8]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 9,control_ch2=0, central_chl = 9 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      mt7615_apply_dcoc() : reload Central CH [10] BW [0] from cetral freq [2467]  offset [2500]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [10] BW [0] from cetral freq [2462] i[46] offset [4cd0]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 10,control_ch2=0, central_chl = 10 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      mt7615_apply_dcoc() : reload Central CH [11] BW [0] from cetral freq [2467]  offset [2500]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [11] BW [0] from cetral freq [2462] i[46] offset [4cd0]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 11,control_ch2=0, central_chl = 11 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      ====================================================================
      Channel   1 : Busy Time =   4761, Skip Channel = FALSE, BwCap = TRUE
      Channel   2 : Busy Time =   9084, Skip Channel = FALSE, BwCap = TRUE
      Channel   3 : Busy Time =   7743, Skip Channel = FALSE, BwCap = TRUE
      Channel   4 : Busy Time =   2409, Skip Channel = FALSE, BwCap = TRUE
      Channel   5 : Busy Time =   6171, Skip Channel = FALSE, BwCap = TRUE
      Channel   6 : Busy Time =   9942, Skip Channel = FALSE, BwCap = TRUE
      Channel   7 : Busy Time =   3949, Skip Channel = FALSE, BwCap = TRUE
      Channel   8 : Busy Time =   2712, Skip Channel = FALSE, BwCap = TRUE
      Channel   9 : Busy Time =   5283, Skip Channel = FALSE, BwCap = TRUE
      Channel  10 : Busy Time =   6285, Skip Channel = FALSE, BwCap = TRUE
      Channel  11 : Busy Time =  27462, Skip Channel = FALSE, BwCap = TRUE
      ====================================================================
      Rule 3 Channel Busy time value : Select Primary Channel 4
      Rule 3 Channel Busy time value : Min Channel Busy = 2409
      Rule 3 Channel Busy time value : BW = 20
      [SelectClearChannelBusyTime] - band0 END
      ApAutoChannelAtBootUp : Auto channel selection: Selected channel = 4, IsAband = 0
       AutoChSelUpdateChannel(): Update channel for wdev for this band PhyMode = 14, Channel = 4 
       [RadarStateCheck] RD_NORMAL_MODE  
      mt7615_apply_dcoc() : reload Central CH [4] BW [0] from cetral freq [2432]  offset [2300]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [4] BW [0] from cetral freq [2422] i[44] offset [4b20]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 4,control_ch2=0, central_chl = 4 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(0)
      [DfsCacNormalStart] Normal start. Enable MAC TX
      ApAutoChannelAtBootUp<-----------------
      [PMF]APPMFInit:: apidx=0, MFPC=0, MFPR=0, SHA256=0
      wifi_sys_linkup(), wdev idx = 0
      wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:127 for WDEV_TYPE:1
       LinkToOmacIdx = 0, LinkToWdevType = 1
      bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
      UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 0
      APStartUpForMbss: BssIndex = 0 channel = 4
      MtCmdTxPowerDropCtrl: ucPowerDrop: 100, BandIdx: 0
      apidx 0 for WscUUIDInit
      Generate UUID for apidx(0)
      ipv6_dev_mc_inc:896->current[ifconfig]
      debug : Enter [BRCTL_ADD_RULE_IF] 
      add_if 00000100 ***************************
      device ra0 entered promiscuous mode
      br0: port 2(ra0) entered forwarding state
      br0: port 2(ra0) entered forwarding state
      rai0: ===> main_virtual_if_open
      RtmpOSFileOpen(): Error 2 opening /etc/wireless/l1profile.dat
      load l1profile succeed!
      driver_own()::Try to Clear FW Own...
      driver_own()::Success to clear FW Own
      MacAddress1 = 00:00:00:00:00:00
      MacAddress2 = 00:00:00:00:00:00
      MacAddress3 = 00:00:00:00:00:00
      MacAddress4 = 00:00:00:00:00:00
      E2pAccessMode=2
      SSID[0]=Buffalo-A-4AE0, EdcaIdx=0
      SSID[1]=Buffalo-A-4AE0_2, EdcaIdx=0
      SSID[2]=Guest-4AE0, EdcaIdx=0
      SSID[3]=RTDEV_AP4, EdcaIdx=0
      SSID[4]=RTDEV_AP5, EdcaIdx=0
      DBDC Mode=0, eDBDC_mode = 0
      BSS0 PhyMode=49
      wmode_band_equal(): Band Equal!
      auto_ch_select_set_cfg(): BandIdx0, AutoChannelAtBootup=1, AutoChannelAlg = 3
      auto_ch_select_set_cfg(): BandIdx1, AutoChannelAtBootup=0, AutoChannelAlg = 0
      [TxPower] BAND0: 100 
      [PERCENTAGEenable] BAND0: 1 
      [BFBACKOFFenable] BAND0: 0 
      CalCacheApply = 0 
      FragThreshold[0]=2346
      DfsZeroWait Support=0/0
      DfsZeroWaitCacTime=0/0
      read_etxbf: ETxBfEnCond = 1
      read_etxbf: BSSID[0]
      read_etxbf: MBSS[0] ETxBfEnCond = 1
      read_etxbf: More BSSID[1]
      read_etxbf: More MBSS[1] ETxBfEnCond = 1
      read_etxbf: More BSSID[2]
      read_etxbf: More MBSS[2] ETxBfEnCond = 1
      read_etxbf: More BSSID[3]
      read_etxbf: More MBSS[3] ETxBfEnCond = 1
      read_etxbf: More BSSID[4]
      read_etxbf: More MBSS[4] ETxBfEnCond = 1
      AndesSendCmdMsg: Could not send in band command due to diablefRTMP_ADAPTER_MCU_SEND_IN_BAND_CMD
      AndesSendCmdMsg: Command type = ed, Extension command type = 48
      HT: WDEV[0] Ext Channel = BELOW
      HT: greenap_cap = 0
      ICapMode = 0
      WtcSetMaxStaNum: BssidNum:5, MaxStaNum:120 (WdsNum:0, ApcliNum:2, MaxNumChipRept:32), MinMcastWcid:121
      Top Init Done!
      Use alloc_skb
      RX[0] DESC a0c24000 size = 16384
      RX[1] DESC a0c22000 size = 8192
      cut_through_init(): ct sw token number = 4095
      cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
      cut_through_token_list_init(): 8561c608,8561c608
      cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
      cut_through_token_list_init(): 8561c618,8561c618
      Hif Init Done!
      ctl->txq = c0f4e1f0
      ctl->rxq = c0f4e1fc
      ctl->ackq = c0f4e208
      ctl->kickq = c0f4e214
      ctl->tx_doneq = c0f4e220
      ctl->rx_doneq = c0f4e22c
      Parsing patch header
              Built date: 20180518100604a
    
              Platform: ALPS
              HW/SW version: 0x8a108a10
              Patch version: 0x00000010
              Target address: 0x80000, length: 11072
      patch is not ready && get semaphore success
      EventGenericEventHandler: CMD Success
      MtCmdPatchFinishReq
      EventGenericEventHandler: CMD Success
      release patch semaphore
      WfMcuHwInit: Before NICLoadFirmware, check ICapMode = 0
      Parsing CPU 0 fw tailer
              Chip ID: 0x04
              Eco version: 0x00
              Region number: 0x00
              Format version: 0x00
              Ram version: _reserved_
              Built date: 20191218015348
              Common crc: 0x0
      Parsing tailer region 0
              Feature set: 0x01
              Target address: 0x84000, Download size: 409600
      Parsing tailer region 1
              Feature set: 0x01
              Target address: 0x209c400, Download size: 48160
      EventGenericEventHandler: CMD Success
      EventGenericEventHandler: CMD Success
      MtCmdFwStartReq: override = 0x1, address = 0x84000
      EventGenericEventHandler: CMD Success
      Parsing CPU 1 fw tailer
              Chip ID: 0x04
              Eco version: 0x00
              Region number: 0x00
              Format version: 0x00
              Ram version: _reserved_
              Built date: 20190415154149
              Common crc: 0x0
      Parsing tailer region 0
              Feature set: 0x01
              Target address: 0x90000000, Download size: 122608
      EventGenericEventHandler: CMD Success
      MtCmdFwStartReq: override = 0x4, address = 0x0
      EventGenericEventHandler: CMD Success
      MCU Init Done!
      efuse_probe: efuse = 10000212
      RtmpChipOpsEepromHook::e2p_type=2, inf_Type=5
      RtmpEepromGetDefault::e2p_dafault=1
      RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 2, E2P default = 1
      NVM is FLASH mode. dev_idx [1] FLASH OFFSET [0x8000]
      NICReadEEPROMParameters: EEPROM 0x52 b317
      MtCmdSetTxLpfCal:(ret = 0)
      MtCmdSetTxIqCal:(ret = 0)
      MtCmdSetTxDcCal:(ret = 0)
      MtCmdSetRxFiCal:(ret = 0)
      MtCmdSetRxFdCal:(ret = 0)
      MtCmdSetRxFdCal:(ret = 0)
      MtCmdSetRxFdCal:(ret = 0)
      MtCmdSetRxFdCal:(ret = 0)
      MtCmdSetRxFdCal:(ret = 0)
      MtCmdSetRxFdCal:(ret = 0)
      MtCmdSetRxFdCal:(ret = 0)
      MtCmdSetRxFdCal:(ret = 0)
      MtCmdSetRxFdCal:(ret = 0)
      NICReadEEPROMParameters: EEPROM 0x52 b317
      Country Region from e2p = 101
      mt7615_antenna_default_reset(): TxPath = 4, RxPath = 4
      mt7615_antenna_default_reset(): DBDC BAND0 TxPath = 2, RxPath = 2
      mt7615_antenna_default_reset(): DBDC BAND1 TxPath = 2, RxPath = 2
      RcRadioInit(): DbdcMode=0, ConcurrentBand=1
      RcRadioInit(): pRadioCtrl=8694cefc,Band=0,rfcap=3,channel=1,PhyMode=2 extCha=0xf
      MtCmdSetDbdcCtrl:(ret = 0)
      MtSingleSkuLoadParam: RF_LOCKDOWN Feature OFF !!!
      MtBfBackOffLoadParam: RF_LOCKDOWN Feature OFF !!!
      EEPROM Init Done!
      mt_mac_init()-->
      mt7615_init_mac_cr()-->
      mt7615_init_mac_cr(): TMAC_TRCR0=0x82783c8c
      mt7615_init_mac_cr(): TMAC_TRCR1=0x82783c8c
      <--mt_mac_init()
      CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
      CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
      CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
      MAC Init Done!
      MT7615BBPInit():BBP Initialization.....
              Band 0: valid=1, isDBDC=0, Band=2, CBW=1, CentCh/PrimCh=1/1, prim_ch_idx=0, txStream=2
              Band 1: valid=0, isDBDC=0, Band=0, CBW=0, CentCh/PrimCh=0/0, prim_ch_idx=0, txStream=0
      MT7615BBPInit() todo
      PHY Init Done!
      MtCmdSetMacTxRx:(ret = 0)
      WifiFwdSet::disabled=0
      Main bssid = 00:00:00:00:00:00
      MtCmdSetMacTxRx:(ret = 0)
      MtCmdSetMacTxRx:(ret = 0)
      <==== mt_wifi_init, Status=0
      TxBfModuleEnCtrl:It's not DBDC mode
      MtCmdEDCCACtrl: BandIdx: 0, EDCCACtrl: 1
      MtCmdEDCCACtrl: BandIdx: 1, EDCCACtrl: 1
      ipv6_dev_mc_inc:896->current[ifconfig]
      ipv6_dev_mc_inc:896->current[ifconfig]
      ipv6_dev_mc_inc:896->current[ifconfig]
      ipv6_dev_mc_inc:896->current[ifconfig]
      ipv6_dev_mc_inc:896->current[ifconfig]
      ipv6_dev_mc_inc:896->current[ifconfig]
      ipv6_dev_mc_inc:896->current[ifconfig]
      ipv6_dev_mc_inc:896->current[ifconfig]
      ipv6_dev_mc_inc:896->current[ifconfig]
      ipv6_dev_mc_inc:896->current[ifconfig]
      WtcSetMaxStaNum: BssidNum:5, MaxStaNum:120 (WdsNum:0, ApcliNum:2, MaxNumChipRept:32), MinMcastWcid:121
      RedInit: set CR4/N9 RED Enable to 1.
      RedInit: RED Initiailize Done.
      cp_support_is_enabled: set CR4 CP_SUPPORT to Mode 2.
      RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
      wifi_sys_open(), wdev idx = 0
      wdev_attr_update(): wdevId0 = 18:ec:e7:xx:xx:e4
      [RcGetHdevByPhyMode]-- channel 0 fix for rdev fetching
      MtCmdSetDbdcCtrl:(ret = 0)
       [RadarStateCheck] RD_NORMAL_MODE  
      phy_freq_adjust : no prim_ch value for adjust!
      Caller: wlan_operate_init+0x100/0x114
      phy_mode=49, ch=0, wdev_type=1
      ht_cap->HtCapInfo: ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=1
      ht_cap->HtCapParm: mdpu_density=5, ampdu_factor=3
      AP inf up for ra_0(func_idx) OmacIdx=0
      AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
      ApAutoChannelAtBootUp----------------->
      ApAutoChannelAtBootUp: AutoChannelBootup[0] = 1
      MtCmdSetMacTxRx:(ret = 0)
      [AutoChSelBuildChannelListFor5G] ChListNum5G = 19
      mt7615_apply_dcoc() : reload Central CH [36] BW [0] from cetral freq [5190]  offset [700]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [36] BW [0] from cetral freq [5180] i[7] offset [2be8]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 36,control_ch2=0, central_chl = 36 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      mt7615_apply_dcoc() : reload Central CH [40] BW [0] from cetral freq [5190]  offset [700]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [40] BW [0] from cetral freq [5200] i[8] offset [2cc0]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 40,control_ch2=0, central_chl = 40 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      mt7615_apply_dcoc() : reload Central CH [44] BW [0] from cetral freq [5230]  offset [800]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [44] BW [0] from cetral freq [5220] i[9] offset [2d98]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 44,control_ch2=0, central_chl = 44 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      :MtCmdPktBudgetCtrl: bssid(255),wcid(65535),type(0)
      mt7615_apply_dcoc() : reload Central CH [48] BW [0] from cetral freq [5230]  offset [800]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [48] BW [0] from cetral freq [5240] i[10] offset [2e70]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 48,control_ch2=0, central_chl = 48 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      mt7615_apply_dcoc() : reload Central CH [52] BW [0] from cetral freq [5270]  offset [900]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [52] BW [0] from cetral freq [5260] i[11] offset [2f48]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 52,control_ch2=0, central_chl = 52 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      mt7615_apply_dcoc() : reload Central CH [56] BW [0] from cetral freq [5270]  offset [900]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [56] BW [0] from cetral freq [5280] i[12] offset [3020]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 56,control_ch2=0, central_chl = 56 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      mt7615_apply_dcoc() : reload Central CH [60] BW [0] from cetral freq [5310]  offset [a00]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [60] BW [0] from cetral freq [5300] i[13] offset [30f8]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 60,control_ch2=0, central_chl = 60 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      mt7615_apply_dcoc() : reload Central CH [64] BW [0] from cetral freq [5310]  offset [a00]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [64] BW [0] from cetral freq [5320] i[14] offset [31d0]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 64,control_ch2=0, central_chl = 64 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      mt7615_apply_dcoc() : reload Central CH [100] BW [0] from cetral freq [5510]  offset [f00]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [100] BW [0] from cetral freq [5500] i[23] offset [3968]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 100,control_ch2=0, central_chl = 100 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      mt7615_apply_dcoc() : reload Central CH [104] BW [0] from cetral freq [5510]  offset [f00]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [104] BW [0] from cetral freq [5520] i[24] offset [3a40]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 104,control_ch2=0, central_chl = 104 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      mt7615_apply_dcoc() : reload Central CH [108] BW [0] from cetral freq [5550]  offset [1000]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [108] BW [0] from cetral freq [5540] i[25] offset [3b18]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 108,control_ch2=0, central_chl = 108 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      mt7615_apply_dcoc() : reload Central CH [112] BW [0] from cetral freq [5550]  offset [1000]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [112] BW [0] from cetral freq [5560] i[26] offset [3bf0]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 112,control_ch2=0, central_chl = 112 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      mt7615_apply_dcoc() : reload Central CH [116] BW [0] from cetral freq [5590]  offset [1100]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [116] BW [0] from cetral freq [5580] i[27] offset [3cc8]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 116,control_ch2=0, central_chl = 116 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      mt7615_apply_dcoc() : reload Central CH [120] BW [0] from cetral freq [5590]  offset [1100]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [120] BW [0] from cetral freq [5600] i[28] offset [3da0]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 120,control_ch2=0, central_chl = 120 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      mt7615_apply_dcoc() : reload Central CH [124] BW [0] from cetral freq [5630]  offset [1200]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [124] BW [0] from cetral freq [5620] i[29] offset [3e78]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 124,control_ch2=0, central_chl = 124 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      mt7615_apply_dcoc() : reload Central CH [128] BW [0] from cetral freq [5630]  offset [1200]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [128] BW [0] from cetral freq [5640] i[30] offset [3f50]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 128,control_ch2=0, central_chl = 128 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      ====================================================================
      Channel  36 : Busy Time =   2114, Skip Channel = FALSE, BwCap = TRUE
      Channel  40 : Busy Time =   1862, Skip Channel = FALSE, BwCap = TRUE
      Channel  44 : Busy Time =   1535, Skip Channel = FALSE, BwCap = TRUE
      Channel  48 : Busy Time =   1328, Skip Channel = FALSE, BwCap = TRUE
      Channel  52 : Busy Time =    564, Skip Channel = FALSE, BwCap = TRUE
      Channel  56 : Busy Time =     66, Skip Channel = FALSE, BwCap = TRUE
      Channel  60 : Busy Time =     56, Skip Channel = FALSE, BwCap = TRUE
      Channel  64 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
      Channel 100 : Busy Time =   1456, Skip Channel = FALSE, BwCap = TRUE
      Channel 104 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
      Channel 108 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
      Channel 112 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
      Channel 116 : Busy Time =    368, Skip Channel = FALSE, BwCap = TRUE
      Channel 120 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
      Channel 124 : Busy Time =   1957, Skip Channel = FALSE, BwCap = TRUE
      Channel 128 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
      ====================================================================
      Rule 3 Channel Busy time value : Select Primary Channel 64
      Rule 3 Channel Busy time value : Min Channel Busy = 564
      Rule 3 Channel Busy time value : BW = 80
      [SelectClearChannelBusyTime] - band0 END
      ApAutoChannelAtBootUp : Auto channel selection: Selected channel = 64, IsAband = 1
       AutoChSelUpdateChannel(): Update channel for wdev for this band PhyMode = 49, Channel = 64 
       [RadarStateCheck] RD_SILENCE_MODE  
      [DfsCacNormalStart] CAC 65 seconds start . Disable MAC TX
      [DfsSwitchCheck]: DFS ByPass TX calibration.
      mt7615_apply_dcoc() : reload Central CH [58] BW [2] from cetral freq [5290]  offset [1a00]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [58] BW [2] from cetral freq [5300] i[13] offset [30f8]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 64,control_ch2=0, central_chl = 58 DBDCIdx= 0, Band= 0
      BW = 2,TXStream = 4, RXStream = 4, scan(0)
      [WrapDfsRadarDetectStart]: DfsChBand[0]: 1, DfsChBand[1]: 0
      ApAutoChannelAtBootUp<-----------------
      [PMF]APPMFInit:: apidx=0, MFPC=0, MFPR=0, SHA256=0
      wifi_sys_linkup(), wdev idx = 0
      wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:127 for WDEV_TYPE:1
       LinkToOmacIdx = 0, LinkToWdevType = 1
      bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 8192, CmdBssInfoBmcRate.u2McTransmit = 128
      UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 0
      APStartUpForMbss: BssIndex = 0 channel = 64
      MtCmdTxPowerDropCtrl: ucPowerDrop: 100, BandIdx: 0
      apidx 0 for WscUUIDInit
      Generate UUID for apidx(0)
      ipv6_dev_mc_inc:896->current[ifconfig]
      debug : Enter [BRCTL_ADD_RULE_IF] 
      add_if 00000100 ***************************
      device rai0 entered promiscuous mode
      br0: port 3(rai0) entered forwarding state
      br0: port 3(rai0) entered forwarding state
      bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
      set BSSID:18:ec:e7:xx:xx:e1, Band=2.4G
      bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
      set BSSID:18:ec:e7:xx:xx:e1, Band=2.4G
      bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
      set BSSID:00:00:00:00:00:00, Band=2.4G
      bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
      set BSSID:00:00:00:00:00:00, Band=2.4G
      bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
      set BSSID:00:00:00:00:00:00, Band=2.4G
      bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
      set BSSID:00:00:00:00:00:00, Band=2.4G
      bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
      set BSSID:00:00:00:00:00:00, Band=2.4G
      bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
      set BSSID:00:00:00:00:00:00, Band=2.4G
      bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
      set BSSID:00:00:00:00:00:00, Band=2.4G
      bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
      set BSSID:00:00:00:00:00:00, Band=2.4G
      Set_TxPower_Proc: BandIdx = 0
      bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 8192, CmdBssInfoBmcRate.u2McTransmit = 8192
      set BSSID:18:ec:e7:xx:xx:e4, Band=5G
      bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 8192, CmdBssInfoBmcRate.u2McTransmit = 8192
      set BSSID:18:ec:e7:xx:xx:e4, Band=5G
      bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 8192, CmdBssInfoBmcRate.u2McTransmit = 8192
      set BSSID:00:00:00:00:00:00, Band=5G
      bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 8192, CmdBssInfoBmcRate.u2McTransmit = 8192
      set BSSID:00:00:00:00:00:00, Band=5G
      bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 8192, CmdBssInfoBmcRate.u2McTransmit = 8192
      set BSSID:00:00:00:00:00:00, Band=5G
      bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 8192, CmdBssInfoBmcRate.u2McTransmit = 8192
      set BSSID:00:00:00:00:00:00, Band=5G
      bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 8192, CmdBssInfoBmcRate.u2McTransmit = 8192
      set BSSID:00:00:00:00:00:00, Band=5G
      bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 8192, CmdBssInfoBmcRate.u2McTransmit = 8192
      set BSSID:00:00:00:00:00:00, Band=5G
      bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 8192, CmdBssInfoBmcRate.u2McTransmit = 8192
      set BSSID:00:00:00:00:00:00, Band=5G
      bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 8192, CmdBssInfoBmcRate.u2McTransmit = 8192
      set BSSID:00:00:00:00:00:00, Band=5G
      Set_TxPower_Proc: BandIdx = 0
      WscActionMode is 0
      WscActionMode is 0
      Jan  1 09:00:22 miniupnpd[559]: WPS listening on port 59728
      mcsnoop: module license 'BUFFALO Inc. PROPRIETARY' taints kernel.
      Disabling lock debugging due to kernel taint
      mcsnoop: flush all snoop entry
      mcsnoop: Bridge Multicast Snooping module Ver0.1/20070912
      mcsnoop_br_ioctl_device:275: mcast_maxage 75000 / 250
      device eth2 left promiscuous mode
      br0: port 1(eth2) entered disabled state
      debug : Enter [BRCTL_ADD_RULE_IF] 
      add_if 00000600 ***************************
      device eth2 entered promiscuous mode
      br0: port 1(eth2) entered forwarding state
      br0: port 1(eth2) entered forwarding state
      netwatchd uses obsolete (PF_INET,SOCK_PACKET)
      ipv6_dev_mc_inc:896->current[arc_if6]
      ipv6_dev_mc_inc:896->current[arc_if6]
      ipv6_dev_mc_inc:896->current[arc_if6]
      ipv6_dev_mc_inc:896->current[arc_if6]
      WscActionMode is 0
      WscActionMode is 0
      Jan  1 00:00:00 crond[664]: crond: crond (busybox 1.18.5) started, log level 8
      start miniupnpd
      Jan  1 00:00:01 miniupnpd[694]: HTTP listening on port 37705
      Jan  1 00:00:01 miniupnpd[694]: Listening for NAT-PMP/PCP traffic on port 5351
      Jan  1 00:00:01 miniupnpd[694]: chain upnp_nat not found
      ipv6_dev_mc_inc:896->current[swapper/0]
      WscActionMode is 0
      WscActionMode is 0
      ntp.jst.mfeed.ad.jp: Unknown host
      Link Status Changed - WAN Port Link Down
      Time out! You may increase DEFAULT_TIMEOUT_COUNT[10]!
    

WMC-DLGST2 (WMC-M1267GST2, WMC-S1267GS2)

定期的な通院のついでに吉川のハードオフに行ってみたところ、ジャンクとして転がっており、セットになっている両機種ともMT7621搭載機であることを把握していて悩んだ末に確保したもの。

まとめていくのでメモ。

Switch

WMC-M1267GST2

zone WAN LAN
port (WMC-M1267GST2) INTERNET LAN4 LAN3 LAN2 LAN1
port (MT7530) port0 port1 port2 port3 port4

WMC-S1267GS2

zone LAN
port (WMC-S1267GS2) LAN4 LAN3 LAN2 LAN1
port (MT7530) port1 port2 port3 port4

MAC

WMC-M1267GST2

  • LAN: 04:AB:18:xx:xx:61 (Factory, 0xFFF4 (hex))
  • WAN: 04:AB:18:xx:xx:62 (Factory, 0xFFFA (hex))
  • 2.4G: 04:AB:18:xx:xx:63
  • 5G: 04:AB:18:xx:xx:64 (Factory, 0x4 (hex))

WMC-S1267GS2

無線はWMC-M1267GS2との連携を確立させ、BSSIDから確認

  • LAN: 04:AB:18:xx:xx:9E (Factory, 0xFFF4 (hex))
  • 2.4G: 04:AB:18:xx:xx:9F
  • 5G: 04:AB:18:xx:xx:A0 (Factory, 0x4 (hex))

U-Boot

特記無ければWMC-M1267GST2のもの

  • 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 (May 28 2019 - 17:17:43)
    
  • printenv

      MT7621 # printenv
      bootcmd=tftp
      bootdelay=5
      baudrate=57600
      ethaddr="00:AA:BB:CC:DD:10"
      ipaddr=192.168.2.1
      serverip=192.168.2.2
      model_id=WMC-M1267GST2
      ethact=Eth0 (10/100-M)
      mac_repeater_num=3
      board_id=202092817645
      wlan0_ssid=elecom-xxxxxx
      wlan1_ssid=elecom-xxxxxx
      wlan0_key=xxxxxxxxxxxx
      wlan1_key=xxxxxxxxxxxx
      admin_password=xxxxxxxx
      wps_pin=xxxxxxxx
      hw_version=A1
      wlan0_domain=0x41
      wlan0_guest_ssid=e-tomo-xxxxxx
      wlan0_guest_key=xxxxxxxx
      mesh_ssid=e-mesh-xxxxxx
      mesh_key=xxxxxxxxxxxx
      stdin=serial
      stdout=serial
      stderr=serial
    
      Environment size: 507/4092 bytes
    
  • tftpboot

      MT7621 # tftpboot
    
       NetTxPacket = 0x8FFE6480 
    
       KSEG1ADDR(NetTxPacket) = 0xAFFE6480 
    
       NetLoop,call eth_halt ! 
    
       NetLoop,call eth_init ! 
      Trying Eth0 (10/100-M)
    
       Waitting for RX_DMA_BUSY status Start... done
    
    
       ETH_STATE_ACTIVE!! 
      *** Warning: no boot file name; using 'test.bin'
      Using Eth0 (10/100-M) device
      TFTP from server 192.168.2.2; our IP address is 192.168.2.1
      Filename 'test.bin'.
    
       TIMEOUT_COUNT=10,Load address: 0x80200000
      Loading: *
    

Kernel

  • uname -a

      root@MT7621:/# uname -a
      Linux MT7621 3.10.14 #5 SMP Wed Feb 22 08:39:59 UTC 2023 mips GNU/Linux
    
  • cat /proc/version

      root@MT7621:/# cat /proc/version
    Linux version 3.10.14 (xxx@xxxxxxxxxxxx) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2013.05 r48067) ) #5 SMP Wed Feb 22 08:39:59 UTC 2023
    
  • 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:         253976 kB
      MemFree:          240804 kB
      Buffers:            1748 kB
      Cached:             3756 kB
      SwapCached:            0 kB
      Active:             1572 kB
      Inactive:           4476 kB
      Active(anon):        548 kB
      Inactive(anon):        4 kB
      Active(file):       1024 kB
      Inactive(file):     4472 kB
      Unevictable:           0 kB
      Mlocked:               0 kB
      SwapTotal:             0 kB
      SwapFree:              0 kB
      Dirty:                 0 kB
      Writeback:             0 kB
      AnonPages:           552 kB
      Mapped:              596 kB
      Shmem:                 4 kB
      Slab:               4324 kB
      SReclaimable:        500 kB
      SUnreclaim:         3824 kB
      KernelStack:         368 kB
      PageTables:           96 kB
      NFS_Unstable:          0 kB
      Bounce:                0 kB
      WritebackTmp:          0 kB
      CommitLimit:      126988 kB
      Committed_AS:       1752 kB
      VmallocTotal:    1048372 kB
      VmallocUsed:        1248 kB
      VmallocChunk:    1047116 kB
    
  • cat /proc/mtd

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

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

      root@MT7621:/# switch vlan dump
      vid  fid  portmap    s-tag
      1    0  -111111-       0
      2    0  1----11-       0
      3    0  invalid
      4    0  invalid
      5    0  invalid
      6    0  invalid
      7    0  invalid
      8    0  invalid
      9    0  invalid
      10    0  invalid
      11    0  invalid
      12    0  invalid
      13    0  invalid
      14    0  invalid
      15    0  invalid
      16    0  invalid
    
  • cat /etc/bulk/bulk | grep "C_Command1)" -A 10

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

    
      ===================================================================
                      MT7621   stage1 code 10:33:55 (ASIC)
                      CPU=500000000 HZ BUS=166666666 HZ
      ==================================================================
      Change MPLL source from XTAL to CR...
      do MEMPLL setting..
      MEMPLL Config : 0x11100000
      3PLL mode + External loopback
      === XTAL-40Mhz === DDR-1200Mhz ===
      PLL3 FB_DL: 0xb, 1/0 = 632/392 2D000000
      PLL2 FB_DL: 0x12, 1/0 = 572/452 49000000
      PLL4 FB_DL: 0x12, 1/0 = 560/464 49000000
      do DDR setting..[01F40000]
      Apply DDR3 Setting...(use customer AC)
                0    8   16   24   32   40   48   56   64   72   80   88   96  104  112  120
            --------------------------------------------------------------------------------
      0000:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      0001:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      0002:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      0003:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      0004:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      0005:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      0006:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      0007:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      0008:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      0009:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      000A:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      000B:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      000C:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      000D:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    1
      000E:|    0    0    0    0    0    0    0    0    0    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    1    1    1    0    0    0    0    0
      opt_dle value:9
      DRAMC_R0DELDLY[018]=00002021
      ==================================================================
                      RX      DQS perbit delay software calibration 
      ==================================================================
      1.0-15 bit dq delay value
      ==================================================================
      bit|     0  1  2  3  4  5  6  7  8  9
      --------------------------------------
      0 |    10 9 9 12 9 9 10 7 6 5 
      10 |    7 8 7 8 7 7 
      --------------------------------------
    
      ==================================================================
      2.dqs window
      x=pass dqs delay value (min~max)center 
      y=0-7bit DQ of every group
      input delay:DQS0 =33 DQS1 = 32
      ==================================================================
      bit     DQS0     bit      DQS1
      0  (1~61)31  8  (1~62)31
      1  (1~62)31  9  (1~59)30
      2  (1~60)30  10  (1~61)31
      3  (1~62)31  11  (1~61)31
      4  (1~61)31  12  (1~64)32
      5  (1~61)31  13  (1~61)31
      6  (1~62)31  14  (1~64)32
      7  (1~65)33  15  (1~62)31
      ==================================================================
      3.dq delay value last
      ==================================================================
      bit|    0  1  2  3  4  5  6  7  8   9
      --------------------------------------
      0 |    12 11 12 14 11 11 12 7 7 7 
      10 |    8 9 7 9 7 8 
      ==================================================================
      ==================================================================
           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 (May 28 2019 - 17:17:43)
    
      Board: Ralink APSoC DRAM:  256 MB
      relocate_code Pointer at: 8ffb4000
    
      Config XHCI 40M PLL 
      flash manufacture id: ef, device id 40 19
      find flash: W25Q256FV
      ============================================ 
      Ralink UBoot Version: 5.0.0.0
      -------------------------------------------- 
      ASIC MT7621A DualCore (MAC to MT7530 Mode)
      DRAM_CONF_FROM: Auto-Detection 
      DRAM_TYPE: DDR3 
      DRAM bus: 16 bit
      Xtal Mode=3 OCP Ratio=1/3
      Flash component: SPI Flash
      Date:May 28 2019  Time:17:17:43
      ============================================ 
      icache: sets:256, ways:4, linesz:32 ,total:32768
      dcache: sets:256, ways:4, linesz:32 ,total:32768 
    
       ##### The CPU freq = 880 MHZ #### 
       estimate memory size =256 Mbytes
      #Reset_MT7530
      set LAN/WAN WLLLL
    
      Please choose the operation: 
         1: Load system code to SDRAM via TFTP. 
         2: Load system code then write to Flash via TFTP. 
         3: Boot system code via Flash (default).
         4: Entr boot command line interface.
         7: Load Boot Loader code then write to Flash via Serial. 
         9: Load Boot Loader code then write to Flash via TFTP.                                                                                      0 
    
      3: System Boot system code via Flash.
      ## Booting image at bc050000 ...
         Image Name:   MIPS OpenWrt Linux-3.10
         Image Type:   MIPS Linux Kernel Image (lzma compressed)
         Data Size:    19791808 Bytes = 18.9 MB
         Load Address: 81001000
         Entry Point:  81439510
         Verifying Checksum ... OK
         Uncompressing Kernel Image ... OK
      No initrd
      ## Transferring control to Linux (at address 81439510) ...
      ## Giving linux memsize in MB, 256
    
      Starting kernel ...
    
    
      LINUX started...
    
       THIS IS ASIC
    
      SDK 5.0.S.0
      [    0.000000] Linux version 3.10.14 (sth@8ee1c2d99746) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2013.05 r48067) ) #5 SMP Wed Feb 22 08:39:59 UTC 2023
      [    0.000000] 
      [    0.000000]  The CPU feqenuce set to 880 MHz
      [    0.000000] GCMP present
      [    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
      [    0.000000] Software DMA cache coherency
      [    0.000000] Determined physical RAM map:
      [    0.000000]  memory: 10000000 @ 00000000 (usable)
      [    0.000000] Initrd not found or empty - disabling initrd
      [    0.000000] Zone ranges:
      [    0.000000]   DMA      [mem 0x00000000-0x00ffffff]
      [    0.000000]   Normal   [mem 0x01000000-0x0fffffff]
      [    0.000000] Movable zone start for each node
      [    0.000000] Early memory node ranges
      [    0.000000]   node   0: [mem 0x00000000-0x0fffffff]
      [    0.000000] Detected 3 available secondary CPU(s)
      [    0.000000] Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
      [    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
      [    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
      [    0.000000] PERCPU: Embedded 7 pages/cpu @817e9000 s6848 r8192 d13632 u32768
      [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
      [    0.000000] Kernel command line: console=ttyS1,57600n8 root=/dev/mtdblock6 init=/etc/preinit
      [    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
      [    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
      [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
      [    0.000000] Writing ErrCtl register=00032210
      [    0.000000] Readback ErrCtl register=00032210
      [    0.000000] Memory: 253724k/262144k available (4366k kernel code, 8420k reserved, 1199k data, 252k init, 0k highmem)
      [    0.000000] Hierarchical RCU implementation.
      [    0.000000] NR_IRQS:128
      [    0.000000] console [ttyS1] enabled
      [    0.120000] Calibrating delay loop... 577.53 BogoMIPS (lpj=1155072)
      [    0.160000] pid_max: default: 32768 minimum: 301
      [    0.164000] Mount-cache hash table entries: 512
      [    0.168000] launch: starting cpu1
      [    0.172000] launch: cpu1 gone!
      [    0.172000] CPU1 revision is: 0001992f (MIPS 1004Kc)
      [    0.172000] Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
      [    0.172000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
      [    0.172000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
      [    0.204000] Synchronize counters for CPU 1: done.
      [    0.212000] launch: starting cpu2
      [    0.216000] launch: cpu2 gone!
      [    0.216000] CPU2 revision is: 0001992f (MIPS 1004Kc)
      [    0.216000] Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
      [    0.216000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
      [    0.216000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
      [    0.248000] Synchronize counters for CPU 2: done.
      [    0.256000] launch: starting cpu3
      [    0.260000] launch: cpu3 gone!
      [    0.260000] CPU3 revision is: 0001992f (MIPS 1004Kc)
      [    0.260000] Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
      [    0.260000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
      [    0.260000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
      [    0.288000] Synchronize counters for CPU 3: done.
      [    0.296000] Brought up 4 CPUs
      [    0.300000] NET: Registered protocol family 16
      [    0.600000] release PCIe RST: RALINK_RSTCTRL = 7000000
      [    0.604000] PCIE PHY initialize
      [    0.608000] ***** Xtal 40MHz *****
      [    0.612000] start MT7621 PCIe register access
      [    1.204000] RALINK_RSTCTRL = 7000000
      [    1.208000] RALINK_CLKCFG1 = 77ffeff8
      [    1.212000] 
      [    1.212000] *************** MT7621 PCIe RC mode *************
      [    1.708000] 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.764000] bio: create slab <bio-0> 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.808000] 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.932000] 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.992000] 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.048000] 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.088000] 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: 2048 (order: 2, 16384 bytes)
      [    2.136000] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
      [    2.148000] TCP: Hash tables configured (established 2048 bind 2048)
      [    2.160000] TCP: reno registered
      [    2.168000] UDP hash table entries: 256 (order: 1, 8192 bytes)
      [    2.180000] 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.232000] 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 495
      [    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.368000] RX_DRX_IDX0 = 0
      [    2.372000] set_fe_HSDMA_glo_cfg
      [    2.380000] HSDMA_GLO_CFG = 465
      [    2.384000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
      [    2.400000] 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: ef, device id 40 19
      [    2.456000] W25Q256FV(ef 40190000) (32768 Kbytes)
      [    2.464000] mtd .name = raspi, .size = 0x02000000 (32M) .erasesize = 0x00010000 (64K) .numeraseregions = 0
      [    2.484000] Creating 12 MTD partitions on "raspi":
      [    2.492000] 0x000000000000-0x000002000000 : "ALL"
      [    2.504000] 0x000000000000-0x000000030000 : "Bootloader"
      [    2.512000] 0x000000030000-0x000000040000 : "Config"
      [    2.524000] 0x000000040000-0x000000050000 : "Factory"
      [    2.536000] 0x000000050000-0x000001850000 : "firmware"
      [    2.544000] 0x000000050000-0x000000a50000 : "kernel"
      [    2.556000] 0x000000a50000-0x000001850000 : "rootfs"
      [    2.568000] 0x000001850000-0x000001c50000 : "tm_pattern"
      [    2.576000] 0x000001c50000-0x000001d50000 : "tm_key"
      [    2.588000] 0x000001d50000-0x000001e00000 : "nvram"
      [    2.600000] 0x000001e00000-0x000002000000 : "rootfs_data"
      [    2.608000] 0x000000050000-0x000001d50000 : "all_fw_tm"
      [    2.620000] PPP generic driver version 2.4.2
      [    2.628000] PPP BSD Compression module registered
      [    2.640000] PPP MPPE Compression module registered
      [    2.648000] NET: Registered protocol family 24
      [    2.656000] PPTP driver version 0.8.5
      [    2.664000] rdm_major = 253
      [    2.668000] GMAC1_MAC_ADRH -- : 0x000004ab
      [    2.680000] GMAC1_MAC_ADRL -- : 0x18a7f061
      [    2.688000] Ralink APSoC Ethernet Driver Initilization. v3.1  1024 rx/tx descriptors allocated, mtu = 1500!
      [    2.704000] [LOG]|WIRE| LAN Starting
      [    2.712000] GMAC1_MAC_ADRH -- : 0x000004ab
      [    2.720000] GMAC1_MAC_ADRL -- : 0x18a7f061
      [    2.728000] PROC INIT OK!
      [    2.736000] nf_conntrack version 0.5.0 (3964 buckets, 15856 max)
      [    2.748000] xt_time: kernel timezone is -0000
      [    2.756000] gre: GRE over IPv4 demultiplexor driver
      [    2.764000] ip_tables: (C) 2000-2006 Netfilter Core Team
      [    2.776000] Type=Restricted Cone
      [    2.784000] TCP: cubic registered
      [    2.788000] NET: Registered protocol family 10
      [    2.800000] sit: IPv6 over IPv4 tunneling driver
      [    2.808000] NET: Registered protocol family 17
      [    2.816000] Bridge firewalling registered
      [    2.824000] Ebtables v2.0 registered
      [    2.832000] l2tp_core: L2TP core driver, V2.0
      [    2.840000] l2tp_ppp: PPPoL2TP kernel driver, V2.0
      [    2.852000] l2tp_netlink: L2TP netlink interface
      [    2.860000] 8021q: 802.1Q VLAN Support v1.8
      [    2.876000] VFS: Mounted root (squashfs filesystem) readonly on device 31:6.
      [    2.892000] Freeing unused kernel memory: 252K (81571000 - 815b0000)
      [    3.540000] init: Console is alive
      [    4.268000] init: - preinit -
      /etc/preinit: line 1: check_skip: not found
      /etc/preinit: line 210: ramips_board_detect: not found
      Press the [f] key and hit [enter] to enter failsafe mode
      Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
      Before mount_root
      [    7.460000] jffs2: notice: (97) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 21 of xref (0 dead, 11 orphan) found.
      [    7.492000] mount_root: switching to jffs2 overlay
      cp: can't stat '/etc/changemode': No such file or directory
      cp: can't stat '/etc/config/gxbk': No such file or directory
      Af[    7.548000] procd: - early -
      ter mount_root
      [    8.176000] procd: - ubus -
      [    8.236000] procd: - init -
      Please press Enter to activate this console.
      [   13.460000] ip_gre: GRE over IPv4 tunneling driver
      [   13.488000] bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
      [   13.732000] /proc/router_ip created
      [   13.976000] ip6_tables: (C) 2000-2006 Netfilter Core Team
      [   13.996000] Netfilter messages via NETLINK v0.30.
      [   14.152000] ctnetlink v0.93: registering with nfnetlink.
      [   14.224000] u32 classifier
      [   14.228000]     Performance counters on
      [   14.236000]     Actions configured
      [   14.256000] Mirror/redirect action on
      [   14.280000] Failed to load ipt action
      [   16.920000]  4:FFFFFFAB:18:FFFFFFA7:FFFFFFF0:61
      [   16.932000] Raeth v3.1 (Tasklet)
      [   16.940000] set CLK_CFG_0 = 0x40a00020!!!!!!!!!!!!!!!!!!1
      [   16.956000] phy_free_head is 0xc08000!!!
      [   16.964000] phy_free_tail_phy is 0xc09ff0!!!
      [   16.972000] txd_pool=a0c10000 phy_txd_pool=00C10000
      [   16.980000] ei_local->skb_free start address is 0x8ff4a6cc.
      [   16.992000] free_txd: 00c10010, ei_local->cpu_ptr: 00C10000
      [   17.004000]  POOL  HEAD_PTR | DMA_PTR | CPU_PTR 
      [   17.012000] ----------------+---------+--------
      [   17.024000]      0xa0c10000 0x00C10000 0x00C10000
      [   17.032000] 
      [   17.032000] phy_qrx_ring = 0x00c0a000, qrx_ring = 0xa0c0a000
      [   17.048000] 
      [   17.048000] phy_rx_ring0 = 0x00c0c000, rx_ring[0] = 0xa0c0c000
      [   17.084000] MT7530 Reset Completed!!
      [   17.096000] change HW-TRAP to 0x117c8f
      [   17.104000] set LAN/WAN WLLLL
      [   17.116000] GMAC1_MAC_ADRH -- : 0x000004ab
      [   17.124000] GMAC1_MAC_ADRL -- : 0x18xxxx61
      [   17.132000] GDMA2_MAC_ADRH -- : 0x000004ab
      [   17.140000] GDMA2_MAC_ADRL -- : 0x18xxxx62
      [   17.148000] eth3: ===> VirtualIF_open
      [   17.156000] MT7621 GE2 link rate to 1G
      [   17.164000] CDMA_CSG_CFG = 81000000
      [   17.172000] GDMA1_FWD_CFG = 20710000
      [   17.180000] GDMA2_FWD_CFG = 20710000
      [   17.200000] eth3: ===> VirtualIF_open
      [   17.696000] eth3: ===> VirtualIF_close
      [   17.716000] ra2880stop()...Done
      [   17.720000] eth3: ===> VirtualIF_close
      [   17.732000] Free TX/RX Ring Memory!
      [   17.744000]  4:FFFFFFAB:18:FFFFFFA7:FFFFFFF0:61
      [   17.752000] Raeth v3.1 (Tasklet)
      [   17.764000] set CLK_CFG_0 = 0x40a00020!!!!!!!!!!!!!!!!!!1
      [   17.776000] phy_free_head is 0xc08000!!!
      [   17.784000] phy_free_tail_phy is 0xc09ff0!!!
      [   17.796000] txd_pool=a0c10000 phy_txd_pool=00C10000
      [   17.804000] ei_local->skb_free start address is 0x8ff4a6cc.
      [   17.816000] free_txd: 00c10010, ei_local->cpu_ptr: 00C10000
      [   17.828000]  POOL  HEAD_PTR | DMA_PTR | CPU_PTR 
      [   17.836000] ----------------+---------+--------
      [   17.844000]      0xa0c10000 0x00C10000 0x00C10000
      [   17.856000] 
      [   17.856000] phy_qrx_ring = 0x00c0a000, qrx_ring = 0xa0c0a000
      [   17.872000] 
      [   17.872000] phy_rx_ring0 = 0x00c0c000, rx_ring[0] = 0xa0c0c000
      [   17.904000] MT7530 Reset Completed!!
      [   17.920000] change HW-TRAP to 0x117c8f
      [   17.928000] set LAN/WAN WLLLL
      [   17.940000] GMAC1_MAC_ADRH -- : 0x000004ab
      [   17.948000] GMAC1_MAC_ADRL -- : 0x18xxxx61
      [   17.956000] eth3: ===> VirtualIF_open
      [   17.964000] MT7621 GE2 link rate to 1G
      [   17.964000] CDMA_CSG_CFG = 81000000
      [   17.964000] GDMA1_FWD_CFG = 20710000
      [   17.964000] GDMA2_FWD_CFG = 20710000
      [   17.992000] device eth2 entered promiscuous mode
      [   18.004000] br-lan: port 1(eth2) entered forwarding state
      [   18.016000] br-lan: port 1(eth2) entered forwarding state
      [   18.032000] eth3: ===> VirtualIF_open
      [   20.020000] br-lan: port 1(eth2) entered forwarding state
      dnsmasq
      dnsmasq [br-lan]
      UHTTP crt Checked
      main init
      main init
      page=[/setup/index.html]
      count=[43]
      page=[/setup/index.html]
      count=[43]
      [   24.948000] Ralink HW NAT Module Enabled
      [   24.956000] eth2 ifindex =2
      [   24.964000] eth3 ifindex =9
      [   26.084000] jffs2: notice: (2311) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
      [   27.288000] jffs2: notice: (2342) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
      [   27.456000] register mt_drv
      [   27.480000] 
      [   27.480000] == pAd = c1401000, size = 7055552, Status=0 ==
      [   27.496000] pAd->PciHif.CSRBaseAddress =0xc1300000, csr_addr=0xc1300000!
      [   27.508000] RTMPInitPCIeDevice():device_id=0x7615
      [   27.516000] mt_pci_chip_cfg(): HWVer=0x8a10, FWVer=0x8a10, pAd->ChipID=0x7615
      [   27.532000] mt_pci_chip_cfg(): HIF_SYS_REV=0x76150001
      [   27.540000] AP Driver version-5.0.3.2
      [   27.548000] RtmpChipOpsHook(223): Not support for HIF_MT yet! MACVersion=0x0
      [   27.564000] mt7615_init()-->
      [   27.568000] Use 1st iPAiLNA default bin.
      [   27.576000] Use 0st /etc_ro/wlan/MT7615E_EEPROM1.bin default bin.
      [   27.588000] <--mt7615_init()
      [   27.596000] <-- RTMPAllocTxRxRingMemory, Status=0
      0x007f
      [   28.776000] tdts: module license 'Proprietary' taints kernel.
      [   28.788000] Disabling lock debugging due to kernel taint
      [   28.832000] Init chrdev /dev/detector with major 190
      [   28.840000] tdts: tcp_conn_max = 4000
      [   28.840000] 
      [   28.852000] tdts: tcp_conn_timeout = 300 sec
      [   28.852000] 
      [   29.052000] SHN Release Version: 1.2.4 RELS_0001
      [   29.060000] UDB Core Version: 0.2.18
      [   29.068000] Init chrdev /dev/idpfw with major 191
      [   29.132000] IDPfw: IDPfw is ready
      [   29.140000] sizeof forward pkt param = 192
      Running license control..waiting 25 second ...
      [   33.332000] ra0: ===> main_virtual_if_open
      [   33.340000] load l1profile succeed!
      [   33.348000] driver_own()::Try to Clear FW Own...
      [   33.652000] driver_own()::Success to clear FW Own
      [   33.664000] APWdsInitialize():WdsEntry Number=4
      [   33.792000] multi-profile merge success, en:1,pf1_num:2,pf2_num:2,total:4
      [   33.808000] Open file "/etc/Wireless/RT2860/DBDC_card0.dat" to store DBDC cfg! (21)
      [   33.836000] MacAddress2 = 00:00:00:00:00:00
      [   33.844000] E2pAccessMode=2
      [   33.852000] SSID[0]=5Gssw-pc-6dca7d, EdcaIdx=0
      [   33.860000] SSID[1]=e-mesh-a7f061, EdcaIdx=0
      [   33.868000] SSID[2]=ssw-pc-6dca7d, EdcaIdx=0
      [   33.880000] SSID[3]=e-mesh-a7f061, EdcaIdx=0
      [   33.888000] DBDC Mode=1, eDBDC_mode = 1
      [   33.896000] BSS0 PhyMode=49
      [   33.900000] wmode_band_equal(): Band Equal!
      [   33.908000] BSS1 PhyMode=49
      [   33.916000] BSS2 PhyMode=14
      [   33.920000] BSS3 PhyMode=14
      [   33.928000] BandSteering=0
      [   33.936000] BndStrgBssIdx=1;0;1;0
      [   33.944000] [TxPower] BAND0: 100, BAND1: 100 
      [   33.956000] [PERCENTAGEenable] BAND0: 1, BAND1: 1 
      [   33.964000] [BFBACKOFFenable] BAND0: 1, BAND1: 1 
      [   33.972000] CalCacheApply = 1 
      [   33.980000] FragThreshold[0]=2346
      [   33.988000] FragThreshold[1]=2346
      [   33.996000] FragThreshold[2]=2346
      [   34.000000] FragThreshold[3]=2346
      [   34.008000] Valid=1
      [   34.012000] APAifsn[0]=3
      [   34.020000] APAifsn[1]=7
      [   34.024000] APAifsn[2]=1
      [   34.028000] APAifsn[3]=1
      [   34.032000] Valid=1
      [   34.036000] APAifsn[0]=3
      [   34.044000] APAifsn[1]=7
      [   34.048000] APAifsn[2]=1
      [   34.052000] APAifsn[3]=1
      [   34.064000] BSSAifsn[0]=3
      [   34.068000] BSSAifsn[1]=7
      [   34.076000] BSSAifsn[2]=2
      [   34.080000] BSSAifsn[3]=2
      [   34.084000] BSSAifsn[0]=3
      [   34.092000] BSSAifsn[1]=7
      [   34.096000] BSSAifsn[2]=2
      [   34.100000] BSSAifsn[3]=2
      [   34.108000] BSSAifsn[0]=3
      [   34.112000] BSSAifsn[1]=7
      [   34.116000] BSSAifsn[2]=2
      [   34.124000] BSSAifsn[3]=2
      [   34.128000] BSSAifsn[0]=3
      [   34.132000] BSSAifsn[1]=7
      [   34.140000] BSSAifsn[2]=2
      [   34.144000] BSSAifsn[3]=2
      [   34.152000] DfsZeroWait Support=0/0
      [   34.160000] DfsZeroWaitCacTime=0/0
      [   34.168000] read_etxbf: ETxBfEnCond = 1
      [   34.176000] read_etxbf: BSSID[0]
      [   34.184000] read_etxbf: MBSS[0] ETxBfEnCond = 1
      [   34.192000] read_etxbf: ETxBfEnCond = 1
      [   34.200000] read_etxbf: BSSID[1]
      [   34.208000] read_etxbf: MBSS[1] ETxBfEnCond = 1
      [   34.216000] read_etxbf: ETxBfEnCond = 0
      [   34.224000] read_etxbf: BSSID[2]
      [   34.228000] read_etxbf: MBSS[2] ETxBfEnCond = 0
      [   34.240000] read_etxbf: ETxBfEnCond = 0
      [   34.248000] read_etxbf: BSSID[3]
      [   34.252000] read_etxbf: MBSS[3] ETxBfEnCond = 0
      [   34.312000] MapEnable=1
      [   34.320000] MAP_Turnkey=1
      [   34.332000] [rtmp_read_ap_client_from_file] pf1=2 pf2=2
      [   34.348000] APWdsInitialize():WdsEntry Number=4
      [   34.356000] WDS-Enable mode=0
      [   34.360000] AndesSendCmdMsg: Could not send in band command due to diablefRTMP_ADAPTER_MCU_SEND_IN_BAND_CMD
      [   34.380000] AndesSendCmdMsg: Command type = ed, Extension command type = 48
      [   34.400000] HT: WDEV[0] Ext Channel = ABOVE
      [   34.408000] HT: WDEV[1] Ext Channel = ABOVE
      [   34.416000] HT: WDEV[2] Ext Channel = ABOVE
      [   34.424000] HT: WDEV[3] Ext Channel = ABOVE
      [   34.436000] HT: greenap_cap = 0
      [   34.488000] ICapMode = 0
      [   34.504000] WtcSetMaxStaNum: BssidNum:4, MaxStaNum:121 (WdsNum:4, ApcliNum:2, MaxNumChipRept:16), MinMcastWcid:122
      [   34.524000] Top Init Done!
      [   34.528000] Use alloc_skb
      [   34.536000] RX[0] DESC a0c24000 size = 16384
      [   34.548000] RX[1] DESC a0c22000 size = 8192
      [   34.556000] cut_through_init(): ct sw token number = 4095
      [   34.568000] cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
      [   34.584000] cut_through_token_list_init(): 8dce6288,8dce6288
      [   34.596000] cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
      [   34.612000] cut_through_token_list_init(): 8dce6298,8dce6298
      [   34.624000] Hif Init Done!
      [   34.628000] ctl->txq = c1a91fa0
      [   34.632000] ctl->rxq = c1a91fac
      [   34.640000] ctl->ackq = c1a91fb8
      [   34.648000] ctl->kickq = c1a91fc4
      [   34.652000] ctl->tx_doneq = c1a91fd0
      [   34.660000] ctl->rx_doneq = c1a91fdc
      [   34.668000] Parsing patch header
      [   34.676000]  Built date: 20180518100604a
      [   34.684000] 
      [   34.684000]  Platform: ALPS
      [   34.692000]  HW/SW version: 0x8a108a10
      [   34.700000]  Patch version: 0x00000010
      [   34.708000]  Target address: 0x80000, length: 11072
      [   34.716000] patch is not ready && get semaphore success
      [   34.728000] EventGenericEventHandler: CMD Success
      [   34.736000] MtCmdPatchFinishReq
      [   34.756000] EventGenericEventHandler: CMD Success
      [   34.764000] release patch semaphore
      [   34.772000] WfMcuHwInit: Before NICLoadFirmware, check ICapMode = 0
      [   34.784000] Parsing CPU 0 fw tailer
      [   34.792000]  Chip ID: 0x04
      [   34.796000]  Eco version: 0x00
      [   34.804000]  Region number: 0x00
      [   34.808000]  Format version: 0x00
      [   34.816000]  Ram version: _reserved_
      [   34.824000]  Built date: 20210804143254
      [   34.832000]  Common crc: 0x0
      [   34.836000] Parsing tailer region 0
      [   34.844000]  Feature set: 0x01
      [   34.848000]  Target address: 0x84000, Download size: 409600
      [   34.860000] Parsing tailer region 1
      [   34.868000]  Feature set: 0x01
      [   34.872000]  Target address: 0x209c400, Download size: 48320
      [   34.884000] EventGenericEventHandler: CMD Success
      [   34.900000] EventGenericEventHandler: CMD Success
      [   34.908000] MtCmdFwStartReq: override = 0x1, address = 0x84000
      [   34.920000] EventGenericEventHandler: CMD Success
      [   34.928000] Parsing CPU 1 fw tailer
      [   34.936000]  Chip ID: 0x04
      [   34.944000]  Eco version: 0x00
      [   34.948000]  Region number: 0x00
      [   34.956000]  Format version: 0x00
      [   34.960000]  Ram version: _reserved_
      [   34.968000]  Built date: 20190121161307
      [   34.976000]  Common crc: 0x0
      [   34.984000] Parsing tailer region 0
      [   34.988000]  Feature set: 0x01
      [   34.996000]  Target address: 0x90000000, Download size: 122608
      [   35.008000] EventGenericEventHandler: CMD Success
      [   35.016000] MtCmdFwStartReq: override = 0x4, address = 0x0
      [   35.064000] EventGenericEventHandler: CMD Success
      [   35.132000] MCU Init Done!
      [   35.140000]  MtCmdSetRlmPorCal: (ret = 0) 
      [   35.148000] efuse_probe: efuse = 10000212
      [   35.156000] RtmpChipOpsEepromHook::e2p_type=2, inf_Type=5
      [   35.168000] RtmpEepromGetDefault::e2p_dafault=1
      [   35.176000] RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 2, E2P default = 1
      [   35.192000] NVM is FLASH mode. dev_idx [0] FLASH OFFSET [0x0]
      [   35.216000] NICReadEEPROMParameters: EEPROM 0x52 b317
      [   35.228000] MtCmdSetTxLpfCal:(ret = 0)
      [   35.236000] MtCmdSetTxIqCal:(ret = 0)
      [   35.244000] MtCmdSetTxDcCal:(ret = 0)
      [   35.248000] MtCmdSetRxFiCal:(ret = 0)
      [   35.256000] MtCmdSetRxFdCal:(ret = 0)
      [   35.264000] MtCmdSetRxFdCal:(ret = 0)
      [   35.272000] MtCmdSetRxFdCal:(ret = 0)
      [   35.280000] MtCmdSetRxFdCal:(ret = 0)
      [   35.288000] MtCmdSetRxFdCal:(ret = 0)
      [   35.292000] MtCmdSetRxFdCal:(ret = 0)
      [   35.300000] MtCmdSetRxFdCal:(ret = 0)
      [   35.308000] MtCmdSetRxFdCal:(ret = 0)
      [   35.316000] MtCmdSetRxFdCal:(ret = 0)
      [   35.324000] NICReadEEPROMParameters: EEPROM 0x52 b317
      [   35.856000] Country Region from e2p = 101
      [   35.864000] mt7615_antenna_default_reset(): TxPath = 4, RxPath = 4
      [   35.876000] mt7615_antenna_default_reset(): DBDC BAND0 TxPath = 2, RxPath = 2
      [   35.892000] mt7615_antenna_default_reset(): DBDC BAND1 TxPath = 2, RxPath = 2
      [   35.908000] RcRadioInit(): DbdcMode=1, ConcurrentBand=2
      [   35.916000] RcRadioInit(): pRadioCtrl=8c486f00,Band=0,rfcap=3,channel=1,PhyMode=2 extCha=0xf
      [   35.932000] RcRadioInit(): pRadioCtrl=8c487204,Band=1,rfcap=2,channel=36,PhyMode=1 extCha=0xf
      [   35.952000] rcUpdateBandForBFMU      PhyCtrl[0].RadioCtrl.IsBfBand = 1
      [   35.964000] rcUpdateBandForBFMU      PhyCtrl[1].RadioCtrl.IsBfBand = 0
      [   35.976000] TxBfModuleEnCtrl:i = 0, pRadioCtrl->IsBfBand = 1
      [   35.984000] TxBfModuleEnCtrl:i = 1, pRadioCtrl->IsBfBand = 0
      [   35.996000] TxBfModuleEnCtrl:u1BfNum = 1, u1BfBitmap = 1, u1BfSelBand[0] = 0
      [   36.012000] MtCmdSetDbdcCtrl:(ret = 0)
      [   36.020000] MtSingleSkuLoadParam: RF_LOCKDOWN Feature OFF !!!
      [   36.064000] MtBfBackOffLoadParam: RF_LOCKDOWN Feature OFF !!!
      [   36.076000] EEPROM Init Done!
      [   36.084000] mt_mac_init()-->
      [   36.088000] mt7615_init_mac_cr()-->
      [   36.096000] mt7615_init_mac_cr(): TMAC_TRCR0=0x82783c8c
      [   36.104000] mt7615_init_mac_cr(): TMAC_TRCR1=0x82783c8c
      [   36.116000] <--mt_mac_init()
      [   36.124000] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
      [   36.136000] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
      [   36.148000] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
      [   36.160000] MAC Init Done!
      [   36.168000] MT7615BBPInit():BBP Initialization.....
      [   36.176000]  Band 0: valid=1, isDBDC=0, Band=2, CBW=1, CentCh/PrimCh=1/1, prim_ch_idx=0, txStream=2
      [   36.196000]  Band 1: valid=0, isDBDC=0, Band=0, CBW=0, CentCh/PrimCh=0/0, prim_ch_idx=0, txStream=0
      [   36.212000] MT7615BBPInit() todo
      [   36.220000] PHY Init Done!
      [   36.228000] MtCmdSetMacTxRx:(ret = 0)
      [   36.236000] MtCmdSetMacTxRx:(ret = 0)
      [   36.244000] WifiFwdSet::disabled=0
      [   36.248000] ap_ftkd> Initialize FT KDP Module...
      [   36.260000] Main bssid = 00:00:00:00:00:00
      [   36.268000] MtCmdSetMacTxRx:(ret = 0)
      [   36.276000] MtCmdSetMacTxRx:(ret = 0)
      [   36.284000] MtCmdSetMacTxRx:(ret = 0)
      [   36.288000] MtCmdSetMacTxRx:(ret = 0)
      [   36.296000] <==== mt_wifi_init, Status=0
      [   36.304000] TxBfModuleEnCtrl:i = 0, pRadioCtrl->IsBfBand = 1
      [   36.316000] TxBfModuleEnCtrl:i = 1, pRadioCtrl->IsBfBand = 0
      [   36.328000] TxBfModuleEnCtrl:u1BfNum = 1, u1BfBitmap = 1, u1BfSelBand[0] = 0
      [   36.340000] MtCmdEDCCACtrl: BandIdx: 0, EDCCACtrl: 1
      [   36.352000] MtCmdEDCCACtrl: BandIdx: 1, EDCCACtrl: 1
      [   36.364000] The new WDS interface MAC = 00:00:00:00:00:00, MacTabMatchWCID = 0
      [   36.380000] phy_freq_adjust : no prim_ch value for adjust!
      [   36.392000] The new WDS interface MAC = 00:00:00:00:00:00, MacTabMatchWCID = 0
      [   36.408000] phy_freq_adjust : no prim_ch value for adjust!
      [   36.420000] The new WDS interface MAC = 00:00:00:00:00:00, MacTabMatchWCID = 0
      [   36.432000] phy_freq_adjust : no prim_ch value for adjust!
      [   36.444000] The new WDS interface MAC = 00:00:00:00:00:00, MacTabMatchWCID = 0
      [   36.460000] phy_freq_adjust : no prim_ch value for adjust!
      [   36.472000] Total allocated 4 WDS interfaces!
      [   36.484000] WtcSetMaxStaNum: BssidNum:4, MaxStaNum:121 (WdsNum:4, ApcliNum:2, MaxNumChipRept:16), MinMcastWcid:122
      [   36.616000] RedInit: set CR4/N9 RED Enable to 1.
      [   36.624000] RedInit: RED Initiailize Done.
      [   36.632000] cp_support_is_enabled: set CR4 CP_SUPPORT to Mode 2.
      [   36.644000] RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
      [   36.656000] wifi_sys_open(), wdev idx = 0
      [   36.664000] wdev_attr_update(): wdevId0 = 04:ab:18:xx:xx:64
      [   36.676000] [RcGetHdevByPhyMode] channel 0 fix for rdev fetching
      [   36.688000] rcUpdateBandForBFMU      PhyCtrl[0].RadioCtrl.IsBfBand = 0
      [   36.700000] rcUpdateBandForBFMU      PhyCtrl[1].RadioCtrl.IsBfBand = 1
      [   36.712000] TxBfModuleEnCtrl:i = 0, pRadioCtrl->IsBfBand = 0
      [   36.724000] TxBfModuleEnCtrl:i = 1, pRadioCtrl->IsBfBand = 1
      [   36.736000] TxBfModuleEnCtrl:u1BfNum = 1, u1BfBitmap = 1, u1BfSelBand[0] = 1
      [   36.752000] MtCmdSetDbdcCtrl:(ret = 0)
      [   36.756000]  [RadarStateCheck] RD_NORMAL_MODE  
      [   36.768000] phy_freq_adjust : no prim_ch value for adjust!
      [   36.780000] Caller: wlan_operate_init+0xf4/0x17c [mt_wifi]
      [   36.792000] phy_mode=49, ch=0, wdev_type=1
      [   36.800000] ht_cap->HtCapInfo: ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=1
      [   36.820000] ht_cap->HtCapParm: mdpu_density=5, ampdu_factor=3
      [   36.832000] AP inf up for ra_0(func_idx) OmacIdx=0
      [   36.840000] AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
      [   36.852000] ApAutoChannelAtBootUp----------------->
      [   36.860000] ApAutoChannelAtBootUp: AutoChannelBootup = 1
      [   36.872000] MtCmdSetMacTxRx:(ret = 0)
      [   36.880000] MtCmdSetMacTxRx:(ret = 0)
      [   36.884000] [AutoChSelBuildChannelListFor5G] ChListNum5G = 19
      [   36.896000] mt7615_apply_dcoc() : reload Central CH [36] BW [0] from cetral freq [5190]  offset [700]
      [   36.916000] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   36.924000] mt7615_apply_dpd() : reload Central CH [36] BW [0] from cetral freq [5180] i[7] offset [2be8]
      [   36.944000] MtCmdGetTXDPDCalResult:(ret = 0)
      [   36.952000] MtCmdChannelSwitch: control_chl = 36,control_ch2=0, central_chl = 36 DBDCIdx= 1, Band= 0
      [   36.972000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
      [   37.184000] mt7615_apply_dcoc() : reload Central CH [40] BW [0] from cetral freq [5190]  offset [700]
      [   37.200000] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   37.208000] mt7615_apply_dpd() : reload Central CH [40] BW [0] from cetral freq [5200] i[8] offset [2cc0]
      [   37.228000] MtCmdGetTXDPDCalResult:(ret = 0)
      [   37.236000] MtCmdChannelSwitch: control_chl = 40,control_ch2=0, central_chl = 40 DBDCIdx= 1, Band= 0
      [   37.256000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
      [   37.468000] mt7615_apply_dcoc() : reload Central CH [44] BW [0] from cetral freq [5230]  offset [800]
      [   37.484000] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   37.492000] mt7615_apply_dpd() : reload Central CH [44] BW [0] from cetral freq [5220] i[9] offset [2d98]
      [   37.512000] MtCmdGetTXDPDCalResult:(ret = 0)
      [   37.520000] MtCmdChannelSwitch: control_chl = 44,control_ch2=0, central_chl = 44 DBDCIdx= 1, Band= 0
      [   37.540000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
      [   37.660000] :MtCmdPktBudgetCtrl: bssid(255),wcid(65535),type(0)
      [   37.784000] mt7615_apply_dcoc() : reload Central CH [48] BW [0] from cetral freq [5230]  offset [800]
      [   37.800000] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   37.808000] mt7615_apply_dpd() : reload Central CH [48] BW [0] from cetral freq [5240] i[10] offset [2e70]
      [   37.828000] MtCmdGetTXDPDCalResult:(ret = 0)
      [   37.836000] MtCmdChannelSwitch: control_chl = 48,control_ch2=0, central_chl = 48 DBDCIdx= 1, Band= 0
      [   37.856000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
      [   38.068000] mt7615_apply_dcoc() : reload Central CH [52] BW [0] from cetral freq [5270]  offset [900]
      [   38.084000] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   38.092000] mt7615_apply_dpd() : reload Central CH [52] BW [0] from cetral freq [5260] i[11] offset [2f48]
      [   38.112000] MtCmdGetTXDPDCalResult:(ret = 0)
      [   38.120000] MtCmdChannelSwitch: control_chl = 52,control_ch2=0, central_chl = 52 DBDCIdx= 1, Band= 0
      [   38.140000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
      [   38.352000] mt7615_apply_dcoc() : reload Central CH [56] BW [0] from cetral freq [5270]  offset [900]
      [   38.368000] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   38.376000] mt7615_apply_dpd() : reload Central CH [56] BW [0] from cetral freq [5280] i[12] offset [3020]
      [   38.396000] MtCmdGetTXDPDCalResult:(ret = 0)
      [   38.404000] MtCmdChannelSwitch: control_chl = 56,control_ch2=0, central_chl = 56 DBDCIdx= 1, Band= 0
      [   38.424000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
      [   38.636000] mt7615_apply_dcoc() : reload Central CH [60] BW [0] from cetral freq [5310]  offset [a00]
      [   38.652000] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   38.660000] mt7615_apply_dpd() : reload Central CH [60] BW [0] from cetral freq [5300] i[13] offset [30f8]
      [   38.680000] MtCmdGetTXDPDCalResult:(ret = 0)
      [   38.688000] MtCmdChannelSwitch: control_chl = 60,control_ch2=0, central_chl = 60 DBDCIdx= 1, Band= 0
      [   38.708000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
      [   38.940000] mt7615_apply_dcoc() : reload Central CH [64] BW [0] from cetral freq [5310]  offset [a00]
      [   38.956000] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   38.964000] mt7615_apply_dpd() : reload Central CH [64] BW [0] from cetral freq [5320] i[14] offset [31d0]
      [   38.984000] MtCmdGetTXDPDCalResult:(ret = 0)
      [   38.992000] MtCmdChannelSwitch: control_chl = 64,control_ch2=0, central_chl = 64 DBDCIdx= 1, Band= 0
      [   39.012000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
      [   39.276000] mt7615_apply_dcoc() : reload Central CH [100] BW [0] from cetral freq [5510]  offset [f00]
      [   39.292000] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   39.300000] mt7615_apply_dpd() : reload Central CH [100] BW [0] from cetral freq [5500] i[23] offset [3968]
      [   39.320000] MtCmdGetTXDPDCalResult:(ret = 0)
      [   39.332000] MtCmdChannelSwitch: control_chl = 100,control_ch2=0, central_chl = 100 DBDCIdx= 1, Band= 0
      [   39.348000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
      [   39.688000] mt7615_apply_dcoc() : reload Central CH [104] BW [0] from cetral freq [5510]  offset [f00]
      [   39.704000] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   39.712000] mt7615_apply_dpd() : reload Central CH [104] BW [0] from cetral freq [5520] i[24] offset [3a40]
      [   39.732000] MtCmdGetTXDPDCalResult:(ret = 0)
      [   39.740000] MtCmdChannelSwitch: control_chl = 104,control_ch2=0, central_chl = 104 DBDCIdx= 1, Band= 0
      [   39.760000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
      [   40.004000] mt7615_apply_dcoc() : reload Central CH [108] BW [0] from cetral freq [5550]  offset [1000]
      [   40.020000] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   40.028000] mt7615_apply_dpd() : reload Central CH [108] BW [0] from cetral freq [5540] i[25] offset [3b18]
      [   40.048000] MtCmdGetTXDPDCalResult:(ret = 0)
      [   40.056000] MtCmdChannelSwitch: control_chl = 108,control_ch2=0, central_chl = 108 DBDCIdx= 1, Band= 0
      [   40.076000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
      [   40.288000] mt7615_apply_dcoc() : reload Central CH [112] BW [0] from cetral freq [5550]  offset [1000]
      [   40.304000] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   40.312000] mt7615_apply_dpd() : reload Central CH [112] BW [0] from cetral freq [5560] i[26] offset [3bf0]
      [   40.332000] MtCmdGetTXDPDCalResult:(ret = 0)
      [   40.340000] MtCmdChannelSwitch: control_chl = 112,control_ch2=0, central_chl = 112 DBDCIdx= 1, Band= 0
      [   40.360000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
      [   40.572000] mt7615_apply_dcoc() : reload Central CH [116] BW [0] from cetral freq [5590]  offset [1100]
      [   40.588000] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   40.596000] mt7615_apply_dpd() : reload Central CH [116] BW [0] from cetral freq [5580] i[27] offset [3cc8]
      [   40.616000] MtCmdGetTXDPDCalResult:(ret = 0)
      [   40.624000] MtCmdChannelSwitch: control_chl = 116,control_ch2=0, central_chl = 116 DBDCIdx= 1, Band= 0
      [   40.644000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
      [   40.880000] mt7615_apply_dcoc() : reload Central CH [120] BW [0] from cetral freq [5590]  offset [1100]
      [   40.896000] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   40.904000] mt7615_apply_dpd() : reload Central CH [120] BW [0] from cetral freq [5600] i[28] offset [3da0]
      [   40.924000] MtCmdGetTXDPDCalResult:(ret = 0)
      [   40.932000] MtCmdChannelSwitch: control_chl = 120,control_ch2=0, central_chl = 120 DBDCIdx= 1, Band= 0
      [   40.952000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
      [   41.212000] mt7615_apply_dcoc() : reload Central CH [124] BW [0] from cetral freq [5630]  offset [1200]
      [   41.228000] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   41.236000] mt7615_apply_dpd() : reload Central CH [124] BW [0] from cetral freq [5620] i[29] offset [3e78]
      [   41.256000] MtCmdGetTXDPDCalResult:(ret = 0)
      [   41.264000] MtCmdChannelSwitch: control_chl = 124,control_ch2=0, central_chl = 124 DBDCIdx= 1, Band= 0
      [   41.284000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
      [   41.496000] mt7615_apply_dcoc() : reload Central CH [128] BW [0] from cetral freq [5630]  offset [1200]
      [   41.512000] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   41.520000] mt7615_apply_dpd() : reload Central CH [128] BW [0] from cetral freq [5640] i[30] offset [3f50]
      [   41.540000] MtCmdGetTXDPDCalResult:(ret = 0)
      [   41.552000] MtCmdChannelSwitch: control_chl = 128,control_ch2=0, central_chl = 128 DBDCIdx= 1, Band= 0
      [   41.568000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
      [   41.780000] ====================================================================
      [   41.792000] Channel  36 : Busy Time =   1825, Skip Channel = FALSE, BwCap = TRUE
      [   41.808000] Channel  40 : Busy Time =    721, Skip Channel = FALSE, BwCap = TRUE
      [   41.824000] Channel  44 : Busy Time =    993, Skip Channel = FALSE, BwCap = TRUE
      [   41.836000] Channel  48 : Busy Time =   1113, Skip Channel = FALSE, BwCap = TRUE
      [   41.852000] Channel  52 : Busy Time =    482, Skip Channel = FALSE, BwCap = TRUE
      [   41.868000] Channel  56 : Busy Time =    319, Skip Channel = FALSE, BwCap = TRUE
      [   41.880000] Channel  60 : Busy Time =     51, Skip Channel = FALSE, BwCap = TRUE
      [   41.896000] Channel  64 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
      [   41.912000] Channel 100 : Busy Time =    763, Skip Channel = FALSE, BwCap = TRUE
      [   41.924000] Channel 104 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
      [   41.940000] Channel 108 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
      [   41.956000] Channel 112 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
      [   41.968000] Channel 116 : Busy Time =    245, Skip Channel = FALSE, BwCap = TRUE
      [   41.984000] Channel 120 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
      [   42.000000] Channel 124 : Busy Time =    976, Skip Channel = FALSE, BwCap = TRUE
      [   42.012000] Channel 128 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
      [   42.028000] ====================================================================
      [   42.044000] Rule 3 Channel Busy time value : Select Primary Channel 64
      [   42.056000] Rule 3 Channel Busy time value : Min Channel Busy = 482
      [   42.068000] Rule 3 Channel Busy time value : BW = 80
      [   42.080000] [SelectClearChannelBusyTime] - band1 END
      [   42.088000] ApAutoChannelAtBootUp : Auto channel selection: Selected channel = 64, IsAband = 1
      [   42.104000]  AutoChSelUpdateChannel(): Update channel for wdev for this band PhyMode = 49, Channel = 64 
      [   42.128000]  [RadarStateCheck] RD_SILENCE_MODE  
      [   42.136000] [DfsCacNormalStart] CAC 65 seconds start . Disable MAC TX
      [   42.148000] [DfsSwitchCheck]: DFS ByPass TX calibration.
      [   42.160000] mt7615_apply_dcoc() : reload Central CH [58] BW [2] from cetral freq [5290]  offset [1a00]
      [   42.180000] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   42.188000] mt7615_apply_dpd() : reload Central CH [58] BW [2] from cetral freq [5300] i[13] offset [30f8]
      [   42.208000] MtCmdGetTXDPDCalResult:(ret = 0)
      [   42.216000] MtCmdChannelSwitch: control_chl = 64,control_ch2=0, central_chl = 58 DBDCIdx= 1, Band= 0
      [   42.232000] BW = 2,TXStream = 2, RXStream = 2, scan(0)
      [   42.248000] [WrapDfsRadarDetectStart]: DfsChBand[0]: 1, DfsChBand[1]: 0
      [   42.264000] ApAutoChannelAtBootUp<-----------------
      [   42.272000] [PMF]APPMFInit:: apidx=0, MFPC=0, MFPR=0, SHA256=0
      [   42.284000] wifi_sys_linkup(), wdev idx = 0
      [   42.292000] wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:127 for WDEV_TYPE:1
      [   42.292000]  LinkToOmacIdx = 0, LinkToWdevType = 1
      [   42.444000] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 8192, CmdBssInfoBmcRate.u2McTransmit = 8196
      [   42.468000] MtCmdSetDbdcCtrl:(ret = 0)
      [   42.476000] UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 0
      [   42.488000] APStartUpForMbss: BssIndex = 1 channel = 64
      [   42.500000] MtCmdTxPowerDropCtrl: ucPowerDrop: 100, BandIdx: 1
      [   42.512000] apidx 0 for WscUUIDInit
      [   42.520000] Generate UUID for apidx(0)
      [   42.604000] device ra0 entered promiscuous mode
      [   42.612000] br-lan: port 2(ra0) entered forwarding state
      [   42.624000] br-lan: port 2(ra0) entered forwarding state
      [   42.656000] rax0: ===> mbss_virtual_if_open
      [   42.664000] RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
      [   42.680000] wifi_sys_open(), wdev idx = 2
      [   42.688000] wdev_attr_update(): wdevId2 = 04:ab:18:xx:xx:63
      [   42.696000] [RcGetHdevByPhyMode]-- channel 0 fix for rdev fetching
      [   42.708000] rcUpdateBandForBFMU      PhyCtrl[0].RadioCtrl.IsBfBand = 0
      [   42.720000] rcUpdateBandForBFMU      PhyCtrl[1].RadioCtrl.IsBfBand = 1
      [   42.732000] TxBfModuleEnCtrl:i = 0, pRadioCtrl->IsBfBand = 0
      [   42.744000] TxBfModuleEnCtrl:i = 1, pRadioCtrl->IsBfBand = 1
      [   42.756000] TxBfModuleEnCtrl:u1BfNum = 1, u1BfBitmap = 1, u1BfSelBand[0] = 1
      [   42.772000] MtCmdSetDbdcCtrl:(ret = 0)
      [   42.780000]  [RadarStateCheck] RD_NORMAL_MODE  
      [   42.788000] phy_freq_adjust : no prim_ch value for adjust!
      [   42.800000] Caller: wlan_operate_init+0xf4/0x17c [mt_wifi]
      [   42.812000] phy_mode=14, ch=0, wdev_type=1
      [   42.820000] ht_cap->HtCapInfo: ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=1
      [   42.840000] ht_cap->HtCapParm: mdpu_density=5, ampdu_factor=3
      [   42.848000] AP inf up for ra_2(func_idx) OmacIdx=18
      [   42.860000] AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
      [   42.868000] ApAutoChannelAtBootUp----------------->
      [   42.880000] ApAutoChannelAtBootUp: AutoChannelBootup = 1
      [   42.892000] MtCmdSetMacTxRx:(ret = 0)
      [   42.896000] MtCmdSetMacTxRx:(ret = 0)
      [   42.904000] mt7615_apply_dcoc() : reload Central CH [1] BW [0] from cetral freq [2417]  offset [2200]
      [   42.924000] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   42.932000] mt7615_apply_dpd() : reload Central CH [1] BW [0] from cetral freq [2422] i[44] offset [4b20]
      [   42.952000] MtCmdGetTXDPDCalResult:(ret = 0)
      [   42.960000] MtCmdChannelSwitch: control_chl = 1,control_ch2=0, central_chl = 1 DBDCIdx= 0, Band= 0
      [   42.976000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
      [   43.240000] mt7615_apply_dcoc() : reload Central CH [2] BW [0] from cetral freq [2417]  offset [2200]
      [   43.256000] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   43.264000] mt7615_apply_dpd() : reload Central CH [2] BW [0] from cetral freq [2422] i[44] offset [4b20]
      [   43.284000] MtCmdGetTXDPDCalResult:(ret = 0)
      [   43.292000] MtCmdChannelSwitch: control_chl = 2,control_ch2=0, central_chl = 2 DBDCIdx= 0, Band= 0
      [   43.312000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
      [   43.524000] mt7615_apply_dcoc() : reload Central CH [3] BW [0] from cetral freq [2417]  offset [2200]
      [   43.540000] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   43.548000] mt7615_apply_dpd() : reload Central CH [3] BW [0] from cetral freq [2422] i[44] offset [4b20]
      [   43.568000] MtCmdGetTXDPDCalResult:(ret = 0)
      [   43.576000] MtCmdChannelSwitch: control_chl = 3,control_ch2=0, central_chl = 3 DBDCIdx= 0, Band= 0
      [   43.596000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
      [   43.808000] mt7615_apply_dcoc() : reload Central CH [4] BW [0] from cetral freq [2432]  offset [2300]
      [   43.824000] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   43.832000] mt7615_apply_dpd() : reload Central CH [4] BW [0] from cetral freq [2422] i[44] offset [4b20]
      [   43.852000] MtCmdGetTXDPDCalResult:(ret = 0)
      [   43.860000] MtCmdChannelSwitch: control_chl = 4,control_ch2=0, central_chl = 4 DBDCIdx= 0, Band= 0
      [   43.880000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
      [   44.092000] mt7615_apply_dcoc() : reload Central CH [5] BW [0] from cetral freq [2432]  offset [2300]
      [   44.108000] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   44.116000] mt7615_apply_dpd() : reload Central CH [5] BW [0] from cetral freq [2442] i[45] offset [4bf8]
      [   44.136000] MtCmdGetTXDPDCalResult:(ret = 0)
      [   44.144000] MtCmdChannelSwitch: control_chl = 5,control_ch2=0, central_chl = 5 DBDCIdx= 0, Band= 0
      [   44.164000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
      [   44.376000] mt7615_apply_dcoc() : reload Central CH [6] BW [0] from cetral freq [2432]  offset [2300]
      [   44.392000] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   44.400000] mt7615_apply_dpd() : reload Central CH [6] BW [0] from cetral freq [2442] i[45] offset [4bf8]
      [   44.420000] MtCmdGetTXDPDCalResult:(ret = 0)
      [   44.428000] MtCmdChannelSwitch: control_chl = 6,control_ch2=0, central_chl = 6 DBDCIdx= 0, Band= 0
      [   44.448000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
      [   44.628000] br-lan: port 2(ra0) entered forwarding state
      [   44.668000] mt7615_apply_dcoc() : reload Central CH [7] BW [0] from cetral freq [2447]  offset [2400]
      [   44.684000] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   44.692000] mt7615_apply_dpd() : reload Central CH [7] BW [0] from cetral freq [2442] i[45] offset [4bf8]
      [   44.712000] MtCmdGetTXDPDCalResult:(ret = 0)
      [   44.720000] MtCmdChannelSwitch: control_chl = 7,control_ch2=0, central_chl = 7 DBDCIdx= 0, Band= 0
      [   44.740000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
      [   44.980000] mt7615_apply_dcoc() : reload Central CH [8] BW [0] from cetral freq [2447]  offset [2400]
      [   44.996000] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   45.004000] mt7615_apply_dpd() : reload Central CH [8] BW [0] from cetral freq [2442] i[45] offset [4bf8]
      [   45.024000] MtCmdGetTXDPDCalResult:(ret = 0)
      [   45.032000] MtCmdChannelSwitch: control_chl = 8,control_ch2=0, central_chl = 8 DBDCIdx= 0, Band= 0
      [   45.052000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
      [   45.264000] mt7615_apply_dcoc() : reload Central CH [9] BW [0] from cetral freq [2447]  offset [2400]
      [   45.280000] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   45.288000] mt7615_apply_dpd() : reload Central CH [9] BW [0] from cetral freq [2442] i[45] offset [4bf8]
      [   45.308000] MtCmdGetTXDPDCalResult:(ret = 0)
      [   45.316000] MtCmdChannelSwitch: control_chl = 9,control_ch2=0, central_chl = 9 DBDCIdx= 0, Band= 0
      [   45.336000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
      [   45.548000] mt7615_apply_dcoc() : reload Central CH [10] BW [0] from cetral freq [2467]  offset [2500]
      [   45.564000] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   45.572000] mt7615_apply_dpd() : reload Central CH [10] BW [0] from cetral freq [2462] i[46] offset [4cd0]
      [   45.592000] MtCmdGetTXDPDCalResult:(ret = 0)
      [   45.600000] MtCmdChannelSwitch: control_chl = 10,control_ch2=0, central_chl = 10 DBDCIdx= 0, Band= 0
      [   45.620000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
      [   45.844000] mt7615_apply_dcoc() : reload Central CH [11] BW [0] from cetral freq [2467]  offset [2500]
      [   45.860000] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   45.868000] mt7615_apply_dpd() : reload Central CH [11] BW [0] from cetral freq [2462] i[46] offset [4cd0]
      [   45.888000] MtCmdGetTXDPDCalResult:(ret = 0)
      [   45.896000] MtCmdChannelSwitch: control_chl = 11,control_ch2=0, central_chl = 11 DBDCIdx= 0, Band= 0
      [   45.916000] BW = 0,TXStream = 2, RXStream = 2, scan(1)
      [   46.256000] ====================================================================
      [   46.268000] Channel   1 : Busy Time =  22890, Skip Channel = FALSE, BwCap = TRUE
      [   46.284000] Channel   2 : Busy Time =   7294, Skip Channel = FALSE, BwCap = TRUE
      [   46.300000] Channel   3 : Busy Time =  10075, Skip Channel = FALSE, BwCap = TRUE
      [   46.312000] Channel   4 : Busy Time =   1496, Skip Channel = FALSE, BwCap = TRUE
      [   46.328000] Channel   5 : Busy Time =   3788, Skip Channel = FALSE, BwCap = TRUE
      [   46.344000] Channel   6 : Busy Time =  10929, Skip Channel = FALSE, BwCap = TRUE
      [   46.356000] Channel   7 : Busy Time =   4612, Skip Channel = FALSE, BwCap = TRUE
      [   46.372000] Channel   8 : Busy Time =  10407, Skip Channel = FALSE, BwCap = TRUE
      [   46.388000] Channel   9 : Busy Time =   2102, Skip Channel = FALSE, BwCap = TRUE
      [   46.400000] Channel  10 : Busy Time =   5761, Skip Channel = FALSE, BwCap = TRUE
      [   46.416000] Channel  11 : Busy Time =  13928, Skip Channel = FALSE, BwCap = TRUE
      [   46.432000] ====================================================================
      [   46.444000] Rule 3 Channel Busy time value : Select Primary Channel 4
      [   46.460000] Rule 3 Channel Busy time value : Min Channel Busy = 1496
      [   46.472000] Rule 3 Channel Busy time value : BW = 20
      [   46.480000] [SelectClearChannelBusyTime] - band0 END
      [   46.492000] ApAutoChannelAtBootUp : Auto channel selection: Selected channel = 4, IsAband = 0
      [   46.508000]  AutoChSelUpdateChannel(): Update channel for wdev for this band PhyMode = 14, Channel = 4 
      [   46.528000]  [RadarStateCheck] RD_NORMAL_MODE  
      [   46.540000] mt7615_apply_dcoc() : reload Central CH [6] BW [1] from cetral freq [2432]  offset [2300]
      [   46.556000] MtCmdGetRXDCOCCalResult:(ret = 0)
      [   46.568000] mt7615_apply_dpd() : reload Central CH [6] BW [1] from cetral freq [2442] i[45] offset [4bf8]
      [   46.584000] MtCmdGetTXDPDCalResult:(ret = 0)
      [   46.596000] MtCmdChannelSwitch: control_chl = 4,control_ch2=0, central_chl = 6 DBDCIdx= 0, Band= 0
      [   46.612000] BW = 1,TXStream = 2, RXStream = 2, scan(0)
      [   46.628000] ApAutoChannelAtBootUp<-----------------
      [   46.636000] [PMF]APPMFInit:: apidx=2, MFPC=0, MFPR=0, SHA256=0
      [   46.648000] wifi_sys_linkup(), wdev idx = 2
      [   46.656000] wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:126 for WDEV_TYPE:1
      [   46.656000]  LinkToOmacIdx = 12, LinkToWdevType = 1
      [   46.812000] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
      [   46.836000] MtCmdSetDbdcCtrl:(ret = 0)
      [   46.844000] UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 12
      [   46.856000] APStartUpForMbss: BssIndex = 0 channel = 4
      [   46.864000] MtCmdTxPowerDropCtrl: ucPowerDrop: 100, BandIdx: 0
      [   46.880000] apidx 2 for WscUUIDInit
      [   46.884000] Generate UUID for apidx(2)
      [   46.944000] device rax0 entered promiscuous mode
      [   46.956000] br-lan: port 3(rax0) entered forwarding state
      [   46.964000] br-lan: port 3(rax0) entered forwarding state
      [   47.076000] ra1: ===> mbss_virtual_if_open
      [   47.088000] RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
      [   47.100000] wifi_sys_open(), wdev idx = 1
      [   47.108000] wdev_attr_update(): wdevId1 = 06:ab:18:xx:xx:64
      [   47.116000] [RcGetHdevByPhyMode] channel 0 fix for rdev fetching
      [   47.128000] rcUpdateBandForBFMU      PhyCtrl[0].RadioCtrl.IsBfBand = 0
      [   47.140000] rcUpdateBandForBFMU      PhyCtrl[1].RadioCtrl.IsBfBand = 1
      [   47.156000] TxBfModuleEnCtrl:i = 0, pRadioCtrl->IsBfBand = 0
      [   47.164000] TxBfModuleEnCtrl:i = 1, pRadioCtrl->IsBfBand = 1
      [   47.176000] TxBfModuleEnCtrl:u1BfNum = 1, u1BfBitmap = 1, u1BfSelBand[0] = 1
      [   47.192000] MtCmdSetDbdcCtrl:(ret = 0)
      [   47.200000]  [RadarStateCheck] RD_NORMAL_MODE  
      [   47.208000] phy_freq_adjust : no prim_ch value for adjust!
      [   47.220000] Caller: wlan_operate_init+0xf4/0x17c [mt_wifi]
      [   47.232000] phy_mode=49, ch=0, wdev_type=1
      [   47.240000] ht_cap->HtCapInfo: ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=1
      [   47.260000] ht_cap->HtCapParm: mdpu_density=5, ampdu_factor=3
      [   47.272000] AP inf up for ra_1(func_idx) OmacIdx=17
      [   47.280000] AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
      [   47.288000] ApAutoChannelAtBootUp----------------->
      [   47.300000] ApAutoChannelAtBootUp: AutoChannelBootup = 1
      [   47.312000] MtCmdSetMacTxRx:(ret = 0)
      [   47.316000] MtCmdSetMacTxRx:(ret = 0)
      [   47.324000] [ApAutoChannelAtBootUp] ACS of BandIdx = 1 is already DONE, Channel = 64
      [   47.340000]  AutoChSelUpdateChannel(): Update channel for wdev for this band PhyMode = 49, Channel = 64 
      [   47.360000]  [RadarStateCheck] RD_SILENCE_MODE  
      [   47.372000] [DfsCacNormalStart] CAC 65 seconds start . Disable MAC TX
      [   47.384000] [WrapDfsRadarDetectStart]: DfsChBand[0]: 1, DfsChBand[1]: 0
      [   47.400000] ApAutoChannelAtBootUp<-----------------
      [   47.408000] [PMF]APPMFInit:: apidx=1, MFPC=0, MFPR=0, SHA256=0
      [   47.420000] wifi_sys_linkup(), wdev idx = 1
      [   47.428000] wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:125 for WDEV_TYPE:1
      [   47.428000]  LinkToOmacIdx = 11, LinkToWdevType = 1
      [   47.580000] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 8192, CmdBssInfoBmcRate.u2McTransmit = 8196
      [   47.608000] MtCmdSetDbdcCtrl:(ret = 0)
      [   47.616000] UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 11
      [   47.628000] APStartUpForMbss: BssIndex = 1 channel = 64
      [   47.636000] MtCmdTxPowerDropCtrl: ucPowerDrop: 100, BandIdx: 1
      [   47.652000] apidx 1 for WscUUIDInit
      [   47.656000] Generate UUID for apidx(1)
      [   47.712000] device ra1 entered promiscuous mode
      [   47.724000] br-lan: port 4(ra1) entered forwarding state
      [   47.732000] br-lan: port 4(ra1) entered forwarding state
      [   47.768000] rax1: ===> mbss_virtual_if_open
      [   47.776000] RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
      [   47.788000] wifi_sys_open(), wdev idx = 3
      [   47.796000] wdev_attr_update(): wdevId3 = 06:ab:18:xx:xx:64
      [   47.808000] [RcGetHdevByPhyMode]-- channel 0 fix for rdev fetching
      [   47.820000] rcUpdateBandForBFMU      PhyCtrl[0].RadioCtrl.IsBfBand = 0
      [   47.832000] rcUpdateBandForBFMU      PhyCtrl[1].RadioCtrl.IsBfBand = 1
      [   47.844000] TxBfModuleEnCtrl:i = 0, pRadioCtrl->IsBfBand = 0
      [   47.856000] TxBfModuleEnCtrl:i = 1, pRadioCtrl->IsBfBand = 1
      [   47.868000] TxBfModuleEnCtrl:u1BfNum = 1, u1BfBitmap = 1, u1BfSelBand[0] = 1
      [   47.880000] MtCmdSetDbdcCtrl:(ret = 0)
      [   47.888000] phy_freq_adjust : no prim_ch value for adjust!
      [   47.900000] Caller: wlan_operate_init+0xf4/0x17c [mt_wifi]
      [   47.912000] phy_mode=14, ch=0, wdev_type=1
      [   47.920000] ht_cap->HtCapInfo: ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=1
      [   47.936000] ht_cap->HtCapParm: mdpu_density=5, ampdu_factor=3
      [   47.948000] AP inf up for ra_3(func_idx) OmacIdx=19
      [   47.960000] AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
      [   47.968000] ApAutoChannelAtBootUp----------------->
      [   47.980000] ApAutoChannelAtBootUp: AutoChannelBootup = 1
      [   47.988000] MtCmdSetMacTxRx:(ret = 0)
      [   47.996000] MtCmdSetMacTxRx:(ret = 0)
      [   48.004000] [ApAutoChannelAtBootUp] ACS of BandIdx = 0 is already DONE, Channel = 4
      [   48.020000]  AutoChSelUpdateChannel(): Update channel for wdev for this band PhyMode = 14, Channel = 4 
      [   48.040000]  [RadarStateCheck] RD_NORMAL_MODE  
      [   48.048000] ApAutoChannelAtBootUp<-----------------
      [   48.060000] [PMF]APPMFInit:: apidx=3, MFPC=0, MFPR=0, SHA256=0
      [   48.072000] wifi_sys_linkup(), wdev idx = 3
      [   48.080000] wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:124 for WDEV_TYPE:1
      [   48.080000]  LinkToOmacIdx = 13, LinkToWdevType = 1
      [   48.232000] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
      [   48.256000] MtCmdSetDbdcCtrl:(ret = 0)
      [   48.264000] UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 13
      [   48.276000] APStartUpForMbss: BssIndex = 0 channel = 4
      [   48.288000] MtCmdTxPowerDropCtrl: ucPowerDrop: 100, BandIdx: 0
      [   48.300000] apidx 3 for WscUUIDInit
      [   48.308000] Generate UUID for apidx(3)
      [   48.368000] device rax1 entered promiscuous mode
      [   48.376000] br-lan: port 5(rax1) entered forwarding state
      [   48.388000] br-lan: port 5(rax1) entered forwarding state
      [   48.968000] br-lan: port 3(rax0) entered forwarding state
      [   49.736000] br-lan: port 4(ra1) entered forwarding state
      [   50.392000] br-lan: port 5(rax1) entered forwarding state
      ----- EasyMesh SCRIPT -----
      ----- killed all apps  -----
      [   51.060000] :set_fw_log: arg = 1:204
      [   51.068000] :set_fw_log: Mcu Dest = HOST2CR4, Log Type = Send MCU log by Event
      [   51.084000] :MtCmdFwLog2Host: McuDest(1):HOST2CR4
      [   51.096000] :set_fw_log: arg = 1:204
      [   51.104000] :set_fw_log: Mcu Dest = HOST2CR4, Log Type = Send MCU log by Event
      [   51.116000] :MtCmdFwLog2Host: McuDest(1):HOST2CR4
      switch reg write offset=10, value=ffffffe0
      switch reg write offset=34, value=8160816
      ----- copied txt files -----
      EasyMesh is enabled!
      WAPP starting...
      [   51.360000] Enable GAS service for MBSSID[0]
      [   51.368000] Unknow Parameter:8
      [   51.376000] Unknow Parameter:0
      [   51.380000] Unknow Parameter:1
      [   51.388000] Unknow Parameter:2
      [   51.396000] Unknow Parameter:3
      [   51.404000] Enable GAS service for MBSSID[2]
      [   51.412000] Unknow Parameter:8
      [   51.416000] Unknow Parameter:0
      [   51.424000] Unknow Parameter:1
      [   51.428000] Unknow Parameter:2
      [   51.436000] Unknow Parameter:3
      [   51.440000] Set_AP_VENDOR_SPECIFIC_IE: Unknown OUIType = 16
      [   51.452000] Set_AP_VENDOR_SPECIFIC_IE: Unknown OUIType = 9
      [   51.464000] set_wapp_cmm_ie: Unknown IE(EID = 111)
      [   51.472000] set_wapp_cmm_ie: Unknown IE(EID = 110)
      [   51.484000] Set_AP_VENDOR_SPECIFIC_IE: Unknown OUIType = 16
      [   51.496000] Set_AP_VENDOR_SPECIFIC_IE: Unknown OUIType = 9
      [   51.628000] set_wapp_cmm_ie: Unknown IE(EID = 111)
      [   51.640000] set_wapp_cmm_ie: Unknown IE(EID = 110)
      1905 starting...
      1905daemon version: 5a7558
      Build time: 2019-05-06T08:08:16
      [1905Daemon][main] set 1905 role controller
      [1905Daemon][main] map cfg file /etc/map_cfg.txt
      [1905Daemon][main] debug level = 0
      [1905Daemon][map_read_config_file] map_controller_alid = 00:00:00:00:00:00
      [1905Daemon][map_read_config_file] br_inf = br-lan
      [1905Daemon][map_read_config_file] lan = eth2
      [1905Daemon][map_read_config_file] bss_config_priority: ra0;ra1;ra2;ra3;ra4;rax0;rax1;rax2;rax3;rai0;rai1;rai2;rai3;apcli0;apclix0;apclii0
      [1905Daemon][map_read_config_file] ethernet_dev_name: eth2
      [1905Daemon][map_read_config_file] set discovery_cnt to defaut value(11)
      [1905Daemon][map_read_wifi_file] interface[2] = ra0
      [1905Daemon][map_read_wifi_file] role[2] = wiap
      [1905Daemon][map_read_wifi_file] band[2] = 5g
      [1905Daemon][map_read_wifi_file] phymode[2] = AC
      [1905Daemon][map_read_wifi_file] media_type[2] = 261
      [1905Daemon][map_read_wifi_file] mac_addr = 04:ab:18:xx:xx:64
      [1905Daemon][map_read_wifi_file] identifier = 00:00:00:00:01:01
      [1905Daemon][map_read_wifi_file] interface[3] = ra1
      [1905Daemon][map_read_wifi_file] role[3] = wiap
      [1905Daemon][map_read_wifi_file] band[3] = 5g
      [1905Daemon][map_read_wifi_file] phymode[3] = AC
      [1905Daemon][map_read_wifi_file] media_type[3] = 261
      [1905Daemon][map_read_wifi_file] mac_addr = 06:ab:18:xx:xx:64
      [1905Daemon][map_read_wifi_file] identifier = 00:00:00:00:01:01
      [1905Daemon][map_read_wifi_file] interface[4] = rax0
      [1905Daemon][map_read_wifi_file] role[4] = wiap
      [1905Daemon][map_read_wifi_file] band[4] = 2.4g
      [1905Daemon][map_read_wifi_file] phymode[4] = N
      [1905Daemon][map_read_wifi_file] media_type[4] = 259
      [1905Daemon][map_read_wifi_file] mac_addr = 04:ab:18:xx:xx:63
      [1905Daemon][map_read_wifi_file] identifier = 00:00:00:00:01:00
      [1905Daemon][map_read_wifi_file] interface[5] = rax1
      [1905Daemon][map_read_wifi_file] role[5] = wiap
      [1905Daemon][map_read_wifi_file] band[5] = 2.4g
      [1905Daemon][map_read_wifi_file] phymode[5] = N
      [1905Daemon][map_read_wifi_file] media_type[5] = 259
      [1905Daemon][map_read_wifi_file] mac_addr = 06:ab:18:xx:xx:64
      [1905Daemon][map_read_wifi_file] identifier = 00:00:00:00:01:00
      [1905Da[   54.844000] do_map_set_ctl==>cmd(1905)
      emon][map_read_w[   54.852000] do_map_set_ctl==>almac(04:ab:18:xx:xx:61)
      ifi_file] itf_number = 6
      [1905Daemon][set_bss_config_priority_by_str]    bss intf(ra0) priority=1
      [1905Daemon][set_bss_config_priority_by_str]    bss intf(ra1) priority=2
      [1905Daemon][set_bss_config_priority_by_str]    bss intf(ra2) priority=3
      [1905Daemon][set_bss_config_priority_by_str]    bss intf(ra3) priority=4
      [1905Daemon][set_bss_config_priority_by_str]    bss intf(ra4) priority=5
      [1905Daemon][set_bss_config_priority_by_str]    bss intf(rax0) priority=6
      [1905Daemon][set_bss_config_priority_by_str]    bss intf(rax1) priority=7
      [1905Daemon][set_bss_config_priority_by_str]    bss intf(rax2) priority=8
      [1905Daemon][set_bss_config_priority_by_str]    bss intf(rax3) priority=9
      [1905Daemon][set_bss_config_priority_by_str]    bss intf(rai0) priority=10
      [1905Daemon][set_bss_config_priority_by_str]    bss intf(rai1) priority=11
      [1905Daemon][set_bss_config_priority_by_str]    bss intf(rai2) priority=12
      [1905Daemon][set_bss_config_priority_by_str]    bss intf(rai3) priority=13
      [1905Daemon][set_bss_config_priority_by_str]    bss intf(apcli0) priority=14
      [1905Daemon][set_bss_config_priority_by_str]    bss intf(apclix0) priority=15
      [1905Daemon][set_bss_config_priority_by_str]    bss intf(apclii0) priority=16
      [1905Daemon][init_radio_info_by_intf] add new radio(00:00:00:00:01:01)
      [1905Daemon][init_radio_info_by_intf] add new bss(ra0) to above new radio
      [1905Daemon][init_radio_info_by_intf] add new bss(ra1) to existed radio(00:00:00:00:01:01)
      [1905Daemon][init_radio_info_by_intf] add new radio(00:00:00:00:01:00)
      [1905Daemon][init_radio_info_by_intf] add new bss(rax0) to above new radio
      [1905Daemon][init_radio_info_by_intf] add new bss(rax1) to existed radio(00:00:00:00:01:00)
      [1905Daemon][cmdu_init] AL mac: 04:AB:18:A7:F0:61
      1,FF:FF:FF:FF:FF:FF 11x 5Gssw-pc-6dca7d 0x0020 0x0008 eab284ee 0 1 hidden-N
      2,FF:FF:FF:FF:FF:FF 11x e-mesh-a7f061 0x0020 0x0008 vd82n36uekt7 1 1 hidden-Y
      3,FF:FF:FF:FF:FF:FF 8x ssw-pc-6dca7d 0x0020 0x0008 eab284ee 0 1 hidden-N
      4,FF:FF:FF:FF:FF:FF 8x e-mesh-a7f061 0x0020 0x0008 vd82n36uekt7 1 1 hidden-Y
      5,FF:FF:FF:FF:FF:FF 12x 5Gssw-pc-6dca7d 0x0020 0x0008 eab284ee 0 1 hidden-N
      6,FF:FF:FF:FF:FF:FF 12x e-mesh-a7f061 0x0020 0x0008 vd82n36uekt7 1 1 hidden-Y
    
        vid  fid  portmap    s-tag
          1    0  -1111-11       0
      [1905Daemon][main] p1905_Manager Daemon Running
      worker_task_receiver_event_handler
      worker_task_receiver_event_handler
      worker_task_receiver_event_handler
      worker_task_receiver_event_handler
      worker_task_receiver_event_handler
      worker_task_receiver_event_handler
      worker_task_receiver_event_handler
      MAP Daemon starting...
      mapd version: 75f444
      Build time: 2019-05-06T08:08:49
      [mapd][mapd_init][1122]DB NAME=./client_db.txt
      [1905Daemon][_1905_interface_attach] daemon _1905_client attached \x00map_daemon
      [_1905_Get_Local_Devinfo]almac 04:ab:18:xx:xx:61
      [_1905_Get_Local_Devinfo]dev_info->inf_num=5
      [_1905_Get_Local_Devinfo]interface mac 04:ab:18:xx:xx:61
      [_1905_Get_Local_Devinfo]interface media type 0000
      [_1905_Get_Local_Devinfo]interface mac 04:ab:18:xx:xx:64
      [_1905_Get_Local_Devinfo]interface media type 0105
      [_1905_Get_Local_Devinfo]interface mac 06:ab:18:xx:xx:64
      [_1905_Get_Local_Devinfo]interface media type 0105
      [_1905_Get_Local_Devinfo]interface mac 04:ab:18:xx:xx:63
      [_1905_Get_Local_Devinfo]interface media type 0103
      [_1905_Get_Local_Devinfo]interface mac 06:ab:18:xx:xx:64
      [_1905_Get_Local_Devinfo]interface media type 0103
      [_1905_Get_Local_Devinfo]br_cap->br_num=1
      [_1905_Get_Local_Devinfo]       (br_cap->bridge_info[i].br_name br-lan
      [_1905_Get_Local_Devinfo]       br_cap->bridge_info[i].inf_num=5
      [_1905_Get_Local_Devinfo]                04:ab:18:xx:xx:61
      [_1905_Get_Local_Devinfo]                04:ab:18:xx:xx:64
      [_1905_Get_Local_Devinfo]                06:ab:18:xx:xx:64
      [_1905_Get_Local_Devinfo]                04:ab:18:xx:xx:63
      [_1905_Get_Local_Devinfo]                06:ab:18:xx:xx:64
      [_1905_Get_Local_Devinfo]srv->srv_num=1
      [_1905_Get_Local_Devinfo]srv->srv=00
      [_1905_Set_Channel_Selection_Rsp_Info]rsp_cnt in[   58.580000] Set_Fh_Bss_Proc ra1 wdev->MAPCfg.DevOwnRole 0x0
      valid value
      [1905Daemon][read_bss_conf_and_renew_v2] read wts_b[   58.600000] Set_Bh_Bss_Proc ra1 bandIdx = 1 ,DevOwnRole 0x0
      ss_info_config to ctx->bss_config, radio_number=2
      1,FF:FF:FF:FF[   58.624000] Set_Fh_Bss_Proc ra1 wdev->MAPCfg.DevOwnRole 0x20
      :FF:FF 11x 5Gssw-pc-6dca7d 0x0020 0x0008 eab284ee 0 1 hidden-N
      [   58.648000] Set_Fh_Bss_Proc ra0 wdev->MAPCfg.DevOwnRole 0x0
      2,FF:FF:FF:FF:FF:FF 11x e-mesh-a7f061 0x0020 0x0008 vd82n36uekt7 1 1 hidden-Y
      3,FF:FF:FF:FF:FF:[   58.676000] Set_Bh_Bss_Proc ra0 bandIdx = 1 ,DevOwnRole 0x0
      FF 8x ssw-pc-6dca7d 0x0020 0x0008 eab284ee 0 1 hidden-N
      4,FF:FF:FF:FF:FF:FF 8x e-mesh-a7f061 0x[   58.700000] Set_Fh_Bss_Proc ra0 wdev->MAPCfg.DevOwnRole 0x20
      0020 0x0008 vd82n36uekt7 1 1 hidden-Y
      5,FF:FF:FF:FF:FF:FF 12x 5[   58.724000] Set_Fh_Bss_Proc rax1 wdev->MAPCfg.DevOwnRole 0x0
      Gssw-pc-6dca7d 0x0020 0x0008 eab284ee 0 1 hidden-N
      6,FF:FF:FF:F[   58.744000] Set_Bh_Bss_Proc rax1 bandIdx = 0 ,DevOwnRole 0x0
      F:FF:FF 12x e-mesh-a7f061 0x0020 0x0008 vd82n36u[   58.768000] Set_Fh_Bss_Proc rax1 wdev->MAPCfg.DevOwnRole 0x20
      ekt7 1 1 hidden-Y
    
      [1905Daemon][pop_node_from_stack] pop_node[   58.788000] Set_Fh_Bss_Proc rax0 wdev->MAPCfg.DevOwnRole 0x0
      _from_stack, pop out_mac(04:ab:18:xx:xx:61), ban[   58.808000] Set_Bh_Bss_Proc rax0 bandIdx = 0 ,DevOwnRole 0x0
      d_cap = 00
      [1905Daemon][pop_node_from_stack] do[   58.828000] Set_Fh_Bss_Proc rax0 wdev->MAPCfg.DevOwnRole 0x20
       not renew to controller almac(04:ab:18:xx:xx:61) not exist
      [1905Daemon][determin_band_config] mac(04:ab:18:xx:xx:61) bsscap = 7
      [1905Daemon][determin_band_config] mac(04:ab:18:xx:xx:61) bsscap = 7
      [   58.892000] [PMF]APPMFInit:: apidx=0, MFPC=0, MFPR=0, SHA256=0
      [   58.904000] wifi_sys_linkdown(), wdev idx = 0
      [   58.904000] ExtEventBeaconLostHandler::FW LOG, Beacon lost (04:ab:18:xx:xx:64), Reason 0x10
      [   58.904000]   Beacon lost - AP disabled!!!
      [   58.940000] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
      [   58.964000] wifi_sys_close(), wdev idx = 0
      [   58.972000] wifi_sys_open(), wdev idx = 0
      [   58.980000] wdev_attr_update(): wdevId0 = 04:ab:18:xx:xx:64
      [   58.992000] rcUpdateBandForBFMU      PhyCtrl[0].RadioCtrl.IsBfBand = 0
      [   59.004000] rcUpdateBandForBFMU      PhyCtrl[1].RadioCtrl.IsBfBand = 1
      [   59.016000] TxBfModuleEnCtrl:i = 0, pRadioCtrl->IsBfBand = 0
      [   59.024000] TxBfModuleEnCtrl:i = 1, pRadioCtrl->IsBfBand = 1
      [   59.036000] TxBfModuleEnCtrl:u1BfNum = 1, u1BfBitmap = 1, u1BfSelBand[0] = 1
      [   59.052000] MtCmdSetDbdcCtrl:(ret = 0)
      [   59.060000]  [RadarStateCheck] RD_SILENCE_MODE  
      [   59.068000] [DfsCacNormalStart] CAC 65 seconds start . Disable MAC TX
      [   59.084000] [WrapDfsRadarDetectStart]: DfsChBand[0]: 1, DfsChBand[1]: 0
      [   59.096000] Caller: wlan_operate_init+0xf4/0x17c [mt_wifi]
      [   59.108000] phy_mode=49, ch=64, wdev_type=1
      [   59.116000] ht_cap->HtCapInfo: ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=1
      [   59.136000] ht_cap->HtCapParm: mdpu_density=5, ampdu_factor=3
      [   59.148000] wifi_sys_linkup(), wdev idx = 0
      [   59.156000] wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:127 for WDEV_TYPE:1
      [   59.156000]  LinkToOmacIdx = 0, LinkToWdevType = 1
      [   59.404000] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 8192, CmdBssInfoBmcRate.u2McTransmit = 8196
      [   59.428000] MtCmdSetDbdcCtrl:(ret = 0)
      [   59.436000] UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 0
      [   59.456000] Set_Fh_Bss_Proc ra0 wdev->MAPCfg.DevOwnRole 0x0
      [   59.476000] Set_Bh_Bss_Proc ra0 bandIdx = 1 ,DevOwnRole 0x0
      [   59.492000] Set_Fh_Bss_Proc ra0 wdev->MAPCfg.DevOwnRole 0x20
      [   59.544000] [PMF]APPMFInit:: apidx=1, MFPC=0, MFPR=0, SHA256=0
      [   59.556000] wifi_sys_linkdown(), wdev idx = 1
      [   59.556000] ExtEventBeaconLostHandler::FW LOG, Beacon lost (06:ab:18:xx:xx:64), Reason 0x10
      [   59.556000]   Beacon lost - AP disabled!!!
      [   59.588000] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
      [   59.612000] wifi_sys_close(), wdev idx = 1
      [   59.620000] wifi_sys_open(), wdev idx = 1
      [   59.628000] wdev_attr_update(): wdevId1 = 06:ab:18:xx:xx:64
      [   59.640000] rcUpdateBandForBFMU      PhyCtrl[0].RadioCtrl.IsBfBand = 0
      [   59.652000] rcUpdateBandForBFMU      PhyCtrl[1].RadioCtrl.IsBfBand = 1
      [   59.664000] TxBfModuleEnCtrl:i = 0, pRadioCtrl->IsBfBand = 0
      [   59.676000] TxBfModuleEnCtrl:i = 1, pRadioCtrl->IsBfBand = 1
      [   59.688000] TxBfModuleEnCtrl:u1BfNum = 1, u1BfBitmap = 1, u1BfSelBand[0] = 1
      [   59.704000] MtCmdSetDbdcCtrl:(ret = 0)
      [   59.712000]  [RadarStateCheck] RD_SILENCE_MODE  
      [   59.720000] [DfsCacNormalStart] CAC 65 seconds start . Disable MAC TX
      [   59.740000] [WrapDfsRadarDetectStart]: DfsChBand[0]: 1, DfsChBand[1]: 0
      [   59.752000] Caller: wlan_operate_init+0xf4/0x17c [mt_wifi]
      [   59.764000] phy_mode=49, ch=64, wdev_type=1
      [   59.772000] ht_cap->HtCapInfo: ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=1
      [   59.792000] ht_cap->HtCapParm: mdpu_density=5, ampdu_factor=3
      [   59.804000] wifi_sys_linkup(), wdev idx = 1
      [   59.812000] wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:125 for WDEV_TYPE:1
      [   59.812000]  LinkToOmacIdx = 11, LinkToWdevType = 1
      [   59.972000] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 8192, CmdBssInfoBmcRate.u2McTransmit = 8196
      [   59.996000] MtCmdSetDbdcCtrl:(ret = 0)
      [   60.004000] UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 11
      [   60.028000] Set_Fh_Bss_Proc ra1 wdev->MAPCfg.DevOwnRole 0x0
      [   60.052000] Set_Bh_Bss_Proc ra1 bandIdx = 1 ,DevOwnRole 0x0
      [   60.068000] Set_Fh_Bss_Proc ra1 wdev->MAPCfg.DevOwnRole 0x20
      [   60.088000] Set_Bh_Bss_Proc ra1 bandIdx = 1 ,DevOwnRole 0x60
      [   60.208000] [PMF]APPMFInit:: apidx=2, MFPC=0, MFPR=0, SHA256=0
      [   60.220000] wifi_sys_linkdown(), wdev idx = 2
      [   60.220000] ExtEventBeaconLostHandler::FW LOG, Beacon lost (04:ab:18:xx:xx:63), Reason 0x10
      [   60.220000]   Beacon lost - AP disabled!!!
      [   60.256000] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
      [   60.280000] wifi_sys_close(), wdev idx = 2
      [   60.288000] wifi_sys_open(), wdev idx = 2
      [   60.296000] wdev_attr_update(): wdevId2 = 04:ab:18:xx:xx:63
      [   60.308000] rcUpdateBandForBFMU      PhyCtrl[0].RadioCtrl.IsBfBand = 0
      [   60.320000] rcUpdateBandForBFMU      PhyCtrl[1].RadioCtrl.IsBfBand = 1
      [   60.332000] TxBfModuleEnCtrl:i = 0, pRadioCtrl->IsBfBand = 0
      [   60.344000] TxBfModuleEnCtrl:i = 1, pRadioCtrl->IsBfBand = 1
      [   60.352000] TxBfModuleEnCtrl:u1BfNum = 1, u1BfBitmap = 1, u1BfSelBand[0] = 1
      [   60.368000] MtCmdSetDbdcCtrl:(ret = 0)
      [   60.376000] Caller: wlan_operate_init+0xf4/0x17c [mt_wifi]
      [   60.388000] phy_mode=14, ch=4, wdev_type=1
      [   60.396000] ht_cap->HtCapInfo: ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=1
      [   60.412000] ht_cap->HtCapParm: mdpu_density=5, ampdu_factor=3
      [   60.424000] wifi_sys_linkup(), wdev idx = 2
      [   60.432000] wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:126 for WDEV_TYPE:1
      [   60.432000]  LinkToOmacIdx = 12, LinkToWdevType = 1
      [   60.588000] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
      [   60.612000] MtCmdSetDbdcCtrl:(ret = 0)
      [   60.620000] UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 12
      [   60.640000] Set_Fh_Bss_Proc rax0 wdev->MAPCfg.DevOwnRole 0x0
      [   60.656000] Set_Bh_Bss_Proc rax0 bandIdx = 0 ,DevOwnRole 0x0
      [   60.676000] Set_Fh_Bss_Proc rax0 wdev->MAPCfg.DevOwnRole 0x20
      ----- MAP DEVICE STARTED -----
      [   60.724000] [PMF]APPMFInit:: apidx=3, MFPC=0, MFPR=0, SHA256=0
      [   60.736000] wifi_sys_linkdown(), wdev idx = 3
      [   60.748000] ExtEventBeaconLostHandler::FW LOG, Beacon lost (06:ab:18:xx:xx:64), Reason 0x10
      [   60.764000]   Beacon lost - AP disabled!!!
      [   60.772000] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
      [   60.796000] wifi_sys_close(), wdev idx = 3
      [   60.804000] wifi_sys_open(), wdev idx = 3
      [   60.812000] wdev_attr_update(): wdevId3 = 06:ab:18:xx:xx:64
      [   60.824000] rcUpdateBandForBFMU      PhyCtrl[0].RadioCtrl.IsBfBand = 0
      [   60.836000] rcUpdateBandForBFMU      PhyCtrl[1].RadioCtrl.IsBfBand = 1
      [   60.848000] TxBfModuleEnCtrl:i = 0, pRadioCtrl->IsBfBand = 0
      [   60.860000] TxBfModuleEnCtrl:i = 1, pRadioCtrl->IsBfBand = 1
      [   60.868000] TxBfModuleEnCtrl:u1BfNum = 1, u1BfBitmap = 1, u1BfSelBand[0] = 1
      [   60.884000] MtCmdSetDbdcCtrl:(ret = 0)
      [   60.892000] Caller: wlan_operate_init+0xf4/0x17c [mt_wifi]
      [   60.904000] phy_mode=14, ch=4, wdev_type=1
      [   60.912000] ht_cap->HtCapInfo: ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=1
      [   60.928000] ht_cap->HtCapParm: mdpu_density=5, ampdu_factor=3
      [   60.940000] wifi_sys_linkup(), wdev idx = 3
      [   60.948000] wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:124 for WDEV_TYPE:1
      [   60.948000]  LinkToOmacIdx = 13, LinkToWdevType = 1
      [   61.104000] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
      [   61.128000] MtCmdSetDbdcCtrl:(ret = 0)
      [   61.136000] UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 13
      [   61.156000] Set_Fh_Bss_Proc rax1 wdev->MAPCfg.DevOwnRole 0x0
      [   61.176000] Set_Bh_Bss_Proc rax1 bandIdx = 0 ,DevOwnRole 0x0
      [   61.196000] Set_Fh_Bss_Proc rax1 wdev->MAPCfg.DevOwnRole 0x20
      [   61.216000] Set_Bh_Bss_Proc rax1 bandIdx = 0 ,DevOwnRole 0x60
      start ddns
    
      add_cron
      add_cron data
      74.64 230.61
      FC start
      FC Disable
      109.24 364.75
    

炊飯器で小豆羊羹トライ

小豆餡の炊飯器レシピを雑に変えたやつ

2024/03/21: 2回目は小豆250gで作っていい感じになったのでレシピ改訂

材料

手順

  1. 小豆を炊飯器の内釜に入れ、水洗いして3合分まで水を入れて炊飯
  2. 炊飯終了後、折った棒寒天を水洗いして水気を絞り、砂糖を投入して混ぜて溶かしてから寒天をちぎって投入
  3. 沸かしたお湯を3合分まで継ぎ足して多少混ぜる
  4. 再度炊飯
  5. 炊飯終了後タッパー等に取り分けて冷蔵庫に投入し冷却

備考

  • 1回目の炊飯終了後に足す熱湯が水でもいいかは未テスト
  • 2回目の炊飯は1回目よりも時間を要した



(以下旧レシピ、出来上がり豆が硬め)

材料

  • 小豆: 200g
  • 砂糖: 上白糖150か160g
    • 分量どちらだったか忘れた
  • 寒天: 棒寒天5g
  • 水: 炊飯器内釜2合分(小豆分含む)+ 200ml

手順

  1. 小豆を炊飯器の内釜に入れ、水洗いして2合分ちょっとまで水を入れて炊飯
  2. 炊飯後折った棒寒天を水洗いして水気を絞り、砂糖を投入して混ぜて溶かしてから寒天をちぎって投入し多少混ぜる
  3. 水を200ml投入
  4. 再度炊飯
  5. タッパー等に取り分けて冷蔵庫に投入し冷却

備考

  • 記事を書いた時点ではまだ冷却中で、出来上がりは不明
    • 出来上がりに不満有れば多少追加でレシピ弄って試行錯誤する
    • 食べた結果豆が硬くてバランスが取れていないから、砂糖投入前の炊飯はもう1周回した方が良さそう
  • 普段小豆餡は砂糖140gだけど、羊羹の関係上水分量が多いので、その分多少増やした
    • 食べた結果甘さが控えめで、これはこれでアリだけどもう20~40gくらい個人的には増やしてもいいかもしれない
  • 炊飯器内でかき混ぜるのには通常のしゃもじを使った
    • スプーン等だとたぶん内釜のコーティング類が傷つく
  • しゃもじや内釜など、こびりついたものは冷えるとすぐ固まってしまうので、取り分けたら冷める前に手早くキッチンペーパー等で拭き取って洗う
  • イオンの180mlタッパーで3個と半分弱くらいになった