Closed lgs2007m closed 1 year ago
大佬新年好,我想尝试硬改红米AX6000的USB2.0,现在想先搞个固件,用大佬的源码编译,按openwrt的方法加入USB内核和驱动,但是系统日志报时钟不稳定错误xhci-mtk 11200000.xhci: clocks are not stable (0x3d0f),ssh登录输入lsusb命令报不能初始化错误unable to initialize libusb: -99
提取查看编译固件的DTS时钟和红米AX6000官方固件的DTS、BPI-R3、XDR6086这些好像没有区别,找不出问题所在。
大佬是否有兴趣有空帮看看?谢谢了~
[ 0.853907] phy phy-usb-phy@11e10000.1: try to get sw efuse [ 0.859472] phy phy-usb-phy@11e10000.1: try to get sw efuse+ [ 0.865127] phy phy-usb-phy@11e10000.1: u2 auto load valid efuse: ENABLE with value: 0 [ 0.873027] phy phy-usb-phy@11e10000.1: u2 efuse - intr 13 [ 0.878502] phy phy-usb-phy@11e10000.2: try to get sw efuse [ 0.884057] phy phy-usb-phy@11e10000.2: try to get sw efuse+ [ 0.889705] phy phy-usb-phy@11e10000.2: u3 auto load valid efuse: ENABLE with value: 0 [ 0.897621] phy phy-usb-phy@11e10000.2: u3 efuse - intr 29, rx_imp f, tx_imp f [ 0.904829] phy phy-usb-phy@11e10000.3: try to get sw efuse [ 0.910384] phy phy-usb-phy@11e10000.3: try to get sw efuse+ [ 0.916031] phy phy-usb-phy@11e10000.3: u2 auto load valid efuse: ENABLE with value: 0 [ 0.923933] phy phy-usb-phy@11e10000.3: u2 efuse - intr 12 [ 0.929411] phy_efuse_set set efuse intr 13 [ 0.933622] phy_efuse_set set efuse, tx_imp f, rx_imp f intr 29 [ 0.939563] phy_efuse_set set efuse intr 12 [ 0.944263] xhci-mtk 11200000.xhci: xHCI Host Controller [ 0.949661] xhci-mtk 11200000.xhci: new USB bus registered, assigned bus number 1 [ 0.977226] xhci-mtk 11200000.xhci: clocks are not stable (0x3d0f) [ 0.983391] xhci-mtk 11200000.xhci: can't setup: -110 [ 0.988429] xhci-mtk 11200000.xhci: USB bus 1 deregistered [ 0.994007] xhci-mtk: probe of 11200000.xhci failed with error -110 [ 1.000388] usbcore: registered new interface driver uas [ 1.005716] usbcore: registered new interface driver usb-storage
root@ImmortalWrt:~# lsusb unable to initialize libusb: -99 root@ImmortalWrt:~# opkg list-installed | grep usb kmod-usb-core - 5.4.225-1 kmod-usb-ehci - 5.4.225-1 kmod-usb-ohci - 5.4.225-1 kmod-usb-storage - 5.4.225-1 kmod-usb-storage-extras - 5.4.225-1 kmod-usb-storage-uas - 5.4.225-1 kmod-usb-uhci - 5.4.225-1 kmod-usb2 - 5.4.225-1 kmod-usb3 - 5.4.225-1 libusb-1.0-0 - 1.0.24-4 libusb-compat4 - 0.1.7-2 usbids - 0.359-1 usbutils - 013-2 root@ImmortalWrt:~# lsmod | grep hci ehci_fsl 16384 0 ehci_hcd 57344 2 ehci_platform,ehci_fsl ehci_platform 16384 0 ohci_hcd 45056 1 ohci_platform ohci_platform 16384 0 uhci_hcd 36864 0 xhci_plat_hcd 16384 0 root@ImmortalWrt:~# lsmod | grep usb ums_usbat 20480 0
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 5.4.225 (test@VUbuntu) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r19998-d91d2a8f42)) #0 SMP Wed Jan 11 13:09:21 2023 [ 0.000000] Machine model: Xiaomi Redmi Router AX6000 [ 0.000000] On node 0 totalpages: 523280 [ 0.000000] DMA32 zone: 8192 pages used for memmap [ 0.000000] DMA32 zone: 0 pages reserved [ 0.000000] DMA32 zone: 523280 pages, LIFO batch:63 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.1 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] psci: SMC Calling Convention v1.0 [ 0.000000] percpu: Embedded 20 pages/cpu s44056 r8192 d29672 u81920 [ 0.000000] pcpu-alloc: s44056 r8192 d29672 u81920 alloc=20*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: detected: GIC system register CPU interface [ 0.000000] CPU features: kernel page table isolation disabled by kernel configuration [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 515088 [ 0.000000] Kernel command line: console=ttyS0,115200n1 loglevel=8 firmware=0 factory_mode=1 uart_en=1 [ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear) [ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 2042088K/2093120K available (7230K kernel code, 528K rwdata, 2020K rodata, 448K init, 290K bss, 51032K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] rcu: Hierarchical RCU implementation. [ 0.000000] rcu: CONFIG_RCU_FANOUT set to non-default value of 32. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode [ 0.000000] GICv3: 640 SPIs implemented [ 0.000000] GICv3: 0 Extended SPIs implemented [ 0.000000] GICv3: Distributor has no Range Selector support [ 0.000000] GICv3: 16 PPIs implemented [ 0.000000] GICv3: no VLPI support, no direct LPI support [ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x000000000c080000 [ 0.000000] arch_timer: cp15 timer(s) running at 13.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2ff89eacb, max_idle_ns: 440795202429 ns [ 0.000002] sched_clock: 56 bits at 13MHz, resolution 76ns, wraps every 4398046511101ns [ 0.000139] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=52000) [ 0.000144] pid_max: default: 32768 minimum: 301 [ 0.000219] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.000231] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.001025] ASID allocator initialised with 65536 entries [ 0.001068] rcu: Hierarchical SRCU implementation. [ 0.001342] smp: Bringing up secondary CPUs ... [ 0.001573] Detected VIPT I-cache on CPU1 [ 0.001592] GICv3: CPU1: found redistributor 1 region 0:0x000000000c0a0000 [ 0.001615] CPU1: Booted secondary processor 0x0000000001 [0x410fd034] [ 0.001861] Detected VIPT I-cache on CPU2 [ 0.001870] GICv3: CPU2: found redistributor 2 region 0:0x000000000c0c0000 [ 0.001877] CPU2: Booted secondary processor 0x0000000002 [0x410fd034] [ 0.002101] Detected VIPT I-cache on CPU3 [ 0.002108] GICv3: CPU3: found redistributor 3 region 0:0x000000000c0e0000 [ 0.002115] CPU3: Booted secondary processor 0x0000000003 [0x410fd034] [ 0.002143] smp: Brought up 1 node, 4 CPUs [ 0.002153] SMP: Total of 4 processors activated. [ 0.002156] CPU features: detected: 32-bit EL0 Support [ 0.002159] CPU features: detected: CRC32 instructions [ 0.002245] CPU: All CPU(s) started at EL2 [ 0.002254] alternatives: patching kernel code [ 0.004452] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.004475] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.004581] pinctrl core: initialized pinctrl subsystem [ 0.005086] NET: Registered protocol family 16 [ 0.005271] DMA: preallocated 256 KiB pool for atomic allocations [ 0.005941] pstore: Registered ramoops as persistent store backend [ 0.005948] ramoops: using 0x10000@0x42ff0000, ecc: 0 [ 0.013643] cryptd: max_cpu_qlen set to 1000 [ 0.015051] SCSI subsystem initialized [ 0.015155] libata version 3.00 loaded. [ 0.015306] usbcore: registered new interface driver usbfs [ 0.015331] usbcore: registered new interface driver hub [ 0.015355] usbcore: registered new device driver usb [ 0.016025] Bluetooth: Core ver 2.22 [ 0.016049] NET: Registered protocol family 31 [ 0.016055] Bluetooth: HCI device and connection manager initialized [ 0.016062] Bluetooth: HCI socket layer initialized [ 0.016066] Bluetooth: L2CAP socket layer initialized [ 0.016074] Bluetooth: SCO socket layer initialized [ 0.016782] rbus 18000000.wbsys: PCI host bridge to bus 0000:00 [ 0.016790] pci_bus 0000:00: root bus resource [mem 0x18000000-0x18ffffff] [ 0.016796] pci_bus 0000:00: root bus resource [bus 00-ff] [ 0.016800] pci_bus 0000:00: scanning bus [ 0.016815] pci 0000:00:00.0: [14c3:7986] type 00 class 0x000280 [ 0.016828] pci 0000:00:00.0: reg 0x10: [mem 0x18000000-0x1800000f 64bit] [ 0.016833] pci 0000:00:00.0: reg 0x18: [mem 0x00000000-0x0000000f] [ 0.016837] pci 0000:00:00.0: reg 0x1c: [mem 0x00000000-0x0000000f] [ 0.016841] pci 0000:00:00.0: reg 0x20: [mem 0x00000000-0x0000000f] [ 0.016845] pci 0000:00:00.0: reg 0x24: [mem 0x00000000-0x0000000f] [ 0.017615] pci_bus 0000:00: fixups for bus [ 0.017619] pci_bus 0000:00: bus scan returning with max=00 [ 0.017930] clocksource: Switched to clocksource arch_sys_counter [ 0.018379] thermal_sys: Registered thermal governor 'fair_share' [ 0.018381] thermal_sys: Registered thermal governor 'bang_bang' [ 0.018386] thermal_sys: Registered thermal governor 'step_wise' [ 0.018388] thermal_sys: Registered thermal governor 'user_space' [ 0.018391] thermal_sys: Registered thermal governor 'power_allocator' [ 0.018597] NET: Registered protocol family 2 [ 0.018716] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 0.019271] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear) [ 0.019294] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.019360] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear) [ 0.019520] TCP: Hash tables configured (established 16384 bind 16384) [ 0.019591] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 0.019617] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 0.019715] NET: Registered protocol family 1 [ 0.019740] PCI: CLS 0 bytes, default 64 [ 0.020454] workingset: timestamp_bits=46 max_order=19 bucket_order=0 [ 0.022705] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.022714] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.031252] NET: Registered protocol family 38 [ 0.040418] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled [ 0.040901] printk: console [ttyS0] disabled [ 0.061044] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 11, base_baud = 2500000) is a ST16650V2 [ 0.744168] printk: console [ttyS0] enabled [ 0.748882] mtk_rng 1020f000.trng: registered RNG driver [ 0.749095] random: crng init done [ 0.754298] cacheinfo: Unable to detect cache hierarchy for CPU 0 [ 0.765249] loop: module loaded [ 0.770464] spi-nand spi0.1: calibration result: 0x3 [ 0.775497] spi-nand spi0.1: Toshiba SPI NAND was found. [ 0.780806] spi-nand spi0.1: 512 MiB, block size: 256 KiB, page size: 4096, OOB size: 256 [ 0.790809] [mtk_hw_init] reset_lock:0, force:0 [ 0.795359] [mtk_hw_init] execute fe cold reset [ 0.811082] mtk_soc_eth 15100000.ethernet: generated random MAC address 0e:8d:9a:4b:2b:14 [ 0.819479] mtk_soc_eth 15100000.ethernet eth0: mediatek frame engine at 0xffffffc011c00000, irq 119 [ 0.828609] mtk_soc_eth 15100000.ethernet: generated random MAC address 86:77:e7:99:e4:98 [ 0.836933] mtk_soc_eth 15100000.ethernet eth1: mediatek frame engine at 0xffffffc011c00000, irq 119 [ 0.846047] (unnamed net_device) (dummy): netif_napi_add() called with weight 256 [ 0.853907] phy phy-usb-phy@11e10000.1: try to get sw efuse [ 0.859472] phy phy-usb-phy@11e10000.1: try to get sw efuse+ [ 0.865127] phy phy-usb-phy@11e10000.1: u2 auto load valid efuse: ENABLE with value: 0 [ 0.873027] phy phy-usb-phy@11e10000.1: u2 efuse - intr 13 [ 0.878502] phy phy-usb-phy@11e10000.2: try to get sw efuse [ 0.884057] phy phy-usb-phy@11e10000.2: try to get sw efuse+ [ 0.889705] phy phy-usb-phy@11e10000.2: u3 auto load valid efuse: ENABLE with value: 0 [ 0.897621] phy phy-usb-phy@11e10000.2: u3 efuse - intr 29, rx_imp f, tx_imp f [ 0.904829] phy phy-usb-phy@11e10000.3: try to get sw efuse [ 0.910384] phy phy-usb-phy@11e10000.3: try to get sw efuse+ [ 0.916031] phy phy-usb-phy@11e10000.3: u2 auto load valid efuse: ENABLE with value: 0 [ 0.923933] phy phy-usb-phy@11e10000.3: u2 efuse - intr 12 [ 0.929411] phy_efuse_set set efuse intr 13 [ 0.933622] phy_efuse_set set efuse, tx_imp f, rx_imp f intr 29 [ 0.939563] phy_efuse_set set efuse intr 12 [ 0.944263] xhci-mtk 11200000.xhci: xHCI Host Controller [ 0.949661] xhci-mtk 11200000.xhci: new USB bus registered, assigned bus number 1 [ 0.977226] xhci-mtk 11200000.xhci: clocks are not stable (0x3d0f) [ 0.983391] xhci-mtk 11200000.xhci: can't setup: -110 [ 0.988429] xhci-mtk 11200000.xhci: USB bus 1 deregistered [ 0.994007] xhci-mtk: probe of 11200000.xhci failed with error -110 [ 1.000388] usbcore: registered new interface driver uas [ 1.005716] usbcore: registered new interface driver usb-storage [ 1.011780] i2c /dev entries driver [ 1.015998] mtk-wdt 1001c000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0) [ 1.023892] device-mapper: ioctl: 4.41.0-ioctl (2019-09-16) initialised: dm-devel@redhat.com [ 1.032382] Bluetooth: HCI UART driver ver 2.3 [ 1.036819] Bluetooth: HCI UART protocol H4 registered [ 1.041951] Bluetooth: HCI UART protocol BCSP registered [ 1.047299] Bluetooth: HCI UART protocol Broadcom registered [ 1.052952] Bluetooth: HCI UART protocol QCA registered [ 1.058520] crypto-safexcel 10320000.crypto: EIP97:230(0,1,4,4)-HIA:270(0,5,5),PE:150/433(alg:7fcdfc00)/0/0/0 [ 1.071334] Initializing XFRM netlink socket [ 1.075842] NET: Registered protocol family 10 [ 1.080752] Segment Routing with IPv6 [ 1.084457] NET: Registered protocol family 17 [ 1.088920] Bridge firewalling registered [ 1.092971] 8021q: 802.1Q VLAN Support v1.8 [ 1.097626] pstore: Using crash dump compression: deflate [ 1.109500] nmbm nmbm_spim_nand: Signature found at block 2047 [0x1ffc0000] [ 1.117561] nmbm nmbm_spim_nand: First info table with writecount 2 found in block 1984 [ 1.128771] nmbm nmbm_spim_nand: Second info table with writecount 2 found in block 1987 [ 1.136847] nmbm nmbm_spim_nand: NMBM has been successfully attached [ 1.143421] 8 fixed-partitions partitions found on MTD device nmbm_spim_nand [ 1.150452] Creating 8 MTD partitions on "nmbm_spim_nand": [ 1.155923] 0x000000000000-0x000000100000 : "BL2" [ 1.161043] 0x000000100000-0x000000140000 : "Nvram" [ 1.166219] 0x000000140000-0x000000180000 : "Bdata" [ 1.171366] 0x000000180000-0x000000380000 : "Factory" [ 1.176719] 0x000000380000-0x000000580000 : "FIP" [ 1.181712] 0x000000580000-0x0000005c0000 : "crash" [ 1.186870] 0x0000005c0000-0x000000600000 : "crash_log" [ 1.192368] 0x000000600000-0x00001f000000 : "ubi" [ 1.758200] mt753x gsw@0: Switch is MediaTek MT7531AE rev 1 [ 1.767615] mt753x gsw@0: HWSTRAP=0xff XTAL=25MHz [ 4.016302] mt753x gsw@0: >>>>>>>>>>>>>>>>>>>>>>>>>>>>> START CALIBRATION: [ 4.024271] mt753x gsw@0: -------- gephy-calbration (port:0) -------- [ 4.039461] CALDLY = 40 [ 4.086385] 0x1e-e0 = 2727 [ 4.090777] 0x1f-115 = 4 [ 4.093294] GE Rext AnaCal Done! (7)(0x27) [ 4.152768] GE R50 AnaCal Done! (9) (0x34)(0xb4) [ 4.203093] GE R50 AnaCal Done! (8) (0x35)(0xb5) [ 4.253420] GE R50 AnaCal Done! (8) (0x35)(0xb5) [ 4.308296] GE R50 AnaCal Done! (9) (0x34)(0xb4) [ 4.316050] GE 1e_174(0xb4b5), 1e_175(0xb5b4) [ 4.362387] GE Tx offset AnaCal Done! (pair-0)(4)(0x23) 0x1e_172=0x2320 [ 4.414534] GE Tx offset AnaCal Done! (pair-1)(8)(0x27) 0x1e_172=0x2327 [ 4.448478] GE Tx offset AnaCal Done! (pair-2)(4)(0x23) 0x1e_173=0x2320 [ 4.486975] GE Tx offset AnaCal Done! (pair-3)(5)(0x24) 0x1e_173=0x2324 [ 4.588656] GE Tx amp AnaCal Done! (pair-0)(1e_12 = 0x781e) [ 4.670653] GE Tx amp AnaCal Done! (pair-1)(1e_17 = 0x2121) [ 4.705181] GE Tx amp AnaCal Done! (pair-2)(1e_19 = 0x141c) [ 4.773650] GE Tx amp AnaCal Done! (pair-3)(1e_21 = 0x1f27) [ 4.820314] PORT 0 RX_DC_OFFSET [ 4.832968] before pairA output = 1d [ 4.838310] after pairA output = fe [ 4.843484] before pairB output = f [ 4.848739] after pairB output = ff [ 4.853915] before pairC output = 1d [ 4.859257] after pairC output = ff [ 4.864434] before pairD output = 1e [ 4.869775] after pairD output = 0 [ 4.873418] mt753x gsw@0: -------- gephy-calbration (port:1) -------- [ 4.888605] CALDLY = 40 [ 4.946119] GE R50 AnaCal Done! (10) (0x32)(0xb2) [ 4.996531] GE R50 AnaCal Done! (8) (0x35)(0xb5) [ 5.051406] GE R50 AnaCal Done! (9) (0x34)(0xb4) [ 5.110833] GE R50 AnaCal Done! (10) (0x32)(0xb2) [ 5.118674] GE 1e_174(0xb2b5), 1e_175(0xb4b2) [ 5.165008] GE Tx offset AnaCal Done! (pair-0)(4)(0x23) 0x1e_172=0x2320 [ 5.185301] GE Tx offset AnaCal Done! (pair-1)(1)(0x1) 0x1e_172=0x2301 [ 5.214608] GE Tx offset AnaCal Done! (pair-2)(3)(0x22) 0x1e_173=0x2220 [ 5.248552] GE Tx offset AnaCal Done! (pair-3)(4)(0x23) 0x1e_173=0x2223 [ 5.327605] GE Tx amp AnaCal Done! (pair-0)(1e_12 = 0x6c1b) [ 5.364344] GE Tx amp AnaCal Done! (pair-1)(1e_17 = 0x1a1a) [ 5.421499] GE Tx amp AnaCal Done! (pair-2)(1e_19 = 0x1d25) [ 5.461682] GE Tx amp AnaCal Done! (pair-3)(1e_21 = 0x1a22) [ 5.508345] PORT 1 RX_DC_OFFSET [ 5.520999] before pairA output = e [ 5.526254] after pairA output = 1 [ 5.531340] before pairB output = 1d [ 5.536682] after pairB output = ff [ 5.541857] before pairC output = 1d [ 5.547199] after pairC output = 0 [ 5.552287] before pairD output = f [ 5.557542] after pairD output = 1 [ 5.561185] mt753x gsw@0: -------- gephy-calbration (port:2) -------- [ 5.576372] CALDLY = 40 [ 5.633884] GE R50 AnaCal Done! (10) (0x32)(0xb2) [ 5.688847] GE R50 AnaCal Done! (9) (0x34)(0xb4) [ 5.743724] GE R50 AnaCal Done! (9) (0x34)(0xb4) [ 5.794051] GE R50 AnaCal Done! (8) (0x35)(0xb5) [ 5.801804] GE 1e_174(0xb2b4), 1e_175(0xb4b5) [ 5.852688] GE Tx offset AnaCal Done! (pair-0)(5)(0x24) 0x1e_172=0x2420 [ 5.891185] GE Tx offset AnaCal Done! (pair-1)(5)(0x24) 0x1e_172=0x2424 [ 5.925128] GE Tx offset AnaCal Done! (pair-2)(4)(0x23) 0x1e_173=0x2320 [ 5.945421] GE Tx offset AnaCal Done! (pair-3)(1)(0x1) 0x1e_173=0x2301 [ 6.007418] GE Tx amp AnaCal Done! (pair-0)(1e_12 = 0x6419) [ 6.078102] GE Tx amp AnaCal Done! (pair-1)(1e_17 = 0x1f1f) [ 6.146568] GE Tx amp AnaCal Done! (pair-2)(1e_19 = 0x2028) [ 6.226352] GE Tx amp AnaCal Done! (pair-3)(1e_21 = 0x2129) [ 6.273015] PORT 2 RX_DC_OFFSET [ 6.285668] before pairA output = f [ 6.290923] after pairA output = 0 [ 6.296013] before pairB output = 1e [ 6.301354] after pairB output = 1 [ 6.306443] before pairC output = 1e [ 6.311784] after pairC output = 0 [ 6.316872] before pairD output = d [ 6.322128] after pairD output = 0 [ 6.325768] mt753x gsw@0: -------- gephy-calbration (port:3) -------- [ 6.340954] CALDLY = 40 [ 6.398465] GE R50 AnaCal Done! (10) (0x32)(0xb2) [ 6.448878] GE R50 AnaCal Done! (8) (0x35)(0xb5) [ 6.503753] GE R50 AnaCal Done! (9) (0x34)(0xb4) [ 6.558629] GE R50 AnaCal Done! (9) (0x34)(0xb4) [ 6.566383] GE 1e_174(0xb2b5), 1e_175(0xb4b4) [ 6.612717] GE Tx offset AnaCal Done! (pair-0)(4)(0x23) 0x1e_172=0x2320 [ 6.633009] GE Tx offset AnaCal Done! (pair-1)(1)(0x1) 0x1e_172=0x2301 [ 6.685068] GE Tx offset AnaCal Done! (pair-2)(8)(0x27) 0x1e_173=0x2720 [ 6.714461] GE Tx offset AnaCal Done! (pair-3)(3)(0x22) 0x1e_173=0x2722 [ 6.793513] GE Tx amp AnaCal Done! (pair-0)(1e_12 = 0x701c) [ 6.830254] GE Tx amp AnaCal Done! (pair-1)(1e_17 = 0x1616) [ 6.915692] GE Tx amp AnaCal Done! (pair-2)(1e_19 = 0x232b) [ 6.961533] GE Tx amp AnaCal Done! (pair-3)(1e_21 = 0x1c24) [ 7.008196] PORT 3 RX_DC_OFFSET [ 7.020849] before pairA output = 1d [ 7.026191] after pairA output = fe [ 7.031366] before pairB output = f [ 7.036621] after pairB output = ff [ 7.041796] before pairC output = 1e [ 7.047139] after pairC output = 0 [ 7.052228] before pairD output = f [ 7.057483] after pairD output = ff [ 7.061214] mt753x gsw@0: -------- gephy-calbration (port:4) -------- [ 7.076400] CALDLY = 40 [ 7.129363] GE R50 AnaCal Done! (9) (0x34)(0xb4) [ 7.179690] GE R50 AnaCal Done! (8) (0x35)(0xb5) [ 7.220915] GE R50 AnaCal Done! (6) (0x40)(0xc0) [ 7.266691] GE R50 AnaCal Done! (7) (0x37)(0xb7) [ 7.274445] GE 1e_174(0xb4b5), 1e_175(0xc0b7) [ 7.338981] GE Tx offset AnaCal Done! (pair-0)(8)(0x27) 0x1e_172=0x2720 [ 7.377474] GE Tx offset AnaCal Done! (pair-1)(5)(0x24) 0x1e_172=0x2724 [ 7.397766] GE Tx offset AnaCal Done! (pair-2)(1)(0x20) 0x1e_173=0x2020 [ 7.445364] GE Tx offset AnaCal Done! (pair-3)(7)(0x26) 0x1e_173=0x2026 [ 7.524418] GE Tx amp AnaCal Done! (pair-0)(1e_12 = 0x701c) [ 7.589443] GE Tx amp AnaCal Done! (pair-1)(1e_17 = 0x1010) [ 7.663568] GE Tx amp AnaCal Done! (pair-2)(1e_19 = 0xf17) [ 7.709324] GE Tx amp AnaCal Done! (pair-3)(1e_21 = 0x141c) [ 7.755987] PORT 4 RX_DC_OFFSET [ 7.768642] before pairA output = e [ 7.773896] after pairA output = ff [ 7.779072] before pairB output = f [ 7.784327] after pairB output = 0 [ 7.789416] before pairC output = d [ 7.794671] after pairC output = fe [ 7.799847] before pairD output = e [ 7.805102] after pairD output = ff [ 7.813698] UBI: auto-attach mtd8 [ 7.817013] ubi0: attaching mtd8 [ 8.820804] ubi0: scanning is finished [ 8.828279] ubi0: attached mtd8 (name "ubi", size 490 MiB) [ 8.833762] ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 253952 bytes [ 8.840620] ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 4096 [ 8.847387] ubi0: VID header offset: 4096 (aligned 4096), data offset: 8192 [ 8.854329] ubi0: good PEBs: 1960, bad PEBs: 0, corrupted PEBs: 0 [ 8.860403] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128 [ 8.867604] ubi0: max/mean erase counter: 23/19, WL threshold: 4096, image sequence number: 0 [ 8.876105] ubi0: available PEBs: 0, total reserved PEBs: 1960, PEBs reserved for bad PEB handling: 39 [ 8.885391] ubi0: background thread "ubi_bgt0d" started, PID 803 [ 8.891954] block ubiblock0_1: created from ubi0:1(rootfs) [ 8.897427] ubiblock: device ubiblock0_1 (rootfs) set to be root filesystem [ 8.904373] hctosys: unable to open rtc device (rtc0) [ 8.912549] VFS: Mounted root (squashfs filesystem) readonly on device 253:0. [ 8.919841] Freeing unused kernel memory: 448K [ 8.945957] Run /sbin/init as init process [ 9.069076] init: Console is alive [ 9.072580] init: - watchdog - [ 9.429669] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 9.453797] conninfra@(mtk_conninfra_drv_init:644) Before platform_driver_register [ 9.461478] Get Index(0-TOP_MISC_BASE) phy_addr(0x11d10000) vir_addr=(0xffffffc010b9d000) size=(0x1000) [ 9.470850] Get Index(1-TOPRGU_BASE) phy_addr(0x1001c000) vir_addr=(0xffffffc010bc5000) size=(0x1000) [ 9.480046] Get Index(2-GPIO_BASE) phy_addr(0x1001f000) vir_addr=(0xffffffc010bc7000) size=(0x1000) [ 9.489068] Get Index(3-IOCFG_TR_BASE) phy_addr(0x11f00000) vir_addr=(0xffffffc010bc9000) size=(0x1000) [ 9.498437] Get Index(4-IOCFG_TL_BASE) phy_addr(0x11f10000) vir_addr=(0xffffffc010bcb000) size=(0x1000) [ 9.507805] Get Index(5-INFRACFG_AO_BASE) phy_addr(0x10003000) vir_addr=(0xffffffc010bcd000) size=(0x1000) [ 9.517434] Get Index(6-CONN_INFRA_CFG_BASE) phy_addr(0x18001000) vir_addr=(0xffffffc010bd5000) size=(0x1000) [ 9.527323] Get Index(7-CONN_INFRA_SYSRAM_BASE) phy_addr(0x18050000) vir_addr=(0xffffffc010bd7000) size=(0x1000) [ 9.537472] Get Index(8-CONN_INFRA_CLKGEN_ON_TOP_BASE) phy_addr(0x18009000) vir_addr=(0xffffffc010bd9000) size=(0x1000) [ 9.548229] Get Index(9-CONN_HOST_CSR_TOP_BASE) phy_addr(0x18060000) vir_addr=(0xffffffc010bdb000) size=(0x1000) [ 9.558378] Get Index(10-CONN_INFRA_BUS_CR_BASE) phy_addr(0x1800e000) vir_addr=(0xffffffc010bdd000) size=(0x1000) [ 9.568613] Get Index(11-CONN_INFRA_RGU_BASE) phy_addr(0x18000000) vir_addr=(0xffffffc010be5000) size=(0x1000) [ 9.578591] Get Index(12-CONN_WT_SLP_CTL_REG_BASE) phy_addr(0x18005000) vir_addr=(0xffffffc010bed000) size=(0x1000) [ 9.588999] Get Index(13-INST2_CONN_WT_SLP_CTL_REG_BASE) phy_addr(0x18085000) vir_addr=(0xffffffc010bf5000) size=(0x1000) [ 9.599927] Get Index(14-CONN_RF_SPI_MST_REG_BASE) phy_addr(0x18004000) vir_addr=(0xffffffc010bfd000) size=(0x1000) [ 9.610335] Get Index(15-INST2_CONN_RF_SPI_MST_REG_BASE) phy_addr(0x18084000) vir_addr=(0xffffffc010e07000) size=(0x1000) [ 9.621265] Get Index(16-CONN_SEMAPHORE_BASE) phy_addr(0x18070000) vir_addr=(0xffffffc010e50000) size=(0x10000) [ 9.631327] Get Index(17-CONN_AFE_CTL_BASE) phy_addr(0x18003000) vir_addr=(0xffffffc010e09000) size=(0x1000) [ 9.641128] Get Index(18-CONN_AFE_CTL_2ND_BASE) phy_addr(0x18083000) vir_addr=(0xffffffc010e61000) size=(0x1000) [ 9.651277] Get Index(19-WF_TOP_SLPPROT_ON_BASE) phy_addr(0x184c0000) vir_addr=(0xffffffc010eb0000) size=(0x10000) [ 9.661599] Get Index(20-WF_TOP_CFG_BASE) phy_addr(0x184b0000) vir_addr=(0xffffffc010e63000) size=(0x1000) [ 9.671228] Get Index(21-WF_MCU_CONFIG_LS_BASE) phy_addr(0x184f0000) vir_addr=(0xffffffc010e65000) size=(0x1000) [ 9.681376] Get Index(22-WF_MCU_BUS_CR_BASE) phy_addr(0x18400000) vir_addr=(0xffffffc010e67000) size=(0x1000) [ 9.691264] Get Index(23-WF_MCUSYS_INFRA_BUS_FULL_U_DEBUG_CTRL_AO_BASE) phy_addr(0x18500000) vir_addr=(0xffffffc010e69000) size=(0x1000) [ 9.703494] Get Index(24-WF_TOP_CFG_ON_BASE) phy_addr(0x184c0000) vir_addr=(0xffffffc010ed0000) size=(0x10000) [ 9.713819] [1;32meeFlashId: 0x7986, EEPROM_content_valid = 1[0m [ 9.714428] conninfra@(consys_plt_hw_init:221) tx_stream = 0x4, rx_stream = 0x4, band0_pa_type = 0x3, band1_pa_type = 0x3 [ 9.731523] conninfra@(consys_plt_hw_init:230) adie_cfg_type = 2, one_adie_dbdc = 0 [ 9.739165] [emi_mng_init] gConEmiPhyBase = [0x4fc00000] size = [0x100000] fw size = [0x100000] ops=[000000005e14dce0] [ 9.749908] conninfra@(mtk_conninfra_drv_init:650) After platform_driver_register [ 9.757671] ConnInfra Dev: init (0) [ 9.762630] conninfra@(_consys_polling_chipid_int:459) Read CONNSYS HW IP version successfully! (0x02070000) [ 9.772436] conninfra@(consys_bus_clock_ctrl:485) drv=[4] conninfra_bus_clock_wpll=[0]->[16] enable [ 9.781461] conninfra@(connsys_d_die_cfg:530) D-die efuse: 0x00000000 [ 9.788916] conninfra@(_connsys_a_die_chip_id_confirm:1911) adie_idx[0]: A-die CHIP ID = 0x7976, HW Version = 0x8a20 [ 9.800421] conninfra@(_connsys_a_die_chip_id_confirm:1911) adie_idx[1]: A-die CHIP ID = 0x7976, HW Version = 0x8a20 [ 9.812932] conninfra@(consys_spi_write_nolock:670) addr = 0x0a00, val = 0xffffffff [ 9.821572] conninfra@(consys_spi_write_nolock:670) addr = 0x0144, val = 0x00000002 [ 9.831219] conninfra@(consys_spi_write_nolock:670) addr = 0x0148, val = 0x00000000 [ 9.840866] conninfra@(consys_spi_write_nolock:670) addr = 0x0148, val = 0x43a60000 [ 9.854541] conninfra@(connsys_a_die_efuse_read_nolock:906) efuse = [0x00000001, 0x00c40000, 0x008800ab, 0x00000000] [ 9.866042] conninfra@(consys_spi_write_nolock:670) addr = 0x0144, val = 0x00000002 [ 9.875689] conninfra@(consys_spi_write_nolock:670) addr = 0x0148, val = 0x23a6003a [ 9.885335] conninfra@(consys_spi_write_nolock:670) addr = 0x0148, val = 0x63a7003a [ 9.899010] conninfra@(connsys_a_die_efuse_read_nolock:906) efuse = [0x00000001, 0x00c40000, 0x008800ab, 0x00000000] [ 9.910510] conninfra@(consys_spi_write_nolock:670) addr = 0x0144, val = 0x00000002 [ 9.920157] conninfra@(consys_spi_write_nolock:670) addr = 0x0148, val = 0x23a7003a [ 9.929803] conninfra@(consys_spi_write_nolock:670) addr = 0x0148, val = 0x63ac003a [ 9.943478] conninfra@(connsys_a_die_efuse_read_nolock:906) efuse = [0x00000001, 0x00c40000, 0x008800ab, 0x00000000] [ 9.954978] conninfra@(consys_spi_write_nolock:670) addr = 0x0038, val = 0x4a563b00 [ 9.963617] conninfra@(consys_spi_write_nolock:670) addr = 0x065c, val = 0x1959f80f [ 9.972257] conninfra@(consys_spi_write_nolock:670) addr = 0x0664, val = 0x34d00fe0 [ 9.981906] conninfra@(consys_spi_write_nolock:670) addr = 0x0a00, val = 0xffffffff [ 9.990545] conninfra@(consys_spi_write_nolock:670) addr = 0x0144, val = 0x00000002 [ 10.000192] conninfra@(consys_spi_write_nolock:670) addr = 0x0148, val = 0x00000000 [ 10.009839] conninfra@(consys_spi_write_nolock:670) addr = 0x0148, val = 0x43a60000 [ 10.023515] conninfra@(connsys_a_die_efuse_read_nolock:906) efuse = [0x00000001, 0x00c40000, 0x008800b6, 0x00000000] [ 10.035014] conninfra@(consys_spi_write_nolock:670) addr = 0x0144, val = 0x00000002 [ 10.044662] conninfra@(consys_spi_write_nolock:670) addr = 0x0148, val = 0x23a6003a [ 10.054308] conninfra@(consys_spi_write_nolock:670) addr = 0x0148, val = 0x63a7003a [ 10.067982] conninfra@(connsys_a_die_efuse_read_nolock:906) efuse = [0x00000001, 0x00c40000, 0x008800b6, 0x00000000] [ 10.079481] conninfra@(consys_spi_write_nolock:670) addr = 0x0144, val = 0x00000002 [ 10.089128] conninfra@(consys_spi_write_nolock:670) addr = 0x0148, val = 0x23a7003a [ 10.098775] conninfra@(consys_spi_write_nolock:670) addr = 0x0148, val = 0x63ac003a [ 10.112449] conninfra@(connsys_a_die_efuse_read_nolock:906) efuse = [0x00000001, 0x00c40000, 0x008800b6, 0x00000000] [ 10.123949] conninfra@(consys_spi_write_nolock:670) addr = 0x0038, val = 0x4a563b00 [ 10.132588] conninfra@(consys_spi_write_nolock:670) addr = 0x065c, val = 0x1959f80f [ 10.141227] conninfra@(consys_spi_write_nolock:670) addr = 0x0664, val = 0x34d00fe0 [ 10.149869] conninfra@(consys_spi_write_nolock:670) addr = 0x0070, val = 0x88888005 [ 10.159467] conninfra@(consys_spi_write_nolock:670) addr = 0x0070, val = 0x00000005 [ 10.168108] conninfra@(consys_spi_write_nolock:670) addr = 0x0070, val = 0x88888005 [ 10.177707] conninfra@(consys_spi_write_nolock:670) addr = 0x0070, val = 0x00000005 [ 10.186286] conninfra@(_consys_polling_chipid_int:459) Read CONNSYS HW IP version successfully! (0x02070000) [ 10.196089] conninfra@(_consys_hw_conninfra_wakeup:470) conninfra_wakeup refcnt=[0]->[1] wakeup!! [ 10.204944] conninfra@(_consys_hw_conninfra_sleep:490) conninfra_sleep refcnt=[1]->[0] sleep!! [ 10.213533] conninfra@(opfunc_power_on_internal:241) [Conninfra Pwr On] BT=[0] FM=[0] GPS=[0] WF=[0] CONNINFRA=[1] [ 10.231502] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 10.238524] ehci-fsl: Freescale EHCI Host controller driver [ 10.244510] ehci-platform: EHCI generic platform driver [ 10.250773] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 10.257349] ohci-platform: OHCI generic platform driver [ 10.263162] uhci_hcd: USB Universal Host Controller Interface driver [ 10.271649] mediatek_soc_hnat 15100000.hnat: wan = eth1 [ 10.276885] mediatek_soc_hnat 15100000.hnat: lan = eth0 [ 10.282096] mediatek_soc_hnat 15100000.hnat: ppd = eth0 [ 10.287307] mediatek_soc_hnat 15100000.hnat: gmac num = 2 [ 10.292690] mediatek_soc_hnat 15100000.hnat: ppe num = 1 [ 10.298932] mediatek_soc_hnat 15100000.hnat: PPE0 entry number = 32768 [ 10.316428] mediatek_soc_hnat 15100000.hnat: PPE0 hwnat start [ 10.322223] hnat roaming work enable [ 10.328356] warp_module_init(): module init and register callback for warp [ 10.335259] create warp_ctrl ok!!! [ 10.338692] wed_get_slot_map(): assign slot_id:0 for entry: 0! [ 10.344518] wed_get_slot_map(): assign slot_id:1 for entry: 1! [ 10.351284] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 10.364061] init: - preinit - [ 10.442297] mt753x gsw@0: Port 4 Link is Up - 1Gbps/Full [ 10.553168] mt753x gsw@0: Port 2 Link is Up - 1Gbps/Full [ 10.628657] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/2500base-x link mode [ 10.636980] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx [ 14.697366] mount_root: loading kmods from internal overlay [ 14.709100] kmodloader: loading kernel modules from //etc/modules-boot.d/* [ 14.717116] kmodloader: done loading kernel modules from //etc/modules-boot.d/* [ 16.009641] UBIFS (ubi0:2): Mounting in unauthenticated mode [ 16.015348] UBIFS (ubi0:2): background thread "ubifs_bgt0_2" started, PID 940 [ 16.040848] UBIFS (ubi0:2): recovery needed [ 16.111627] UBIFS (ubi0:2): recovery completed [ 16.116107] UBIFS (ubi0:2): UBIFS: mounted UBI device 0, volume 2, name "rootfs_data" [ 16.123920] UBIFS (ubi0:2): LEB size: 253952 bytes (248 KiB), min./max. I/O unit sizes: 4096 bytes/4096 bytes [ 16.133811] UBIFS (ubi0:2): FS size: 433242112 bytes (413 MiB, 1706 LEBs), journal size 21585920 bytes (20 MiB, 85 LEBs) [ 16.144653] UBIFS (ubi0:2): reserved for root: 4952683 bytes (4836 KiB) [ 16.151251] UBIFS (ubi0:2): media format: w5/r0 (latest is w5/r0), UUID 93C95276-6300-42AB-A750-055BBBC19330, small LPT model [ 16.164546] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab [ 16.177220] block: extroot: not configured [ 16.181400] UBIFS (ubi0:2): un-mount UBI device 0 [ 16.186100] UBIFS (ubi0:2): background thread "ubifs_bgt0_2" stops [ 16.194981] UBIFS (ubi0:2): Mounting in unauthenticated mode [ 16.200682] UBIFS (ubi0:2): background thread "ubifs_bgt0_2" started, PID 943 [ 16.263825] UBIFS (ubi0:2): UBIFS: mounted UBI device 0, volume 2, name "rootfs_data" [ 16.271648] UBIFS (ubi0:2): LEB size: 253952 bytes (248 KiB), min./max. I/O unit sizes: 4096 bytes/4096 bytes [ 16.281538] UBIFS (ubi0:2): FS size: 433242112 bytes (413 MiB, 1706 LEBs), journal size 21585920 bytes (20 MiB, 85 LEBs) [ 16.292380] UBIFS (ubi0:2): reserved for root: 4952683 bytes (4836 KiB) [ 16.298977] UBIFS (ubi0:2): media format: w5/r0 (latest is w5/r0), UUID 93C95276-6300-42AB-A750-055BBBC19330, small LPT model [ 16.315314] mount_root: loading kmods from internal overlay [ 16.326724] kmodloader: loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/* [ 16.336470] kmodloader: done loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/* [ 17.580057] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab [ 17.590951] block: extroot: not configured [ 17.597002] mount_root: switching to ubifs overlay [ 17.609549] urandom-seed: Seeding with /etc/urandom.seed [ 17.649148] procd: - early - [ 17.652075] procd: - watchdog - [ 18.189058] procd: - watchdog - [ 18.193407] procd: - ubus - [ 18.248584] procd: - init - [ 18.665316] urngd: v1.0.2 started. [ 18.680781] kmodloader: loading kernel modules from /etc/modules.d/* [ 18.692587] zram: Added device: zram0 [ 18.700072] ntfs: driver 2.1.32 [Flags: R/O MODULE]. [ 18.707434] ntfs3: Max link count 4000 [ 18.711208] ntfs3: Enabled Linux POSIX ACLs support [ 18.716068] ntfs3: Warning: Activated 64 bits per cluster. Windows does not support this [ 18.724135] ntfs3: Read-only LZX/Xpress compression included [ 18.732865] tun: Universal TUN/TAP device driver, 1.6 [ 18.740588] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 18.764310] cryptodev: driver 1.12 loaded. [ 19.314271] mt_wifi: module license 'Proprietary' taints kernel. [ 19.320284] Disabling lock debugging due to kernel taint [ 19.353592] conninfra@(conninfra_pwr_on:120) [conninfra_pwr_on] drv=[3] [ 19.361133] conninfra@(_consys_polling_chipid_int:459) Read CONNSYS HW IP version successfully! (0x02070000) [ 19.379980] [1;32mAdie Type: 0x7976[0m [ 19.379981] [1;32mSKU Type: 6000[0m [ 19.383892] conninfra@(opfunc_power_on_internal:241) [Conninfra Pwr On] BT=[0] FM=[0] GPS=[0] WF=[1] CONNINFRA=[1] [ 19.397958] WiFi@C12L1,get_dbg_setting_by_profile() 4373: debug level setting=INDEX0_debug_level not found!! [ 19.407805] WiFi@C12L1,get_dbg_setting_by_profile() 4396: debug option setting=INDEX0_debug_option not found!! [ 19.417846] mt_rbus 0000:00:00.0: runtime IRQ mapping not provided by arch [ 19.429865] mt7986_init()--> [ 19.432774] [1;33m sku:0xf, ADIE=MT7976 [0m [ 19.437117] <--mt7986_init() [ 19.440008] RtmpRaDevCtrlInit(): MCS_LUT not used becasue MacTb size(544) > 128! [ 19.447493] WiFi@C12L1,match_index_by_chipname() 566: not find chip name INDEX1 [ 19.454794] WiFi@C12L1,match_index_by_chipname() 566: not find chip name INDEX2 [ 19.462096] WiFi@C12L1,match_index_by_chipname() 566: not find chip name INDEX3 [ 19.469396] WiFi@C12L1,match_index_by_chipname() 566: not find chip name INDEX4 [ 19.476696] WiFi@C12L1,match_index_by_chipname() 566: not find chip name INDEX5 [ 19.483997] WiFi@C12L1,match_index_by_chipname() 566: not find chip name INDEX6 [ 19.491297] WiFi@C12L1,match_index_by_chipname() 566: not find chip name INDEX7 [ 19.498598] WiFi@C12L1,match_index_by_chipname() 566: not find chip name INDEX8 [ 19.505897] WiFi@C12L1,match_index_by_chipname() 566: not find chip name INDEX9 [ 19.513187] WiFi@C12L2,match_index_by_chipname() 571: Not find slot id, back to old rule. [ 19.521425] msta_ifname not found [ 19.531391] mtk_warp_proxy: module uses symbols from proprietary module mt_wifi, inheriting taint. [ 19.564662] usbcore: registered new interface driver ums-alauda [ 19.571255] usbcore: registered new interface driver ums-cypress [ 19.577851] usbcore: registered new interface driver ums-datafab [ 19.584427] usbcore: registered new interface driver ums-freecom [ 19.591011] usbcore: registered new interface driver ums-isd200 [ 19.597509] usbcore: registered new interface driver ums-jumpshot [ 19.604159] usbcore: registered new interface driver ums-karma [ 19.610599] usbcore: registered new interface driver ums-sddr09 [ 19.617114] usbcore: registered new interface driver ums-sddr55 [ 19.623630] usbcore: registered new interface driver ums-usbat [ 19.644631] xt_time: kernel timezone is -0000 [ 19.651566] PPP generic driver version 2.4.2 [ 19.656591] PPP MPPE Compression module registered [ 19.662318] NET: Registered protocol family 24 [ 19.668636] kmodloader: done loading kernel modules from /etc/modules.d/* [ 21.003184] zram0: detected capacity change from 0 to 1045430272 [ 21.061979] Adding 1020924k swap on /dev/zram0. Priority:-2 extents:1 across:1020924k SSDsc [ 21.663581] xt_FULLCONENAT: RFC3489 Full Cone NAT module [ 21.663581] xt_FULLCONENAT: Copyright (C) 2018 Chion Tang [ 23.390105] mtk_soc_eth 15100000.ethernet eth0: Link is Down [ 23.416483] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/2500base-x link mode [ 23.424808] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx [ 23.426108] br-lan: port 1(eth0) entered blocking state [ 23.438650] br-lan: port 1(eth0) entered disabled state [ 23.444072] device eth0 entered promiscuous mode [ 23.449781] br-lan: port 1(eth0) entered blocking state [ 23.455036] br-lan: port 1(eth0) entered forwarding state [ 23.463757] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/2500base-x link mode [ 23.472365] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 2.5Gbps/Full - flow control rx/tx [ 23.481032] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready [ 23.583873] WiFi@C01L2,RTMP_COM_IoctlHandle() 1514: -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_INIT [ 23.592124] msta_ifname not found [ 23.596035] warp_cap_support(): chip_id=7986 is in WHNAT support list [ 23.602543] warp_entry_acquire(): bus slot:0, hook to WARP, entry id=0, entry: 00000000942f7ba0 [ 23.611275] client_hif_specific_get(): hw->base_phy_addr 0x18000000!! [ 23.617867] warp_entry_get_by_pdev(): return entry[0] [ 23.623202] warp_msg_register():warp,pid,2536,id,0,wed_idx,0 [ 23.628898] warp_dev0 15010000.wed: Using 32bit DMA for streaming map [ 23.635342] warp_dev0 15010000.wed: Using 32bit DMA for coherent map [ 23.641747] wed_init(0): res_start = 0x15010000, size = 1000, irq=6,base_addr=0xffffffc01108d000 [ 23.651009] wed_ring_init(): wed tx ring init result = 0 [ 23.657035] wed_ring_init(): wed rx ring init result = 0 [ 23.666524] GetEntryFromFreeList: allocated new pool [ 23.673078] GetEntryFromFreeList: allocated new pool [ 23.679544] GetEntryFromFreeList: allocated new pool [ 23.686036] GetEntryFromFreeList: allocated new pool [ 23.693165] create wed ok!!! [ 23.696121] wdma_init(): wdma(0) base_addr=0xffffffc011095800, base_phy_addr=0x15104800 [ 23.704999] warp_woif_bus_init_hw(): bus:000000007112cd6b, txring: 20, pa: 0x00000000b3c8c000, 0x00000000b3c8c000, 24, 28, 3c [ 23.716321] warp_woif_bus_init_hw(): bus:000000007112cd6b, rxring: 50, pa: 0x00000000b3c8e000, 0x00000000b3c8e000, 54, 58, 6c [ 23.727671] get_region_info(): wed_idx = 0, base_addr = 0x000000004d13df48, size = 0x40000, res.start = 0x4fd00000, shared:0 [ 23.738911] get_region_info(): wed_idx = 0, base_addr = 0x000000004c61edbd, size = 0x8000, res.start = 0x151e0000, shared:0 [ 23.750099] get_region_info(): wed_idx = 0, base_addr = 0x00000000ea0c969b, size = 0x240000, res.start = 0x4fd80000, shared:1 [ 23.761440] get_region_info(): wed_idx = 0, base_addr = 0x0000000054ea8e29, size = 0x1000, res.start = 0x15194000, shared:0 [ 23.772569] warp_fwdl_mcu_mode(): mcu mode, need fwdl [ 23.811261] ########## WO Firmware ########## [ 23.815632] Chip ID: 0x0000 [ 23.818425] ECO version:0 [ 23.821033] Version: DEV_000000 [ 23.824164] Build date: 20221208175748 [ 23.827902] Total region:3 [ 23.830598] ################################# [ 23.834941] Parsing tailer region 0 [ 23.838417] Target address: 0x151e0000 [ 23.842240] Download size: 20768 [ 23.845564] Parsing tailer region 1 [ 23.849040] Target address: 0x4fd00000 [ 23.852862] Download size: 87584 [ 23.856247] Parsing tailer region 2 [ 23.859723] Target address: 0x4fd80000 [ 23.863545] Download size: 2319824 [ 23.869438] warp_fwdl_ready_check_mcu_mode(): waiting for wocpu [ 23.892620] warp_fwdl_ready_check_mcu_mode(): wocpu is ready [ 23.898291] warp_woctrl_init_state(), wo_state: WO_STATE_ENABLE [ 23.904210] wo_proc_init done 00000000296bddfa [ 23.908735] wo_exep_proc_init done 00000000296bddfa [ 23.913711] wo_exception_init(0): exp log= 0x0000000030e97d43, phy_addr= 0x00000000b3a50000 size= 32768 [ 23.923208] warp_probe(): probe fail since warp is full! [ 23.928517] warp_dev0: probe of 15010000.wed2 failed with error -1 [ 23.934816] WiFi@C01L3,mt_wifi_open() 345: whnat_en=1 [ 23.946058] WiFi@C00L1,hc_init_ChCtrl() 2161: Clear ChCtrl Band[0] (caller:UserCfgInit+0x6ac/0x1870 [mt_wifi]) [ 23.956262] WiFi@C00L1,hc_init_ChCtrl() 2161: Clear ChCtrl Band[1] (caller:UserCfgInit+0x6ac/0x1870 [mt_wifi]) [ 24.010615] WiFi@C00L1,hc_init_ChCtrl() 2161: Clear ChCtrl Band[0] (caller:RTMPSetProfileParameters+0x8c/0x109e0 [mt_wifi]) [ 24.021902] WiFi@C00L1,hc_init_ChCtrl() 2161: Clear ChCtrl Band[1] (caller:RTMPSetProfileParameters+0x8c/0x109e0 [mt_wifi]) [ 24.034613] WiFi@C12L1,RTMPWirelessModeCfg() 610: Init: BSS0 PhyMode=78 [ 24.041214] WiFi@C12L1,RTMPWirelessModeCfg() 610: Init: BSS1 PhyMode=177 [ 24.048091] WiFi@C23L3,auto_ch_select_set_cfg() 3466: BandIdx0, AutoChannelAtBootup=0, AutoChannelAlg = 0 [ 24.057636] WiFi@C23L3,auto_ch_select_set_cfg() 3466: BandIdx1, AutoChannelAtBootup=0, AutoChannelAlg = 0 [ 24.093674] WiFi@C15L1,Set_PMFMFPC_Proc() 1722: [PMF] :: apidx=0, Desired MFPC=0 [ 24.101062] WiFi@C15L1,Set_PMFMFPC_Proc() 1722: [PMF] :: apidx=1, Desired MFPC=0 [ 24.109326] WiFi@C12L1,RTMPSetProfileParameters() 8646: ra0, QoSMgmtCapa=0 [ 24.116186] WiFi@C12L1,RTMPSetProfileParameters() 8646: (null), QoSMgmtCapa=0 [ 24.125708] WiFi@C12L1,rtmp_read_ap_client_from_file() 1638: APCLI[0] ApCliMuMimoDlEnable = 0 [ 24.134216] WiFi@C12L1,rtmp_read_ap_client_from_file() 1638: APCLI[1] ApCliMuMimoDlEnable = 0 [ 24.142826] WiFi@C12L1,rtmp_read_ap_client_from_file() 1657: APCLI[0] ApCliMuMimoUlEnable = 0 [ 24.151333] WiFi@C12L1,rtmp_read_ap_client_from_file() 1657: APCLI[1] ApCliMuMimoUlEnable = 0 [ 24.202448] wdma_dma_ctrl(): WDMA_GLO_CFG=50404e70, txrx = 0 [ 24.213947] wdma_dma_ctrl(): WDMA_GLO_CFG=40404e70, txrx = 0 [ 24.228994] warp_tx_ring_init_hw(): configure ring 0 setting [ 24.234658] warp_tx_ring_init_hw(): wed:0000000020ce7d5d wifi:00000000f67a238a: 24420=b5f40000,24424=2048,24428=0 [ 24.244901] warp_tx_ring_init_hw(): configure ring 1 setting [ 24.250546] warp_tx_ring_init_hw(): wed:0000000020ce7d5d wifi:00000000f67a238a: 24430=b5f48000,24434=2048,24438=0 [ 24.260899] set_rrocfg,0 [ 24.286300] wdma_dma_ctrl(): WDMA_GLO_CFG=40404e74, txrx = 3 [ 24.291950] [1;33m sku:0xf, ADIE=MT7976 [0m [ 24.296294] using E1 ROM patch [ 24.299336] using E1 RAM [ 24.301860] current sync CR = 0x1 [ 24.315099] Built date: 20221208175702a [ 24.319030] Platform: ALPS [ 24.321809] HW/SW version: 0x8a108a10 [ 24.329802] Patch version: 0xffffffff [ 24.339918] current sync CR = 0x1 [ 24.494500] Chip ID: 0x0f [ 24.497220] Eco version: 0x00 [ 24.500341] Region number: 0x0b [ 24.503588] Format version: 0x02 [ 24.506919] Format flag: 0x01 [ 24.510022] Ram version: ____000000 [ 24.513604] Built date: 20221208175743 [ 24.517466] Common crc: 0x6fa324bc [ 24.520980] Release info: header tag = 0, total length = 64 [ 24.526650] tag 1, padding length = 1, tag length = 59 [ 24.531887] payload: t-neptune-main-mt7915-1953-MT7986_MP2111_1_0-20221208175554 [ 24.609093] Chip ID: 0x00 [ 24.611833] Eco version: 0x00 [ 24.614909] Region number: 0x03 [ 24.618138] Format version: 0x02 [ 24.621444] Format flag: 0x01 [ 24.624505] Ram version: DEV_000000 [ 24.628094] Built date: 20221208175728 [ 24.631943] Common crc: 0x74f0ff60 [ 24.635441] Release info: header tag = 0, total length = 0 [ 24.736028] current sync CR = 0x7 [ 24.739438] efuse_probe: efuse = deaddead [ 24.744832] [1;33m sku:0xf, ADIE=MT7976 [0m [ 24.750853] WiFi@C02L1,is_cal_free_ic() 1009: [41mis_cal_free_ic(1009) offset:1000, 0,0 [m [ 24.759313] [1;33m sku:0xf, ADIE=MT7976 [0m [ 24.778216] [1;33m sku:0xf, ADIE=MT7976 [0m [ 24.797116] WiFi@C02L1,is_cal_free_ic() 1028: [41m iCal free[m [ 24.803203] [1;33m sku:0xf, ADIE=MT7976 [0m [ 25.478366] value=1, hook is enabled now! [ 28.704066] WiFi@C17L1,RTMPReadTxPwrPerRate() 450: (450): Don't Support this now! [ 28.711583] WiFi@C01L1,AntCfgInit() 3126: Not support for HIF_MT yet! [ 28.731887] ch_switch_monitor_state_machine_init:: enter [ 28.737201] ch_switch_monitor_cfg_reset:: enter [ 28.741724] ch_switch_monitor_cfg_reset:: enter [ 28.746571] WiFi@C17L1,tx_pwr_comp_init() 641: NotSupportYet! [ 28.752357] WiFi@C12L1,SCS_init() 880: INIT SCSEnable [0]= 1 [ 28.758014] WiFi@C12L1,SCS_init() 887: INIT SCSEnable [1]= 0 [ 28.763763] WiFi@C03L1,MtCmdSetMacTxRx() 10244: (ret = 0) [ 28.769248] WiFi@C03L1,MtCmdSetMacTxRx() 10244: (ret = 0) [ 28.774680] WiFi@C14L1,IPMacTable_init() 348: IPMacTable already inited! [ 28.801495] wdma_dma_ctrl(): WDMA_GLO_CFG=50804e75, txrx = 3 [ 28.807229] WiFi@C03L1,MtCmdSetMacTxRx() 10244: (ret = 0) [ 28.812723] WiFi@C03L1,MtCmdSetMacTxRx() 10244: (ret = 0) [ 28.818165] WiFi@C00L1,set_ack_timeout_mode_byband() 13447: CTS/ACK Timeout Range should between [0xFFFF:0]!! [ 28.828058] WiFi@C00L1,set_datcfg_ack_cts_timeout() 13535: DAT config band(0) cck_timeout Fail! [ 28.836737] WiFi@C00L1,set_ack_timeout_mode_byband() 13447: CTS/ACK Timeout Range should between [0xFFFF:0]!! [ 28.846629] WiFi@C00L1,set_datcfg_ack_cts_timeout() 13546: DAT config band(0) ofdm_timeout Fail! [ 28.855398] WiFi@C00L1,set_ack_timeout_mode_byband() 13447: CTS/ACK Timeout Range should between [0xFFFF:0]!! [ 28.865290] WiFi@C00L1,set_datcfg_ack_cts_timeout() 13557: DAT config band(0) ofdma_timeout Fail! [ 28.874142] WiFi@C00L1,set_ack_timeout_mode_byband() 13447: CTS/ACK Timeout Range should between [0xFFFF:0]!! [ 28.884032] WiFi@C00L1,set_datcfg_ack_cts_timeout() 13535: DAT config band(1) cck_timeout Fail! [ 28.892711] WiFi@C00L1,set_ack_timeout_mode_byband() 13447: CTS/ACK Timeout Range should between [0xFFFF:0]!! [ 28.902603] WiFi@C00L1,set_datcfg_ack_cts_timeout() 13546: DAT config band(1) ofdm_timeout Fail! [ 28.911368] WiFi@C00L1,set_ack_timeout_mode_byband() 13447: CTS/ACK Timeout Range should between [0xFFFF:0]!! [ 28.921259] WiFi@C00L1,set_datcfg_ack_cts_timeout() 13557: DAT config band(1) ofdma_timeout Fail! [ 28.931107] WiFi@C00L2,dump_ht_cap() 29: Caller: dump_ht_cap+0x10/0x20 [mt_wifi] [ 28.939589] WiFi@C00L2,dump_ht_cap() 29: Caller: dump_ht_cap+0x10/0x20 [mt_wifi] [ 28.951805] :(op = 0) [ 28.954140] WiFi@C00L2,red_tail_drop_init() 83: red_tail_drop_init: available token:8192, whnat_en:1 [ 28.963374] WiFi@C00L1,MtCmdCr4RedSet() 914: MtCmdCr4RedSet: (ret = 0) [ 28.969946] WiFi@C00L1,SendRedCmd() 1049: SendRedCmd:(ret = 1) [ 28.975976] WiFi@C01L2,RTMP_COM_IoctlHandle() 1491: -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP [ 28.984044] WiFi@C01L3,wifi_sys_open() 856: wdev idx = 0 [ 28.989709] WiFi@C18L3,BuildChannelList() 484: [ 28.994285] WiFi@C00L3,BuildChannelList() 514: BandIdx = 0, PhyMode = 78, ChListNum = 13: [ 29.002480] WiFi@C14L1,vht80_channel_group() 1584: invalid ch_band 0 [ 29.008852] WiFi@C14L1,vht160_channel_group() 1655: invalid ch_band 0 [ 29.015307] WiFi@C14L1,vht80_channel_group() 1584: invalid ch_band 0 [ 29.021678] WiFi@C14L1,vht160_channel_group() 1655: invalid ch_band 0 [ 29.028142] WiFi@C14L1,vht80_channel_group() 1584: invalid ch_band 0 [ 29.034506] WiFi@C14L1,vht160_channel_group() 1655: invalid ch_band 0 [ 29.040972] WiFi@C14L1,vht80_channel_group() 1584: invalid ch_band 0 [ 29.047341] WiFi@C14L1,vht160_channel_group() 1655: invalid ch_band 0 [ 29.053801] WiFi@C14L1,vht80_channel_group() 1584: invalid ch_band 0 [ 29.060169] WiFi@C14L1,vht160_channel_group() 1655: invalid ch_band 0 [ 29.066618] WiFi@C14L1,vht80_channel_group() 1584: invalid ch_band 0 [ 29.072988] WiFi@C14L1,vht160_channel_group() 1655: invalid ch_band 0 [ 29.079446] WiFi@C14L1,vht80_channel_group() 1584: invalid ch_band 0 [ 29.085822] WiFi@C14L1,vht160_channel_group() 1655: invalid ch_band 0 [ 29.092280] WiFi@C14L1,vht80_channel_group() 1584: invalid ch_band 0 [ 29.098656] WiFi@C14L1,vht160_channel_group() 1655: invalid ch_band 0 [ 29.105116] WiFi@C14L1,vht80_channel_group() 1584: invalid ch_band 0 [ 29.111479] WiFi@C14L1,vht160_channel_group() 1655: invalid ch_band 0 [ 29.117937] WiFi@C14L1,vht80_channel_group() 1584: invalid ch_band 0 [ 29.124309] WiFi@C14L1,vht160_channel_group() 1655: invalid ch_band 0 [ 29.130762] WiFi@C14L1,vht80_channel_group() 1584: invalid ch_band 0 [ 29.137135] WiFi@C14L1,vht160_channel_group() 1655: invalid ch_band 0 [ 29.143589] WiFi@C14L1,vht80_channel_group() 1584: invalid ch_band 0 [ 29.149949] WiFi@C14L1,vht160_channel_group() 1655: invalid ch_band 0 [ 29.156405] WiFi@C14L1,vht80_channel_group() 1584: invalid ch_band 0 [ 29.162777] WiFi@C14L1,vht160_channel_group() 1655: invalid ch_band 0 [ 29.169231] WiFi@C23L1,DfsBuildChannelList() 3839: [RDM]: wdev is not 5G. [ 29.176063] WiFi@C23L3,RadarStateCheck() 250: Zero Wait State: 0 [ 29.182077] WiFi@C23L3,DfsRadarChannelCheck() 3228: [DfsRadarChannelCheck]: wdev is not 5G [ 29.190353] WiFi@C23L3,operate_loader_phy() 360: oper_cfg: prim_ch(1), ht_bw(1), extcha(1), vht_bw(0), cen_ch_2(0), PhyMode=78! [ 29.201849] WiFi@C23L3,operate_loader_phy() 374: oper_dev after adjust: bw(1), prim_ch(1), cen_ch_1(3), cen_ch_2(0),ext_cha(1)! [ 29.213338] WiFi@C23L3,operate_loader_phy() 393: oper_dev after decision: bw(1), prim_ch(1), cen_ch_1(3), cen_ch_2(0)! [ 29.224043] WiFi@C23L3,DfsRadarChannelCheck() 3228: [DfsRadarChannelCheck]: wdev is not 5G [ 29.232331] WiFi@C08L1,AsicSwitchChannel() 334: AsicSwitchChannel::bandIdx:0 ch_band:0 htbw:1 vht_bw:0 bw:1 extcha:1 [ 29.242867] WiFi@C08L1,AsicSwitchChannel() 339: AsicSwitchChannel::primch:1 cench1:3 cench2:0 rxstream:4 ap_bw:0 apCenCh:0 Scan:0 [ 29.254694] WiFi@C00L1,mt7986_apply_dpd_flatness_data() 622: eeprom 0x19a bit 0 is 0, do runtime cal [ 29.263878] WiFi@C03L3,MtCmdChannelSwitch() 2539: ctrl_chl=1, ctrl_ch2=0, cent_ch=3 DBDCIdx=0, ChBand=0, BW=1, TXStream=4, RXStream=4, scan(0) [ 29.609486] WiFi@C03L3,MtCmdSetTxRxPath() 2799: ctrl_chl=1, ctrl_ch2=0, cent_ch=3, RxPath=f, BandIdx=0, ChBand=0, BW=1,TXStream=4, RXStream=15, scan(0) [ 29.623156] WiFi@C12L1,EDCCAInit() 21100: EDCCA compensation: uni_compensation=0, bw_compensation=0, final compensation=0 [ 29.634116] WiFi@C23L3,DfsCacNormalStart() 3716: wdev is not 5G [ 29.640027] WiFi@C23L3,DfsRadarChannelCheck() 3228: [DfsRadarChannelCheck]: wdev is not 5G [ 29.648505] WiFi@C00L2,dump_ht_cap() 29: Caller: wlan_operate_init+0xa4/0x148 [mt_wifi] [ 29.656496] wdev_attr_update(): wdevId0 = 24:cf:24:a4:c2:25 [ 29.662071] WiFi@C12L1,wifi_sys_open() 907: wifi_sys_open():band0 group_idx[0]=0, bw_grp=16 omac=0 [ 29.671039] WiFi@C08L3,hw_ctrl_flow_v2_open() 13: wdev_idx=0 [ 29.676851] WiFi@C02L2,AsicRadioOnOffCtrl() 2355: DbdcIdx=0 RadioOn [ 29.683644] WiFi@C00L2,ApAutoChannelAtBootUp() 333: -----------------> [ 29.690298] WiFi@C03L1,MtCmdSetMacTxRx() 10244: (ret = 0) [ 29.695773] WiFi@C03L1,MtCmdSetMacTxRx() 10244: (ret = 0) [ 29.701160] WiFi@C00L1,ApAutoChannelAtBootUp() 498: not A band [ 29.706979] WiFi@C08L1,ap_run_at_boot() 624: [41m ACS is disable !![m [ 29.713781] WiFi@C08L2,APStartUpForMbss() 984: ===>(caller:ap_inf_open+0x138/0x4c8 [mt_wifi]), mbss_idx:0, CfgMode:0 [ 29.724285] WiFi@C15L2,APPMFInit() 133: [PMF] apidx=0, MFPC=0, MFPR=0, SHA256=0 [ 29.731587] WiFi@C18L3,BuildChannelList() 484: [ 29.736296] WiFi@C00L2,dump_ht_cap() 29: Caller: dump_ht_cap+0x10/0x20 [mt_wifi] [ 29.743824] WiFi@C08L2,ap_link_up() 7152: (caller:wdev_do_linkup+0x20/0x38 [mt_wifi]), wdev(0) [ 29.752427] WiFi@C01L3,wifi_sys_linkup() 1231: wdev idx = 0 [ 29.803384] WiFi@C00L3,wtc_acquire_groupkey_wcid() 84: Found a non-occupied wtbl_idx:543 for WDEV_TYPE:1 [ 29.803384] LinkToOmacIdx = 0, LinkToWdevType = 1 [ 29.817784] WiFi@C08L3,hw_ctrl_flow_v2_link_up() 72: wdev_idx=0 [ 29.830600] WiFi@C08L3,UpdateBeaconHandler() 1928: BCN_UPDATE_INIT, OmacIdx = 0 (ra0) [ 29.838416] WiFi@C08L3,UpdateBeaconHandler() 1941: Band0 BcnInitedRnd = 6 [ 29.845313] WiFi@C00L1,TxCCKStreamCtrl() 20562: set wrong parameters [ 29.860701] PrintSrCmd: [ 29.860701] u1CmdSubId = 1, u1ArgNum = 0, u1DbdcIdx = 0, u1Status = 0 [ 29.860701] u1DropTaIdx = 0, u1StaIdx = 0, u4Value = 1 [ 29.874673] PrintSrCmd: [ 29.874673] u1CmdSubId = 5, u1ArgNum = 0, u1DbdcIdx = 0, u1Status = 0 [ 29.874673] u1DropTaIdx = 0, u1StaIdx = 0, u4Value = 0 [ 29.888646] PrintSrCmd: [ 29.888646] u1CmdSubId = 3, u1ArgNum = 0, u1DbdcIdx = 0, u1Status = 0 [ 29.888646] u1DropTaIdx = 0, u1StaIdx = 0, u4Value = 1 [ 29.902615] PrintSrCmd: [ 29.902615] u1CmdSubId = 23, u1ArgNum = 0, u1DbdcIdx = 0, u1Status = 0 [ 29.902615] u1DropTaIdx = 0, u1StaIdx = 0, u4Value = 0 [ 29.916670] PrintSrCmd: [ 29.916670] u1CmdSubId = 31, u1ArgNum = 0, u1DbdcIdx = 0, u1Status = 0 [ 29.916670] u1DropTaIdx = 0, u1StaIdx = 0, u4Value = 0 [ 29.930729] PrintSrCmd: [ 29.930729] u1CmdSubId = 33, u1ArgNum = 0, u1DbdcIdx = 0, u1Status = 0 [ 29.930729] u1DropTaIdx = 0, u1StaIdx = 0, u4Value = 0 [ 29.944794] WiFi@C12L1,EDCCAInit() 21100: EDCCA compensation: uni_compensation=0, bw_compensation=0, final compensation=0 [ 29.955737] WiFi@C03L3,MtCmdTxPwrShowInfo() 13748: ucTxPowerInfoCatg: 2, BandIdx: 0 [ 29.963470] WiFi@C03L3,MtCmdTxPwrShowInfo() 13777: (ret = 0) [ 29.963562] [mtf_txpower_all_rate_info] band_idx:0 pwr:48 ChBand:2G ePAGain:0 [ 29.969146] mtk_ppe_dev_register_hook : ineterface ra0 register (1) [ 29.983445] pppoe-wan: renamed from ppp0 [ 30.007700] br-lan: port 2(ra0) entered blocking state [ 30.012886] br-lan: port 2(ra0) entered disabled state [ 30.018289] device ra0 entered promiscuous mode [ 30.023054] br-lan: port 2(ra0) entered blocking state [ 30.028246] br-lan: port 2(ra0) entered forwarding state [ 30.061738] WiFi@C08L2,mbss_virtual_if_open() 134: ===> rax0 [ 30.067538] WiFi@C01L2,RTMP_COM_IoctlHandle() 1514: -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_INIT [ 30.075674] WiFi@C01L2,RTMP_COM_IoctlHandle() 1491: -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP [ 30.083694] WiFi@C01L3,wifi_sys_open() 856: wdev idx = 1 [ 30.089388] WiFi@C18L3,BuildChannelList() 484: [ 30.093962] WiFi@C00L3,BuildChannelList() 514: BandIdx = 1, PhyMode = 177, ChListNum = 13: [ 30.102267] WiFi@C23L3,DfsBuildChannelList() 3884: Done [ 30.107536] WiFi@C23L3,RadarStateCheck() 250: Zero Wait State: 0 [ 30.113558] WiFi@C23L3,RadarStateCheck() 308: [1;33m RD_NORMAL_MODE [m [ 30.120361] WiFi@C23L3,operate_loader_phy() 360: oper_cfg: prim_ch(36), ht_bw(1), extcha(1), vht_bw(2), cen_ch_2(0), PhyMode=177! [ 30.132022] WiFi@C23L3,operate_loader_phy() 374: oper_dev after adjust: bw(3), prim_ch(36), cen_ch_1(50), cen_ch_2(0),ext_cha(1)! [ 30.143673] WiFi@C23L3,operate_loader_phy() 393: oper_dev after decision: bw(3), prim_ch(36), cen_ch_1(50), cen_ch_2(0)! [ 30.154543] WiFi@C08L1,AsicSwitchChannel() 334: AsicSwitchChannel::bandIdx:1 ch_band:1 htbw:1 vht_bw:2 bw:3 extcha:1 [ 30.165065] WiFi@C08L1,AsicSwitchChannel() 339: AsicSwitchChannel::primch:36 cench1:50 cench2:0 rxstream:4 ap_bw:0 apCenCh:0 Scan:0 [ 30.176959] WiFi@C00L1,mt7986_apply_dpd_flatness_data() 622: eeprom 0x19a bit 0 is 0, do runtime cal [ 30.186110] WiFi@C03L3,MtCmdChannelSwitch() 2539: ctrl_chl=36, ctrl_ch2=0, cent_ch=50 DBDCIdx=1, ChBand=1, BW=3, TXStream=4, RXStream=4, scan(0) [ 30.524589] WiFi@C03L3,MtCmdSetTxRxPath() 2799: ctrl_chl=36, ctrl_ch2=0, cent_ch=50, RxPath=f, BandIdx=1, ChBand=1, BW=3,TXStream=4, RXStream=15, scan(0) [ 30.543349] WiFi@C12L1,EDCCAInit() 21100: EDCCA compensation: uni_compensation=0, bw_compensation=0, final compensation=0 [ 30.554523] WiFi@C00L2,dump_ht_cap() 29: Caller: wlan_operate_init+0xa4/0x148 [mt_wifi] [ 30.562522] wdev_attr_update(): wdevId1 = 26:cf:24:b4:c2:25 [ 30.568098] WiFi@C12L1,wifi_sys_open() 907: wifi_sys_open():band1 group_idx[1]=4, bw_grp=16 omac=0 [ 30.577053] WiFi@C08L3,hw_ctrl_flow_v2_open() 13: wdev_idx=1 [ 30.583868] WiFi@C02L2,AsicRadioOnOffCtrl() 2355: DbdcIdx=1 RadioOn [ 30.590658] WiFi@C00L2,ApAutoChannelAtBootUp() 333: -----------------> [ 30.597263] WiFi@C03L1,MtCmdSetMacTxRx() 10244: (ret = 0) [ 30.602738] WiFi@C03L1,MtCmdSetMacTxRx() 10244: (ret = 0) [ 30.608125] WiFi@C00L1,ApAutoChannelAtBootUp() 492: zero-wait DFS is not enabled [ 30.615503] WiFi@C08L1,ap_run_at_boot() 624: [41m ACS is disable !![m [ 30.622293] WiFi@C08L2,APStartUpForMbss() 984: ===>(caller:ap_inf_open+0x138/0x4c8 [mt_wifi]), mbss_idx:1, CfgMode:0 [ 30.632797] WiFi@C15L2,APPMFInit() 133: [PMF] apidx=1, MFPC=0, MFPR=0, SHA256=0 [ 30.640098] WiFi@C18L3,BuildChannelList() 484: [ 30.644802] WiFi@C00L2,dump_ht_cap() 29: Caller: dump_ht_cap+0x10/0x20 [mt_wifi] [ 30.652337] WiFi@C08L2,ap_link_up() 7152: (caller:wdev_do_linkup+0x20/0x38 [mt_wifi]), wdev(1) [ 30.660950] WiFi@C01L3,wifi_sys_linkup() 1231: wdev idx = 1 [ 30.711908] WiFi@C00L3,wtc_acquire_groupkey_wcid() 84: Found a non-occupied wtbl_idx:542 for WDEV_TYPE:1 [ 30.711908] LinkToOmacIdx = 0, LinkToWdevType = 1 [ 30.726249] WiFi@C08L3,hw_ctrl_flow_v2_link_up() 72: wdev_idx=1 [ 30.738926] WiFi@C08L3,UpdateBeaconHandler() 1928: BCN_UPDATE_INIT, OmacIdx = 0 (rax0) [ 30.746827] WiFi@C08L3,UpdateBeaconHandler() 1941: Band1 BcnInitedRnd = 14 [ 30.764997] PrintSrCmd: [ 30.764997] u1CmdSubId = 1, u1ArgNum = 0, u1DbdcIdx = 1, u1Status = 0 [ 30.764997] u1DropTaIdx = 0, u1StaIdx = 0, u4Value = 1 [ 30.778969] PrintSrCmd: [ 30.778969] u1CmdSubId = 5, u1ArgNum = 0, u1DbdcIdx = 1, u1Status = 0 [ 30.778969] u1DropTaIdx = 0, u1StaIdx = 0, u4Value = 0 [ 30.792939] PrintSrCmd: [ 30.792939] u1CmdSubId = 3, u1ArgNum = 0, u1DbdcIdx = 1, u1Status = 0 [ 30.792939] u1DropTaIdx = 0, u1StaIdx = 0, u4Value = 1 [ 30.806909] PrintSrCmd: [ 30.806909] u1CmdSubId = 23, u1ArgNum = 0, u1DbdcIdx = 1, u1Status = 0 [ 30.806909] u1DropTaIdx = 0, u1StaIdx = 0, u4Value = 0 [ 30.820965] PrintSrCmd: [ 30.820965] u1CmdSubId = 31, u1ArgNum = 0, u1DbdcIdx = 1, u1Status = 0 [ 30.820965] u1DropTaIdx = 0, u1StaIdx = 0, u4Value = 0 [ 30.835020] PrintSrCmd: [ 30.835020] u1CmdSubId = 33, u1ArgNum = 0, u1DbdcIdx = 1, u1Status = 0 [ 30.835020] u1DropTaIdx = 0, u1StaIdx = 0, u4Value = 0 [ 30.849089] WiFi@C12L1,EDCCAInit() 21100: EDCCA compensation: uni_compensation=0, bw_compensation=0, final compensation=0 [ 30.860026] WiFi@C03L3,MtCmdTxPwrShowInfo() 13748: ucTxPowerInfoCatg: 2, BandIdx: 1 [ 30.867761] WiFi@C03L3,MtCmdTxPwrShowInfo() 13777: (ret = 0) [ 30.867856] [mtf_txpower_all_rate_info] band_idx:1 pwr:47 ChBand:5G ePAGain:0 [ 30.873446] mtk_ppe_dev_register_hook : ineterface rax0 register (2) [ 30.891953] br-lan: port 3(rax0) entered blocking state [ 30.897203] br-lan: port 3(rax0) entered disabled state [ 30.902719] device rax0 entered promiscuous mode [ 30.907489] br-lan: port 3(rax0) entered blocking state [ 30.912716] br-lan: port 3(rax0) entered forwarding state [ 31.801977] BcnCheck start after 3100 ms (ra0) [ 31.806452] BcnCheck start after 3900 ms (ra0) [ 34.429948] BcnCheck start after 600 ms (ra0) [ 34.434314] BcnCheck start after 1400 ms (ra0) [ 53.453358] entrytb_aid_aquire(): found non-occupied aid:2, allocated from:2 [ 53.460412] 7986@C13L2,MacTableInsertEntry() 1559: New Sta:24:2e:02:75:06:0c [ 53.470120] 7986@C08L3,ap_cmm_peer_assoc_req_action() 1652: Recv Assoc from STA - 24:2e:02:75:06:0c [ 53.479449] 7986@C08L3,ap_cmm_peer_assoc_req_action() 2175: ASSOC Send ASSOC response (Status=0)... [ 53.488555] 7986@C01L3,wifi_sys_conn_act() 1115: wdev idx = 1 [ 53.494561] 7986@C08L3,hw_ctrl_flow_v2_connt_act() 215: wdev_idx=1 [ 53.618422] 7986@C15L3,WPABuildPairMsg1() 5283: <=== send Msg1 of 4-way [ 53.628429] 7986@C15L3,PeerPairMsg2Action() 6206: ===>Receive msg 2 [ 53.635029] 7986@C15L3,WPABuildPairMsg3() 5568: <=== send Msg3 of 4-way [ 53.643391] 7986@C15L3,PeerPairMsg4Action() 6636: ===>Receive msg 4 [ 53.654830] 7986@C15L2,PeerPairMsg4Action() 6999: AP SETKEYS DONE(rax0) - AKMMap=WPA2PSK, PairwiseCipher=AES, GroupCipher=AES, wcid=1 from 24:2e:02:75:06:0c [ 53.654830] [ 132.936261] value=1, hook is enabled now! [ 137.931893] value=1, hook is enabled now!
目前已有thunder35大佬拆U看了,红米AX6000要硬改USB看来要拆U飞线 红米AX6000硬改2GB内存+硬改512MB闪存教程(含硬改USB的可能性)
有大佬提醒,是不是USB供电AVDD09、AVDD12、AVDD18、AVDD33这些没有,所以启动报错?
360T7开启USB没问题,因为它有供电。红米AX6000应该是USB ip没有供电,还是得从硬件解决。
大佬新年好,我想尝试硬改红米AX6000的USB2.0,现在想先搞个固件,用大佬的源码编译,按openwrt的方法加入USB内核和驱动,但是系统日志报时钟不稳定错误xhci-mtk 11200000.xhci: clocks are not stable (0x3d0f),ssh登录输入lsusb命令报不能初始化错误unable to initialize libusb: -99
提取查看编译固件的DTS时钟和红米AX6000官方固件的DTS、BPI-R3、XDR6086这些好像没有区别,找不出问题所在。
大佬是否有兴趣有空帮看看?谢谢了~
内核日志注册USB报错:
lsusb报错及安装的内核和驱动:
完整内核日志: