Qualcommax NSS Build

Your options are the same as mine, minus the engine stuff...

However, I think I know the issue. I forgot that although disabling CONFIG_OPENSSL_ENGINE prevents it from getting compiled, the option for it remains in the final /etc/ssl/openssl.cnf config. I explicitly disabled it in my custom files/etc/ssl/openssl.cnf build folder.

image

That option should really be checked for in the Makefile of openssl, and patched when it packages openssl.cnf, rather than assuming CONFIG_OPENSSL_ENGINE is always enabled.

Anyways, you can enable CONFIG_OPENSSL_ENGINE without having to enable OPENSSL_ENGINE_BUILTIN_DEVCRYPTO. That later is what causes problems with NSS.

1 Like

As always - a sincere thank you!
Learning the hard way, it's just an amazing experience I have here.
I redacted /etc/ssl/openssl.cnf and now I get it right.

root@QNAP:~# openssl version
OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024)

I will add it to my custom files too.

@qosmio Sorry to bother you again. Compiling I get this error.

make[3]: Leaving directory '/home/debian/openwrt-ipq/package/kernel/qca-nss-dp'
time: package/kernel/qca-nss-dp/compile#0.18#0.13#0.34
make[3]: Entering directory '/home/debian/openwrt-ipq/feeds/nss_packages/qca-nss-drv'
rm -f /home/debian/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-drv-12.5.r2-2024-03-26-29df418/.built
touch /home/debian/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-drv-12.5.r2-2024-03-26-29df418/.built_check
make -C "/home/debian/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/linux-6.6.32" NSS_DRV_C2C_ENABLE=n NSS_DRV_CRYPTO_ENABLE=n NSS_DRV_DTLS_ENABLE=n NSS_DRV_GRE_REDIR_ENABLE=n NSS_DRV_GRE_TUNNEL_ENABLE=n NSS_DRV_IPSEC_ENABLE=n NSS_DRV_IPV4_REASM_ENABLE=n NSS_DRV_IPV6_REASM_ENABLE=n NSS_DRV_MIRROR_ENABLE=n NSS_DRV_OAM_ENABLE=n NSS_DRV_PORTID_ENABLE=n NSS_DRV_QRFS_ENABLE=n NSS_DRV_QVPN_ENABLE=n NSS_DRV_OVPN_ENABLE=n NSS_DRV_RMNET_ENABLE=n NSS_DRV_SJACK_ENABLE=n NSS_DRV_TLS_ENABLE=n NSS_DRV_TRUSTSEC_ENABLE=n NSS_DRV_TRUSTSEC_RX_ENABLE=n NSS_DRV_TSTAMP_ENABLE=n NSS_DRV_WIFI_MESH_ENABLE=n NSS_DRV_UDP_ST_ENABLE=n NSS_DRV_CAPWAP_ENABLE=n NSS_DRV_LSO_RX_ENABLE=n NSS_DRV_WIFI_LEGACY_ENABLE=n CROSS_COMPILE="aarch64-openwrt-linux-musl-" ARCH="arm64" M="/home/debian/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-drv-12.5.r2-2024-03-26-29df418" EXTRA_CFLAGS="-I/home/debian/openwrt-ipq/staging_dir/target-aarch64_cortex-a53_musl/usr/include/qca-nss-dp -I/home/debian/openwrt-ipq/staging_dir/target-aarch64_cortex-a53_musl/usr/include/qca-ssdk -Wno-unused-variable -Wno-enum-conversion -DNSS_MEM_PROFILE_MEDIUM" SoC="ipq807x_64" KCFLAGS="-fmacro-prefix-map=/home/debian/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl=target-aarch64_cortex-a53_musl -fno-caller-saves -O3 -Wno-error -O3 -mcpu=cortex-a53+crc+crypto+rdma" HOSTCFLAGS="-O2 -I/home/debian/openwrt-ipq/staging_dir/host/include -I/home/debian/openwrt-ipq/staging_dir/hostpkg/include -I/home/debian/openwrt-ipq/staging_dir/target-aarch64_cortex-a53_musl/host/include -Wall -Wmissing-prototypes -Wstrict-prototypes" CROSS_COMPILE="aarch64-openwrt-linux-musl-" ARCH="arm64" KBUILD_HAVE_NLS=no KBUILD_BUILD_USER="qnap-spp" KBUILD_BUILD_HOST="openwrt.lan" KBUILD_BUILD_TIMESTAMP="Sat Jun  8 21:44:22 2024" KBUILD_BUILD_VERSION="0" KBUILD_HOSTLDFLAGS="-L/home/debian/openwrt-ipq/staging_dir/host/lib" CONFIG_SHELL="bash" V=1  cmd_syscalls= KBUILD_EXTRA_SYMBOLS="/home/debian/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/symvers/gpio-button-hotplug.symvers /home/debian/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/symvers/nat46.symvers /home/debian/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/symvers/qca-mcs.symvers /home/debian/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/symvers/qca-nss-dp.symvers /home/debian/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/symvers/qca-nss-macsec.symvers /home/debian/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/symvers/qca-ssdk.symvers" CC="ccache aarch64-openwrt-linux-musl-gcc" KERNELRELEASE=6.6.32  modules
make[4]: Entering directory '/home/debian/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/linux-6.6.32'
make --no-print-directory -C /home/debian/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/linux-6.6.32 \
-f /home/debian/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/linux-6.6.32/Makefile modules
make -f ./scripts/Makefile.build obj=/home/debian/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-drv-12.5.r2-2024-03-26-29df418 need-builtin=1 need-modorder=1 
# CC [M]  /home/debian/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-drv-12.5.r2-2024-03-26-29df418/nss_n2h_stats.o
  ccache aarch64-openwrt-linux-musl-gcc -Wp,-MMD,/home/debian/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-drv-12.5.r2-2024-03-26-29df418/.nss_n2h_stats.o.d -nostdinc -I./arch/arm64/include -I./arch/arm64/include/generated  -I./include -I./arch/arm64/include/uapi -I./arch/arm64/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -mlittle-endian -DKASAN_SHADOW_SCALE_SHIFT= -fmacro-prefix-map=./= -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mgeneral-regs-only -DCONFIG_CC_HAS_K_CONSTRAINT=1 -Wno-psabi -mabi=lp64 -fno-asynchronous-unwind-tables -fno-unwind-tables -mbranch-protection=pac-ret -Wa,-march=armv8.5-a -DARM64_ASM_ARCH='"armv8.5-a"' -DKASAN_SHADOW_SCALE_SHIFT= -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-stack-clash-protection -falign-functions=4 -fstrict-flex-arrays=3 -fno-strict-overflow -fno-stack-check -fconserve-stack -Wall -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wframe-larger-than=2048 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-restrict -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-overflow -Wno-stringop-truncation -Wno-missing-field-initializers -Wno-type-limits -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -g -fno-var-tracking -femit-struct-debug-baseonly -fmacro-prefix-map=/home/debian/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl=target-aarch64_cortex-a53_musl -fno-caller-saves -O3 -Wno-error -O3 -mcpu=cortex-a53+crc+crypto+rdma -mstack-protector-guard=sysreg -mstack-protector-guard-reg=sp_el0 -mstack-protector-guard-offset=1144 -DNSS_DRV_BRIDGE_ENABLE -DNSS_DRV_WIFI_EXT_VDEV_ENABLE -DNSS_DRV_L2TP_ENABLE -DNSS_DRV_LAG_ENABLE -DNSS_DRV_PVXLAN_ENABLE -DNSS_DRV_IPV6_ENABLE -DNSS_DRV_GRE_ENABLE -DNSS_DRV_MAPT_ENABLE -DNSS_DRV_PPTP_ENABLE -DNSS_DRV_SHAPER_ENABLE -DNSS_DRV_TUN6RD_ENABLE -DNSS_DRV_TUNIPIP6_ENABLE -DNSS_DRV_IGS_ENABLE -DNSS_DRV_CLMAP_ENABLE -DNSS_DRV_VXLAN_ENABLE -DNSS_DRV_MATCH_ENABLE -DNSS_DRV_IPV4_ENABLE -DNSS_DRV_ETH_RX_ENABLE -DNSS_DRV_PPPOE_ENABLE -DNSS_DRV_WIFIOFFLOAD_ENABLE -DNSS_DRV_VLAN_ENABLE -DNSS_DRV_PPE_ENABLE -DNSS_DRV_EDMA_ENABLE -DNSS_DATA_PLANE_GENERIC_SUPPORT -I/home/debian/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-drv-12.5.r2-2024-03-26-29df418/nss_hal/ipq807x -DNSS_HAL_IPQ807x_SUPPORT -DNSS_MULTI_H2N_DATA_RING_SUPPORT -I/home/debian/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-drv-12.5.r2-2024-03-26-29df418/nss_hal/include -I/home/debian/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-drv-12.5.r2-2024-03-26-29df418/nss_data_plane/include -I/home/debian/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-drv-12.5.r2-2024-03-26-29df418/exports -DNSS_DEBUG_LEVEL=0 -DNSS_PKT_STATS_ENABLED=1 -I/home/debian/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-drv-12.5.r2-2024-03-26-29df418/nss_data_plane/hal/include -DNSS_PM_DEBUG_LEVEL=0 -DNSS_SKB_REUSE_SUPPORT=1 -Wall -Werror -I/home/debian/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-drv-12.5.r2-2024-03-26-29df418 -DNSS_FREQ_SCALE_SUPPORT=1 -DNSS_DT_SUPPORT=1 -DNSS_FW_DBG_SUPPORT=0 -DNSS_PM_SUPPORT=0 -DNSS_FABRIC_SCALING_SUPPORT=0 -I/home/debian/openwrt-ipq/staging_dir/target-aarch64_cortex-a53_musl/usr/include/qca-nss-dp -I/home/debian/openwrt-ipq/staging_dir/target-aarch64_cortex-a53_musl/usr/include/qca-ssdk -Wno-unused-variable -Wno-enum-conversion -DNSS_MEM_PROFILE_MEDIUM  -DMODULE  -DKBUILD_BASENAME='"nss_n2h_stats"' -DKBUILD_MODNAME='"qca_nss_drv"' -D__KBUILD_MODNAME=kmod_qca_nss_drv -c -o /home/debian/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-drv-12.5.r2-2024-03-26-29df418/nss_n2h_stats.o /home/debian/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-drv-12.5.r2-2024-03-26-29df418/nss_n2h_stats.c  
../qca-nss-drv-12.5.r2-2024-03-26-29df418/nss_n2h_stats.c: In function 'nss_n2h_stats_read':
../qca-nss-drv-12.5.r2-2024-03-26-29df418/nss_n2h_stats.c:66:41: error: '__builtin_memcpy' reading 264 bytes from a region of size 0 [-Werror=stringop-overread]
   66 |                         stats_shadow[i] = nss_n2h_stats[core][i];
      |                         ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
../qca-nss-drv-12.5.r2-2024-03-26-29df418/nss_n2h_stats.c:27:10: note: at offset 528 into source object 'nss_n2h_stats' of size 528
   27 | uint64_t nss_n2h_stats[NSS_MAX_CORES][NSS_N2H_STATS_MAX];
      |          ^~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[6]: *** [scripts/Makefile.build:243: /home/debian/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-drv-12.5.r2-2024-03-26-29df418/nss_n2h_stats.o] Error 1
make[5]: *** [/home/debian/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/linux-6.6.32/Makefile:1913: /home/debian/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-drv-12.5.r2-2024-03-26-29df418] Error 2
make[4]: *** [Makefile:234: __sub-make] Error 2
make[4]: Leaving directory '/home/debian/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/linux-6.6.32'
make[3]: *** [Makefile:354: /home/debian/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-drv-12.5.r2-2024-03-26-29df418/.built] Error 2
make[3]: Leaving directory '/home/debian/openwrt-ipq/feeds/nss_packages/qca-nss-drv'
time: package/feeds/nss_packages/qca-nss-drv/compile#1.77#0.83#2.63
    ERROR: package/feeds/nss_packages/qca-nss-drv failed to build.
make[2]: *** [package/Makefile:173: package/feeds/nss_packages/qca-nss-drv/compile] Error 1
make[2]: Leaving directory '/home/debian/openwrt-ipq'
make[1]: *** [package/Makefile:167: /home/debian/openwrt-ipq/staging_dir/target-aarch64_cortex-a53_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/debian/openwrt-ipq'
make: *** [/home/debian/openwrt-ipq/include/toplevel.mk:233: world] Error 2
1 Like

@qosmio - I get a compile error like this as well.

@sppmaster - you can get it to compile by editing the makefile at package/feeds/nss_packages/qca-nss-drv/Makefile and add -Wno-error to the EXTRA_CFLAGS. e.g., at lines 127-129 change

EXTRA_CFLAGS+= -I$(STAGING_DIR)/usr/include/qca-nss-dp \
			   -I$(STAGING_DIR)/usr/include/qca-ssdk \
			   -Wno-unused-variable -Wno-enum-conversion

to

EXTRA_CFLAGS+= -I$(STAGING_DIR)/usr/include/qca-nss-dp \
			   -I$(STAGING_DIR)/usr/include/qca-ssdk \
			   -Wno-unused-variable -Wno-enum-conversion -Wno-error

Granted this just ignores the error, it doesnt fix whatever is triggering it....but it compiles at least.

1 Like

@sppmaster , @jkool702 - issue is caused by using "-O3" flag in KERNEL_CFLAGS. I would not advise using that on the kernel level. It's fine for TARGET_OPTIMIZATION, but a bit aggressive for the kernel, especially on NSS codebase.

https://lore.kernel.org/lkml/CA+55aFz2sNBbZyg-_i8_Ldr2e8o9dfvdSfHHuRzVtP2VMAUWPg@mail.gmail.com/

2 Likes

Finally done gents.
Let's use it and enjoy it.

Hi, @qosmio , I shared my firmware with Chinese IPQ6018 community. Folks are cheering and surprised what you have done. Netgear M2, GLiNet AX1800/AXT1800, and JDC-AX1800-Pro has 0% CPU load under 1G WiFi speedtest ("Holy S**t!" on their face :rofl:). We still want to display NSS load in Luci, but I noticed the result from cat /sys/kernel/debug/qca-nss-drv/stats/cpu_load_ubi is always 7% 7% 7%, any solution for this?

2 Likes

oh, I just saw the same thing as @tonytuya ...

Anyways, I've turned off the two things mentioned here and it still has issues (CTRL-EVENT-EAP-RETRANSMIT) for the wpa2-enterprise AP config, for some reason it also doesn't work with wpa2-personal (the config is the exact same apart from the flow_offloading and flow_offloading_hw)...
Perhaps this is an issue with the driver, not my config?

1 Like

I also tried DYNAMIC VLANs with wpa2-personal but only under built-in radius and what I'm seeing in the log is that it says that it did (during EAPOL) rebind from the initial interface (i.e phy0-ap0) to the one with vlan (i.e. phy-0-ap0-???):

IEEE 802.11: binding station to interface ...

And when I look at the tcpdump of that vlan interface there is no communication.

But when I look at the tcpdump of the initial interface (phy0-ap0), the comm still continues there, so clients are still binded to this one.

Even when i look at the iwinfo ??? assoclist, the clients are listed on the dynamicaly created vlan interface, just the packets ever only appears on the phy0-ap0.

Does anyone have an idea why that is? Or what else I could check why the comm never transition to the new interface?

After I saw the latest commit regarding VLAN I built a new image to see if VLAN filtering is fixed. But it isn't. I have a working setup on another Router (ipq806x) running on the master branch snapshot. It works fine. Replicating the br-lan VLAN filtering on the Qualcommax NSS Router causes issues like WLAN client not able to connect to the VLAN enabled SSID. kmod-qca-nss-drv-bridge-mgr and kmod-qca-nss-drv-vlan-mgr are installed.

Disabling VLAN-filtering in br-lan and creating single 802.11q network devices one by one helps bypassing the VLAN issue.

Doing that ended up breaking my network... fortunately I was able to resolve it by ssh and manually tagging my computer's outbound vlan (thanks macos)... the next issue was having IPs being assigned on wifi (they assigned perfectly fine on vlan tagged by computer.) perhaps config issue? but it's strange that they were assigned on the LAN using 801q.

Hi boys,

This version include NSS offload for WiFi

I am redo the repos over the latest commit from OpenWRT.

Changelog (include upstream of OpenWRT):

  • Updated NSS kernel and software to version 6.6.32
  • Added the latest changes developed by @qosmio for NSS.
  • Added kmod-tun package to the build.

Notes:

Sources:

BUILDED (NORMAL): https://github.com/AgustinLorenzo/openwrt/releases/tag/ipq807x-nsswifi-2024-06-08-2225

BUILDED (MESH BUILD): https://github.com/AgustinLorenzo/openwrt/releases/tag/ipq807x-nsswifi-mesh-2024-06-09-0017

NOTE: Now I only compile the build for the following devices AX3600, AX6, AX9000, Dynalink DL-WRX36, Buffalo WXR-5950AX12, QNAP QHora-301W, Netgear RAX120v2, Arcadyan AW1000 and Zyxel NBG7815, if someone has used my versions with other devices (and it is supported), let me know and I will add it.

1 Like

Hi @SirDonZ

Correct, there are different β€œbin” files for the v1 version and for the v2 version, in the next version I will compile for this device, sorry I did not include it in the one I just released.

Regards, Agustin

Hi @qosmio

Do you think we should incorporate it to leave it also disabled by default?

Regards, Agustin

No worries.. I'll use your config.buildinfo and build it locally.
Regards
Donny

@AgustinLorenzo and Team.
Need a little help here. I used your repo and your config.buildinfo and build Linksys MX4200v1. and the wifi is not coming up. Here is the kernel log:

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 6.6.32 (srvadmin@vmbookworm) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 13.3.0 r26617-f4d6c1f5a5) 13.3.0, GNU ld (GNU Binutils) 2.42) #0 SMP PREEMPT Sat Jun  8 19:40:00 2024
[    0.000000] Machine model: Linksys MX4200v1
[    0.000000] OF: reserved mem: 0x0000000040000000..0x0000000040ffffff (16384 KiB) nomap non-reusable nss@40000000
[    0.000000] OF: reserved mem: 0x000000004a400000..0x000000004a5fffff (2048 KiB) nomap non-reusable tzapp@4a400000
[    0.000000] OF: reserved mem: 0x000000004a600000..0x000000004a9fffff (4096 KiB) nomap non-reusable bootloader@4a600000
[    0.000000] OF: reserved mem: 0x000000004aa00000..0x000000004aafffff (1024 KiB) nomap non-reusable sbl@4aa00000
[    0.000000] OF: reserved mem: 0x000000004ab00000..0x000000004abfffff (1024 KiB) nomap non-reusable smem@4ab00000
[    0.000000] OF: reserved mem: 0x000000004ac00000..0x000000004affffff (4096 KiB) nomap non-reusable memory@4ac00000
[    0.000000] OF: reserved mem: 0x000000004b000000..0x0000000050efffff (97280 KiB) nomap non-reusable wcnss@4b000000
[    0.000000] OF: reserved mem: 0x0000000050f00000..0x0000000050ffffff (1024 KiB) nomap non-reusable q6_etr_dump@50f00000
[    0.000000] OF: reserved mem: 0x0000000051000000..0x00000000510fffff (1024 KiB) nomap non-reusable m3_dump@51000000
[    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-0x000000004a3fffff]
[    0.000000]   node   0: [mem 0x000000004a400000-0x00000000510fffff]
[    0.000000]   node   0: [mem 0x0000000051100000-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 19 pages/cpu s37096 r8192 d32536 u77824
[    0.000000] pcpu-alloc: s37096 r8192 d32536 u77824 alloc=19*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line: init=/sbin/init rootfstype=squashfs ubi.mtd=22,2048 ubi.block=0,0 root=/dev/ubiblock0_0 rootwait ro root=/dev/ubiblock0_0
[    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] Built 1 zonelists, mobility grouping on.  Total pages: 129024
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: SWIOTLB bounce buffer size adjusted to 0MB
[    0.000000] software IO TLB: area num 4.
[    0.000000] software IO TLB: SWIOTLB bounce buffer size roundup to 1MB
[    0.000000] software IO TLB: mapped [mem 0x000000005f4c0000-0x000000005f5c0000] (1MB)
[    0.000000] Memory: 371628K/524288K available (8000K kernel code, 892K rwdata, 2412K rodata, 1472K init, 276K bss, 152660K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] 	Trampoline variant of Tasks RCU enabled.
[    0.000000] 	Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 100 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] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 and mmio timer(s) running at 19.20MHz (virt/virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[    0.000001] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.000104] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=19200)
[    0.000117] pid_max: default: 32768 minimum: 301
[    0.005434] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.005447] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.009942] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.010051] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.010280] rcu: Hierarchical SRCU implementation.
[    0.010284] rcu: 	Max phase no-delay instances is 400.
[    0.011259] smp: Bringing up secondary CPUs ...
[    0.011946] Detected VIPT I-cache on CPU1
[    0.012053] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.012787] Detected VIPT I-cache on CPU2
[    0.012862] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.013565] Detected VIPT I-cache on CPU3
[    0.013634] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.013707] smp: Brought up 1 node, 4 CPUs
[    0.013716] SMP: Total of 4 processors activated.
[    0.013721] CPU features: detected: 32-bit EL0 Support
[    0.013726] CPU features: detected: CRC32 instructions
[    0.013795] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.013803] CPU: All CPU(s) started at EL1
[    0.013806] alternatives: applying system-wide alternatives
[    0.025256] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.025283] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.027056] pinctrl core: initialized pinctrl subsystem
[    0.029284] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.029926] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[    0.029966] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.030001] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.030427] thermal_sys: Registered thermal governor 'step_wise'
[    0.030519] cpuidle: using governor menu
[    0.030749] ASID allocator initialised with 65536 entries
[    0.063090] qcom,cpr4-apss-regulator b018000.cpr4-ctrl: CPR valid fuse count: 4
[    0.066830] Modules: 29456 pages in range for non-PLT usage
[    0.066840] Modules: 520976 pages in range for PLT usage
[    0.071652] SCSI subsystem initialized
[    0.071874] usbcore: registered new interface driver usbfs
[    0.071911] usbcore: registered new interface driver hub
[    0.071964] usbcore: registered new device driver usb
[    0.072429] qcom_scm: convention: smc arm 64
[    0.073996] clocksource: Switched to clocksource arch_sys_counter
[    0.078085] NET: Registered PF_INET protocol family
[    0.078216] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.080445] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.080505] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.080523] TCP established hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.080572] TCP bind hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    0.080712] TCP: Hash tables configured (established 4096 bind 4096)
[    0.080806] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.080832] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.081150] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.081190] PCI: CLS 0 bytes, default 64
[    0.082812] workingset: timestamp_bits=46 max_order=17 bucket_order=0
[    0.083390] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.083397] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.090063] qcom-qmp-usb-phy 78000.phy: supply vdda-phy not found, using dummy regulator
[    0.090214] qcom-qmp-usb-phy 78000.phy: supply vdda-pll not found, using dummy regulator
[    0.091631] qcom-qusb2-phy 79000.phy: supply vdd not found, using dummy regulator
[    0.091824] qcom-qusb2-phy 79000.phy: supply vdda-pll not found, using dummy regulator
[    0.091869] qcom-qusb2-phy 79000.phy: supply vdda-phy-dpdm not found, using dummy regulator
[    0.092060] qcom-qusb2-phy 79000.phy: Registered Qcom-QUSB2 phy
[    0.101761] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.103123] msm_serial 78b1000.serial: msm_serial: detected port #1
[    0.103165] msm_serial 78b1000.serial: uartclk = 19200000
[    0.103523] 78b1000.serial: ttyMSM1 at MMIO 0x78b1000 (irq = 20, base_baud = 1200000) is a MSM
[    0.104120] msm_serial 78b3000.serial: msm_serial: detected port #0
[    0.104171] msm_serial 78b3000.serial: uartclk = 3686400
[    0.104533] 78b3000.serial: ttyMSM0 at MMIO 0x78b3000 (irq = 21, base_baud = 230400) is a MSM
[    0.104566] msm_serial: console setup on port #0
[    0.104625] printk: console [ttyMSM0] enabled
[    0.910294] msm_serial: driver initialized
[    0.920007] loop: module loaded
[    0.921502] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xac
[    0.921964] nand: Hynix H27S4G8F2EDA-BC
[    0.928581] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 128
[    0.932552] 29 fixed-partitions partitions found on MTD device qcom_nand.0
[    0.939789] Creating 29 MTD partitions on "qcom_nand.0":
[    0.946711] 0x000000000000-0x000000100000 : "0:sbl1"
[    0.953751] 0x000000100000-0x000000200000 : "0:mibib"
[    0.958692] 0x000000200000-0x000000280000 : "0:bootconfig"
[    0.963217] 0x000000280000-0x000000300000 : "0:bootconfig1"
[    0.968506] 0x000000300000-0x000000600000 : "0:qsee"
[    0.976409] 0x000000600000-0x000000900000 : "0:qsee_1"
[    0.981586] 0x000000900000-0x000000980000 : "0:devcfg"
[    0.984121] 0x000000980000-0x000000a00000 : "0:devcfg_1"
[    0.989265] 0x000000a00000-0x000000a80000 : "0:apdp"
[    0.994703] 0x000000a80000-0x000000b00000 : "0:apdp_1"
[    0.999671] 0x000000b00000-0x000000b80000 : "0:rpm"
[    1.004630] 0x000000b80000-0x000000c00000 : "0:rpm_1"
[    1.009417] 0x000000c00000-0x000000c80000 : "0:cdt"
[    1.014619] 0x000000c80000-0x000000d00000 : "0:cdt_1"
[    1.019331] 0x000000d00000-0x000000d80000 : "0:appsblenv"
[    1.024533] 0x000000d80000-0x000000e80000 : "0:appsbl"
[    1.030387] 0x000000e80000-0x000000f80000 : "0:appsbl_1"
[    1.035419] 0x000000f80000-0x000001000000 : "0:art"
[    1.040440] 0x000001000000-0x000001040000 : "u_env"
[    1.044736] 0x000001040000-0x000001060000 : "s_env"
[    1.049496] 0x000001060000-0x000001080000 : "devinfo"
[    1.054360] 0x000001080000-0x00000a680000 : "kernel"
[    1.204355] 0x000001680000-0x00000a680000 : "rootfs"
[    1.344162] mtd: setting mtd22 (rootfs) as root device
[    1.344544] mtdsplit: no squashfs found in "rootfs"
[    1.348228] 0x00000a680000-0x000013c80000 : "alt_kernel"
[    1.498445] 0x00000ac80000-0x000013c80000 : "alt_rootfs"
[    1.638315] 0x000013c80000-0x000013e80000 : "sysdiag"
[    1.640784] 0x000013e80000-0x000013f00000 : "0:ethphyfw"
[    1.643403] 0x000013f00000-0x00001f700000 : "syscfg"
[    1.826138] 0x00001f700000-0x000020000000 : "0:wififw"
[    1.846908] spmi spmi-0: PMIC arbiter version v2 (0x20010000)
[    1.866610] i2c_dev: i2c /dev entries driver
[    1.874530] sdhci: Secure Digital Host Controller Interface driver
[    1.874575] sdhci: Copyright(c) Pierre Ossman
[    1.879656] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.885485] remoteproc remoteproc0: releasing cd00000.q6v5_wcss
[    1.892869] NET: Registered PF_INET6 protocol family
[    1.896511] Segment Routing with IPv6
[    1.900667] In-situ OAM (IOAM) with IPv6
[    1.904250] NET: Registered PF_PACKET protocol family
[    1.908230] Bridge firewalling registered
[    1.913230] l2tp_core: L2TP core driver, V2.0
[    1.917138] l2tp_netlink: L2TP netlink interface
[    1.921514] 8021q: 802.1Q VLAN Support v1.8
[    1.958685] qcom,cpr4-apss-regulator b018000.cpr4-ctrl: CPR valid fuse count: 4
[    1.959056] cpr4_ipq807x_apss_read_fuse_data: apc_corner: speed bin = 0
[    1.964882] cpr4_ipq807x_apss_read_fuse_data: apc_corner: CPR fusing revision = 1
[    1.971465] cpr4_ipq807x_apss_read_fuse_data: apc_corner: CPR misc fuse value = 0
[    1.979125] cpr4_ipq807x_apss_read_fuse_data: apc_corner: Voltage boost fuse config = 0 boost = disable
[    1.986620] cpr3_mem_acc_init: apc: not using memory accelerator regulator
[    1.995729] cpr4_ipq807x_apss_calculate_open_loop_voltages: apc_corner: fused      SVS: open-loop= 704000 uV
[    2.002703] cpr4_ipq807x_apss_calculate_open_loop_voltages: apc_corner: fused      NOM: open-loop= 824000 uV
[    2.012659] cpr4_ipq807x_apss_calculate_open_loop_voltages: apc_corner: fused    TURBO: open-loop= 888000 uV
[    2.022478] cpr4_ipq807x_apss_calculate_open_loop_voltages: apc_corner: fused   STURBO: open-loop= 968000 uV
[    2.032328] cpr4_ipq807x_apss_calculate_target_quotients: apc_corner: fused      SVS: quot[ 7]= 711, quot_offset[ 7]=   0
[    2.042087] cpr4_ipq807x_apss_calculate_target_quotients: apc_corner: fused      NOM: quot[ 7]= 951, quot_offset[ 7]= 240
[    2.052933] cpr4_ipq807x_apss_calculate_target_quotients: apc_corner: fused    TURBO: quot[ 7]=1065, quot_offset[ 7]= 110
[    2.063873] cpr4_ipq807x_apss_calculate_target_quotients: apc_corner: fused   STURBO: quot[ 7]=1217, quot_offset[ 7]= 150
[    2.075044] cpr3_regulator_init_ctrl: apc: Default CPR mode = closed-loop
[    2.077957] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 800000 KHz, changing to: 1017600 KHz
[    2.094698] remoteproc remoteproc0: cd00000.q6v5_wcss is available
[    2.103676] ubi0: attaching mtd22
[    2.323003] random: crng init done
[    2.916210] ubi0: scanning is finished
[    2.923744] ubi0: attached mtd22 (name "rootfs", size 144 MiB)
[    2.923782] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    2.928490] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    2.935339] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    2.942196] ubi0: good PEBs: 1152, bad PEBs: 0, corrupted PEBs: 0
[    2.948965] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    2.955217] ubi0: max/mean erase counter: 3/1, WL threshold: 4096, image sequence number: 1714740791
[    2.962340] ubi0: available PEBs: 0, total reserved PEBs: 1152, PEBs reserved for bad PEB handling: 80
[    2.971638] ubi0: background thread "ubi_bgt0d" started, PID 645
[    2.972158] block ubiblock0_0: created from ubi0:0(rootfs)
[    2.987050] clk: Disabling unused clocks
[    2.996500] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    2.997055] Freeing unused kernel memory: 1472K
[    3.002737] Run /sbin/init as init process
[    3.006964]   with arguments:
[    3.006966]     /sbin/init
[    3.006970]   with environment:
[    3.006972]     HOME=/
[    3.006975]     TERM=linux
[    3.205316] init: Console is alive
[    3.205460] init: - watchdog -
[    4.198463] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.269056] gpio_button_hotplug: loading out-of-tree module taints kernel.
[    4.314324] ssdk_dt_parse_interrupt[934]:INFO:intr-gpio does not exist
[    4.539921] adpt_hppe_uniphy_mode_set[1398]:INFO:ssdk doesn't support mode:0 in uniphy:0 on platform!
[    4.540079] regi_init[2525]:INFO:Initializing HPPE Done!!
[    4.548206] regi_init[2574]:INFO:qca-ssdk module init succeeded!
[    4.555696] EDMA ver 1 hw init
[    4.559836] EDMA HW Reset completed succesfully
[    4.562489] Num rings - TxDesc:1 (23-23) TxCmpl:1 (7-7)
[    4.566884] RxDesc:1 (15-15) RxFill:1 (7-7)
[    4.572478] dp2: ppe offload disabled: 0 for macid 2
[    4.576256] dp2: Switch attached to macid 2 status: 0
[    4.736711] Qualcomm QCA8075 90000.mdio-1:01: attached PHY driver (mii_bus:phy_addr=90000.mdio-1:01, irq=POLL)
[    4.737560] dp3: ppe offload disabled: 0 for macid 3
[    4.745612] dp3: Switch attached to macid 3 status: 0
[    4.803337] Qualcomm QCA8075 90000.mdio-1:02: attached PHY driver (mii_bus:phy_addr=90000.mdio-1:02, irq=POLL)
[    4.804178] dp4: ppe offload disabled: 0 for macid 4
[    4.812239] dp4: Switch attached to macid 4 status: 0
[    4.870310] Qualcomm QCA8075 90000.mdio-1:03: attached PHY driver (mii_bus:phy_addr=90000.mdio-1:03, irq=POLL)
[    4.871134] dp5: ppe offload disabled: 0 for macid 5
[    4.879206] dp5: Switch attached to macid 5 status: 0
[    4.937313] Qualcomm QCA8075 90000.mdio-1:04: attached PHY driver (mii_bus:phy_addr=90000.mdio-1:04, irq=POLL)
[    4.938133] **********************************************************
[    4.946210] * NSS Data Plane driver
[    4.952708] **********************************************************
[    4.969207] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    4.969260] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
[    4.973739] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220fe65 hci version 0x110 quirks 0x0000008002000010
[    4.981199] xhci-hcd xhci-hcd.1.auto: irq 39, io mem 0x08a00000
[    4.990647] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    4.996429] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
[    5.001993] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    5.009912] hub 1-0:1.0: USB hub found
[    5.016154] hub 1-0:1.0: 1 port detected
[    5.020240] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    5.024276] hub 2-0:1.0: USB hub found
[    5.032097] hub 2-0:1.0: 1 port detected
[    5.037296] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    5.044014] init: - preinit -
[    7.653428] UBIFS (ubi0:1): Mounting in unauthenticated mode
[    7.653556] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 883
[    7.690961] UBIFS (ubi0:1): recovery needed
[    7.810691] UBIFS (ubi0:1): recovery completed
[    7.810783] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[    7.814051] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    7.821949] UBIFS (ubi0:1): FS size: 120881152 bytes (115 MiB, 952 LEBs), max 963 LEBs, journal size 6094848 bytes (5 MiB, 48 LEBs)
[    7.831849] UBIFS (ubi0:1): reserved for root: 4952683 bytes (4836 KiB)
[    7.843467] UBIFS (ubi0:1): media format: w5/r0 (latest is w5/r0), UUID E3191DCF-F649-4A28-AB56-C2B46756F675, small LPT model
[    7.850885] mount_root: overlay filesystem has not been fully initialized yet
[    7.861761] mount_root: switching to ubifs overlay
[    7.872436] overlayfs: null uuid detected in lower fs '/', falling back to xino=off,index=off,nfs_export=off.
[    7.877176] urandom-seed: Seed file not found (/etc/urandom.seed)
[    7.934970] procd: - early -
[    7.935081] procd: - watchdog -
[    8.505882] procd: - watchdog -
[    8.559799] procd: - ubus -
[    8.613727] procd: - init -
[    9.013859] kmodloader: loading kernel modules from /etc/modules.d/*
[    9.078403] urngd: v1.0.2 started.
[    9.186343] tun: Universal TUN/TAP device driver, 1.6
[    9.453704] ffffffc079014cc0: nss core 0 booted successfully
[    9.499610] ffffffc07901c600: nss core 1 booted successfully
[    9.552500] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    9.556555] nat46: module (version 4c5beee236841724219598fabb1edc93d4f08ce5) loaded.
[    9.559566] gre: GRE over IPv4 demultiplexor driver
[    9.566723] ip_gre: GRE over IPv4 tunneling driver
[    9.573861] ip6_gre: GRE over IPv6 tunneling driver
[    9.584552] QCA multicast snooping installed successfully
[    9.586538] nss_vlan_mgr_init_module[1940]:Module (Build Build Id: 06/09/24, 19:48:45) loaded
[    9.595836] PPP generic driver version 2.4.2
[    9.608474] NET: Registered PF_PPPOX protocol family
[    9.612955] PPTP driver version 0.8.5
[    9.625622] GACT probability on
[    9.626640] Mirror/redirect action on
[    9.633658] u32 classifier
[    9.633694]     input device check on
[    9.635281]     Actions configured
[    9.651529] Loading modules backported from Linux version v6.6.15-0-g51f354b815c4
[    9.651574] Backport generated by backports.git 193becf2
[    9.659539] l2tp_ppp: PPPoL2TP kernel driver, V2.0
[    9.674581] NET: Registered PF_QIPCRTR protocol family
[    9.738107] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    9.738150] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    9.759135] ath11k c000000.wifi: ipq8074 hw2.0
[    9.759172] ath11k c000000.wifi: FW memory mode: 1
[    9.762825] remoteproc remoteproc0: powering up cd00000.q6v5_wcss
[    9.767737] remoteproc remoteproc0: Booting fw image IPQ8074/q6_fw.mdt, size 668
[   10.999222] remoteproc remoteproc0: remote processor cd00000.q6v5_wcss is now up
[   11.050606] ath11k c000000.wifi: chip_id 0x0 chip_family 0x0 board_id 0xff soc_id 0xffffffff
[   11.050657] ath11k c000000.wifi: fw_version 0x290604a5 fw_build_timestamp 2023-10-12 02:06 fw_build_id WLAN.HK.2.9.0.1-01977-QCAHKSWPL_SILICONZ-1
[   11.155931] ath11k c000000.wifi: failed to fetch board data for bus=ahb,qmi-chip-id=0,qmi-board-id=255,variant=Linksys-MX4200v1 from ath11k/IPQ8074/hw2.0/board-2.bin
[   11.156016] ath11k c000000.wifi: failed to fetch board data for bus=ahb,qmi-chip-id=0,qmi-board-id=255 from ath11k/IPQ8074/hw2.0/board-2.bin
[   11.169743] ath11k c000000.wifi: failed to fetch board data for bus=ahb,qmi-chip-id=0,qmi-board-id=255 from ath11k/IPQ8074/hw2.0/board-2.bin
[   11.182402] ath11k c000000.wifi: failed to fetch board.bin from IPQ8074/hw2.0
[   11.194974] ath11k c000000.wifi: qmi failed to fetch board file: -12
[   11.202030] ath11k c000000.wifi: failed to load board data file: -12
[   33.248044] l11: disabling
[   74.720013] ath11k c000000.wifi: Coldboot Calibration timed out
[   74.722098] kmodloader: done loading kernel modules from /etc/modules.d/*
[   80.977952] ECM init
[   80.978057] ECM database jhash random seed: 0x8b7262b6
[   80.997277] ECM init complete
[   81.120918] br-lan: port 1(lan1) entered blocking state
[   81.120978] br-lan: port 1(lan1) entered disabled state
[   81.125241] nss-dp 3a001400.dp3 lan1: entered allmulticast mode
[   81.131213] nss-dp 3a001400.dp3 lan1: entered promiscuous mode
[   81.152115] br-lan: port 2(lan2) entered blocking state
[   81.152178] br-lan: port 2(lan2) entered disabled state
[   81.156473] nss-dp 3a001600.dp4 lan2: entered allmulticast mode
[   81.162266] nss-dp 3a001600.dp4 lan2: entered promiscuous mode
[   81.173763] br-lan: port 3(lan3) entered blocking state
[   81.173827] br-lan: port 3(lan3) entered disabled state
[   81.178713] nss-dp 3a001800.dp5 lan3: entered allmulticast mode
[   81.184194] nss-dp 3a001800.dp5 lan3: entered promiscuous mode
[   81.525113] ath11k c000000.wifi: radio is not up
[   81.559784] configuring additional NSS pbufs
[   81.572342] additional pbufs of size 3100672 got added to NSS
[   84.256344] nss-dp 3a001800.dp5 lan3: PHY Link up speed: 1000
[   84.256459] br-lan: port 3(lan3) entered blocking state
[   84.261101] br-lan: port 3(lan3) entered forwarding state

Notice 81.525 Radio is not up. Any help would be greatly appreciated of why its not coming up.

Could be an improper board-2.bin. Quick spot check to see if you have the right one.

➀ strings /lib/firmware/ath11k/IPQ8074/hw2.0/board-2.bin|head -2

In your case it should show something like

QCA-ATH11K-BOARD
bus=ahb,qmi-chip-id=0,qmi-board-id=255,variant=Linksys-MX4200v1

Just to say that I applied your PR.
In addition to the openssl startup fault, luci-ssl wasn't working either in my case.
I've compiled your PR with your Qualcommax NSS-wifi branch and all works OK.

root@QNAP:~# openssl version
OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024)

etc/ssl/openssl.cnf
has this section now

[openssl_init]
providers = provider_sect
#engines = engines_sect

@qosmio What do you think about - ath11k: Add mac80211 based AQL support in ath11k posted here. A user wrote that applying the patch crashed the firmware after a short time.

1 Like

@AgustinLorenzo , I added the missing to .config

CONFIG_DEFAULT_ipq-wifi-linksys_mx4200=y

and rebuild and reflash and then ssh and confirmed with @qosmio script

strings /lib/firmware/ath11k/IPQ8074/hw2.0/board-2.bin|head -2

and got this result:

QCA-ATH11K-BOARD
bus=ahb,qmi-chip-id=0,qmi-board-id=255,variant=Linksys-MX4200v1m

I think I'm good now, wifi is working.. but will report back if anything goofy comes up other than NOOB User Error (me!) . thank you all, you guys rock!

1 Like

@hnyman I got pstore/ramoops working :slight_smile:

Needs testing on 512M platforms, since I only have 1GB boards. I shifted the regions based on the ipq8074-512m.dsti profile, but should still work.

6 Likes

have you tried this on the nss-wifi branch too?