hzyitc / openwrt-redmi-ax3000

Openwrt for Redmi AX3000 / Xiaomi CR880x / Xiaomi CR881x
Other
415 stars 85 forks source link

不知为何自动关机 #63

Open 114514thD opened 5 months ago

114514thD commented 5 months ago

AX3000(M81、RA81)刷入最新的几个固件(老固件没试),全都是一开无线,就过一会自己熄灯断网,ttl输命令无反应,测电压txrx1v,vcc1.8v 补充:是2.4G无线中继后开启2.4G无线

114514thD commented 5 months ago

经过实验,发现具体现象:2.4G中继+无线,一会儿自动关机、5G中继+2.4G无线,正常,重启正常、5G中继+2.4G无线+5G无线,正常,但是重启后关机,进后台开关5G无线后能用,但是重启后还是关机 所以关键现象是同一网卡同时开中继和无线广播的情况下不能正常启动 关机也不是真正的关机,是电压txrx1v,vcc1.8v,而正常工作时txrxvcc都是1.8v

baysonfox commented 5 months ago

我也遇到了类似情况,不过只发生在2.4G频段,且与部分小米家居的智能设备有关. 目前似乎能定位到发射功率,可能在比较高的功率会崩溃(? 或许和#43提到的BDF有关

补充: 型号是RA81

114514thD commented 5 months ago

我试过了降低发射功率,但是过一段时间还是会自动关机,5G中继的话久了也会自动关机,但是一重启很快就会关机,我感觉可能是固件哪里的问题。 换了恩山论坛某团队制作的Nwrt(用了QSDK)后一切正常。 可能确实和小米的智能硬件有点关系,因为在后台输入ifconfig的话,可以看到有miot的网段,但是我不确定关系几何。

baysonfox commented 5 months ago

我也在继续尝试,似乎还是会不太稳定. 有点难定位原因.

baysonfox commented 5 months ago

换了恩山论坛某团队制作的Nwrt(用了QSDK)后一切正常。 介意发个论坛的链接吗?

114514thD commented 5 months ago

论坛https://www.right.com.cn/forum/forum.php 这是nwrt团队的帖子https://www.right.com.cn/forum/thread-8312966-1-1.html 固件团队看起来没打算开源,付费进他们的Q群才可以下载

hzyitc commented 5 months ago

可能是oom?但这个一般不会导致重启。高通平台异常崩溃会走特殊流程,可能确实会导致无法启动。

以及中继我确实没测试过

114514thD commented 5 months ago

应该不是,我观察过,内存占用一直很正常,nwrt的固件上试过爆内存,也只会卡住而不会关机

ne00 commented 1 month ago

遇到了同样情况

charlestamz commented 1 month ago

我也有这个情况

hayd1n commented 1 month ago

实测有相同问题 使用版本:[CI ipq50xx-mainline-kernel-5.4-openwrt-21.02-qsdk-wifi-rebase 2024-07-19 15:47:59 UTC(+00:00)](https://github.com/hzyitc/openwrt-redmi-ax3000/releases/tag/ci-ipq50xx-mainline-kernel-5.4-openwrt-21.02-qsdk-wifi-rebase-20240719-154759-UTC)

I also encountered the same problem Version: [CI ipq50xx-mainline-kernel-5.4-openwrt-21.02-qsdk-wifi-rebase 2024-07-19 15:47:59 UTC(+00:00)](https://github.com/hzyitc/openwrt-redmi-ax3000/releases/tag/ci-ipq50xx-mainline-kernel-5.4-openwrt-21.02-qsdk-wifi-rebase-20240719-154759-UTC)

Kernel Log
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.164 (runner@fv-az1250-571) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 ci-20240718-141758-e4a6dd47)) #0 SMP PREEMPT Mon Apr 17 13:15:36 2023
[    0.000000] CPU: ARMv7 Processor [51af8014] revision 4 (ARMv7), cr=10c0383d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Redmi AX3000
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 49152
[    0.000000]   Normal zone: 576 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 49152 pages, LIFO batch:15
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 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] psci: OSI mode supported.
[    0.000000] percpu: Embedded 15 pages/cpu s32204 r8192 d21044 u61440
[    0.000000] pcpu-alloc: s32204 r8192 d21044 u61440 alloc=15*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 48576
[    0.000000] Kernel command line: ubi.mtd=rootfs_1 root=mtd:ubi_rootfs rootfstype=squashfs cnss2.bdf_integrated=0x24 cnss2.bdf_pci0=0x60 cnss2.bdf_pci1=0x60 cnss2.skip_radio_bmap=4 rootwait uart_en=1 root=/dev/ubiblock0_1 coherent_pool=2M
[    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] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 183392K/196608K available (6900K kernel code, 264K rwdata, 2092K rodata, 1024K init, 363K bss, 13216K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] GICv2m: range[mem 0x0b00a000-0x0b00affc], SPI[448:479]
[    0.000000] GICv2m: range[mem 0x0b00b000-0x0b00bffc], SPI[480:511]
[    0.000000] random: get_random_bytes called from start_kernel+0x344/0x4f4 with crng_init=0
[    0.000000] arch_timer: cp15 and mmio timer(s) running at 24.00MHz (virt/virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000018] Switching to timer-based delay loop, resolution 41ns
[    0.000416] Console: colour dummy device 80x30
[    0.000907] printk: console [tty0] enabled
[    0.000945] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000980] pid_max: default: 32768 minimum: 301
[    0.001141] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001175] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.002080] CPU: Testing write buffer coherency: ok
[    0.002532] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.003386] Setting up static identity map for 0x41300000 - 0x41300060
[    0.003595] rcu: Hierarchical SRCU implementation.
[    0.004108] smp: Bringing up secondary CPUs ...
[    0.005145] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.005330] smp: Brought up 1 node, 2 CPUs
[    0.005378] SMP: Total of 2 processors activated (96.00 BogoMIPS).
[    0.005398] CPU: All CPU(s) started in SVC mode.
[    0.013957] VFP support v0.3: implementor 51 architecture 3 part 40 variant 3 rev 4
[    0.014404] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.014461] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.014635] pinctrl core: initialized pinctrl subsystem
[    0.015785] NET: Registered protocol family 16
[    0.017359] DMA: preallocated 2048 KiB pool for atomic coherent allocations
[    0.018636] cpuidle: using governor ladder
[    0.018713] cpuidle: using governor menu
[    0.018962] NET: Registered protocol family 42
[    0.019399] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.019434] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.061079] qcom,gcc-ipq5018 1800000.gcc: Registered ipq5018 GCC clocks provider
[    0.075306] msm_sps_probe: sps:sps is ready
[    0.103770] pps_core: LinuxPPS API ver. 1 registered
[    0.103803] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti 
[    0.103847] PTP clock support registered
[    0.104692] Advanced Linux Sound Architecture Driver Initialized.
[    0.104813] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.106112] clocksource: Switched to clocksource arch_sys_counter
[    0.110829] thermal_sys: Registered thermal governor 'step_wise'
[    0.110838] thermal_sys: Registered thermal governor 'user_space'
[    0.111885] NET: Registered protocol family 2
[    0.112059] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.112892] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.112961] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.113016] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.113073] TCP: Hash tables configured (established 2048 bind 2048)
[    0.113200] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.113247] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.113515] NET: Registered protocol family 1
[    0.113569] PCI: CLS 0 bytes, default 64
[    0.115100] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    0.120710] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.120746] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.156819] Key type asymmetric registered
[    0.156866] Asymmetric key parser 'x509' registered
[    0.156947] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    0.159129] bam-dma-engine 704000.dma: num-channels unspecified in dt
[    0.159167] bam-dma-engine 704000.dma: num-ees unspecified in dt
[    0.159960] bam-dma-engine 7884000.dma: qcom,controlled-remotely unspecified
[    0.160934] bam-dma-engine 7984000.dma: qcom,controlled-remotely unspecified
[    0.162786] CPU: IPQ5000, SoC Version: 1.1
[    0.163510] TZ Log : Will warn on Access Violation, as paniconaccessviolation is not set
[    0.164712] msm_serial 78af000.serial: msm_serial: detected port #0
[    0.164781] msm_serial 78af000.serial: uartclk = 1843199
[    0.164873] 78af000.serial: ttyMSM0 at MMIO 0x78af000 (irq = 29, base_baud = 115199) is a MSM
[    0.164923] msm_serial: console setup on port #0
[    0.766889] printk: console [ttyMSM0] enabled
[    0.771878] msm_serial: driver initialized
[    0.776402] random: fast init done
[    0.779904] random: crng init done
[    0.787011] brd: module loaded
[    0.791609] loop: module loaded
[    0.793744] nand: device found, Manufacturer ID: 0xc8, Chip ID: 0x41
[    0.793792] nand: ESMT GD5F1GQ5REYIG SPI NAND 1G
[    0.800205] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 128
[    0.804784] qcom-nandc 79b0000.qpic-nand: cfg0 996c08d0 cfg1 8287140 ecc_buf_cfg 203 ecc_bch cfg 42040d10 cw_size 532 cw_data 516 strength 8 parity_bytes 16 steps 4
[    0.812343] qcom-nandc 79b0000.qpic-nand: x4 mode enabled already remotely
[    0.827172] qcom-nandc 79b0000.qpic-nand: Serial training partition not found
[    0.833758] qcom-nandc 79b0000.qpic-nand: failed to enable serial training
[    0.841108] 22 fixed-partitions partitions found on MTD device qcom_nand.0
[    0.847766] Creating 22 MTD partitions on "qcom_nand.0":
[    0.854591] 0x000000000000-0x000000080000 : "0:SBL1"
[    0.861430] 0x000000080000-0x000000100000 : "0:MIBIB"
[    0.866403] 0x000000100000-0x000000140000 : "0:BOOTCONFIG"
[    0.871004] 0x000000140000-0x000000180000 : "0:BOOTCONFIG1"
[    0.876490] 0x000000180000-0x000000280000 : "0:QSEE"
[    0.882596] 0x000000280000-0x000000380000 : "0:QSEE_1"
[    0.887833] 0x000000380000-0x0000003c0000 : "0:DEVCFG"
[    0.892137] 0x0000003c0000-0x000000400000 : "0:DEVCFG_1"
[    0.897245] 0x000000400000-0x000000440000 : "0:CDT"
[    0.902627] 0x000000440000-0x000000480000 : "0:CDT_1"
[    0.907336] 0x000000480000-0x000000500000 : "0:APPSBLENV"
[    0.912676] 0x000000500000-0x000000640000 : "0:APPSBL"
[    0.918858] 0x000000640000-0x000000780000 : "0:APPSBL_1"
[    0.923761] 0x000000780000-0x000000880000 : "0:ART"
[    0.929093] 0x000000880000-0x000000900000 : "0:TRAINING"
[    0.933158] 0x000000900000-0x000000980000 : "bdata"
[    0.938869] 0x000000980000-0x000000a00000 : "crash"
[    0.943340] 0x000000a00000-0x000000a80000 : "crash_syslog"
[    0.948273] 0x000000a80000-0x000002e80000 : "rootfs"
[    0.984596] mtd: device 18 (rootfs) set to be root filesystem
[    0.984911] mtdsplit: no squashfs found in "rootfs"
[    0.989431] 0x000002e80000-0x000005280000 : "rootfs_1"
[    1.026355] 0x000005280000-0x000007180000 : "overlay"
[    1.054597] 0x000007180000-0x000007200000 : "rsvd0"
[    1.057337] libphy: Fixed MDIO Bus: probed
[    1.272010] qca-mdio 88000.mdio: Could not find phy-reset-gpio
[    1.272229] libphy: qca_mdio: probed
[    1.277494] qca-mdio 88000.mdio: qca-mdio driver was registered
[    1.720969] qca-mdio 90000.mdio: Could not find phy-reset-gpio
[    1.721178] libphy: qca_mdio: probed
[    1.728381] qca-mdio 90000.mdio: qca-mdio driver was registered
[    1.836433] i2c /dev entries driver
[    1.837295] qcom-tsens 4a9000.thermal-sensor: tsens device is not enabled
[    1.840489] cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 799999 KHz
[    1.845767] cpufreq: cpufreq_online: CPU0: Unlisted initial frequency changed to: 800000 KHz
[    1.854523] sdhci: Secure Digital Host Controller Interface driver
[    1.861546] sdhci: Copyright(c) Pierre Ossman
[    1.867483] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.872313] 
[    1.872313] Version Rollback Feature Disabled
[    1.879872] remoteproc remoteproc0: cd00000.remoteproc is available
[    1.884246] remoteproc remoteproc1: 4ab000.remoteproc_pd1 is available
[    1.890436] remoteproc remoteproc2: cd00000.remoteproc:remoteproc_pd2 is available
[    1.896594] coresight-tmc 6048000.tmc: No Q6 ETR memory region specified
[    1.903705] coresight-tmc 6047000.tmc: failed to get flush cti, defer probe
[    1.910693] coresight-dynamic-funnel 6041000.funnel: Uses obsolete Coresight DT bindings
[    1.919596] coresight coresight-etm0: CPU0: ETM v4.0 initialized
[    1.925463] coresight-etm4x 619c000.etm: CPU0: (null) initialized
[    1.931980] coresight coresight-etm1: CPU1: ETM v4.0 initialized
[    1.937489] coresight-etm4x 619d000.etm: CPU1: (null) initialized
[    1.943760] coresight-stm 6002000.stm: coresight-stm : stm_register_device failed, probing deferred
[    1.949741] OF: graph: no port node found in /soc/cti@6010000
[    1.958700] OF: graph: no port node found in /soc/cti@6011000
[    1.964506] OF: graph: no port node found in /soc/cti@6012000
[    1.970289] OF: graph: no port node found in /soc/cti@6013000
[    1.975979] OF: graph: no port node found in /soc/cti@6014000
[    1.981750] OF: graph: no port node found in /soc/cti@6015000
[    1.987480] OF: graph: no port node found in /soc/cti@6016000
[    1.993159] OF: graph: no port node found in /soc/cti@6017000
[    1.998916] OF: graph: no port node found in /soc/cti@6018000
[    2.004608] OF: graph: no port node found in /soc/cti@6019000
[    2.010421] OF: graph: no port node found in /soc/cti@601a000
[    2.016060] OF: graph: no port node found in /soc/cti@601b000
[    2.021864] OF: graph: no port node found in /soc/cti@601c000
[    2.027595] OF: graph: no port node found in /soc/cti@601d000
[    2.033247] OF: graph: no port node found in /soc/cti@601e000
[    2.039043] OF: graph: no port node found in /soc/cti@601f000
[    2.044715] OF: graph: no port node found in /soc/cti@6198000
[    2.050511] OF: graph: no port node found in /soc/cti@6199000
[    2.056244] OF: graph: no port node found in /soc/cti@610c000
[    2.062938] OF: graph: no port node found in /soc/hwevent@6101000
[    2.067448] coresight-hwevent 6101000.hwevent: No csr data
[    2.073797] OF: graph: no port node found in /soc/csr@6001000
[    2.079033] coresight-csr 6001000.csr: CSR initialized: coresight-csr
[    2.086800] NET: Registered protocol family 10
[    2.092154] Segment Routing with IPv6
[    2.095482] NET: Registered protocol family 17
[    2.099350] Bridge firewalling registered
[    2.103487] 8021q: 802.1Q VLAN Support v1.8
[    2.107878] Registering SWP/SWPB emulation handler
[    2.124907] coresight-tmc 6048000.tmc: No Q6 ETR memory region specified
[    2.125093] sps_register_bam_device: sps:BAM 0x06064000 is registered
[    2.131927] coresight coresight-stm: STM32 initialized
[    2.137464] ubi0: attaching mtd19
[    2.286465] ubi0: scanning is finished
[    2.292261] ubi0: attached mtd19 (name "rootfs_1", size 36 MiB)
[    2.292304] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    2.297055] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    2.303935] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    2.310819] ubi0: good PEBs: 288, bad PEBs: 0, corrupted PEBs: 0
[    2.317580] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128
[    2.323814] ubi0: max/mean erase counter: 12/4, WL threshold: 4096, image sequence number: 1681737336
[    2.330868] ubi0: available PEBs: 20, total reserved PEBs: 268, PEBs reserved for bad PEB handling: 20
[    2.340206] ubi0: background thread "ubi_bgt0d" started, PID 84
[    2.350137] block ubiblock0_1: created from ubi0:1(rootfs)
[    2.355161] hctosys: unable to open rtc device (rtc0)
[    2.361349] ALSA device list:
[    2.365822]   No soundcards found.
[    2.372351] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    2.373566] Freeing unused kernel memory: 1024K
[    2.406376] Run /sbin/init as init process
[    2.630352] init: Console is alive
[    2.630612] init: - watchdog -
[    3.240748] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.295006] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.298336] init: - preinit -
[    8.025097] UBIFS (ubi0:2): Mounting in unauthenticated mode
[    8.025364] UBIFS (ubi0:2): background thread "ubifs_bgt0_2" started, PID 164
[    8.056646] UBIFS (ubi0:2): recovery needed
[    8.157242] UBIFS (ubi0:2): recovery completed
[    8.157412] UBIFS (ubi0:2): UBIFS: mounted UBI device 0, volume 2, name "rootfs_data"
[    8.160596] UBIFS (ubi0:2): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    8.168598] UBIFS (ubi0:2): FS size: 18411520 bytes (17 MiB, 145 LEBs), journal size 1015809 bytes (0 MiB, 7 LEBs)
[    8.178426] UBIFS (ubi0:2): reserved for root: 869621 bytes (849 KiB)
[    8.188646] UBIFS (ubi0:2): media format: w5/r0 (latest is w5/r0), UUID 9E034A9C-A97A-4283-B6F7-F5B0B9B55666, small LPT model
[    8.198781] mount_root: switching to ubifs overlay
[    8.214981] urandom-seed: Seeding with /etc/urandom.seed
[    8.272998] procd: - early -
[    8.273130] procd: - watchdog -
[    8.863260] procd: - watchdog -
[    8.865248] procd: - ubus -
[    8.920671] procd: - init -
[    9.295053] urngd: v1.0.2 started.
[    9.316065] kmodloader: loading kernel modules from /etc/modules.d/*
[    9.368650] ssdk_switch_device_num_init[1210]:INFO:ess-switch dts node number: 2
[    9.368726] ssdk_dt_get_switch_node[1015]:INFO:ess-switch DT exist!
[    9.375118] ssdk_dt_parse_access_mode[901]:INFO:switch_access_mode: local bus
[    9.381372] ssdk_dt_parse_access_mode[914]:INFO:switchreg_base_addr: 0x39c00000
[    9.388442] ssdk_dt_parse_access_mode[915]:INFO:switchreg_size: 0x200000
[    9.395517] ssdk_dt_parse_mac_mode[304]:INFO:mac mode = 0xf
[    9.402488] ssdk_dt_parse_mac_mode[310]:INFO:mac mode1 doesn't exit!
[    9.407774] ssdk_dt_parse_mac_mode[319]:INFO:mac mode2 doesn't exit!
[    9.414391] ssdk_dt_parse_port_bmp[802]:INFO:port_bmp doesn't exist!
[    9.420735] ssdk_dt_parse_uniphy[341]:INFO:ess-uniphy DT exist!
[    9.427054] ssdk_dt_parse_led[988]:INFO:current dts led_source_num is 0
[    9.432682] ssdk_plat_init start
[   12.006132] ssdk_mp_reset_init[812]:INFO:MP reset successfully!
[   12.006208] ssdk_gcc_clock_init[1206]:INFO:SSDK gcc clock init successfully!
[   12.012122] mpge_phy_api_ops_init[1089]:INFO:qca probe mpge phy driver succeeded!
[   12.018627] mpge_phy_dac_set[917]:INFO:phy mdac is set as 0x10
[   12.025576] mpge_phy_dac_set[929]:INFO:phy edac is set as 0x10
[   12.031336] regi_init[3788]:INFO:Initializing SCOMPHY!
[   13.200157] _adpt_mp_uniphy_clk_output_ctrl_set[236]:INFO:uniphy will output clock as 25000000Hz
[   13.200297] ssdk_switch_register[1862]:INFO:Chip version 0xee
[   13.208077] qca_link_polling_select[1370]:INFO:link-polling-required node does not exist
[   13.213656] ssdk_switch_register[1896]:INFO:polling is selected
[   13.221835] regi_init[3798]:INFO:Initializing SCOMPHY Done!!
[   13.227497] ssdk_dt_get_switch_node[1015]:INFO:ess-switch DT exist!
[   13.233360] ssdk_dt_parse_access_mode[901]:INFO:switch_access_mode: mdio
[   13.239365] ssdk_dt_parse_mac_mode[301]:INFO:mac mode doesn't exit!
[   13.246509] ssdk_dt_parse_mac_mode[310]:INFO:mac mode1 doesn't exit!
[   13.252363] ssdk_dt_parse_mac_mode[319]:INFO:mac mode2 doesn't exit!
[   13.258951] ssdk_dt_parse[1112]:INFO:switch node is qca83xx!
[   13.265210] ssdk_plat_init start
[   13.335284] f1_phy_api_ops_init[1603]:INFO:qca probe f1 phy driver succeeded!
[   13.335323] regi_init[3737]:INFO:Initializing ISISC!!
[   13.341436] OF: /soc/ess-instance/ess-switch1@1: could not get #gpio-cells for /soc/phy@86000
[   13.346466] qca_ar8327_gpio_reset[3663]:ERROR:gpio26 request failed, ret:-517
[   13.355101] ssdk_switch_register[1870]:INFO:Chip version 0x1302
[   13.362110] qca_link_polling_select[1370]:INFO:link-polling-required node does not exist
[   13.367867] ssdk_switch_register[1896]:INFO:polling is selected
[   15.086124] regi_init[3742]:INFO:Initializing ISISC Done!!
[   15.086244] regi_init[3824]:INFO:qca-ssdk module init succeeded!
[   15.094864] (unnamed net_device) (uninitialized): nss_dp_gmac: Registering netdev eth%d(qcom-id:1) with GMAC, mac_base: 0x90be0000
[   15.100589] (unnamed net_device) (uninitialized): nss_dp_gmac: Registering netdev eth%d(qcom-id:2) with GMAC, mac_base: 0x90f20000
[   15.110815] **********************************************************
[   15.120064] * NSS Data Plane driver
[   15.129092] **********************************************************
[   15.275231] nss_driver - fw of size 781856  bytes copied to load addr: 40000000, nss_id : 0
[   15.277378] Supported Frequencies - 
[   15.277386] 850 MHz 
[   15.282416] 1 GHz 
[   15.286274] 
[   15.290350] 7f0e5e40: set sdma 8e93e000
[   15.292341] node size 2 # items 4
[   15.295436] memory: 40000000 268435456 (avl 198524928) items 4 active_cores 1
[   15.299082] addr/size storage words 2 2 # words 4 in DTS, ddr size 800000
[   15.306030] 7f0e5e40: NSS core 0 DDR from 40000000 to 40800000
[   15.313018] 7f0e5e40: meminfo init succeed
[   15.321400] gre: GRE over IPv4 demultiplexor driver
[   15.324111] ip_gre: GRE over IPv4 tunneling driver
[   15.336762] Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[   15.349942] node size 2 # items 4
[   15.350001] memory: 40000000 268435456 (avl 198524928) items 4 active_cores 1
[   15.352257] addr/size storage words 2 2 # words 4 in DTS, ddr size 800000
[   15.354770] PPP generic driver version 2.4.2
[   15.359456] 7f0e5e40: nss core 0 booted successfully
[   15.371665] NET: Registered protocol family 24
[   15.384747] nss_wifi_meshmgr_init_module[1997]:Module Build Id: 07/18/24, 15:29:39 loaded
[   15.388254] Loading modules backported from Linux version e4a6dd4
[   15.391934] Backport generated by backports.git e4a6dd4
[   15.410252] PPTP driver version 0.8.5
[   15.432567] xt_time: kernel timezone is -0000
[   15.627035] ath11k c000000.wifi: ipq5018 hw1.0
[   15.627666] remoteproc remoteproc1: powering up 4ab000.remoteproc_pd1
[   15.677803] remoteproc remoteproc1: Booting fw image IPQ5018/q6_fw.mdt, size 1820
[   15.677998] remoteproc remoteproc0: powering up cd00000.remoteproc
[   15.684391] remoteproc remoteproc0: Booting fw image IPQ5018/q6_fw.mdt, size 1820
[   17.306942] Subsystem error monitoring/handling services are up
[   17.426170] remoteproc remoteproc0: remote processor cd00000.remoteproc is now up
[   17.436311] Subsystem error monitoring/handling services are up
[   17.455843] ath11k c000000.wifi: chip_id 0x0 chip_family 0x4 board_id 0x10 soc_id 0xffffffff
[   17.455899] ath11k c000000.wifi: fw_version 0x270206d0 fw_build_timestamp 2022-08-04 13:28 fw_build_id QC_IMAGE_VERSION_STRING=WLAN.HK.2.7.0.1-01744-QCAHKSWPL_SILICONZ-1
[   17.482567] ath11k c000000.wifi: qmi caldata downloaded: type: 2
[   17.556138] remoteproc remoteproc1: remote processor 4ab000.remoteproc_pd1 is now up
[   17.563274] ath11k c000000.wifi: No qcom,pta_num entry in dev-tree.
[   17.563324] ath11k c000000.wifi: No qcom,coex_mode entry in dev-tree.
[   17.567040] ath11k soc:wifi1@c000000: qcn6122
[   17.569007] ath11k c000000.wifi: No qcom,bt-active-time entry in dev-tree.
[   17.575928] remoteproc remoteproc2: powering up cd00000.remoteproc:remoteproc_pd2
[   17.580071] ath11k c000000.wifi: No qcom,bt-priority-time entry in dev-tree.
[   17.587030] remoteproc remoteproc2: Booting fw image IPQ5018/q6_fw.mdt, size 1820
[   17.594213] ath11k c000000.wifi: No qcom,coex-algo entry in dev-tree.
[   17.594219] ath11k c000000.wifi: No qcom,pta-priority entry in dev-tree.
[   17.618292] Subsystem error monitoring/handling services are up
[   17.699668] ath11k soc:wifi1@c000000: qmi ignore invalid mem req type 10
[   17.751401] remoteproc remoteproc2: remote processor cd00000.remoteproc:remoteproc_pd2 is now up
[   17.753333] kmodloader: done loading kernel modules from /etc/modules.d/*
[   17.822345] ath11k soc:wifi1@c000000: chip_id 0x0 chip_family 0x4 board_id 0x60 soc_id 0xffffffff
[   17.822404] ath11k soc:wifi1@c000000: fw_version 0x270206d0 fw_build_timestamp 2022-08-04 13:28 fw_build_id QC_IMAGE_VERSION_STRING=WLAN.HK.2.7.0.1-01744-QCAHKSWPL_SILICONZ-1
[   17.849384] ath11k soc:wifi1@c000000: qmi caldata downloaded: type: 2
[   17.853018] ath11k c000000.wifi: Direct firmware load for ath11k/IPQ5018/hw1.0/qdss_trace_config.bin failed with error -2
[   17.854929] ath11k c000000.wifi: Falling back to sysfs fallback for: ath11k/IPQ5018/hw1.0/qdss_trace_config.bin
[   18.075495] ieee80211 phy1: copying sband (band 1) due to VHT EXT NSS BW flag
[   18.077751] ath11k soc:wifi1@c000000: Direct firmware load for ath11k/qcn6122/hw1.0/qdss_trace_config.bin failed with error -2
[   18.077816] ath11k soc:wifi1@c000000: Falling back to sysfs fallback for: ath11k/qcn6122/hw1.0/qdss_trace_config.bin
[   18.359993] ath11k c000000.wifi: Direct firmware load for qdss_trace_config.bin failed with error -2
[   18.360065] ath11k c000000.wifi: Falling back to sysfs fallback for: qdss_trace_config.bin
[   18.958788] ath11k c000000.wifi: qmi failed to load QDSS config: qdss_trace_config.bin
[   18.958844] ath11k c000000.wifi: Failed to download QDSS config to FW: -12
[   20.237912] ECM init
[   20.238096] ECM database jhash random seed: 0x926490d8
[   20.242396] ECM init complete
[   22.324296] br-lan: port 1(eth1) entered blocking state
[   22.324348] br-lan: port 1(eth1) entered disabled state
[   22.333525] device eth1 entered promiscuous mode
[   22.342834] br-lan: port 1(eth1) entered blocking state
[   22.342896] br-lan: port 1(eth1) entered forwarding state
[   22.374425] nss-dp 39c00000.dp1 eth0: PHY Link up speed: 1000
[   23.366752] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   23.543156] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   23.968704] wlan0: Created a NSS virtual interface
[   23.980764] br-lan: port 2(wlan0) entered blocking state
[   23.980836] br-lan: port 2(wlan0) entered disabled state
[   24.000981] device wlan0 entered promiscuous mode
[   24.001272] br-lan: port 2(wlan0) entered blocking state
[   24.004705] br-lan: port 2(wlan0) entered forwarding state
[   24.379024] br-lan: port 2(wlan0) entered disabled state
[   24.462324] ath11k c000000.wifi: bss color param 0x4000000 set on vdev 0
[   24.464046] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   24.469696] br-lan: port 2(wlan0) entered blocking state
[   24.474445] br-lan: port 2(wlan0) entered forwarding state
[   24.678935] debugfs: File 'virt_if' in directory 'stats' already present!
[   24.679390] wlan1: Created a NSS virtual interface
[   24.692777] br-lan: port 3(wlan1) entered blocking state
[   24.692841] br-lan: port 3(wlan1) entered disabled state
[   24.700493] device wlan1 entered promiscuous mode
[   24.703864] br-lan: port 3(wlan1) entered blocking state
[   24.707177] br-lan: port 3(wlan1) entered forwarding state
[   25.447037] br-lan: port 3(wlan1) entered disabled state
[   33.009624] ath11k soc:wifi1@c000000: bss color param 0x2c000000 set on vdev 0
[   33.011268] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[   33.017249] br-lan: port 3(wlan1) entered blocking state
[   33.022309] br-lan: port 3(wlan1) entered forwarding state
hayd1n commented 1 month ago

我试过了降低发射功率,但是过一段时间还是会自动关机,5G中继的话久了也会自动关机,但是一重启很快就会关机,我感觉可能是固件哪里的问题。 换了恩山论坛某团队制作的Nwrt(用了QSDK)后一切正常。 可能确实和小米的智能硬件有点关系,因为在后台输入ifconfig的话,可以看到有miot的网段,但是我不确定关系几何。

@114514thD 因为我来自台湾,没办法付费进群下载nwrt固件,你是否愿意私下分享一下nwrt固件用于研究? 我的邮箱是m831718@gmail.com