Revert "linux-firmware: package ath11k consumer cards firmware"
This reverts commit 6b10e5f27f3a5fab0b77c4ad183aa700a5b0c7d4.
Q:你知道这是pull request吗?(使用 "x" 选择)
- [x] 我知道
@robimarko @aiamadeus
TL;DR,
This commit breaks my WCN6855 wireless card.
Problems
I agree this repo is an awesome project. I use it and love it. So, when I bought a WCN6855 card for my router, I began to contribute the firmware support of that card on this repo. But sadly, the firmware broke a few days ago because of a confusing commit.
I have no idea if there is any reason to migrate from ath11k-firmware to linux-firmware, but I'm sure there are some bugs from the firmware in latter.
- WCN6855 always loads firmware from
/lib/firmware/ath11k/WCN6855/hw2.1/instead of/lib/firmware/ath11k/WCN6855/hw2.0/, so the symlink is needed. That commit removed the line of$(LN)that I added in https://github.com/coolsnowwolf/lede/pull/10078 , then it causes firmware fail to load.
Here is my dmesg | grep ath11k result:
[ 7.915139] ath11k_pci 2363:00:00.0: BAR 0: assigned [mem 0xfe0000000-0xfe01fffff 64bit]
[ 7.918104] ath11k_pci 2363:00:00.0: MSI vectors: 32
[ 7.918971] ath11k_pci 2363:00:00.0: wcn6855 hw2.1
[ 8.085717] mhi mhi0: Direct firmware load for ath11k/WCN6855/hw2.1/amss.bin failed with error -2
[ 8.087763] mhi mhi0: Falling back to sysfs fallback for: ath11k/WCN6855/hw2.1/amss.bin
[ 8.092240] ath11k_pci 2363:00:00.0: failed to power up mhi: -110
[ 8.092901] ath11k_pci 2363:00:00.0: failed to start mhi: -110
[ 8.093523] ath11k_pci 2363:00:00.0: failed to power up :-110
[ 8.110613] ath11k_pci 2363:00:00.0: failed to create soc core: -110
[ 8.111252] ath11k_pci 2363:00:00.0: failed to init core: -110
[ 8.343472] ath11k_pci: probe of 2363:00:00.0 failed with error -110
-
The firmware in
linux-firmwaremay not work. As I knownath11k-firmwareis usually newer thanlinux-firmware. -
The firmware should not be rstrip/strip-ed. For more please details see this comment https://github.com/coolsnowwolf/lede/pull/10572#issuecomment-1344638810 . That commit forgot to keep this change.
Solutions
- If there is no reason to do this migration, I prefer revert the commit and continue using
ath11k-firmwareuntillinux-firmwareis stable enough for ath11k cards. - If there is some issue with current firmware, we can take a look and then make a decision. For example, we can a. push upstream
linux-firmwareto add the same symbol link and update outdated binaries, b. continue useath11k-firmwareand contributee changes on it. - For any maintainer/contributor, please follow up development best practice as possible as you can. For example, create a pull request with detailed description, waiting for previous maintainers to stamp the PR ( at least you can tag them in the pull request / commit description to take a look).
Thanks for your understanding, let's make open source better.
@malash Thanks for adding me, I forgot the symlink for hw2.1. Great catch on finding out that firmware was getting stripped during building which obviously should not happen and I dont remember that we ever had a case like this. I already got the missing symlink merged upstream, stripping will take some figuring out a proper way to disable per package though it looks like its just gonna end up being:
RSTRIP:=:
STRIP:=:
If the linux-firmware FW does not work, please open a bug report and Kalle will likely update it.
Lastly, I pretty much only care about the upstream repo, it took a lot of time and effort to get the ath11k PCI support (Which is the easy part) upstreamed, ipq807x is getting close but there are still things to sort out.
@robimarko
Thanks for your working!
In fact, I'm curious why we have to replace ath11k-firmware with linux-firmware now, instead of waiting for the later became stable enough? Because as I understand ath11k-firmware looks like a developing branch while linux-firmware is a stable branch. Kalle may update the former more frequently than the latter, which means we could benefit more from the former. linux-firmware is a ideal state but not for now.
Or is it possible to add an option for developers/users that can switch between these two upstream? Just like the options for ath10k and ath10k-ct:
B.T.W. I've tested this PR and everything works. If anyone needs ath11k-firmware you can use this PR.
Usually PCI devices use the one from linux-firmware as they are usually quite stable since they are mostly targeted at being used as clients in notebooks with the exception of QCN9074.
But they do have a fully functioning AP mode as well.
It would be great if you can open a bug in the kernels Bugzilla so Kalle updates the FW, he does it periodically.
Maybe useful. Device ipq6018/Linksys MR7350. Crashlog:
[ 7.430207] ath11k c000000.wifi: ipq6018 hw1.0
[ 7.430249] ath11k c000000.wifi: FW memory mode: 0
[ 7.433873] remoteproc remoteproc0: powering up cd00000.remoteproc
[ 7.438478] remoteproc remoteproc0: Booting fw image IPQ6018/q6_fw.mdt, size 7340
[ 8.311683] remoteproc remoteproc0: remote processor cd00000.remoteproc is now up
[ 8.312942] ath11k c000000.wifi: qmi ignore invalid mem req type 3
[ 8.318622] ath11k c000000.wifi: chip_id 0x0 chip_family 0x4 board_id 0xff soc_id 0xffffffff
[ 8.324261] ath11k c000000.wifi: fw_version 0x250a04b8 fw_build_timestamp 2021-12-20 07:20 fw_build_id WLAN.HK.2.5.0.1-01208-QCAHKSWPL_SILICONZ-1
[ 19.032726] ath11k c000000.wifi: failed to wait wlan mode request (mode 7): -110
[ 19.032791] ath11k c000000.wifi: qmi failed to send wlan fw mode: -110
[ 23.910553] qcom-q6v5-wcss-pil cd00000.remoteproc: watchdog received:
[ 23.910553] QC Image Version: QC_IMAGE_VERSION_STRING=WLAN.HK.2.5.0.1-01208-QCAHKSWPL_SILICONZ-1
[ 23.910553] Image Variant : IMAGE_VARIANT_STRING=6018.wlanfw.evalQ
[ 23.910553]
[ 23.910553] :Excep :0 Exception detectedparam0 :zero, param1 :zero, param2 :zero.
[ 23.910553] Thread ID : 0x00000061 Thread name : WLAN_SCHED1 Process ID : 0
[ 23.910553] Register:
[ 23.910553] SP : 0x4bb89a28
[ 23.910553] FP : 0x4bb89a40
[ 23.910553] PC : 0x4ad9b984
[ 23.910553] SSR : 0x00000003
[ 23.910553] BADVA : 0x00000004
[ 23.910553] LR : 0x4ad9b86c
[ 23.910553]
[ 23.910553] Stack Dump
[ 23.910553] from : 0x4bb89a28
[ 23.910553] to : 0x4bb89bc0
[ 23.910553]
[ 23.956820] remoteproc remoteproc0: crash detected in cd00000.remoteproc: type watchdog
[ 23.978967] remoteproc remoteproc0: handling crash #1 in cd00000.remoteproc
[ 23.986946] remoteproc remoteproc0: recovering cd00000.remoteproc
Format: Log Type - Time(microsec) - Message - Optional Info
Log Type: B - Since Boot(Power On Reset), D - Delta, S - Statistic
S - QC_IMAGE_VERSION_STRING=BOOT.XF.0.3-00077-IPQ60xxLZB-2
S - IMAGE_VARIANT_STRING=IPQ6018LA
S - OEM_IMAGE_VERSION_STRING=crm-ubuntu64
S - Boot Interface: NAND
S - Secure Boot: Off
S - Boot Config @ 0x000a602c = 0x000002e5
S - JTAG ID @ 0x000a607c = 0x001390e1
S - OEM ID @ 0x000a6080 = 0x00000000
S - Serial Number @ 0x000a4128 = 0xcb4a3f56
S - OEM Config Row 0 @ 0x000a4188 = 0x0000000000000000
S - OEM Config Row 1 @ 0x000a4190 = 0x0000000000000000
S - Feature Config Row 0 @ 0x000a4130 = 0x0000800018200021
S - Feature Config Row 1 @ 0x000a4138 = 0x02c3e83783000009
S - PBL Patch Ver: 1
S - I-cache: On
S - D-cache: On
B - 3413 - PBL, Start
B - 592 - bootable_media_detect_entry, Start
B - 4335 - bootable_media_detect_success, Start
B - 5143 - elf_loader_entry, Start
B - 5315 - auth_hash_seg_entry, Start
B - 7783 - auth_hash_seg_exit, Start
B - 8278 - elf_segs_hash_verify_entry, Start
B - 110423 - elf_segs_hash_verify_exit, Start
B - 114849 - auth_xbl_sec_hash_seg_entry, Start
B - 114992 - auth_xbl_sec_hash_seg_exit, Start
B - 121545 - xbl_sec_segs_hash_verify_entry, Start
B - 121545 - xbl_sec_segs_hash_verify_exit, Start
B - 122475 - PBL, End
B - 103273 - SBL1, Start
B - 243329 - GCC [RstStat:0x2, RstDbg:0x420100] WDog Stat : 0x4
B - 245799 - clock_init, Start
D - 2836 - clock_init, Delta
B - 254339 - boot_flash_init, Start
D - 26199 - boot_flash_init, Delta
B - 283741 - sbl1_ddr_set_default_params, Start
D - 244 - sbl1_ddr_set_default_params, Delta
B - 290360 - boot_config_data_table_init, Start
D - 4758 - boot_config_data_table_init, Delta - (575 Bytes)
B - 300181 - CDT Version:2,Platform ID:8,Major ID:3,Minor ID:2,Subtype:0
B - 305030 - Image Load, Start
D - 6619 - OEM_MISC Image Loaded, Delta - (0 Bytes)
B - 314363 - Image Load, Start
D - 5063 - PMIC Image Loaded, Delta - (0 Bytes)
B - 322232 - sbl1_ddr_set_params, Start
B - 327204 - CPR configuration: 0x366
B - 330406 - Pre_DDR_clock_init, Start
D - 183 - Pre_DDR_clock_init, Delta
D - 0 - sbl1_ddr_set_params, Delta
Just to note, the FW version on stock rom is WLAN.HK.2.4-02142-QCAHKSWPL_SILICONZ-1.395212.1 v1 Everything else works as expected (but not fully hard-tested yet). Full dmesg without Wi-Fi (my openwrt is a bit custom). Testing build.
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x51af8014]
[ 0.000000] Linux version 5.15.90 (vladdrako@Vladdrako-PC) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 11.3.0 r23642+84-b516753508) 11.3.0, GNU ld (GNU Binutils) 2.39) #0 SMP Sat Jan 28 05:17:47 2023
[ 0.000000] Machine model: Linksys MR7350
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000040000000-0x000000005fffffff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000040000000-0x0000000040ffffff]
[ 0.000000] node 0: [mem 0x0000000041000000-0x000000004a5fffff]
[ 0.000000] node 0: [mem 0x000000004a600000-0x000000004fffffff]
[ 0.000000] node 0: [mem 0x0000000050000000-0x000000005fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000005fffffff]
[ 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] percpu: Embedded 18 pages/cpu s34008 r8192 d31528 u73728
[ 0.000000] pcpu-alloc: s34008 r8192 d31528 u73728 alloc=18*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: Spectre-v4
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129024
[ 0.000000] Kernel command line: init=/sbin/init rootfstype=squashfs ubi.mtd=alt_rootfs root=mtd:squashfs rootwait root=/dev/ubiblock0_1 swiotlb=1 coherent_pool=2M
[ 0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 389184K/524288K available (10240K kernel code, 1046K rwdata, 3000K rodata, 1536K init, 313K bss, 135104K 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] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] Root IRQ handler: gic_handle_irq
[ 0.000000] GICv2m: range[mem 0x0b00a000-0x0b00affc], SPI[448:479]
[ 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.000000] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000123] Console: colour dummy device 80x25
[ 0.000454] printk: console [tty0] enabled
[ 0.000493] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.000520] pid_max: default: 32768 minimum: 301
[ 0.000682] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[ 0.000707] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[ 0.002237] rcu: Hierarchical SRCU implementation.
[ 0.002401] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[ 0.002801] smp: Bringing up secondary CPUs ...
[ 0.003390] Detected VIPT I-cache on CPU1
[ 0.003454] CPU1: Booted secondary processor 0x0000000001 [0x51af8014]
[ 0.004039] Detected VIPT I-cache on CPU2
[ 0.004079] CPU2: Booted secondary processor 0x0000000002 [0x51af8014]
[ 0.004634] Detected VIPT I-cache on CPU3
[ 0.004670] CPU3: Booted secondary processor 0x0000000003 [0x51af8014]
[ 0.004740] smp: Brought up 1 node, 4 CPUs
[ 0.004808] SMP: Total of 4 processors activated.
[ 0.004821] CPU features: detected: 32-bit EL0 Support
[ 0.004834] CPU features: detected: CRC32 instructions
[ 0.004899] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[ 0.005056] CPU: All CPU(s) started at EL1
[ 0.005085] alternatives: patching kernel code
[ 0.010526] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.010578] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.010750] pinctrl core: initialized pinctrl subsystem
[ 0.011591] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.012392] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
[ 0.012709] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.013023] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.013447] thermal_sys: Registered thermal governor 'step_wise'
[ 0.013783] cpuidle: using governor menu
[ 0.014068] ASID allocator initialised with 65536 entries
[ 0.019311] gpio-493 (usb-power-gpio): hogged as output/high
[ 0.076104] cryptd: max_cpu_qlen set to 1000
[ 0.080165] raid6: skip pq benchmark and using algorithm neonx8
[ 0.080199] raid6: using neon recovery algorithm
[ 0.080772] SCSI subsystem initialized
[ 0.080959] usbcore: registered new interface driver usbfs
[ 0.081011] usbcore: registered new interface driver hub
[ 0.081055] usbcore: registered new device driver usb
[ 0.081364] qcom_scm: convention: smc arm 64
[ 0.082706] clocksource: Switched to clocksource arch_sys_counter
[ 0.086295] NET: Registered PF_INET protocol family
[ 0.086413] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.086935] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.086970] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.086996] TCP established hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.087056] TCP bind hash table entries: 4096 (order: 4, 65536 bytes, linear)
[ 0.087144] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.087236] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.087272] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.087407] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.087449] PCI: CLS 0 bytes, default 64
[ 0.088670] workingset: timestamp_bits=46 max_order=17 bucket_order=0
[ 0.093116] zblock: loaded
[ 0.093544] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.093577] jffs2: version 2.2 (NAND) (SUMMARY) (ZLIB) (CMODE_SIZE) (c) 2001-2006 Red Hat, Inc.
[ 0.148156] xor: measuring software checksum speed
[ 0.154424] 8regs : 1577 MB/sec
[ 0.159704] 32regs : 1868 MB/sec
[ 0.165958] arm64_neon : 1577 MB/sec
[ 0.165972] xor: using function: 32regs (1868 MB/sec)
[ 0.167369] qcom-qmp-phy 78000.ssphy: supply vdda-phy not found, using dummy regulator
[ 0.167530] qcom-qmp-phy 78000.ssphy: supply vdda-pll not found, using dummy regulator
[ 0.168381] qcom-qmp-phy 78000.ssphy: Registered Qcom-QMP phy
[ 0.168884] qcom-qusb2-phy 79000.qusb: supply vdda-pll not found, using dummy regulator
[ 0.169013] qcom-qusb2-phy 79000.qusb: supply vdda-phy-dpdm not found, using dummy regulator
[ 0.169190] qcom-qusb2-phy 79000.qusb: Registered Qcom-QUSB2 phy
[ 0.171716] bam-dma-engine 704000.dma-controller: num-channels unspecified in dt
[ 0.171754] bam-dma-engine 704000.dma-controller: num-ees unspecified in dt
[ 0.176364] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.177179] msm_serial 78b1000.serial: msm_serial: detected port #0
[ 0.177234] msm_serial 78b1000.serial: uartclk = 1843200
[ 0.177286] 78b1000.serial: ttyMSM0 at MMIO 0x78b1000 (irq = 20, base_baud = 115200) is a MSM
[ 0.177328] msm_serial: console setup on port #0
[ 0.861535] printk: console [ttyMSM0] enabled
[ 0.866555] msm_serial: driver initialized
[ 0.927170] lrng_selftest: LRNG self-tests passed
[ 0.928125] loop: module loaded
[ 0.932216] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xaa
[ 0.933825] nand: Macronix MX30UF2G18AC
[ 0.940394] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 0.943986] Block protection check failed
[ 0.970926] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.970985] ehci-pci: EHCI PCI platform driver
[ 0.976420] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.980803] ohci-pci: OHCI PCI platform driver
[ 0.987039] usbcore: registered new interface driver usb-storage
[ 0.991461] udc-core: couldn't find an available UDC - added [g_mass_storage] to list of pending drivers
[ 0.997740] i2c_dev: i2c /dev entries driver
[ 1.009271] sdhci: Secure Digital Host Controller Interface driver
[ 1.011264] sdhci: Copyright(c) Pierre Ossman
[ 1.017297] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.026292] remoteproc remoteproc0: releasing cd00000.remoteproc
[ 1.029551] NET: Registered PF_INET6 protocol family
[ 1.034214] Segment Routing with IPv6
[ 1.038357] In-situ OAM (IOAM) with IPv6
[ 1.041944] NET: Registered PF_PACKET protocol family
[ 1.045969] 8021q: 802.1Q VLAN Support v1.8
[ 1.053857] zswap: loaded using pool zstd/zblock
[ 1.056374] Btrfs loaded, crc32c=crc32c-generic, zoned=no, fsverity=no
[ 1.074958] lrng_drng_drbg: DRBG with aes core allocated
[ 1.075030] lrng_drng_drbg: DRBG with aes core allocated
[ 1.079347] lrng_drng_mgr: Initial DRNG initialized triggering first seeding
[ 1.101970] lrng_hash_kcapi: Hash sha512 allocated
[ 1.102020] lrng_switch: Conditioning function allocated for DRNG for NUMA node 0
[ 1.108867] s2: supplied by regulator-dummy
[ 1.113644] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xaa
[ 1.114095] l2: supplied by regulator-dummy
[ 1.117201] nand: Macronix MX30UF2G18AC
[ 1.127696] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 1.131540] Block protection check failed
[ 1.139241] 20 qcomsmem partitions found on MTD device qcom_nand.0
[ 1.143254] Creating 20 MTD partitions on "qcom_nand.0":
[ 1.149315] 0x000000000000-0x000000180000 : "0:sbl1"
[ 1.172348] lrng_es_mgr: LRNG initial entropy level 48 bits of entropy
[ 1.173332] 0x000000180000-0x000000280000 : "0:mibib"
[ 1.178967] 0x000000280000-0x000000600000 : "0:qsee"
[ 1.185956] 0x000000600000-0x000000680000 : "0:devcfg"
[ 1.188795] 0x000000680000-0x000000700000 : "0:rpm"
[ 1.193711] 0x000000700000-0x000000780000 : "0:cdt"
[ 1.198442] 0x000000780000-0x000000800000 : "0:appsblenv"
[ 1.203313] 0x000000800000-0x000000980000 : "0:appsbl"
[ 1.209647] 0x000000980000-0x000000a00000 : "0:art"
[ 1.213924] 0x000000a00000-0x000001300000 : "0:wififw"
[ 1.217923] lrng_es_mgr: LRNG minimally seeded with 128 bits of entropy
[ 1.225451] 0x000001300000-0x000001380000 : "0:ethphyfw"
[ 1.230385] 0x000001380000-0x000001400000 : "u_env"
[ 1.235984] 0x000001400000-0x000001440000 : "s_env"
[ 1.240334] 0x000001440000-0x000001480000 : "devinfo"
[ 1.245267] 0x000001480000-0x000001c80000 : "kernel"
[ 1.268746] lrng_es_mgr: LRNG fully operational
[ 1.268791] lrng_es_mgr: LRNG fully seeded with 256 bits of entropy
[ 1.276622] 0x000001c80000-0x000006680000 : "rootfs"
[ 1.351187] mtd: setting mtd15 (rootfs) as root device
[ 1.351478] mtdsplit: no squashfs found in "rootfs"
[ 1.355274] 0x000006680000-0x000006e80000 : "alt_kernel"
[ 1.366350] 0x000006e80000-0x00000b880000 : "alt_rootfs"
[ 1.421609] 0x00000b880000-0x00000ba80000 : "sysdiag"
[ 1.423557] 0x00000ba80000-0x00000fe80000 : "syscfg"
[ 1.483199] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 24000 KHz, changing to: 864000 KHz
[ 1.485205] remoteproc remoteproc0: cd00000.remoteproc is available
[ 1.493254] ubi0: attaching mtd17
[ 1.554778] UBI: EOF marker found, PEBs from 111 will be erased
[ 1.597716] ubi0: scanning is finished
[ 1.617040] ubi0: volume 2 ("rootfs_data") re-sized from 9 to 439 LEBs
[ 1.617585] ubi0: attached mtd17 (name "alt_rootfs", size 74 MiB)
[ 1.622470] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 1.628650] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 1.635418] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 1.642258] ubi0: good PEBs: 592, bad PEBs: 0, corrupted PEBs: 0
[ 1.649036] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128
[ 1.655289] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1674883067
[ 1.662317] ubi0: available PEBs: 0, total reserved PEBs: 592, PEBs reserved for bad PEB handling: 40
[ 1.671634] ubi0: background thread "ubi_bgt0d" started, PID 488
[ 1.672446] block ubiblock0_1: created from ubi0:1(rootfs)
[ 1.700230] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[ 1.701056] Freeing unused kernel memory: 1536K
[ 1.752795] Run /sbin/init as init process
[ 1.752822] with arguments:
[ 1.752826] /sbin/init
[ 1.752829] with environment:
[ 1.752832] HOME=/
[ 1.752835] TERM=linux
[ 2.064981] init: Console is alive
[ 2.065169] init: - watchdog -
[ 2.663412] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 2.791652] ssdk_switch_device_num_init[1335]:INFO:ess-switch dts node number: 1
[ 2.791758] ssdk_dt_get_switch_node[1124]:INFO:ess-switch DT exist!
[ 2.798153] ssdk_dt_parse_access_mode[999]:INFO:switch_access_mode: local bus
[ 2.804122] ssdk_dt_parse_access_mode[1012]:INFO:switchreg_base_addr: 0x3a000000
[ 2.811409] ssdk_dt_parse_access_mode[1013]:INFO:switchreg_size: 0x1000000
[ 2.818878] ssdk_dt_parse_mac_mode[327]:INFO:mac mode = 0x0
[ 2.825559] ssdk_dt_parse_mac_mode[336]:INFO:mac mode1 = 0xff
[ 2.831023] ssdk_dt_parse_mac_mode[345]:INFO:mac mode2 = 0xff
[ 2.836974] ssdk_dt_parse_uniphy[364]:INFO:ess-uniphy DT exist!
[ 2.842878] ssdk_plat_init[1692]:INFO:ssdk_plat_init start
[ 2.963931] ssdk_gcc_clock_init[1275]:INFO:SSDK gcc clock init successfully!
[ 2.966346] malibu_phy_api_ops_init[2846]:INFO:qca probe malibu phy driver succeeded!
[ 3.018566] regi_init[3953]:INFO:Initializing HPPE!!
[ 3.252713] ssdk_ppe_reset_init[1535]:INFO:ppe reset successfully!
[ 3.255861] qca_hppe_portctrl_hw_init[123]:INFO:Cypress PPE port initializing
[ 3.393449] __adpt_hppe_uniphy_psgmii_mode_set[1067]:INFO:uniphy 0 psgmii channel selection
[ 3.620230] ssdk_switch_register[2017]:INFO:Chip version 0x1501
[ 3.620263] qca_link_polling_select[1487]:INFO:link-polling-required node does not exist
[ 3.624961] ssdk_switch_register[2043]:INFO:polling is selected
[ 3.633296] regi_init[3957]:INFO:Initializing HPPE Done!!
[ 3.638999] ssdk_genl_init[211]:INFO:ssdk genl family register success.
[ 3.644494] regi_init[4020]:INFO:qca-ssdk module init succeeded!
[ 3.653274] EDMA ver 1 hw init
[ 3.657374] EDMA HW Reset completed succesfully
[ 3.660042] Num rings - TxDesc:1 (23-23) TxCmpl:1 (23-23)
[ 3.664464] RxDesc:1 (15-15) RxFill:1 (7-7)
[ 3.671018] Generic PHY 90000.mdio-1:00: attached PHY driver (mii_bus:phy_addr=90000.mdio-1:00, irq=POLL)
[ 3.674609] nss-dp 3a001000.dp eth0: Registered netdev eth0(qcom-id:1)
[ 3.683903] GMAC2(ffffff8003d998c0) Invalid MAC@ - using 4e:ca:8e:a1:62:88
[ 3.690771] Generic PHY 90000.mdio-1:01: attached PHY driver (mii_bus:phy_addr=90000.mdio-1:01, irq=POLL)
[ 3.697618] nss-dp 3a001200.dp eth1: Registered netdev eth1(qcom-id:2)
[ 3.706815] GMAC3(ffffff80023798c0) Invalid MAC@ - using 02:08:1c:4f:55:d7
[ 3.713701] Generic PHY 90000.mdio-1:02: attached PHY driver (mii_bus:phy_addr=90000.mdio-1:02, irq=POLL)
[ 3.720512] nss-dp 3a001400.dp eth2: Registered netdev eth2(qcom-id:3)
[ 3.729738] GMAC4(ffffff8003d9a8c0) Invalid MAC@ - using 8e:d4:82:e5:78:3c
[ 3.736627] Generic PHY 90000.mdio-1:03: attached PHY driver (mii_bus:phy_addr=90000.mdio-1:03, irq=POLL)
[ 3.743423] nss-dp 3a001600.dp eth3: Registered netdev eth3(qcom-id:4)
[ 3.752623] GMAC5(ffffff8003d9b8c0) Invalid MAC@ - using 3a:87:b8:73:ad:31
[ 3.759580] Generic PHY 90000.mdio-1:04: attached PHY driver (mii_bus:phy_addr=90000.mdio-1:04, irq=POLL)
[ 3.766355] nss-dp 3a001800.dp eth4: Registered netdev eth4(qcom-id:5)
[ 3.775531] **********************************************************
[ 3.781809] * NSS Data Plane driver
[ 3.788318] **********************************************************
[ 3.795227] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 3.798320] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[ 3.804744] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe65 hci version 0x110 quirks 0x0000000000010010
[ 3.811359] xhci-hcd xhci-hcd.0.auto: irq 83, io mem 0x08a00000
[ 3.820806] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 3.826608] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[ 3.832160] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[ 3.840227] hub 1-0:1.0: USB hub found
[ 3.846378] hub 1-0:1.0: 1 port detected
[ 3.870350] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 3.870849] hub 2-0:1.0: USB hub found
[ 3.877576] hub 2-0:1.0: 1 port detected
[ 3.904116] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 3.911444] init: - preinit -
[ 6.393840] nss-dp 3a001000.dp eth0: PHY Link up speed: 1000
[ 6.393938] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 6.429746] UBIFS (ubi0:2): default file-system created
[ 6.430226] UBIFS (ubi0:2): Mounting in unauthenticated mode
[ 6.433931] UBIFS (ubi0:2): background thread "ubifs_bgt0_2" started, PID 689
[ 6.480223] UBIFS (ubi0:2): UBIFS: mounted UBI device 0, volume 2, name "rootfs_data"
[ 6.480272] UBIFS (ubi0:2): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 6.487076] UBIFS (ubi0:2): FS size: 54472704 bytes (51 MiB, 429 LEBs), max 439 LEBs, journal size 2666496 bytes (2 MiB, 21 LEBs)
[ 6.496960] UBIFS (ubi0:2): reserved for root: 2572880 bytes (2512 KiB)
[ 6.508580] UBIFS (ubi0:2): media format: w5/r0 (latest is w5/r0), UUID 062046B5-681E-441C-845F-06948E3CD47B, small LPT model
[ 6.516469] mount_root: overlay filesystem has not been fully initialized yet
[ 6.526714] mount_root: switching to ubifs overlay
[ 6.535842] overlayfs: null uuid detected in lower fs '/', falling back to xino=off,index=off,nfs_export=off.
[ 6.539610] urandom-seed: Seed file not found (/etc/urandom.seed)
[ 6.584114] nss-dp 3a001000.dp eth0: PHY Link is down
[ 6.587433] procd: - early -
[ 6.588212] procd: - watchdog -
[ 7.140163] procd: - watchdog -
[ 7.140548] procd: - ubus -
[ 7.201960] procd: - init -
[ 7.330368] kmodloader: loading kernel modules from /etc/modules.d/*
[ 7.335880] qca-nss-drv.ko is loaded for symbol link
[ 7.337490] <NSS-CRYPTO>:module loaded Build_ID - 01/28/23, 07:25:58 SoC=ipq60xx_64
[ 7.340867] <NSS-CRYPTO>:module loaded for symbol link
[ 7.355602] NET: Registered PF_QIPCRTR protocol family
[ 7.373802] PPP generic driver version 2.4.2
[ 7.374558] NET: Registered PF_PPPOX protocol family
[ 7.379812] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 13.557277] br-lan: port 1(eth0) entered blocking state
[ 13.557336] br-lan: port 1(eth0) entered disabled state
[ 13.561620] device eth0 entered promiscuous mode
[ 13.575866] br-lan: port 2(eth1) entered blocking state
[ 13.575922] br-lan: port 2(eth1) entered disabled state
[ 13.580137] device eth1 entered promiscuous mode
[ 13.589486] br-lan: port 3(eth2) entered blocking state
[ 13.589990] br-lan: port 3(eth2) entered disabled state
[ 13.595259] device eth2 entered promiscuous mode
[ 13.610002] br-lan: port 4(eth3) entered blocking state
[ 13.610056] br-lan: port 4(eth3) entered disabled state
[ 13.614569] device eth3 entered promiscuous mode
[ 16.716716] nss-dp 3a001000.dp eth0: PHY Link up speed: 1000
[ 16.716798] br-lan: port 1(eth0) entered blocking state
[ 16.721449] br-lan: port 1(eth0) entered forwarding state
[ 16.726675] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 19.032726] ath11k c000000.wifi: failed to wait wlan mode request (mode 7): -110 [ 19.032791] ath11k c000000.wifi: qmi failed to send wlan fw mode: -110
I get those exact 2 messages with a WCN6856 M.2 (QCNFA765).
@malash You can try to update the linux-firmware to 20230310, because I see that the wcn6855-firmware is updated to WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.23.
@1054009064 Thank you for the reminding, after upgrading linux-firmware it works.