Giter Club home page Giter Club logo

nss-packages's People

Contributors

agustinlorenzo avatar anonymous-one avatar ansuel avatar bitthief avatar castiel652 avatar dimfishr avatar jiay-shi avatar kirdesde avatar mrnuke avatar psi-c avatar qosmio avatar robimarko avatar tiagogaspar8 avatar xhikarishii avatar xiaolichan avatar zxlhhyccc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nss-packages's Issues

NSS module compile errors after doing a NSS feeds update

I did the latest nss feeds update and got errors when compiling the modules.

$ scripts/feeds update -f nss && scripts/feeds install -a -p nss

Updating feed 'nss' from 'https://github.com/qosmio/nss-packages.git;NSS-11.2-K5.15' ...
Already up to date.
Create index file './feeds/nss.index'
Installing all packages from feed nss.

$ make target/clean
make[2]: Entering directory '/home/python/Venv/QOSMIO/openwrt-ip806x/scripts/config'
make[2]: 'conf' is up to date.
make[2]: Leaving directory '/home/python/Venv/QOSMIO/openwrt-ip806x/scripts/config'
time: target/linux/prereq#0.20#0.18#0.36
make[1] target/clean
make[2] -C target/linux clean

$ make package/{qca-nss-drv,qca-nss-clients,qca-nss-ecm}/{clean,compile} V=sc -j$(nproc)
make[2]: Entering directory '/home/python/Venv/QOSMIO/openwrt-ip806x/scripts/config'
make[2]: 'conf' is up to date.
make[2]: Leaving directory '/home/python/Venv/QOSMIO/openwrt-ip806x/scripts/config'
make[1]: Entering directory '/home/python/Venv/QOSMIO/openwrt-ip806x'
make[2]: Entering directory '/home/python/Venv/QOSMIO/openwrt-ip806x/feeds/nss/qca-nss-drv'
rm -rf /home/python/Venv/QOSMIO/openwrt-ip806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-drv-2020-03-20-3cfb9f43
rm -f /home/python/Venv/QOSMIO/openwrt-ip806x/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/stamp/.qca-nss-drv_installed
rm -f /home/python/Venv/QOSMIO/openwrt-ip806x/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/packages/qca-nss-drv.list
make[2]: Leaving directory '/home/python/Venv/QOSMIO/openwrt-ip806x/feeds/nss/qca-nss-drv'
time: package/feeds/nss/qca-nss-drv/clean#0.17#0.21#0.34
make[1]: Leaving directory '/home/python/Venv/QOSMIO/openwrt-ip806x'
make[2]: Entering directory '/home/python/Venv/QOSMIO/openwrt-ip806x/scripts/config'
make[2]: 'conf' is up to date.
make[2]: Leaving directory '/home/python/Venv/QOSMIO/openwrt-ip806x/scripts/config'
make[1]: Entering directory '/home/python/Venv/QOSMIO/openwrt-ip806x'
make[2]: Entering directory '/home/python/Venv/QOSMIO/openwrt-ip806x/feeds/nss/qca-nss-gmac'
touch /home/python/Venv/QOSMIO/openwrt-ip806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-gmac-2021-04-20-17176794/.prepared_06ba6bf3c8ed032967bddedc01e3eeb7_6664517399ebbbc92a37c5bb081b5c53_check
. /home/python/Venv/QOSMIO/openwrt-ip806x/include/shell.sh; xzcat /home/python/Venv/QOSMIO/openwrt-ip806x/dl/qca-nss-gmac-2021-04-20-17176794.tar.xz | tar -C /home/python/Venv/QOSMIO/openwrt-ip806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-gmac-2021-04-20-17176794/.. -xf -
[ ! -d ./src/ ] || cp -fpR ./src/. /home/python/Venv/QOSMIO/openwrt-ip806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-gmac-2021-04-20-17176794

Applying ./patches/0000-kernel-5.10-support.patch using plaintext:
patching file ipq806x/nss_gmac_ctrl.c
patching file ipq806x/nss_gmac_ethtool.c
patching file ipq806x/nss_gmac_dev.c
patching file ipq806x/include/nss_gmac_network_interface.h
patching file ipq806x/nss_gmac_tx_rx_offload.c

Applying ./patches/0008-add-extra-logging.patch using plaintext:
patching file ipq806x/nss_gmac_tx_rx_offload.c
patching file ipq806x/nss_gmac_ctrl.c
patching file ipq806x/nss_gmac_dev.c
patching file ipq806x/nss_gmac_ethtool.c
patching file ipq806x/nss_gmac_init.c
patching file ipq806x/nss_gmac_mdiobus.c

Applying ./patches/0009-add-tstamp-enable-func-ethtool.patch using plaintext:
patching file ipq806x/include/nss_gmac_dev.h
patching file ipq806x/nss_gmac_ctrl.c
patching file ipq806x/nss_gmac_ethtool.c
touch /home/python/Venv/QOSMIO/openwrt-ip806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-gmac-2021-04-20-17176794/.prepared_06ba6bf3c8ed032967bddedc01e3eeb7_6664517399ebbbc92a37c5bb081b5c53
rm -f /home/python/Venv/QOSMIO/openwrt-ip806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-gmac-2021-04-20-17176794/.configured_*
rm -f /home/python/Venv/QOSMIO/openwrt-ip806x/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/stamp/.qca-nss-gmac_installed
(cd /home/python/Venv/QOSMIO/openwrt-ip806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-gmac-2021-04-20-17176794/./; if [ -x ./configure ]; then find /home/python/Venv/QOSMIO/openwrt-ip806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-gmac-2021-04-20-17176794/ -name config.guess | xargs -r chmod u+w; find /home/python/Venv/QOSMIO/openwrt-ip806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-gmac-2021-04-20-17176794/ -name config.guess | xargs -r -n1 cp --remove-destination /home/python/Venv/QOSMIO/openwrt-ip806x/scripts/config.guess; find /home/python/Venv/QOSMIO/openwrt-ip806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-gmac-2021-04-20-17176794/ -name config.sub | xargs -r chmod u+w; find /home/python/Venv/QOSMIO/openwrt-ip806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-gmac-2021-04-20-17176794/ -name config.sub | xargs -r -n1 cp --remove-destination /home/python/Venv/QOSMIO/openwrt-ip806x/scripts/config.sub; AR="arm-openwrt-linux-muslgnueabi-gcc-ar" AS="arm-openwrt-linux-muslgnueabi-gcc -c -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/home/python/Venv/QOSMIO/openwrt-ip806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-gmac-2021-04-20-17176794=qca-nss-gmac-2021-04-20-17176794 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" LD=arm-openwrt-linux-muslgnueabi-ld NM="arm-openwrt-linux-muslgnueabi-gcc-nm" CC="arm-openwrt-linux-muslgnueabi-gcc" GCC="arm-openwrt-linux-muslgnueabi-gcc" CXX="arm-openwrt-linux-muslgnueabi-g++" RANLIB="arm-openwrt-linux-muslgnueabi-gcc-ranlib" STRIP=arm-openwrt-linux-muslgnueabi-strip OBJCOPY=arm-openwrt-linux-muslgnueabi-objcopy OBJDUMP=arm-openwrt-linux-muslgnueabi-objdump SIZE=arm-openwrt-linux-muslgnueabi-size CFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/home/python/Venv/QOSMIO/openwrt-ip806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-gmac-2021-04-20-17176794=qca-nss-gmac-2021-04-20-17176794 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DCONFIG_NSS_DEBUG_LEVEL=4 -I/home/python/Venv/QOSMIO/openwrt-ip806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-gmac-2021-04-20-17176794/nss_hal/include -I/home/python/Venv/QOSMIO/openwrt-ip806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-gmac-2021-04-20-17176794/nss_hal/ipq806x" CXXFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/home/python/Venv/QOSMIO/openwrt-ip806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-gmac-2021-04-20-17176794=qca-nss-gmac-2021-04-20-17176794 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DCONFIG_NSS_DEBUG_LEVEL=4 -I/home/python/Venv/QOSMIO/openwrt-ip806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-gmac-2021-04-20-17176794/nss_hal/include -I/home/python/Venv/QOSMIO/openwrt-ip806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-gmac-2021-04-20-17176794/nss_hal/ipq806x" CPPFLAGS="-I/home/python/Venv/QOSMIO/openwrt-ip806x/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-11.3.0_musl_eabi/usr/include -I/home/python/Venv/QOSMIO/openwrt-ip806x/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-11.3.0_musl_eabi/include/fortify -I/home/python/Venv/QOSMIO/openwrt-ip806x/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-11.3.0_musl_eabi/include " LDFLAGS="-L/home/python/Venv/QOSMIO/openwrt-ip806x/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-11.3.0_musl_eabi/usr/lib -L/home/python/Venv/QOSMIO/openwrt-ip806x/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-11.3.0_musl_eabi/lib -znow -zrelro " ./configure --target=arm-openwrt-linux --host=arm-openwrt-linux --build=x86_64-pc-linux-gnu --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls ; fi; )
touch /home/python/Venv/QOSMIO/openwrt-ip806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-gmac-2021-04-20-17176794/.configured_68b329da9893e34099c7d8ad5cb9c940
make[2]: *** No rule to make target '/home/python/Venv/QOSMIO/openwrt-ip806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/linux-5.15.69/.config', needed by '/home/python/Venv/QOSMIO/openwrt-ip806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-gmac-2021-04-20-17176794/.built'. Stop.
make[2]: Leaving directory '/home/python/Venv/QOSMIO/openwrt-ip806x/feeds/nss/qca-nss-gmac'
time: package/feeds/nss/qca-nss-gmac/compile#0.23#0.31#1.65
ERROR: package/feeds/nss/qca-nss-gmac failed to build.
make[1]: *** [package/Makefile:116: package/feeds/nss/qca-nss-gmac/compile] Error 1
make[1]: Leaving directory '/home/python/Venv/QOSMIO/openwrt-ip806x'
make: *** [/home/python/Venv/QOSMIO/openwrt-ip806x/include/toplevel.mk:231: package/qca-nss-drv/compile] Error 2

Can't start after selecting ath11k compile on ipq60xx

I suspect that the mac80211 in the ath11k called wifi-meshmgr lead to, even if I choose ATH11K_MEM_PROFILE_256M can not start, if you are interested I can pr to openwrt-ipq you to see if it can be repaired, do not select the ath11k then you can start normally!

The following error occurs with ath11k

Sat May 25 19:23:23 2024 kern.warn kernel: [ 152.544076] ath11k c000000.wifi: failed to wait qmi memory request: -110
Sat May 25 19:23:23 2024 kern.warn kernel: [ 152.544125] ath11k c000000.wifi: qmi failed to respond fw mem req: -110
Sat May 25 19:23:23 2024 kern.err kernel: [ 152.551149] qcom-q6v5-wcss-pil cd00000.remoteproc: fatal error received:
Sat May 25 19:23:23 2024 kern.err kernel: [ 152.551149] QC Image Version: QC_IMAGE_VERSION_STRING=WLAN.HK.2.5.0.1-03982-QCAHKSWPL_SILICONZ-3
Sat May 25 19:23:23 2024 kern.err kernel: [ 152.551149] Image Variant : IMAGE_VARIANT_STRING=6018.wlanfw.evalQ
Sat May 25 19:23:23 2024 kern.err kernel: [ 152.551149]
Sat May 25 19:23:23 2024 kern.err kernel: [ 152.551149] platform_hk.c:754 Assertion remote_ddr_mem_req->mem_seg[idx].addr != 0x0 failedparam0 :zero, param1 :zero, param2 :zero.
Sat May 25 19:23:23 2024 kern.err kernel: [ 152.551149] Thread ID : 0x00000072 Thread name : wlan_platform Process ID : 0
Sat May 25 19:23:23 2024 kern.err kernel: [ 152.551149] Register:
Sat May 25 19:23:23 2024 kern.err kernel: [ 152.551149] SP : 0x4af7e098
Sat May 25 19:23:23 2024 kern.err kernel: [ 152.551149] FP : 0x4af7e0a0
Sat May 25 19:23:23 2024 kern.err kernel: [ 152.551149] PC : 0x4ac8db68
Sat May 25 19:23:23 2024 kern.err kernel: [ 152.551149] SSR : 0x00000008
Sat May 25 19:23:23 2024 kern.err kernel: [ 152.551149] BADVA : 0x00020000
Sat May 25 19:23:23 2024 kern.err kernel: [ 152.551149] LR : 0x4ac8d304
Sat May 25 19:23:23 2024 kern.err kernel: [ 152.551149]
Sat May 25 19:23:23 2024 kern.err kernel: [ 152.551149] Stack Dump
Sat May 25 19:23:23 2024 kern.err kernel: [ 152.551149] from : 0x4af7e098
Sat May 25 19:23:23 2024 kern.err kernel: [ 152.551149] to : 0x4af7e430
Sat May 25 19:23:23 2024 kern.err kernel: [ 152.551149]
Sat May 25 19:23:23 2024 kern.err kernel: [ 152.607958] remoteproc remoteproc0: crash detected in cd00000.remoteproc: type fatal error
Sat May 25 19:23:23 2024 kern.err kernel: [ 152.630189] remoteproc remoteproc0: handling crash #15 in cd00000.remoteproc
Sat May 25 19:23:23 2024 kern.err kernel: [ 152.638425] remoteproc remoteproc0: recovering cd00000.remoteproc
Sat May 25 19:23:23 2024 kern.info kernel: [ 152.680179] remoteproc remoteproc0: stopped remote processor cd00000.remoteproc
Sat May 25 19:23:23 2024 kern.info kernel: [ 152.973075] remoteproc remoteproc0: remote processor cd00000.remoteproc is now up

ERROR: package/feeds/nss/qca-nss-crypto failed to build, package/qca-nss-clients/compile] Error 2

Hi Qosmio,

I have just cloned your branch 5.15-qsdk11-new-krait-cc to a new folder and tried to build a new image. However, the build always failed due to " package/feeds/nss/qca-nss-crypto failed to build." . Why it always attempted to compile "qca-nss-crypto" even though it was not set (# CONFIG_PACKAGE_kmod-qca-nss-crypto is not set)?

My other folder with your repository clone from Oct 5 2022 worked perfectly.

Here are the last few lines leading to the errors:

make target/{clean,compile} -j$(nproc)

make package/{qca-nss-gmac,qca-nss-drv,qca-mcs,qca-nss-clients,qca-nss-ecm,nss-ifb}/{clean,compile} -j1 V=sc
....
make[2]: Entering directory '/home/python/Venv/QOSMIO/openwrt-ipq806x/feeds/nss/qca-nss-gmac'
echo "kmod-qca-nss-gmac" >> /home/python/Venv/QOSMIO/openwrt-ipq806x/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/pkginfo/qca-nss-gmac.default.install
make[2]: Leaving directory '/home/python/Venv/QOSMIO/openwrt-ipq806x/feeds/nss/qca-nss-gmac'
time: package/feeds/nss/qca-nss-gmac/compile#0.19#0.20#0.36
make[2]: Entering directory '/home/python/Venv/QOSMIO/openwrt-ipq806x/feeds/nss/qca-nss-drv'
echo "kmod-qca-nss-drv" >> /home/python/Venv/QOSMIO/openwrt-ipq806x/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/pkginfo/qca-nss-drv.default.install
make[2]: Leaving directory '/home/python/Venv/QOSMIO/openwrt-ipq806x/feeds/nss/qca-nss-drv'
time: package/feeds/nss/qca-nss-drv/compile#0.24#0.26#0.45
make[2]: Entering directory '/home/python/Venv/QOSMIO/openwrt-ipq806x/feeds/nss/qca-nss-crypto'
rm -f /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/.built
touch /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/.built_check
make -j1 -C "/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/linux-5.15.74" KCFLAGS="-fmacro-prefix-map=/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi=target-arm_cortex-a15+neon-vfpv4_musl_eabi -fno-caller-saves " HOSTCFLAGS="-O2 -I/home/python/Venv/QOSMIO/openwrt-ipq806x/staging_dir/host/include -I/home/python/Venv/QOSMIO/openwrt-ipq806x/staging_dir/hostpkg/include -I/home/python/Venv/QOSMIO/openwrt-ipq806x/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/host/include -Wall -Wmissing-prototypes -Wstrict-prototypes" CROSS_COMPILE="arm-openwrt-linux-muslgnueabi-" ARCH="arm" KBUILD_HAVE_NLS=no KBUILD_BUILD_USER="r7800-ath10k" KBUILD_BUILD_HOST="openwrt.lan" KBUILD_BUILD_TIMESTAMP="Sat Oct 22 13:38:54 2022" KBUILD_BUILD_VERSION="0" KBUILD_HOSTLDFLAGS="-L/home/python/Venv/QOSMIO/openwrt-ipq806x/staging_dir/host/lib" CONFIG_SHELL="bash" V=1  cmd_syscalls= KBUILD_EXTRA_SYMBOLS="/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/symvers/gpio-button-hotplug.symvers /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/symvers/qca-mcs.symvers /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/symvers/qca-nat46.symvers /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/symvers/qca-nss-drv.symvers /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/symvers/qca-nss-ecm.symvers /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/symvers/qca-nss-gmac.symvers" KERNELRELEASE=5.15.74  M="/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a" EXTRA_CFLAGS="-DCONFIG_NSS_DEBUG_LEVEL=4 -I/home/python/Venv/QOSMIO/openwrt-ipq806x/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/usr/include/qca-nss-crypto -I/home/python/Venv/QOSMIO/openwrt-ipq806x/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/usr/include/qca-nss-drv -I/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/include -I/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/src" NSS_CRYPTO_DIR=v1.0 SoC=""ipq806x"" modules
make[3]: Entering directory '/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/linux-5.15.74'
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (		\
echo >&2;							\
echo >&2 "  ERROR: Kernel configuration is invalid.";		\
echo >&2 "         include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to fix it.";	\
echo >&2 ;							\
/bin/false)
make -f ./scripts/Makefile.build obj=/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a \
single-build= \
need-builtin=1 need-modorder=1
make -f ./scripts/Makefile.build obj=/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/src \
 \
need-builtin= \
need-modorder=1
  arm-openwrt-linux-muslgnueabi-gcc -Wp,-MMD,/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/src/.nss_crypto_if.o.d -nostdinc -isystem /home/python/Venv/QOSMIO/openwrt-ipq806x/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-11.3.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.3.0/include -I./arch/arm/include -I./arch/arm/include/generated  -I./include -I./arch/arm/include/uapi -I./arch/arm/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 -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -fno-dwarf2-cfi-asm -fno-ipa-sra -mabi=aapcs-linux -mfpu=vfpv4 -funwind-tables -marm -Wa,-mno-warn-deprecated -D__LINUX_ARM_ARCH__=7 -mcpu=cortex-a15 -msoft-float -Uarm -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=1024 -fstack-protector -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-stack-clash-protection -g -fno-var-tracking -femit-struct-debug-baseonly -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -fmacro-prefix-map=/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi=target-arm_cortex-a15+neon-vfpv4_musl_eabi -fno-caller-saves -DCONFIG_NSS_CRYPTO_FORCE_UNCACHE=1 -DNSS_CRYPTO_DEBUG_LEVEL=2 -Werror -DNSS_CRYPTO_BUILD_ID=\"'Build_ID - 10/22/22, 16:35:25'\" -I/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/src/include -I/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/src/ -DCONFIG_NSS_DEBUG_LEVEL=4 -I/home/python/Venv/QOSMIO/openwrt-ipq806x/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/usr/include/qca-nss-crypto -I/home/python/Venv/QOSMIO/openwrt-ipq806x/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/usr/include/qca-nss-drv -I/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/include -I/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/src  -DMODULE  -DKBUILD_BASENAME='"nss_crypto_if"' -DKBUILD_MODNAME='"qca_nss_crypto"' -D__KBUILD_MODNAME=kmod_qca_nss_crypto -c -o /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/src/nss_crypto_if.o /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/src/nss_crypto_if.c
  arm-openwrt-linux-muslgnueabi-gcc -Wp,-MMD,/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/src/.nss_crypto_ctrl.o.d -nostdinc -isystem /home/python/Venv/QOSMIO/openwrt-ipq806x/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-11.3.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.3.0/include -I./arch/arm/include -I./arch/arm/include/generated  -I./include -I./arch/arm/include/uapi -I./arch/arm/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 -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -fno-dwarf2-cfi-asm -fno-ipa-sra -mabi=aapcs-linux -mfpu=vfpv4 -funwind-tables -marm -Wa,-mno-warn-deprecated -D__LINUX_ARM_ARCH__=7 -mcpu=cortex-a15 -msoft-float -Uarm -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=1024 -fstack-protector -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-stack-clash-protection -g -fno-var-tracking -femit-struct-debug-baseonly -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -fmacro-prefix-map=/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi=target-arm_cortex-a15+neon-vfpv4_musl_eabi -fno-caller-saves -DCONFIG_NSS_CRYPTO_FORCE_UNCACHE=1 -DNSS_CRYPTO_DEBUG_LEVEL=2 -Werror -DNSS_CRYPTO_BUILD_ID=\"'Build_ID - 10/22/22, 16:35:25'\" -I/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/src/include -I/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/src/ -DCONFIG_NSS_DEBUG_LEVEL=4 -I/home/python/Venv/QOSMIO/openwrt-ipq806x/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/usr/include/qca-nss-crypto -I/home/python/Venv/QOSMIO/openwrt-ipq806x/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/usr/include/qca-nss-drv -I/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/include -I/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/src  -DMODULE  -DKBUILD_BASENAME='"nss_crypto_ctrl"' -DKBUILD_MODNAME='"qca_nss_crypto"' -D__KBUILD_MODNAME=kmod_qca_nss_crypto -c -o /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/src/nss_crypto_ctrl.o /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/src/nss_crypto_ctrl.c
  arm-openwrt-linux-muslgnueabi-gcc -Wp,-MMD,/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/src/.nss_crypto_debugfs.o.d -nostdinc -isystem /home/python/Venv/QOSMIO/openwrt-ipq806x/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-11.3.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.3.0/include -I./arch/arm/include -I./arch/arm/include/generated  -I./include -I./arch/arm/include/uapi -I./arch/arm/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 -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -fno-dwarf2-cfi-asm -fno-ipa-sra -mabi=aapcs-linux -mfpu=vfpv4 -funwind-tables -marm -Wa,-mno-warn-deprecated -D__LINUX_ARM_ARCH__=7 -mcpu=cortex-a15 -msoft-float -Uarm -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=1024 -fstack-protector -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-stack-clash-protection -g -fno-var-tracking -femit-struct-debug-baseonly -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -fmacro-prefix-map=/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi=target-arm_cortex-a15+neon-vfpv4_musl_eabi -fno-caller-saves -DCONFIG_NSS_CRYPTO_FORCE_UNCACHE=1 -DNSS_CRYPTO_DEBUG_LEVEL=2 -Werror -DNSS_CRYPTO_BUILD_ID=\"'Build_ID - 10/22/22, 16:35:25'\" -I/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/src/include -I/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/src/ -DCONFIG_NSS_DEBUG_LEVEL=4 -I/home/python/Venv/QOSMIO/openwrt-ipq806x/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/usr/include/qca-nss-crypto -I/home/python/Venv/QOSMIO/openwrt-ipq806x/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/usr/include/qca-nss-drv -I/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/include -I/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/src  -DMODULE  -DKBUILD_BASENAME='"nss_crypto_debugfs"' -DKBUILD_MODNAME='"qca_nss_crypto"' -D__KBUILD_MODNAME=kmod_qca_nss_crypto -c -o /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/src/nss_crypto_debugfs.o /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/src/nss_crypto_debugfs.c
  arm-openwrt-linux-muslgnueabi-gcc -Wp,-MMD,/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/src/.nss_crypto_dtsi.o.d -nostdinc -isystem /home/python/Venv/QOSMIO/openwrt-ipq806x/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-11.3.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.3.0/include -I./arch/arm/include -I./arch/arm/include/generated  -I./include -I./arch/arm/include/uapi -I./arch/arm/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 -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -fno-dwarf2-cfi-asm -fno-ipa-sra -mabi=aapcs-linux -mfpu=vfpv4 -funwind-tables -marm -Wa,-mno-warn-deprecated -D__LINUX_ARM_ARCH__=7 -mcpu=cortex-a15 -msoft-float -Uarm -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=1024 -fstack-protector -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-stack-clash-protection -g -fno-var-tracking -femit-struct-debug-baseonly -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -fmacro-prefix-map=/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi=target-arm_cortex-a15+neon-vfpv4_musl_eabi -fno-caller-saves -DCONFIG_NSS_CRYPTO_FORCE_UNCACHE=1 -DNSS_CRYPTO_DEBUG_LEVEL=2 -Werror -DNSS_CRYPTO_BUILD_ID=\"'Build_ID - 10/22/22, 16:35:25'\" -I/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/src/include -I/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/src/ -DCONFIG_NSS_DEBUG_LEVEL=4 -I/home/python/Venv/QOSMIO/openwrt-ipq806x/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/usr/include/qca-nss-crypto -I/home/python/Venv/QOSMIO/openwrt-ipq806x/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/usr/include/qca-nss-drv -I/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/include -I/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/src  -DMODULE  -DKBUILD_BASENAME='"nss_crypto_dtsi"' -DKBUILD_MODNAME='"qca_nss_crypto"' -D__KBUILD_MODNAME=kmod_qca_nss_crypto -c -o /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/src/nss_crypto_dtsi.o /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/src/nss_crypto_dtsi.c
  arm-openwrt-linux-muslgnueabi-ld -EL -z noexecstack   -r -o /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/src/qca-nss-crypto.o /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/src/nss_crypto_if.o /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/src/nss_crypto_ctrl.o /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/src/nss_crypto_debugfs.o /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/src/nss_crypto_dtsi.o
  { echo  /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/src/nss_crypto_if.o /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/src/nss_crypto_ctrl.o /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/src/nss_crypto_debugfs.o /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/src/nss_crypto_dtsi.o;  echo; } > /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/src/qca-nss-crypto.mod
  {   echo /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/src/qca-nss-crypto.ko; :; } | awk '!x[$0]++' - > /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/src/modules.order
make -f ./scripts/Makefile.build obj=/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/tool \
 \
need-builtin= \
need-modorder=1
  arm-openwrt-linux-muslgnueabi-gcc -Wp,-MMD,/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/tool/.nss_crypto_bench.o.d -nostdinc -isystem /home/python/Venv/QOSMIO/openwrt-ipq806x/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-11.3.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.3.0/include -I./arch/arm/include -I./arch/arm/include/generated  -I./include -I./arch/arm/include/uapi -I./arch/arm/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 -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -fno-dwarf2-cfi-asm -fno-ipa-sra -mabi=aapcs-linux -mfpu=vfpv4 -funwind-tables -marm -Wa,-mno-warn-deprecated -D__LINUX_ARM_ARCH__=7 -mcpu=cortex-a15 -msoft-float -Uarm -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=1024 -fstack-protector -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-stack-clash-protection -g -fno-var-tracking -femit-struct-debug-baseonly -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -fmacro-prefix-map=/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi=target-arm_cortex-a15+neon-vfpv4_musl_eabi -fno-caller-saves -DNSS_CRYPTO_BUILD_ID=\"'Build_ID - 10/22/22, 16:35:28'\" -I/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/tool/../include -I/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/tool/../src -I/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/tool/ -Werror -DCONFIG_NSS_DEBUG_LEVEL=4 -I/home/python/Venv/QOSMIO/openwrt-ipq806x/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/usr/include/qca-nss-crypto -I/home/python/Venv/QOSMIO/openwrt-ipq806x/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/usr/include/qca-nss-drv -I/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/include -I/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/src  -DMODULE  -DKBUILD_BASENAME='"nss_crypto_bench"' -DKBUILD_MODNAME='"qca_nss_crypto_tool"' -D__KBUILD_MODNAME=kmod_qca_nss_crypto_tool -c -o /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/tool/nss_crypto_bench.o /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/tool/nss_crypto_bench.c
  arm-openwrt-linux-muslgnueabi-ld -EL -z noexecstack   -r -o /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/tool/qca-nss-crypto-tool.o /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/tool/nss_crypto_bench.o
  { echo  /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/tool/nss_crypto_bench.o;  echo; } > /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/tool/qca-nss-crypto-tool.mod
  {   echo /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/tool/qca-nss-crypto-tool.ko; :; } | awk '!x[$0]++' - > /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/tool/modules.order
  {   cat /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/src/modules.order;   cat /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/tool/modules.order; :; } | awk '!x[$0]++' - > /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/modules.order
bash ./scripts/modules-check.sh /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/modules.order
make -f ./scripts/Makefile.modpost
  sed 's/\.ko$/\.o/' /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/modules.order | scripts/mod/modpost    -o /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/Module.symvers -e -i Module.symvers -i /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/symvers/gpio-button-hotplug.symvers -i /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/symvers/qca-mcs.symvers -i /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/symvers/qca-nat46.symvers -i /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/symvers/qca-nss-drv.symvers -i /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/symvers/qca-nss-ecm.symvers -i /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/symvers/qca-nss-gmac.symvers   -T -
ERROR: modpost: "nss_crypto_pm_notify_register" [/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/src/qca-nss-crypto.ko] undefined!
ERROR: modpost: "nss_crypto_notify_register" [/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/src/qca-nss-crypto.ko] undefined!
ERROR: modpost: "nss_crypto_pm_notify_unregister" [/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/src/qca-nss-crypto.ko] undefined!
ERROR: modpost: "nss_crypto_tx_msg" [/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/src/qca-nss-crypto.ko] undefined!
ERROR: modpost: "nss_crypto_data_register" [/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/src/qca-nss-crypto.ko] undefined!
ERROR: modpost: "nss_crypto_tx_buf" [/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/v1.0/src/qca-nss-crypto.ko] undefined!
make[4]: *** [scripts/Makefile.modpost:133: /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/Module.symvers] Error 1
make[4]: *** Deleting file '/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/Module.symvers'
make[3]: *** [Makefile:1814: modules] Error 2
make[3]: Leaving directory '/home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/linux-5.15.74'
make[2]: *** [Makefile:79: /home/python/Venv/QOSMIO/openwrt-ipq806x/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-crypto-2021-03-20-2271a3a/.built] Error 2
make[2]: Leaving directory '/home/python/Venv/QOSMIO/openwrt-ipq806x/feeds/nss/qca-nss-crypto'
time: package/feeds/nss/qca-nss-crypto/compile#3.85#1.37#5.17
    ERROR: package/feeds/nss/qca-nss-crypto failed to build.
make[1]: *** [package/Makefile:116: package/feeds/nss/qca-nss-crypto/compile] Error 1
make[1]: Leaving directory '/home/python/Venv/QOSMIO/openwrt-ipq806x'
make: *** [/home/python/Venv/QOSMIO/openwrt-ipq806x/include/toplevel.mk:231: package/qca-nss-clients/compile] Error 2

`qca-nss-clients` compilation error!

LD [M]  /home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2023-10-04-f058ae19/qca-nss-tun6rd.o
  MODPOST /home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2023-10-04-f058ae19/Module.symvers
ERROR: modpost: "nss_udp_st_get_mgr" [/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2023-10-04-f058ae19/netlink/qca-nss-netlink.ko] undefined!
ERROR: modpost: "nss_udp_st_tx_sync" [/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2023-10-04-f058ae19/netlink/qca-nss-netlink.ko] undefined!
ERROR: modpost: "nss_lso_rx_stats_register_notifier" [/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2023-10-04-f058ae19/netlink/qca-nss-netlink.ko] undefined!
ERROR: modpost: "nss_lso_rx_stats_unregister_notifier" [/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2023-10-04-f058ae19/netlink/qca-nss-netlink.ko] undefined!
ERROR: modpost: "nss_udp_st_tx" [/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2023-10-04-f058ae19/netlink/qca-nss-netlink.ko] undefined!
ERROR: modpost: "nss_udp_st_msg_init" [/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2023-10-04-f058ae19/netlink/qca-nss-netlink.ko] undefined!
scripts/Makefile.modpost:126: recipe for target '/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2023-10-04-f058ae19/Module.symvers' failed
make[4]: *** [/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2023-10-04-f058ae19/Module.symvers] Error 1
Makefile:1966: recipe for target 'modpost' failed
make[3]: *** [modpost] Error 2
make[3]: Leaving directory '/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/linux-6.1.74'
Makefile:750: recipe for target '/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2023-10-04-f058ae19/.built' failed
make[2]: *** [/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2023-10-04-f058ae19/.built] Error 2
make[2]: Leaving directory '/home/lin/ax6-6.1/package/nss-packages/qca/qca-nss-clients'
time: package/nss-packages/qca/qca-nss-clients/compile#90.70#14.62#104.87
    ERROR: package/nss-packages/qca/qca-nss-clients failed to build.
package/Makefile:126: recipe for target 'package/nss-packages/qca/qca-nss-clients

'kmod-qca-ovsmgr' does not exist.

Since the commit 7e02d37 I get the following error when building:

WARNING: Makefile 'package/feeds/nss_packages/qca-nss-ecm/Makefile' has a dependency on 'kmod-qca-ovsmgr', which does not exist.

Kind regards.

Failure when building image with ath10k-ct firmware/driver using the 5.15-qsdk11-new-krait-cc branch

Hi Qosmio,

Have you tried to build R7800 image with ath10k-ct driver/firmware? I could always successfully build R7800 with ath10k (non-ct) driver/firmware using your branch 5.15-qsdk11-new-krait-cc. However, if I tried to build it with ath10k-ct (all other packages are the same with the non-ct ath10k build), it always failed at the package_install stage.

make -j1 V=sc

...
Configuring urngd.
Configuring kmod-macsec.
ConfigCollected errors:
 * check_data_file_clashes: Package kmod-ath10k wants to install file /home/python/Venv/VOCHONG-QOSMIO/openwrt-ipq806x-kernel-5.15-qsdk11/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/root-ipq806x/lib/modules/5.15.69/ath10k_core.ko
	But that file is already provided by package  * kmod-ath10k-ct
 * check_data_file_clashes: Package kmod-ath10k wants to install file /home/python/Venv/VOCHONG-QOSMIO/openwrt-ipq806x-kernel-5.15-qsdk11/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/root-ipq806x/lib/modules/5.15.69/ath10k_pci.ko
	But that file is already provided by package  * kmod-ath10k-ct
 * opkg_install_cmd: Cannot install package kmod-ath10k.
uring 6to4.
Configuring ppp-mod-pppoe.
Configuring luci-app-openvpn.
make[2]: *** [package/Makefile:70: package/install] Error 255
make[2]: Leaving directory '/home/python/Venv/VOCHONG-QOSMIO/openwrt-ipq806x-kernel-5.15-qsdk11'
make[1]: *** [package/Makefile:111: /home/python/Venv/VOCHONG-QOSMIO/openwrt-ipq806x-kernel-5.15-qsdk11/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/stamp/.package_install] Error 2
make[1]: Leaving directory '/home/python/Venv/VOCHONG-QOSMIO/openwrt-ipq806x-kernel-5.15-qsdk11'
make: *** [/home/python/Venv/VOCHONG-QOSMIO/openwrt-ipq806x-kernel-5.15-qsdk11/include/toplevel.mk:231: world] Error 2

Latest commit still not showing on my AX6 wireless!

the system log shows the following:

Tue Jan 30 17:39:34 2024 kern.alert kernel: [    8.163216] ffffffc000b21580: request_firmware failed with err code: -12
Tue Jan 30 17:39:34 2024 kern.alert kernel: [    8.163237] ffffffc000b21580: firmware load from driver failed
Tue Jan 30 17:39:34 2024 kern.warn kernel: [    8.169046] qca-nss: probe of 39000000.nss failed with error -12
Tue Jan 30 17:39:34 2024 kern.alert kernel: [    8.260807] ffffffc000b28ec0: request_firmware failed with err code: -12
Tue Jan 30 17:39:34 2024 kern.alert kernel: [    8.260834] ffffffc000b28ec0: firmware load from driver failed
Tue Jan 30 17:39:34 2024 kern.warn kernel: [    8.266639] qca-nss: probe of 39400000.nss failed with error -12
Tue Jan 30 17:39:34 2024 kern.info kernel: [    8.289593] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
Tue Jan 30 17:39:34 2024 kern.warn kernel: [    8.293374] nat46: module (version 1182f30785e4274913f01a8c3d7e1b5437ae3819) loaded.
Tue Jan 30 17:39:34 2024 user.info kernel: [    9.920440] kmodloader: done loading kernel modules from /etc/modules.d/*
Tue Jan 30 17:39:34 2024 kern.info kernel: [    9.970412] ath11k c000000.wifi: chip_id 0x0 chip_family 0x0 board_id 0xff soc_id 0xffffffff
Tue Jan 30 17:39:34 2024 kern.info kernel: [    9.970463] ath11k c000000.wifi: fw_version 0x290c84a5 fw_build_timestamp 2023-03-25 07:34 fw_build_id WLAN.HK.2.9.0.1-01385-QCAHKSWPL_SILICONZ-1
Tue Jan 30 17:39:34 2024 kern.warn kernel: [   10.238253] ath11k c000000.wifi: htt event 48 not handled
Tue Jan 30 17:39:34 2024 kern.info kernel: [   10.242922] ath11k c000000.wifi: nss init soc nss if_num 203 userpd_id 0
Tue Jan 30 17:39:34 2024 kern.warn kernel: [   10.242968] ath11k c000000.wifi: nss state in default init state
Tue Jan 30 17:39:34 2024 kern.warn kernel: [   10.249503] ath11k c000000.wifi: NSS SOC Initialization Failed :-22
Tue Jan 30 17:39:34 2024 kern.err kernel: [   10.255418] ath11k c000000.wifi: failed to setup nss driver interface-22
Tue Jan 30 17:39:34 2024 kern.err kernel: [   10.263893] ath11k c000000.wifi: failed to create pdev core: -22
Tue Jan 30 17:39:34 2024 kern.warn kernel: [   20.447974] ath11k c000000.wifi: failed to wait wlan mode request (mode 4): -110
Tue Jan 30 17:39:34 2024 kern.warn kernel: [   20.448026] ath11k c000000.wifi: qmi failed to send wlan mode off: -110
root@OpenWrt:~# cat /sys/m*/ath11k/p*/{frame_mode,nss_offload}
2
1
root@OpenWrt:~#

nss-drv: Kernel panic loading firmware 11.4 (NSS.AK.11.4-10-R)

Using QSDK 11.4 (drv, clients, and ecm)

First panic caused by 0005-nss-drv-rework-NSS_CORE_DMA_CACHE_MAINT-ops.patch

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.15.67 (xbmc@htpc) (arm-openwrt-linux-muslgnueabi-gcc (OpenWrt GCC 12.2.0 r20352+315-ea7b3e301d) 12.2.0, GNU ld (GNU Binutils) 2.38) #0 SMP Fri Sep 9 22:25:45 2022
[    0.000000] CPU: ARMv7 Processor [512f04d0] revision 0 (ARMv7), cr=10c5787d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: Netgear Nighthawk X4S R7800
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000042000000-0x000000005fffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000042000000-0x000000005fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000042000000-0x000000005fffffff]
[    0.000000] percpu: Embedded 16 pages/cpu s32844 r8192 d24500 u65536
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 121920
[    0.000000] Kernel command line:
[    0.000000] Bootloader command line (ignored): console=ttyHSL1,115200n8
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 454872K/491520K available (7541K kernel code, 880K rwdata, 1812K rodata, 18432K init, 246K bss, 36648K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] ftrace: allocating 26036 entries in 77 pages
[    0.000000] ftrace: allocated 77 pages with 4 groups
[    0.000000] trace event string verifier disabled
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] 	Rude variant of Tasks RCU enabled.
[    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: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] clocksource: dg_timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 305801671480 ns
[    0.000001] sched_clock: 32 bits at 6MHz, resolution 160ns, wraps every 343597383600ns
[    0.000030] Switching to timer-based delay loop, resolution 160ns
[    0.000376] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.50 BogoMIPS (lpj=62500)
[    0.000411] pid_max: default: 32768 minimum: 301
[    0.000613] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000648] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001425] CPU: Testing write buffer coherency: ok
[    0.001732] qcom_scm: convention: smc legacy
[    0.002854] Setting up static identity map for 0x42300000 - 0x42300060
[    0.003038] rcu: Hierarchical SRCU implementation.
[    0.003981] smp: Bringing up secondary CPUs ...
[    0.005966] smp: Brought up 1 node, 2 CPUs
[    0.005995] SMP: Total of 2 processors activated (25.00 BogoMIPS).
[    0.006016] CPU: All CPU(s) started in SVC mode.
[    0.018062] VFP support v0.3: implementor 51 architecture 64 part 4d variant 2 rev 0
[    0.018231] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.018274] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.018386] pinctrl core: initialized pinctrl subsystem
[    0.020096] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.020410] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.021890] thermal_sys: Registered thermal governor 'step_wise'
[    0.023922] cpuidle: using governor ladder
[    0.023997] cpuidle: using governor menu
[    0.046730] qcom_rpm 108000.rpm: RPM firmware 3.0.16777364
[    0.083038] s1a: Bringing 0uV into 1050000-1050000uV
[    0.083297] s1a: supplied by regulator-dummy
[    0.083464] s1b: Bringing 0uV into 1050000-1050000uV
[    0.083689] s1b: supplied by regulator-dummy
[    0.083837] s2a: Bringing 0uV into 775000-775000uV
[    0.084056] s2a: supplied by regulator-dummy
[    0.084209] s2b: Bringing 0uV into 775000-775000uV
[    0.084421] s2b: supplied by regulator-dummy
[    0.085068] usbcore: registered new interface driver usbfs
[    0.085144] usbcore: registered new interface driver hub
[    0.085208] usbcore: registered new device driver usb
[    0.085267] pps_core: LinuxPPS API ver. 1 registered
[    0.085282] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[    0.085318] PTP clock support registered
[    0.087482] clocksource: Switched to clocksource dg_timer
[    0.152751] NET: Registered PF_INET protocol family
[    0.152985] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.153780] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.153822] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.153850] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.153954] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.154017] TCP: Hash tables configured (established 4096 bind 4096)
[    0.154101] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.154136] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.154360] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.154416] PCI: CLS 0 bytes, default 64
[    0.155551] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    0.161570] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.161599] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.328162] qcom-pcie 1b500000.pci: supply vdda not found, using dummy regulator
[    0.328436] qcom-pcie 1b500000.pci: supply vdda_phy not found, using dummy regulator
[    0.328565] qcom-pcie 1b500000.pci: supply vdda_refclk not found, using dummy regulator
[    0.328904] qcom-pcie 1b500000.pci: host bridge /soc/pci@1b500000 ranges:
[    0.329023] qcom-pcie 1b500000.pci:       IO 0x000fe00000..0x000fe0ffff -> 0x000fe00000
[    0.329080] qcom-pcie 1b500000.pci:      MEM 0x0008000000..0x000fdfffff -> 0x0008000000
[    0.449645] qcom-pcie 1b500000.pci: iATU unroll: disabled
[    0.449680] qcom-pcie 1b500000.pci: Detected iATU regions: 8 outbound, 8 inbound
[    0.550298] qcom-pcie 1b500000.pci: Link up
[    0.550523] qcom-pcie 1b500000.pci: PCI host bridge to bus 0000:00
[    0.550554] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.550585] pci_bus 0000:00: root bus resource [io  0x0000-0xffff] (bus address [0xfe00000-0xfe0ffff])
[    0.550612] pci_bus 0000:00: root bus resource [mem 0x08000000-0x0fdfffff]
[    0.550703] pci 0000:00:00.0: [17cb:0101] type 01 class 0x060400
[    0.550857] pci 0000:00:00.0: supports D1
[    0.550881] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.555952] PCI: bus0: Fast back to back transfers disabled
[    0.556383] pci 0000:01:00.0: [168c:0046] type 00 class 0x028000
[    0.556580] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.557433] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    0.562937] PCI: bus1: Fast back to back transfers disabled
[    0.563056] pci 0000:00:00.0: BAR 8: assigned [mem 0x08000000-0x081fffff]
[    0.563094] pci 0000:01:00.0: BAR 0: assigned [mem 0x08000000-0x081fffff 64bit]
[    0.563205] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    0.563236] pci 0000:00:00.0:   bridge window [mem 0x08000000-0x081fffff]
[    0.564249] pcieport 0000:00:00.0: AER: enabled with IRQ 48
[    0.565479] qcom-pcie 1b700000.pci: supply vdda not found, using dummy regulator
[    0.565754] qcom-pcie 1b700000.pci: supply vdda_phy not found, using dummy regulator
[    0.565887] qcom-pcie 1b700000.pci: supply vdda_refclk not found, using dummy regulator
[    0.566196] qcom-pcie 1b700000.pci: host bridge /soc/pci@1b700000 ranges:
[    0.566306] qcom-pcie 1b700000.pci:       IO 0x0031e00000..0x0031e0ffff -> 0x0031e00000
[    0.566360] qcom-pcie 1b700000.pci:      MEM 0x002e000000..0x0031dfffff -> 0x002e000000
[    0.689633] qcom-pcie 1b700000.pci: iATU unroll: disabled
[    0.689669] qcom-pcie 1b700000.pci: Detected iATU regions: 8 outbound, 8 inbound
[    0.790349] qcom-pcie 1b700000.pci: Link up
[    0.790570] qcom-pcie 1b700000.pci: PCI host bridge to bus 0001:00
[    0.790599] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.790630] pci_bus 0001:00: root bus resource [io  0x10000-0x1ffff] (bus address [0x31e00000-0x31e0ffff])
[    0.790656] pci_bus 0001:00: root bus resource [mem 0x2e000000-0x31dfffff]
[    0.790748] pci 0001:00:00.0: [17cb:0101] type 01 class 0x060400
[    0.790904] pci 0001:00:00.0: supports D1
[    0.790927] pci 0001:00:00.0: PME# supported from D0 D1 D3hot
[    0.796079] PCI: bus0: Fast back to back transfers disabled
[    0.796552] pci 0001:01:00.0: [168c:0046] type 00 class 0x028000
[    0.796767] pci 0001:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.797699] pci 0001:01:00.0: PME# supported from D0 D3hot D3cold
[    0.798144] pci 0001:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0001:00:00.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    0.803311] PCI: bus1: Fast back to back transfers disabled
[    0.803430] pci 0001:00:00.0: BAR 8: assigned [mem 0x2e000000-0x2e1fffff]
[    0.803469] pci 0001:01:00.0: BAR 0: assigned [mem 0x2e000000-0x2e1fffff 64bit]
[    0.803584] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[    0.803615] pci 0001:00:00.0:   bridge window [mem 0x2e000000-0x2e1fffff]
[    0.804616] pcieport 0001:00:00.0: AER: enabled with IRQ 50
[    0.809005] L2 @ QSB rate. Forcing new rate.
[    0.809300] L2 @ 384000 KHz
[    0.809510] CPU0 @ 800000 KHz
[    0.809538] CPU1 @ QSB rate. Forcing new rate.
[    0.809838] CPU1 @ 384000 KHz
[    0.816534] gsbi 16300000.gsbi: GSBI port protocol: 6 crci: 0
[    0.818687] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.820020] msm_serial 16340000.serial: msm_serial: detected port #0
[    0.820123] msm_serial 16340000.serial: uartclk = 7372800
[    0.820227] 16340000.serial: ttyMSM0 at MMIO 0x16340000 (irq = 51, base_baud = 460800) is a MSM
[    0.820301] msm_serial: console setup on port #0
[    1.736353] printk: console [ttyMSM0] enabled
[    1.741882] msm_serial: driver initialized
[    1.753505] loop: module loaded
[    1.755639] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xa1
[    1.755693] nand: Micron MT29F1G08ABBEAH4
[    1.762176] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.766121] 8 fixed-partitions partitions found on MTD device qcom_nand.0
[    1.773628] OF: Bad cell count for /soc/nand-controller@1ac00000/nand@0/partitions
[    1.780458] OF: Bad cell count for /soc/nand-controller@1ac00000/nand@0/partitions
[    1.789020] Creating 8 MTD partitions on "qcom_nand.0":
[    1.795323] 0x000000000000-0x000000c80000 : "qcadata"
[    1.822738] 0x000000c80000-0x000001180000 : "APPSBL"
[    1.832019] 0x000001180000-0x000001200000 : "APPSBLENV"
[    1.833630] 0x000001200000-0x000001340000 : "art"
[    1.839207] 0x000001340000-0x000001480000 : "artbak"
[    1.843792] 0x000001480000-0x000001880000 : "kernel"
[    1.853569] 0x000001880000-0x000007900000 : "ubi"
[    2.017994] 0x000007900000-0x000008000000 : "reserve"
[    2.829498] switch0: Atheros AR8337 rev. 2 switch registered on 37000000.mdio-mii
[    3.644123] ar8327: qca,phy-rgmii-en is not specified
[    3.645708] i2c_dev: i2c /dev entries driver
[    3.658973] sdhci: Secure Digital Host Controller Interface driver
[    3.659024] sdhci: Copyright(c) Pierre Ossman
[    3.664065] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.672348] NET: Registered PF_INET6 protocol family
[    3.676623] Segment Routing with IPv6
[    3.679348] In-situ OAM (IOAM) with IPv6
[    3.682882] NET: Registered PF_PACKET protocol family
[    3.686884] Bridge firewalling registered
[    3.692287] 8021q: 802.1Q VLAN Support v1.8
[    3.695723] Registering SWP/SWPB emulation handler
[    3.747915] thermal thermal_zone0: failed to read out thermal zone (-110)
[    3.763607] UBI: auto-attach mtd6
[    3.763664] ubi0: attaching mtd6
[    3.933902] random: crng init done
[    4.612259] ubi0: scanning is finished
[    4.623055] ubi0: attached mtd6 (name "ubi", size 96 MiB)
[    4.623080] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    4.627427] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    4.634258] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    4.641131] ubi0: good PEBs: 772, bad PEBs: 0, corrupted PEBs: 0
[    4.647879] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    4.654077] ubi0: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 1662715491
[    4.661182] ubi0: available PEBs: 0, total reserved PEBs: 772, PEBs reserved for bad PEB handling: 20
[    4.678067] ubi0: background thread "ubi_bgt0d" started, PID 83
[    4.678574] block ubiblock0_0: created from ubi0:0(rootfs)ÿ[    4.703990] Freeing unused kernel image (initmem) memory: 18432K
[    4.728211] Run /init as init process
[    6.533918] init: Console is alive
[    6.534061] init: - watchdog -
[    6.536279] init: Watchdog has previously reset the system
[    6.575503] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    6.612705] pstore: Using crash dump compression: deflate
[    6.612741] pstore: Registered ramoops as persistent store backend
[    6.617084] ramoops: using 0x40000@0x42100000, ecc: 0
[    6.625477] **********************************************************
[    6.628389] * Driver    :NSS GMAC Driver - RTL v(3.72a)
[    6.634709] * Version   :1.0
[    6.639894] * Copyright :Copyright (c) 2013-2018 The Linux Foundation. All rights reserved.
[    6.642957] **********************************************************
[    6.667928] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdeba4000) + GMAC_COREn_CLK_FS(1)(0x3cd8): 0x8
[    6.667978] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdeba4000) + GMAC_COREn_CLK_SRC_CTL(1)(0x3cc0): 0x2
[    6.679741] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdeba4000) + GMAC_COREn_CLK_SRC0_MD(1)(0x3cc4): 0x7f0000
[    6.692816] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdeba4000) + GMAC_COREn_CLK_SRC1_MD(1)(0x3cc8): 0x7f0000
[    6.706687] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdeba4000) + GMAC_COREn_CLK_SRC0_NS(1)(0x3ccc): 0x142
[    6.720308] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdeba4000) + GMAC_COREn_CLK_SRC1_NS(1)(0x3cd0): 0x142
[    6.733584] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdeba4000) + CLK_HALT_NSSFAB0_NSSFAB1_STATEA(0x3c20): 0x5b00
[    6.746955] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdeba4000) + GMAC_COREn_CLK_CTL(1)(0x3cd4): 0x50
[    6.761013] (unnamed net_device) (uninitialized): nss_gmac_dev_init: nss_base(0xdeb90000) + NSS_GMACn_CTL(1)(0x34): 0x90c0c
[    6.773946] (unnamed net_device) (uninitialized): nss_gmac_dev_init: nss_base(0xdeb90000) + NSS_ETH_CLK_DIV0(0xc): 0x100
[    6.784835] (unnamed net_device) (uninitialized): ioremap OK. Size 0x4000. reg_base 0x37200000. mac_base 0x066e22e7.
[    6.795965] (unnamed net_device) (uninitialized): mdio bus '37000000.mdio-mii' OK.
[    6.812386] ipq8064-mdio 37000000.mdio (unnamed net_device) (uninitialized): nss_gmac_ipc_offload_init: enable Rx checksum
[    6.814413] ipq8064-mdio 37000000.mdio eth0: Initialized NSS GMAC1 interface eth0: (base = 0x37200000, irq = 39, PhyId = 4, PollLink = 0)
[    6.825354] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdeba4000) + GMAC_COREn_CLK_FS(2)(0x3cf8): 0x8
[    6.837273] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdeba4000) + GMAC_COREn_CLK_SRC_CTL(2)(0x3ce0): 0x2
[    6.849922] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdeba4000) + GMAC_COREn_CLK_SRC0_MD(2)(0x3ce4): 0x7f0000
[    6.863010] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdeba4000) + GMAC_COREn_CLK_SRC1_MD(2)(0x3ce8): 0x7f0000
[    6.876924] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdeba4000) + GMAC_COREn_CLK_SRC0_NS(2)(0x3cec): 0x142
[    6.890533] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdeba4000) + GMAC_COREn_CLK_SRC1_NS(2)(0x3cf0): 0x142
[    6.903810] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdeba4000) + CLK_HALT_NSSFAB0_NSSFAB1_STATEA(0x3c20): 0x5b00
[    6.917182] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdeba4000) + GMAC_COREn_CLK_CTL(2)(0x3cf4): 0x50
[    6.931248] (unnamed net_device) (uninitialized): nss_gmac_dev_init: nss_base(0xdeb90000) + NSS_GMACn_CTL(2)(0x38): 0x80c0c
[    6.944172] (unnamed net_device) (uninitialized): nss_gmac_dev_init: nss_base(0xdeb90000) + NSS_ETH_CLK_DIV0(0xc): 0x100
[    6.955015] (unnamed net_device) (uninitialized): nss_gmac_qsgmii_dev_init: QSGMII_PHY_SGMII_1_CTL(0x13c) - 0xc09c408f
[    6.966134] (unnamed net_device) (uninitialized): nss_gmac_qsgmii_dev_init: NSS_QSGMII_CLK_CTL(0x2c) - 0x0
[    6.976630] (unnamed net_device) (uninitialized): SGMII Specific Init for GMAC2 Done!
[    6.986297] (unnamed net_device) (uninitialized): ioremap OK. Size 0x4000. reg_base 0x37400000. mac_base 0xa8efdc46.
[    6.994242] (unnamed net_device) (uninitialized): mdio bus '37000000.mdio-mii' OK.
[    7.011133] ipq8064-mdio 37000000.mdio (unnamed net_device) (uninitialized): nss_gmac_ipc_offload_init: enable Rx checksum
[    7.012673] ipq8064-mdio 37000000.mdio eth1: Initialized NSS GMAC2 interface eth1: (base = 0x37400000, irq = 40, PhyId = 0, PollLink = 0)
[    7.052738] nss_driver - fw of size 621272  bytes copied to load addr: 40000000, nss_id : 0
[    7.053424] nss_driver - Turbo Support 1
[    7.059968] Supported Frequencies -
[    7.059972] 800Mhz
[    7.064062] 800Mhz
[    7.067619] 800Mhz
[    7.069514]
[    7.073747] bf21d100: set sdma c3331c00
[    7.075421] bf21d100: meminfo init succeed
[    7.082371] nss_driver - fw of size 221444  bytes copied to load addr: 40800000, nss_id : 1
[    7.083247] bf221040: set sdma c3331e00
[    7.091427] bf221040: meminfo init succeed
[    7.095200] debugfs: Directory 'dynamic_if' with parent 'stats' already present!
[    7.099384] debugfs: File 'n2h' in directory 'strings' already present!
[    7.102330] node size 1 # items 2
[    7.106862] debugfs: File 'drv' in directory 'strings' already present!
[    7.106869] debugfs: File 'c2c_tx' in directory 'strings' already present!
[    7.113273] memory: 0 0 (avl 613793792) items 2 active_cores 2
[    7.116673] debugfs: File 'c2c_rx' in directory 'strings' already present!
[    7.123233] addr/size storage words 1 1 # words 2 in DTS, ddr size 1000000
[    7.132085] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    7.135891] bf21d100: nss core 0 booted successfully
[    7.147046] SCSI subsystem initialized
[    7.150030] NSS core 0 signal COREDUMP COMPLETE 4000
[    7.164793] bf21d100: Starting NSS-FW logbuffer dump for core 0
[    7.169942] bf21d100: Warn: trap[813]: Trap on CHIP ID 00050000
[    7.175523] bf21d100: Warn: trap[620]: Trapped: TRAP_TD(00000004) DCAPT(3C000080)
[    7.181500] bf21d100: Warn: trap[645]: Trapped: Thread: 2, reason: 00001000, PC: 400501A8, previous PC: 40050154
[    7.181506] bf21d100: Warn: trap[594]: A0_3: 3F02FAAC 459F7740 3F02F8AC 40096800
[    7.181509] bf21d100: Warn: trap[594]: A4_7: 40096800 4004E5E0 3F00C0A8 3F00AF30
[    7.181513] bf21d100: Warn: trap[599]: D0_3: 00000000 27FFFFFC FFFFFFFF 00000000
[    7.181516] bf21d100: Warn: trap[599]: D4_7: 00000001 00000000 00000000 00000000
[    7.196189] bf21d100: Warn: trap[599]: D8_11: 00000000 00000000 00000000 00000000
[    7.213769] bf21d100: Warn: trap[599]: D12_15: 00000000 00000000 00000000 00000000
[    7.228555] bf21d100: Warn: trap[649]: Thread_2 has non-recoverable trap
[    7.242658] Internal error: Oops - undefined instruction: 0 [#1] SMP ARM
[    7.257296] Modules linked in:
[    7.265525] scsi host0: ahci
[    7.270316]  ahci_platform(+) libahci_platform libahci libata scsi_mod scsi_common ehci_hcd qca_nss_drv qca_nss_gmac ramoops reed_solomon pstore gpio_button_hotplug ext4 mbcache jbd2 crc32c_generic
[    7.270368] CPU: 0 PID: 11 Comm: ksoftirqd/0 Not tainted 5.15.67 #0
[    7.270376] Hardware name: Generic DT based system
[    7.270379] PC is at nss_core_send_cmd+0x428/0xe2c [qca_nss_drv]
[    7.277629] ata1: SATA max UDMA/133 mmio [mem 0x29000000-0x2900017f] port 0x100 irq 32
[    7.285679] LR is at arm_dma_sync_single_for_device+0xb8/0xec
[    7.348961] pc : [<bf12c74c>]    lr : [<c0314990>]    psr: 80000013
[    7.354776] sp : c252fe30  ip : c0317c68  fp : c3204200
[    7.360851] r10: fffffbff  r9 : bf221658  r8 : 00000000
[    7.366059] r7 : bf22a0c0  r6 : 00000400  r5 : 000007c0  r4 : bf221040
[    7.371270] r3 : 4e52522e  r2 : 00000000  r1 : c3204400  r0 : c3204400
[    7.377868] Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[    7.384380] Control: 10c5787d  Table: 45a0406a  DAC: 00000051
[    7.391582] Register r0 information: slab kmalloc-512 start c3204400 pointer offset 0 size 512
[    7.397316] Register r1 information: slab kmalloc-512 start c3204400 pointer offset 0 size 512
[    7.405822] Register r2 information: NULL pointer
[    7.414410] Register r3 information: non-paged memory
[    7.419184] Register r4 information: 318-page vmalloc region starting at 0xbf127000 allocated at load_module+0xc20/0x29c0
[    7.424227] Register r5 information: non-paged memory
[    7.435158] Register r6 information: non-paged memory
[    7.440192] Register r7 information: 318-page vmalloc region starting at 0xbf127000 allocated at load_module+0xc20/0x29c0
[    7.445234] Register r8 information: NULL pointer
[    7.456163] Register r9 information: 318-page vmalloc region starting at 0xbf127000 allocated at load_module+0xc20/0x29c0
[    7.460860] Register r10 information: non-paged memory
[    7.471788] Register r11 information: slab kmalloc-512 start c3204200 pointer offset 0 size 512
[    7.476830] Register r12 information: non-slab/vmalloc memory
[    7.485418] Process ksoftirqd/0 (pid: 11, stack limit = 0xdb80d918)
[    7.491323] Stack: (0xc252fe30 to 0xc2530000)
[    7.497397] fe20:                                     dda03500 c2543f40 c252fe54 c0353f48
[    7.501917] fe40: c2543f40 c039a8c8 c1ef1500 c039a7d8 c2016624 dd9fcc80 dd9fcc80 ffff8dae
[    7.510077] fe60: 00000000 c1f03d00 ffffffff bf221668 00000040 bf221040 bf22a0c0 00000000
[    7.518237] fe80: bf221658 fffffbff c252fef8 bf12d304 ffff8d9c 00000122 c252e000 00004400
[    7.526397] fea0: 00000001 00000001 bf221668 00000040 c252feef c1ef1e40 1bb12000 c1f03d00
[    7.534556] fec0: c252fef8 c0896a4c bf221668 0000012c dda03e40 c252fef0 c1ef1e40 c0896e0c
[    7.542716] fee0: 00000000 ffff8da6 c1ef1500 00ffe000 c252fef0 c252fef0 c252fef8 c252fef8
[    7.550876] ff00: 00000002 c1f0308c 00000002 00000003 00000100 c1f0c400 c252e000 000000a2
[    7.559035] ff20: c252ff28 c03012dc 00000000 1bb12000 0000000a c1ef10c0 ffff8da5 04208040
[    7.567195] ff40: c252e000 00000000 00000000 c24dac00 c252e000 c1f0c400 ffffe000 c24daca0
[    7.575355] ff60: 00000000 c0329870 00000000 c034d030 c24dac40 c24dac80 c034cf40 c24dac00
[    7.583515] ff80: 00000000 c2519e50 c24daca0 c0349074 c24dac40 c0348f44 00000000 00000000
[    7.591674] ffa0: 00000000 00000000 00000000 c0300130 00000000 00000000 00000000 00000000
[    7.599833] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    7.607992] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
[    7.616159] [<bf12c74c>] (nss_core_send_cmd [qca_nss_drv]) from [<bf12d304>] (nss_core_handle_napi+0x170/0x2e4 [qca_nss_drv])
[    7.624318] [<bf12d304>] (nss_core_handle_napi [qca_nss_drv]) from [<c0896a4c>] (__napi_poll+0x64/0x22c)
[    7.635603] [<c0896a4c>] (__napi_poll) from [<c0896e0c>] (net_rx_action+0xdc/0x270)
[    7.645143] [<c0896e0c>] (net_rx_action) from [<c03012dc>] (__do_softirq+0xf4/0x398)
[    7.652526] [<c03012dc>] (__do_softirq) from [<c0329870>] (run_ksoftirqd+0x3c/0x54)
[    7.660510] [<c0329870>] (run_ksoftirqd) from [<c034d030>] (smpboot_thread_fn+0xf0/0x1b4)
[    7.667890] [<c034d030>] (smpboot_thread_fn) from [<c0349074>] (kthread+0x130/0x154)
[    7.676222] [<c0349074>] (kthread) from [<c0300130>] (ret_from_fork+0x14/0x24)
[    7.684032] Exception stack(0xc252ffb0 to 0xc252fff8)
[    7.691061] ffa0:                                     00000000 00000000 00000000 00000000
[    7.696186] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    7.704347] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000
[    7.712508] Code: e5945b54 0a000002 e3510a01 0a000075 (e7f001f2)
[    7.718929] ---[ end trace ce780f55d3d00b34 ]---
[    7.730219] Kernel panic - not syncing: Fatal exception in interrupt
[    7.730248] CPU1: stopping
[    7.736196] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G      D           5.15.67 #0
[    7.738720] Hardware name: Generic DT based system
[    7.746270] [<c031198c>] (unwind_backtrace) from [<c030c4e4>] (show_stack+0x1c/0x28)
[    7.750875] [<c030c4e4>] (show_stack) from [<c065c9fc>] (dump_stack_lvl+0x40/0x4c)
[    7.758774] [<c065c9fc>] (dump_stack_lvl) from [<c030fd44>] (do_handle_IPI+0x2a8/0x324)
[    7.766152] [<c030fd44>] (do_handle_IPI) from [<c030fde0>] (ipi_handler+0x20/0x34)
[    7.774051] [<c030fde0>] (ipi_handler) from [<c03803e8>] (handle_percpu_devid_irq+0x98/0x220)
[    7.781693] [<c03803e8>] (handle_percpu_devid_irq) from [<c03796f0>] (handle_domain_irq+0x6c/0xa0)
[    7.790286] [<c03796f0>] (handle_domain_irq) from [<c0676be8>] (gic_handle_irq+0x88/0xbc)
[    7.799140] [<c0676be8>] (gic_handle_irq) from [<c0300b7c>] (__irq_svc+0x5c/0x78)
[    7.807383] Exception stack(0xc2515f18 to 0xc2515f60)
[    7.814847] 5f00:                                                       00000000 00000001
[    7.819886] 5f20: 1bb22000 dda13500 00000000 c3984040 ccc22e00 00000000 dda12770 00000001
[    7.828046] 5f40: 00000000 cc9a5100 0005a280 c2515f68 c081fce8 c081fd08 60000013 ffffffff
[    7.836207] [<c0300b7c>] (__irq_svc) from [<c081fd08>] (cpuidle_enter_state+0x1ac/0x42c)
[    7.844366] [<c081fd08>] (cpuidle_enter_state) from [<c081ffe8>] (cpuidle_enter+0x44/0x64)
[    7.852523] [<c081ffe8>] (cpuidle_enter) from [<c035a620>] (do_idle+0x204/0x294)
[    7.860597] [<c035a620>] (do_idle) from [<c035a9d8>] (cpu_startup_entry+0x24/0x28)
[    7.868148] [<c035a9d8>] (cpu_startup_entry) from [<42301610>] (0x42301610)
[    8.880710] Rebooting in 1 seconds..

After removing patch, still crashing but now a more generic error.

Bytes transferred = 21731029 (14b96d5 hex)
   Image Name:   ARM OpenWrt Linux-5.15.67
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    21730965 Bytes = 20.7 MiB
   Load Address: 42208000
   Entry Point:  42208000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK
mtdparts variable not set, see 'help mtdparts'
no partitions defined

defaults:
mtdids  : nand0=msm_nand
mtdparts: none
info: "mtdparts" not set
Using machid 0x136c from environment

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.15.67 (xbmc@htpc) (arm-openwrt-linux-muslgnueabi-gcc (OpenWrt GCC 12.2.0 r20352+315-ea7b3e301d) 12.2.0, GNU ld (GNU Binutils) 2.38) #0 SMP Fri Sep 9 22:25:45 2022
[    0.000000] CPU: ARMv7 Processor [512f04d0] revision 0 (ARMv7), cr=10c5787d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: Netgear Nighthawk X4S R7800
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000042000000-0x000000005fffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000042000000-0x000000005fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000042000000-0x000000005fffffff]
[    0.000000] percpu: Embedded 16 pages/cpu s32844 r8192 d24500 u65536
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 121920
[    0.000000] Kernel command line:
[    0.000000] Bootloader command line (ignored): console=ttyHSL1,115200n8
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 454872K/491520K available (7541K kernel code, 880K rwdata, 1812K rodata, 18432K init, 246K bss, 36648K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] ftrace: allocating 26036 entries in 77 pages
[    0.000000] ftrace: allocated 77 pages with 4 groups
[    0.000000] trace event string verifier disabled
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] 	Rude variant of Tasks RCU enabled.
[    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: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] clocksource: dg_timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 305801671480 ns
[    0.000001] sched_clock: 32 bits at 6MHz, resolution 160ns, wraps every 343597383600ns
[    0.000030] Switching to timer-based delay loop, resolution 160ns
[    0.000376] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.50 BogoMIPS (lpj=62500)
[    0.000410] pid_max: default: 32768 minimum: 301
[    0.000612] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000646] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001420] CPU: Testing write buffer coherency: ok
[    0.001730] qcom_scm: convention: smc legacy
[    0.002848] Setting up static identity map for 0x42300000 - 0x42300060
[    0.003035] rcu: Hierarchical SRCU implementation.
[    0.003981] smp: Bringing up secondary CPUs ...
[    0.005963] smp: Brought up 1 node, 2 CPUs
[    0.005991] SMP: Total of 2 processors activated (25.00 BogoMIPS).
[    0.006012] CPU: All CPU(s) started in SVC mode.
[    0.018056] VFP support v0.3: implementor 51 architecture 64 part 4d variant 2 rev 0
[    0.018227] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.018270] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.018380] pinctrl core: initialized pinctrl subsystem
[    0.020089] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.020403] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.021873] thermal_sys: Registered thermal governor 'step_wise'
[    0.023912] cpuidle: using governor ladder
[    0.023988] cpuidle: using governor menu
[    0.046699] qcom_rpm 108000.rpm: RPM firmware 3.0.16777364
[    0.083027] s1a: Bringing 0uV into 1050000-1050000uV
[    0.083281] s1a: supplied by regulator-dummy
[    0.083448] s1b: Bringing 0uV into 1050000-1050000uV
[    0.083674] s1b: supplied by regulator-dummy
[    0.083820] s2a: Bringing 0uV into 775000-775000uV
[    0.084039] s2a: supplied by regulator-dummy
[    0.084192] s2b: Bringing 0uV into 775000-775000uV
[    0.084406] s2b: supplied by regulator-dummy
[    0.085055] usbcore: registered new interface driver usbfs
[    0.085130] usbcore: registered new interface driver hub
[    0.085196] usbcore: registered new device driver usb
[    0.085254] pps_core: LinuxPPS API ver. 1 registered
[    0.085271] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[    0.085306] PTP clock support registered
[    0.087465] clocksource: Switched to clocksource dg_timer
[    0.152801] NET: Registered PF_INET protocol family
[    0.153033] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.153843] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.153884] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.153912] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.154016] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.154079] TCP: Hash tables configured (established 4096 bind 4096)
[    0.154165] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.154200] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.154423] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.154479] PCI: CLS 0 bytes, default 64
[    0.155621] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    0.161636] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.161663] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.328317] qcom-pcie 1b500000.pci: supply vdda not found, using dummy regulator
[    0.328587] qcom-pcie 1b500000.pci: supply vdda_phy not found, using dummy regulator
[    0.328717] qcom-pcie 1b500000.pci: supply vdda_refclk not found, using dummy regulator
[    0.329051] qcom-pcie 1b500000.pci: host bridge /soc/pci@1b500000 ranges:
[    0.329171] qcom-pcie 1b500000.pci:       IO 0x000fe00000..0x000fe0ffff -> 0x000fe00000
[    0.329229] qcom-pcie 1b500000.pci:      MEM 0x0008000000..0x000fdfffff -> 0x0008000000
[    0.449613] qcom-pcie 1b500000.pci: iATU unroll: disabled
[    0.449649] qcom-pcie 1b500000.pci: Detected iATU regions: 8 outbound, 8 inbound
[    0.550265] qcom-pcie 1b500000.pci: Link up
[    0.550492] qcom-pcie 1b500000.pci: PCI host bridge to bus 0000:00
[    0.550522] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.550555] pci_bus 0000:00: root bus resource [io  0x0000-0xffff] (bus address [0xfe00000-0xfe0ffff])
[    0.550582] pci_bus 0000:00: root bus resource [mem 0x08000000-0x0fdfffff]
[    0.550676] pci 0000:00:00.0: [17cb:0101] type 01 class 0x060400
[    0.550835] pci 0000:00:00.0: supports D1
[    0.550858] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.555910] PCI: bus0: Fast back to back transfers disabled
[    0.556345] pci 0000:01:00.0: [168c:0046] type 00 class 0x028000
[    0.556542] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.557396] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    0.562871] PCI: bus1: Fast back to back transfers disabled
[    0.562992] pci 0000:00:00.0: BAR 8: assigned [mem 0x08000000-0x081fffff]
[    0.563032] pci 0000:01:00.0: BAR 0: assigned [mem 0x08000000-0x081fffff 64bit]
[    0.563142] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    0.563172] pci 0000:00:00.0:   bridge window [mem 0x08000000-0x081fffff]
[    0.564181] pcieport 0000:00:00.0: AER: enabled with IRQ 48
[    0.565416] qcom-pcie 1b700000.pci: supply vdda not found, using dummy regulator
[    0.565689] qcom-pcie 1b700000.pci: supply vdda_phy not found, using dummy regulator
[    0.565820] qcom-pcie 1b700000.pci: supply vdda_refclk not found, using dummy regulator
[    0.566124] qcom-pcie 1b700000.pci: host bridge /soc/pci@1b700000 ranges:
[    0.566234] qcom-pcie 1b700000.pci:       IO 0x0031e00000..0x0031e0ffff -> 0x0031e00000
[    0.566287] qcom-pcie 1b700000.pci:      MEM 0x002e000000..0x0031dfffff -> 0x002e000000
[    0.699719] qcom-pcie 1b700000.pci: iATU unroll: disabled
[    0.699754] qcom-pcie 1b700000.pci: Detected iATU regions: 8 outbound, 8 inbound
[    0.798191] qcom-pcie 1b700000.pci: Link up
[    0.798417] qcom-pcie 1b700000.pci: PCI host bridge to bus 0001:00
[    0.798446] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.798479] pci_bus 0001:00: root bus resource [io  0x10000-0x1ffff] (bus address [0x31e00000-0x31e0ffff])
[    0.798507] pci_bus 0001:00: root bus resource [mem 0x2e000000-0x31dfffff]
[    0.798599] pci 0001:00:00.0: [17cb:0101] type 01 class 0x060400
[    0.798761] pci 0001:00:00.0: supports D1
[    0.798786] pci 0001:00:00.0: PME# supported from D0 D1 D3hot
[    0.803920] PCI: bus0: Fast back to back transfers disabled
[    0.804395] pci 0001:01:00.0: [168c:0046] type 00 class 0x028000
[    0.804607] pci 0001:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.805548] pci 0001:01:00.0: PME# supported from D0 D3hot D3cold
[    0.805866] pci 0001:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0001:00:00.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    0.811062] PCI: bus1: Fast back to back transfers disabled
[    0.811183] pci 0001:00:00.0: BAR 8: assigned [mem 0x2e000000-0x2e1fffff]
[    0.811224] pci 0001:01:00.0: BAR 0: assigned [mem 0x2e000000-0x2e1fffff 64bit]
[    0.811340] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[    0.811374] pci 0001:00:00.0:   bridge window [mem 0x2e000000-0x2e1fffff]
[    0.812378] pcieport 0001:00:00.0: AER: enabled with IRQ 50
[    0.816612] L2 @ QSB rate. Forcing new rate.
[    0.816909] L2 @ 384000 KHz
[    0.817125] CPU0 @ 800000 KHz
[    0.817151] CPU1 @ QSB rate. Forcing new rate.
[    0.817449] CPU1 @ 384000 KHz
[    0.824247] gsbi 16300000.gsbi: GSBI port protocol: 6 crci: 0
[    0.826261] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.827661] msm_serial 16340000.serial: msm_serial: detected port #0
[    0.827759] msm_serial 16340000.serial: uartclk = 7372800
[    0.827976] 16340000.serial: ttyMSM0 at MMIO 0x16340000 (irq = 51, base_baud = 460800) is a MSM
[    0.828050] msm_serial: console setup on port #0
[    1.744185] printk: console [ttyMSM0] enabled
[    1.749633] msm_serial: driver initialized
[    1.761169] loop: module loaded
[    1.763282] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xa1
[    1.763336] nand: Micron MT29F1G08ABBEAH4
[    1.769862] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.773786] 8 fixed-partitions partitions found on MTD device qcom_nand.0
[    1.781285] OF: Bad cell count for /soc/nand-controller@1ac00000/nand@0/partitions
[    1.788108] OF: Bad cell count for /soc/nand-controller@1ac00000/nand@0/partitions
[    1.796590] Creating 8 MTD partitions on "qcom_nand.0":
[    1.803082] 0x000000000000-0x000000c80000 : "qcadata"
[    1.830147] 0x000000c80000-0x000001180000 : "APPSBL"
[    1.839467] 0x000001180000-0x000001200000 : "APPSBLENV"
[    1.841075] 0x000001200000-0x000001340000 : "art"
[    1.846449] 0x000001340000-0x000001480000 : "artbak"
[    1.851346] 0x000001480000-0x000001880000 : "kernel"
[    1.860932] 0x000001880000-0x000007900000 : "ubi"
[    2.025404] 0x000007900000-0x000008000000 : "reserve"
[    2.837908] switch0: Atheros AR8337 rev. 2 switch registered on 37000000.mdio-mii
[    3.653870] ar8327: qca,phy-rgmii-en is not specified
[    3.655463] i2c_dev: i2c /dev entries driver
[    3.668663] sdhci: Secure Digital Host Controller Interface driver
[    3.668719] sdhci: Copyright(c) Pierre Ossman
[    3.673758] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.681997] NET: Registered PF_INET6 protocol family
[    3.686344] Segment Routing with IPv6
[    3.689032] In-situ OAM (IOAM) with IPv6
[    3.692573] NET: Registered PF_PACKET protocol family
[    3.696581] Bridge firewalling registered
[    3.701810] 8021q: 802.1Q VLAN Support v1.8
[    3.705418] Registering SWP/SWPB emulation handler
[    3.757770] thermal thermal_zone0: failed to read out thermal zone (-110)
[    3.773923] UBI: auto-attach mtd6
[    3.773981] ubi0: attaching mtd6
[    4.094629] random: crng init done
[    4.773131] ubi0: scanning is finished
[    4.784151] ubi0: attached mtd6 (name "ubi", size 96 MiB)
[    4.784175] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    4.788581] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    4.795295] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    4.802204] ubi0: good PEBs: 772, bad PEBs: 0, corrupted PEBs: 0
[    4.808977] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    4.815174] ubi0: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 1662715491
[    4.822296] ubi0: available PEBs: 0, total reserved PEBs: 772, PEBs reserved for bad PEB handling: 20
[    4.838057] ubi0: background thread "ubi_bgt0d" started, PID 83
[    4.838267] block ubiblock0_0: created from ubi0:0(rooô[    4.863702] Freeing unused kernel image (initmem) memory: 18432K
[    4.888196] Run /init as init process
[    5.932010] init: Console is alive
[    5.932156] init: - watchdog -
[    5.934370] init: Watchdog has previously reset the system
[    5.968556] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    6.004596] pstore: Using crash dump compression: deflate
[    6.004640] pstore: Registered ramoops as persistent store backend
[    6.009088] ramoops: using 0x40000@0x42100000, ecc: 0
[    6.019512] **********************************************************
[    6.020184] * Driver    :NSS GMAC Driver - RTL v(3.72a)
[    6.026603] * Version   :1.0
[    6.031821] * Copyright :Copyright (c) 2013-2018 The Linux Foundation. All rights reserved.
[    6.034854] **********************************************************
[    6.077903] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdeac8000) + GMAC_COREn_CLK_FS(1)(0x3cd8): 0x8
[    6.077955] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdeac8000) + GMAC_COREn_CLK_SRC_CTL(1)(0x3cc0): 0x2
[    6.089671] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdeac8000) + GMAC_COREn_CLK_SRC0_MD(1)(0x3cc4): 0x7f0000
[    6.102784] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdeac8000) + GMAC_COREn_CLK_SRC1_MD(1)(0x3cc8): 0x7f0000
[    6.116656] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdeac8000) + GMAC_COREn_CLK_SRC0_NS(1)(0x3ccc): 0x142
[    6.130308] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdeac8000) + GMAC_COREn_CLK_SRC1_NS(1)(0x3cd0): 0x142
[    6.143562] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdeac8000) + CLK_HALT_NSSFAB0_NSSFAB1_STATEA(0x3c20): 0x5b00
[    6.156924] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdeac8000) + GMAC_COREn_CLK_CTL(1)(0x3cd4): 0x50
[    6.171015] (unnamed net_device) (uninitialized): nss_gmac_dev_init: nss_base(0xdead0000) + NSS_GMACn_CTL(1)(0x34): 0x90c0c
[    6.183915] (unnamed net_device) (uninitialized): nss_gmac_dev_init: nss_base(0xdead0000) + NSS_ETH_CLK_DIV0(0xc): 0x100
[    6.194804] (unnamed net_device) (uninitialized): ioremap OK. Size 0x4000. reg_base 0x37200000. mac_base 0x8706779c.
[    6.205956] (unnamed net_device) (uninitialized): mdio bus '37000000.mdio-mii' OK.
[    6.224165] ipq8064-mdio 37000000.mdio (unnamed net_device) (uninitialized): nss_gmac_ipc_offload_init: enable Rx checksum
[    6.224912] ipq8064-mdio 37000000.mdio eth0: Initialized NSS GMAC1 interface eth0: (base = 0x37200000, irq = 39, PhyId = 4, PollLink = 0)
[    6.235350] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdeac8000) + GMAC_COREn_CLK_FS(2)(0x3cf8): 0x8
[    6.247248] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdeac8000) + GMAC_COREn_CLK_SRC_CTL(2)(0x3ce0): 0x2
[    6.259900] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdeac8000) + GMAC_COREn_CLK_SRC0_MD(2)(0x3ce4): 0x7f0000
[    6.273011] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdeac8000) + GMAC_COREn_CLK_SRC1_MD(2)(0x3ce8): 0x7f0000
[    6.286883] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdeac8000) + GMAC_COREn_CLK_SRC0_NS(2)(0x3cec): 0x142
[    6.300502] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdeac8000) + GMAC_COREn_CLK_SRC1_NS(2)(0x3cf0): 0x142
[    6.313780] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdeac8000) + CLK_HALT_NSSFAB0_NSSFAB1_STATEA(0x3c20): 0x5b00
[    6.327161] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdeac8000) + GMAC_COREn_CLK_CTL(2)(0x3cf4): 0x50
[    6.341240] (unnamed net_device) (uninitialized): nss_gmac_dev_init: nss_base(0xdead0000) + NSS_GMACn_CTL(2)(0x38): 0x80c0c
[    6.354141] (unnamed net_device) (uninitialized): nss_gmac_dev_init: nss_base(0xdead0000) + NSS_ETH_CLK_DIV0(0xc): 0x100
[    6.365014] (unnamed net_device) (uninitialized): nss_gmac_qsgmii_dev_init: QSGMII_PHY_SGMII_1_CTL(0x13c) - 0xc09c408f
[    6.376103] (unnamed net_device) (uninitialized): nss_gmac_qsgmii_dev_init: NSS_QSGMII_CLK_CTL(0x2c) - 0x0
[    6.386639] (unnamed net_device) (uninitialized): SGMII Specific Init for GMAC2 Done!
[    6.396267] (unnamed net_device) (uninitialized): ioremap OK. Size 0x4000. reg_base 0x37400000. mac_base 0x8c5d449e.
[    6.404204] (unnamed net_device) (uninitialized): mdio bus '37000000.mdio-mii' OK.
[    6.420657] ipq8064-mdio 37000000.mdio (unnamed net_device) (uninitialized): nss_gmac_ipc_offload_init: enable Rx checksum
[    6.422499] ipq8064-mdio 37000000.mdio eth1: Initialized NSS GMAC2 interface eth1: (base = 0x37400000, irq = 40, PhyId = 0, PollLink = 0)
[    6.462249] nss_driver - fw of size 621272  bytes copied to load addr: 40000000, nss_id : 0
[    6.462944] nss_driver - Turbo Support 1
[    6.469529] Supported Frequencies -
[    6.469533] 800Mhz
[    6.473587] 800Mhz
[    6.477144] 800Mhz
[    6.479045]
[    6.483274] bf22f100: set sdma c3330c00
[    6.484945] bf22f100: meminfo init succeed
[    6.493876] nss_driver - fw of size 221444  bytes copied to load addr: 40800000, nss_id : 1
[    6.494075] bf233040: set sdma c3330e00
[    6.501155] bf233040: meminfo init succeed
[    6.504911] debugfs: Directory 'dynamic_if' with parent 'stats' already present!
[    6.509105] debugfs: File 'n2h' in directory 'strings' already present!
[    6.511873] node size 1 # items 2
[    6.516571] debugfs: File 'drv' in directory 'strings' already present!
[    6.516578] debugfs: File 'c2c_tx' in directory 'strings' already present!
[    6.523009] memory: 0 0 (avl 613703680) items 2 active_cores 2
[    6.526380] debugfs: File 'c2c_rx' in directory 'strings' already present!
[    6.528426] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.532967] addr/size storage words 1 1 # words 2 in DTS, ddr size 1000000
[    6.544041] SCSI subsystem initialized
[    6.545591] bf22f100: nss core 0 booted successfully
[    6.559402] NSS core 0 signal COREDUMP COMPLETE 4000
[    6.569612] bf22f100: Starting NSS-FW logbuffer dump for core 0
[    6.579664] bf22f100: Warn: trap[813]: Trap on CHIP ID 00050000
[    6.592347] bf22f100: Warn: trap[620]: Trapped: TRAP_TD(00000004) DCAPT(3C000080)
[    6.605116] bf22f100: Warn: trap[645]: Trapped: Thread: 2, reason: 00001000, PC: 400501A8, previous PC: 40050154
[    6.620025] bf22f100: Warn: trap[594]: A0_3: 3F02FAAC 49007740 3F02F8AC 40096800
[    6.635832] bf22f100: Warn: trap[594]: A4_7: 40096800 4004E5E0 3F00C0A8 3F00AF30
[    6.644670] scsi host0: ahci
[    6.651702] bf22f100: Warn: trap[599]: D0_3: 00000000 27FFFFFC FFFFFFFF 00000000
[    6.659937] ata1: SATA max UDMA/133 mmio [mem 0x29000000-0x2900017f] port 0x100 irq 32
[    6.667348] bf22f100: Warn: trap[599]: D4_7: 00000001 00000000 00000000 00000000
[    6.685416] bf22f100: Warn: trap[599]: D8_11: 00000000 00000000 00000000 00000000
[    6.692944] bf22f100: Warn: trap[599]: D12_15: 00000000 00000000 00000000 00000000
[    6.700332] bf22f100: Warn: trap[649]: Thread_2 has non-recoverable trap
[    6.707916] node size 1 # items 2
[    6.714589] memory: 0 0 (avl 613703680) items 2 active_cores 2
[    6.717938] addr/size storage words 1 1 # words 2 in DTS, ddr size 1000000
[    6.723559] bf233040: nss core 1 booted successfully
[    6.730894] NSS core 1 signal COREDUMP COMPLETE 4000
[    6.735502] bf233040: Starting NSS-FW logbuffer dump for core 1
[    6.740528] Kernel panic - not syncing: NSS FW coredump: bringing system down
[    6.746103] CPU1: stopping
[    6.753379] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.15.67 #0
[    6.755983] Hardware name: Generic DT based system
[    6.762159] [<c031198c>] (unwind_backtrace) from [<c030c4e4>] (show_stack+0x1c/0x28)
[    6.766756] [<c030c4e4>] (show_stack) from [<c065c9fc>] (dump_stack_lvl+0x40/0x4c)
[    6.774655] [<c065c9fc>] (dump_stack_lvl) from [<c030fd44>] (do_handle_IPI+0x2a8/0x324)
[    6.782032] [<c030fd44>] (do_handle_IPI) from [<c030fde0>] (ipi_handler+0x20/0x34)
[    6.789929] [<c030fde0>] (ipi_handler) from [<c03803e8>] (handle_percpu_devid_irq+0x98/0x220)
[    6.797572] [<c03803e8>] (handle_percpu_devid_irq) from [<c03796f0>] (handle_domain_irq+0x6c/0xa0)
[    6.806167] [<c03796f0>] (handle_domain_irq) from [<c0676be8>] (gic_handle_irq+0x88/0xbc)
[    6.815020] [<c0676be8>] (gic_handle_irq) from [<c0300b7c>] (__irq_svc+0x5c/0x78)
[    6.823262] Exception stack(0xc2515f18 to 0xc2515f60)
[    6.830727] 5f00:                                                       00000000 00000001
[    6.835771] 5f20: 1bb22000 dda13500 00000000 c3984040 92193aa0 00000000 dda12770 00000001
[    6.843932] 5f40: 00000000 919c2100 00059e20 c2515f68 c081fce8 c081fd08 60000013 ffffffff
[    6.852086] [<c0300b7c>] (__irq_svc) from [<c081fd08>] (cpuidle_enter_state+0x1ac/0x42c)
[    6.860247] [<c081fd08>] (cpuidle_enter_state) from [<c081ffe8>] (cpuidle_enter+0x44/0x64)
[    6.868403] [<c081ffe8>] (cpuidle_enter) from [<c035a620>] (do_idle+0x204/0x294)
[    6.876479] [<c035a620>] (do_idle) from [<c035a9d8>] (cpu_startup_entry+0x24/0x28)
[    6.884028] [<c035a9d8>] (cpu_startup_entry) from [<42301610>] (0x42301610)
[    7.110128] Rebooting in 1 seconds..

Configuring Memory 512M Build 11.4 of qca-nss-clients failed!

 CC [M]  /home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/nss_pvxlanmgr.o
In file included from /home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/nss_pvxlanmgr.c:21:
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:39:33: error: 'NSS_TX_SUCCESS' undeclared here (not in a function)
   39 |         NSS_PVXLANMGR_SUCCESS = NSS_TX_SUCCESS,
      |                                 ^~~~~~~~~~~~~~
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:40:33: error: 'NSS_TX_FAILURE' undeclared here (not in a function)
   40 |         NSS_PVXLANMGR_FAILURE = NSS_TX_FAILURE,
      |                                 ^~~~~~~~~~~~~~
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:41:39: error: 'NSS_TX_FAILURE_QUEUE' undeclared here (not in a function)
   41 |         NSS_PVXLANMGR_FAILURE_QUEUE = NSS_TX_FAILURE_QUEUE,
      |                                       ^~~~~~~~~~~~~~~~~~~~
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:42:43: error: 'NSS_TX_FAILURE_NOT_READY' undeclared here (not in a function)
   42 |         NSS_PVXLANMGR_FAILURE_NOT_READY = NSS_TX_FAILURE_NOT_READY,
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:43:43: error: 'NSS_TX_FAILURE_TOO_LARGE' undeclared here (not in a function)
   43 |         NSS_PVXLANMGR_FAILURE_TOO_LARGE = NSS_TX_FAILURE_TOO_LARGE,
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:44:43: error: 'NSS_TX_FAILURE_TOO_SHORT' undeclared here (not in a function)
   44 |         NSS_PVXLANMGR_FAILURE_TOO_SHORT = NSS_TX_FAILURE_TOO_SHORT,
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:45:47: error: 'NSS_TX_FAILURE_NOT_SUPPORTED' undeclared here (not in a function)
   45 |         NSS_PVXLANMGR_FAILURE_NOT_SUPPORTED = NSS_TX_FAILURE_NOT_SUPPORTED,
      |                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:46:43: error: 'NSS_TX_FAILURE_BAD_PARAM' undeclared here (not in a function)
   46 |         NSS_PVXLANMGR_FAILURE_BAD_PARAM = NSS_TX_FAILURE_BAD_PARAM,
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:51:48: error: 'NSS_TX_FAILURE_MAX' undeclared here (not in a function)
   51 |         NSS_PVXLANMGR_FAILURE_TUNNEL_ENABLED = NSS_TX_FAILURE_MAX + 1,
      |                                                ^~~~~~~~~~~~~~~~~~
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:77:9: error: unknown type name 'uint16_t'
   77 |         uint16_t flags;                                 /**< VxLAN specific flags. */
      |         ^~~~~~~~
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:78:9: error: unknown type name 'uint16_t'
   78 |         uint16_t gpid;                                  /**< Group Policy ID. */
      |         ^~~~~~~~
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:79:9: error: unknown type name 'uint32_t'
   79 |         uint32_t vnet_id;                               /**< Virtual Net ID. */
      |         ^~~~~~~~
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:91:87: error: unknown type name 'uint32_t'
   91 | us_t nss_pvxlanmgr_tunnel_mac_remove(struct net_device *dev, uint32_t tunnel_id, uint8_t *mac_addr);
      |                                                              ^~~~~~~~

/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:1:1: note: 'uint32_t' is defined in header '<stdint.h>'; did you forget to '#include <stdint.h>'?
  +++ |+#include <stdint.h>
    1 | /*
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:91:107: error: unknown type name 'uint8_t'
   91 | unnel_mac_remove(struct net_device *dev, uint32_t tunnel_id, uint8_t *mac_addr);
      |                                                              ^~~~~~~

/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:91:107: note: 'uint8_t' is defined in header '<stdint.h>'; did you forget to '#include <stdint.h>'?
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:103:84: error: unknown type name 'uint32_t'
  103 | tatus_t nss_pvxlanmgr_tunnel_mac_add(struct net_device *dev, uint32_t tunnel_id, uint8_t *mac_addr, struct nss_pvxlanmgr_vxlan_hdr *pvxch);
      |                                                              ^~~~~~~~

/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:103:84: note: 'uint32_t' is defined in header '<stdint.h>'; did you forget to '#include <stdint.h>'?
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:103:104: error: unknown type name 'uint8_t'
  103 | r_tunnel_mac_add(struct net_device *dev, uint32_t tunnel_id, uint8_t *mac_addr, struct nss_pvxlanmgr_vxlan_hdr *pvxch);
      |                                                              ^~~~~~~

/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:103:104: note: 'uint8_t' is defined in header '<stdint.h>'; did you forget to '#include <stdint.h>'?
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:112:67: error: 'struct net_device' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  112 | n nss_pvxlanmgr_status_t nss_pvxlanmgr_netdev_disable(struct net_device *dev);
      |                                                              ^~~~~~~~~~

/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:121:66: error: 'struct net_device' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  121 | rn nss_pvxlanmgr_status_t nss_pvxlanmgr_netdev_enable(struct net_device *dev);
      |                                                              ^~~~~~~~~~

/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:133:84: error: unknown type name 'uint32_t'
  133 | tatus_t nss_pvxlanmgr_tunnel_destroy(struct net_device *dev, uint32_t tunnel_id);
      |                                                              ^~~~~~~~

/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:133:84: note: 'uint32_t' is defined in header '<stdint.h>'; did you forget to '#include <stdint.h>'?
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:147:88: error: unknown type name 'uint32_t'
  147 | s_t nss_pvxlanmgr_tunnel_ipv4_create(struct net_device *dev, uint32_t tunnel_id,
      |                                                              ^~~~~~~~

/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:147:88: note: 'uint32_t' is defined in header '<stdint.h>'; did you forget to '#include <stdint.h>'?
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:148:97: error: unknown type name 'uint32_t'
  148 |                      struct nss_ipv4_rule_create_msg *nircm, uint32_t pvxlan_src_port);
      |                                                              ^~~~~~~~

/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:148:97: note: 'uint32_t' is defined in header '<stdint.h>'; did you forget to '#include <stdint.h>'?
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:162:88: error: unknown type name 'uint32_t'
  162 | s_t nss_pvxlanmgr_tunnel_ipv6_create(struct net_device *dev, uint32_t tunnel_id,
      |                                                              ^~~~~~~~

/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:162:88: note: 'uint32_t' is defined in header '<stdint.h>'; did you forget to '#include <stdint.h>'?
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:163:97: error: unknown type name 'uint32_t'
  163 |                      struct nss_ipv6_rule_create_msg *nircm, uint32_t pvxlan_src_port);
      |                                                              ^~~~~~~~

/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:163:97: note: 'uint32_t' is defined in header '<stdint.h>'; did you forget to '#include <stdint.h>'?
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:172:8: error: unknown type name 'uint32_t'
  172 | extern uint32_t nss_pvxlanmgr_get_if_num_outer(struct net_device *dev);
      |        ^~~~~~~~
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:172:55: error: 'struct net_device' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  172 | extern uint32_t nss_pvxlanmgr_get_if_num_outer(struct net_device *dev);
      |                                                       ^~~~~~~~~~
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:181:8: error: unknown type name 'uint32_t'
  181 | extern uint32_t nss_pvxlanmgr_get_if_num_host_inner(struct net_device *dev);
      |        ^~~~~~~~
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:181:60: error: 'struct net_device' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  181 | extern uint32_t nss_pvxlanmgr_get_if_num_host_inner(struct net_device *dev);
      |                                                            ^~~~~~~~~~
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:192:67: error: 'struct net_device' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  192 | n nss_pvxlanmgr_status_t nss_pvxlanmgr_netdev_destroy(struct net_device *dev);
      |                                                              ^~~~~~~~~~

/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/nss_pvxlanmgr.c: In function 'nss_pvxlanmgr_netdev_down':
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/nss_pvxlanmgr.c:320:38: error: passing argument 1 of 'nss_pvxlanmgr_netdev_disable' from incompatible pointer type [-Werror=incompatible-pointer-types]
  320 |         nss_pvxlanmgr_netdev_disable(netdev);
      |                                      ^~~~~~
      |                                      |
      |                                      struct net_device *
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:112:79: note: expected 'struct net_device *' but argument is of type 'struct net_device *'
  112 | pvxlanmgr_status_t nss_pvxlanmgr_netdev_disable(struct net_device *dev);
      |                                                 ~~~~~~~~~~~~~~~~~~~^~~

/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/nss_pvxlanmgr.c: In function 'nss_pvxlanmgr_netdev_up':
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/nss_pvxlanmgr.c:330:37: error: passing argument 1 of 'nss_pvxlanmgr_netdev_enable' from incompatible pointer type [-Werror=incompatible-pointer-types]
  330 |         nss_pvxlanmgr_netdev_enable(netdev);
      |                                     ^~~~~~
      |                                     |
      |                                     struct net_device *
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:121:78: note: expected 'struct net_device *' but argument is of type 'struct net_device *'
  121 | _pvxlanmgr_status_t nss_pvxlanmgr_netdev_enable(struct net_device *dev);
      |                                                 ~~~~~~~~~~~~~~~~~~~^~~

/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/nss_pvxlanmgr.c: At top level:
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/nss_pvxlanmgr.c:374:10: error: conflicting types for 'nss_pvxlanmgr_get_if_num_outer'; have 'uint32_t(struct net_device *)' {aka 'unsigned int(struct net_device *)'}
  374 | uint32_t nss_pvxlanmgr_get_if_num_outer(struct net_device *dev)
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:172:17: note: previous declaration of 'nss_pvxlanmgr_get_if_num_outer' with type 'int(struct net_device *)'
  172 | extern uint32_t nss_pvxlanmgr_get_if_num_outer(struct net_device *dev);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/linkage.h:7,
                 from ./include/linux/kernel.h:17,
                 from ./include/linux/cpumask.h:10,
                 from ./include/linux/smp.h:13,
                 from ./include/linux/lockdep.h:14,
                 from ./include/linux/mutex.h:17,
                 from ./include/linux/kernfs.h:11,
                 from ./include/linux/sysfs.h:16,
                 from ./include/linux/kobject.h:20,
                 from ./include/linux/of.h:17,
                 from /home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/nss_pvxlanmgr_priv.h:22,
                 from /home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/nss_pvxlanmgr.c:22:
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/nss_pvxlanmgr.c:381:15: error: conflicting types for 'nss_pvxlanmgr_get_if_num_outer'; have 'uint32_t(struct net_device *)' {aka 'unsigned int(struct net_device *)'}
  381 | EXPORT_SYMBOL(nss_pvxlanmgr_get_if_num_outer);
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/linux/export.h:93:28: note: in definition of macro '___EXPORT_SYMBOL'
   93 |         extern typeof(sym) sym;                                                 \
      |                            ^~~
./include/linux/export.h:153:41: note: in expansion of macro '__EXPORT_SYMBOL'
  153 | #define _EXPORT_SYMBOL(sym, sec)        __EXPORT_SYMBOL(sym, sec, "")
      |                                         ^~~~~~~~~~~~~~~
./include/linux/export.h:156:41: note: in expansion of macro '_EXPORT_SYMBOL'
  156 | #define EXPORT_SYMBOL(sym)              _EXPORT_SYMBOL(sym, "")
      |                                         ^~~~~~~~~~~~~~
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/nss_pvxlanmgr.c:381:1: note: in expansion of macro 'EXPORT_SYMBOL'
  381 | EXPORT_SYMBOL(nss_pvxlanmgr_get_if_num_outer);
      | ^~~~~~~~~~~~~
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:172:17: note: previous declaration of 'nss_pvxlanmgr_get_if_num_outer' with type 'int(struct net_device *)'
  172 | extern uint32_t nss_pvxlanmgr_get_if_num_outer(struct net_device *dev);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/nss_pvxlanmgr.c:387:10: error: conflicting types for 'nss_pvxlanmgr_get_if_num_host_inner'; have 'uint32_t(struct net_device *)' {aka 'unsigned int(struct net_device *)'}
  387 | uint32_t nss_pvxlanmgr_get_if_num_host_inner(struct net_device *dev)
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:181:17: note: previous declaration of 'nss_pvxlanmgr_get_if_num_host_inner' with type 'int(struct net_device *)'
  181 | extern uint32_t nss_pvxlanmgr_get_if_num_host_inner(struct net_device *dev);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/nss_pvxlanmgr.c:394:15: error: conflicting types for 'nss_pvxlanmgr_get_if_num_host_inner'; have 'uint32_t(struct net_device *)' {aka 'unsigned int(struct net_device *)'}
  394 | EXPORT_SYMBOL(nss_pvxlanmgr_get_if_num_host_inner);
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/linux/export.h:93:28: note: in definition of macro '___EXPORT_SYMBOL'
   93 |         extern typeof(sym) sym;                                                 \
      |                            ^~~
./include/linux/export.h:153:41: note: in expansion of macro '__EXPORT_SYMBOL'
  153 | #define _EXPORT_SYMBOL(sym, sec)        __EXPORT_SYMBOL(sym, sec, "")
      |                                         ^~~~~~~~~~~~~~~
./include/linux/export.h:156:41: note: in expansion of macro '_EXPORT_SYMBOL'
  156 | #define EXPORT_SYMBOL(sym)              _EXPORT_SYMBOL(sym, "")
      |                                         ^~~~~~~~~~~~~~
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/nss_pvxlanmgr.c:394:1: note: in expansion of macro 'EXPORT_SYMBOL'
  394 | EXPORT_SYMBOL(nss_pvxlanmgr_get_if_num_host_inner);
      | ^~~~~~~~~~~~~
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:181:17: note: previous declaration of 'nss_pvxlanmgr_get_if_num_host_inner' with type 'int(struct net_device *)'
  181 | extern uint32_t nss_pvxlanmgr_get_if_num_host_inner(struct net_device *dev);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/nss_pvxlanmgr.c:400:24: error: conflicting types for 'nss_pvxlanmgr_netdev_disable'; have 'nss_pvxlanmgr_status_t(struct net_device *)' {aka 'enum nss_pvxlanmgr_status(struct net_device *)'}
  400 | nss_pvxlanmgr_status_t nss_pvxlanmgr_netdev_disable(struct net_device *dev)
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:112:31: note: previous declaration of 'nss_pvxlanmgr_netdev_disable' with type 'nss_pvxlanmgr_status_t(struct net_device *)' {aka 'enum nss_pvxlanmgr_status(struct net_device *)'}
  112 | extern nss_pvxlanmgr_status_t nss_pvxlanmgr_netdev_disable(struct net_device *dev);
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/nss_pvxlanmgr.c:426:15: error: conflicting types for 'nss_pvxlanmgr_netdev_disable'; have 'nss_pvxlanmgr_status_t(struct net_device *)' {aka 'enum nss_pvxlanmgr_status(struct net_device *)'}
  426 | EXPORT_SYMBOL(nss_pvxlanmgr_netdev_disable);
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/linux/export.h:93:28: note: in definition of macro '___EXPORT_SYMBOL'
   93 |         extern typeof(sym) sym;                                                 \
      |                            ^~~
./include/linux/export.h:153:41: note: in expansion of macro '__EXPORT_SYMBOL'
  153 | #define _EXPORT_SYMBOL(sym, sec)        __EXPORT_SYMBOL(sym, sec, "")
      |                                         ^~~~~~~~~~~~~~~
./include/linux/export.h:156:41: note: in expansion of macro '_EXPORT_SYMBOL'
  156 | #define EXPORT_SYMBOL(sym)              _EXPORT_SYMBOL(sym, "")
      |                                         ^~~~~~~~~~~~~~
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/nss_pvxlanmgr.c:426:1: note: in expansion of macro 'EXPORT_SYMBOL'
  426 | EXPORT_SYMBOL(nss_pvxlanmgr_netdev_disable);
      | ^~~~~~~~~~~~~
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:112:31: note: previous declaration of 'nss_pvxlanmgr_netdev_disable' with type 'nss_pvxlanmgr_status_t(struct net_device *)' {aka 'enum nss_pvxlanmgr_status(struct net_device *)'}
  112 | extern nss_pvxlanmgr_status_t nss_pvxlanmgr_netdev_disable(struct net_device *dev);
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/nss_pvxlanmgr.c:432:24: error: conflicting types for 'nss_pvxlanmgr_netdev_enable'; have 'nss_pvxlanmgr_status_t(struct net_device *)' {aka 'enum nss_pvxlanmgr_status(struct net_device *)'}
  432 | nss_pvxlanmgr_status_t nss_pvxlanmgr_netdev_enable(struct net_device *dev)
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:121:31: note: previous declaration of 'nss_pvxlanmgr_netdev_enable' with type 'nss_pvxlanmgr_status_t(struct net_device *)' {aka 'enum nss_pvxlanmgr_status(struct net_device *)'}
  121 | extern nss_pvxlanmgr_status_t nss_pvxlanmgr_netdev_enable(struct net_device *dev);
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/nss_pvxlanmgr.c: In function 'nss_pvxlanmgr_netdev_enable':
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/nss_pvxlanmgr.c:441:17: error: comparison between 'nss_pvxlanmgr_status_t' {aka 'enum nss_pvxlanmgr_status'} and 'enum <anonymous>' [-Werror=enum-compare]
  441 |         if (ret != NSS_TX_SUCCESS) {
      |                 ^~
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/nss_pvxlanmgr.c:448:17: error: comparison between 'nss_pvxlanmgr_status_t' {aka 'enum nss_pvxlanmgr_status'} and 'enum <anonymous>' [-Werror=enum-compare]
  448 |         if (ret != NSS_TX_SUCCESS) {
      |                 ^~
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/nss_pvxlanmgr.c: At top level:
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/nss_pvxlanmgr.c:458:15: error: conflicting types for 'nss_pvxlanmgr_netdev_enable'; have 'nss_pvxlanmgr_status_t(struct net_device *)' {aka 'enum nss_pvxlanmgr_status(struct net_device *)'}
  458 | EXPORT_SYMBOL(nss_pvxlanmgr_netdev_enable);
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/linux/export.h:93:28: note: in definition of macro '___EXPORT_SYMBOL'
   93 |         extern typeof(sym) sym;                                                 \
      |                            ^~~
./include/linux/export.h:153:41: note: in expansion of macro '__EXPORT_SYMBOL'
  153 | #define _EXPORT_SYMBOL(sym, sec)        __EXPORT_SYMBOL(sym, sec, "")
      |                                         ^~~~~~~~~~~~~~~
./include/linux/export.h:156:41: note: in expansion of macro '_EXPORT_SYMBOL'
  156 | #define EXPORT_SYMBOL(sym)              _EXPORT_SYMBOL(sym, "")
      |                                         ^~~~~~~~~~~~~~
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/nss_pvxlanmgr.c:458:1: note: in expansion of macro 'EXPORT_SYMBOL'
  458 | EXPORT_SYMBOL(nss_pvxlanmgr_netdev_enable);
      | ^~~~~~~~~~~~~
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:121:31: note: previous declaration of 'nss_pvxlanmgr_netdev_enable' with type 'nss_pvxlanmgr_status_t(struct net_device *)' {aka 'enum nss_pvxlanmgr_status(struct net_device *)'}
  121 | extern nss_pvxlanmgr_status_t nss_pvxlanmgr_netdev_enable(struct net_device *dev);
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/nss_pvxlanmgr.c:469:24: error: conflicting types for 'nss_pvxlanmgr_netdev_destroy'; have 'nss_pvxlanmgr_status_t(struct net_device *)' {aka 'enum nss_pvxlanmgr_status(struct net_device *)'}
  469 | nss_pvxlanmgr_status_t nss_pvxlanmgr_netdev_destroy(struct net_device *dev)
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:192:31: note: previous declaration of 'nss_pvxlanmgr_netdev_destroy' with type 'nss_pvxlanmgr_status_t(struct net_device *)' {aka 'enum nss_pvxlanmgr_status(struct net_device *)'}
  192 | extern nss_pvxlanmgr_status_t nss_pvxlanmgr_netdev_destroy(struct net_device *dev);
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/nss_pvxlanmgr.c: In function 'nss_pvxlanmgr_netdev_destroy':
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/nss_pvxlanmgr.c:491:25: error: implicit declaration of function 'nss_pvxlanmgr_tunnel_destroy'; did you mean 'nss_pvxlanmgr_netdev_destroy'? [-Werror=implicit-function-declaration]
  491 |                         nss_pvxlanmgr_tunnel_destroy(dev, i);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                         nss_pvxlanmgr_netdev_destroy
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/nss_pvxlanmgr.c: At top level:
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/nss_pvxlanmgr.c:522:15: error: conflicting types for 'nss_pvxlanmgr_netdev_destroy'; have 'nss_pvxlanmgr_status_t(struct net_device *)' {aka 'enum nss_pvxlanmgr_status(struct net_device *)'}
  522 | EXPORT_SYMBOL(nss_pvxlanmgr_netdev_destroy);
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/linux/export.h:93:28: note: in definition of macro '___EXPORT_SYMBOL'
   93 |         extern typeof(sym) sym;                                                 \
      |                            ^~~
./include/linux/export.h:153:41: note: in expansion of macro '__EXPORT_SYMBOL'
  153 | #define _EXPORT_SYMBOL(sym, sec)        __EXPORT_SYMBOL(sym, sec, "")
      |                                         ^~~~~~~~~~~~~~~
./include/linux/export.h:156:41: note: in expansion of macro '_EXPORT_SYMBOL'
  156 | #define EXPORT_SYMBOL(sym)              _EXPORT_SYMBOL(sym, "")
      |                                         ^~~~~~~~~~~~~~
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/nss_pvxlanmgr.c:522:1: note: in expansion of macro 'EXPORT_SYMBOL'
  522 | EXPORT_SYMBOL(nss_pvxlanmgr_netdev_destroy);
      | ^~~~~~~~~~~~~
/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/../exports/nss_pvxlanmgr.h:192:31: note: previous declaration of 'nss_pvxlanmgr_netdev_destroy' with type 'nss_pvxlanmgr_status_t(struct net_device *)' {aka 'enum nss_pvxlanmgr_status(struct net_device *)'}
  192 | extern nss_pvxlanmgr_status_t nss_pvxlanmgr_netdev_destroy(struct net_device *dev);
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
scripts/Makefile.build:250: recipe for target '/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/nss_pvxlanmgr.o' failed
make[5]: *** [/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr/nss_pvxlanmgr.o] Error 1
scripts/Makefile.build:500: recipe for target '/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr' failed
make[4]: *** [/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/pvxlanmgr] Error 2
Makefile:2010: recipe for target '/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7' failed
make[3]: *** [/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7] Error 2
make[3]: Leaving directory '/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/linux-6.1.80'
Makefile:765: recipe for target '/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/.built' failed
make[2]: *** [/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2021-08-17-153998d7/.built] Error 2
make[2]: Leaving directory '/home/lin/ax6-6.1/package/nss-packages/qca/qca-nss-clients'
time: package/nss-packages/qca/qca-nss-clients/compile#46.13#7.30#53.14
    ERROR: package/nss-packages/qca/qca-nss-clients failed to build.
package/Makefile:127: recipe for target 'package/nss-packages/qca/qca-nss-clients/compile' failed
make[1]: *** [package/nss-packages/qca/qca-nss-clients/compile] Error 1
make[1]: Leaving directory '/home/lin/ax6-6.1'
/home/lin/ax6-6.1/include/toplevel.mk:231: recipe for target 'package/mac80211/compile' failed
make: *** [package/mac80211/compile] Error 2

net/core/skbuff_recycle.c:635:9: error: 'h' undeclared (first use in this function)

CC net/core/xdp.o
CC net/core/flow_offload.o
CC net/core/gro.o
CC net/core/netdev-genl.o
CC net/core/netdev-genl-gen.o
CC net/core/gso.o
CC net/core/sock_diag.o
CC net/core/net-sysfs.o
CC net/core/page_pool.o
CC net/core/net-procfs.o
CC net/core/fib_rules.o
CC net/core/selftests.o
CC net/core/lwtunnel.o
CC net/core/dst_cache.o
CC net/core/gro_cells.o
CC net/core/skmsg.o
CC net/core/sock_map.o
CC net/core/bpf_sk_storage.o
CC net/core/of_net.o
CC net/core/skbuff_recycle.o
net/core/skbuff_recycle.c: In function 'skb_recycler_print_all_lists':
net/core/skbuff_recycle.c:635:9: error: 'h' undeclared (first use in this function)
635 | h = &per_cpu(recycle_list, cpu);
| ^
net/core/skbuff_recycle.c:635:9: note: each undeclared identifier is reported only once for each function it appears in
make[9]: *** [scripts/Makefile.build:243: net/core/skbuff_recycle.o] Error 1
make[8]: *** [scripts/Makefile.build:480: net/core] Error 2
make[7]: *** [scripts/Makefile.build:480: net] Error 2
make[6]: *** [/home/ubuntu/immortalwrt/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/linux-6.6.30/Makefile:1913: .] Error 2
make[5]: *** [Makefile:234: __sub-make] Error 2
make[5]: Leaving directory '/home/ubuntu/immortalwrt/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/linux-6.6.30'
make[4]: *** [Makefile:23: /home/ubuntu/immortalwrt/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/linux-6.6.30/.modules] Error 2
make[4]: Leaving directory '/home/ubuntu/immortalwrt/target/linux/qualcommax'
make[3]: *** [Makefile:11: compile] Error 2
make[3]: Leaving directory '/home/ubuntu/immortalwrt/target/linux'
time: target/linux/compile#2746.35#263.48#3084.01
ERROR: target/linux failed to build.
make[2]: *** [target/Makefile:32: target/linux/compile] Error 1
make[2]: Leaving directory '/home/ubuntu/immortalwrt'
make[1]: *** [target/Makefile:25: /home/ubuntu/immortalwrt/staging_dir/target-aarch64_cortex-a53_musl/stamp/.target_compile] Error 2
make[1]: Leaving directory '/home/ubuntu/immortalwrt'
make: *** [/home/ubuntu/immortalwrt/include/toplevel.mk:233: world] Error 2

I am use the nss_packages repo and immortalwrt,my device is redmi ax6 . please help me with the error , thank you

The latest commit of the master branch cannot start ecm.

Wed Apr 24 20:12:33 2024 daemon.notice procd: /etc/rc.d/S19qca-nss-ecm: Failed to find ecm. Maybe it is a built in module ?
Wed Apr 24 20:12:33 2024 daemon.notice procd: /etc/rc.d/S19qca-nss-ecm: /etc/rc.common: line 100: can't create /sys/kernel/debug/ecm/ecm_classifier_default/accel_delay_pkts: nonexistent directory
Wed Apr 24 20:12:33 2024 daemon.notice procd: /etc/rc.d/S19qca-nss-ecm: /etc/rc.common: line 108: can't create /sys/kernel/debug/ecm/ecm_db/defunct_all: nonexistent directory

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.