The directory /lib/modules/6.6.31+rpt-rpi-v8 exists, but it does not have a build subdirectory
root@raspberrypi:/home/pi/nexmon/patches/bcm43455c0/7_45_154/nexmon# make backup-firmware cp /lib/firmware/brcm/brcmfmac43455-sdio.bin brcmfmac43455-sdio.bin.orig root@raspberrypi:/home/pi/nexmon/patches/bcm43455c0/7_45_154/nexmon# make install-firmware
########### ########### ########## ##########
############ ############ ############ ############
## ## ## ## ## ## ##
## ## ## ## ## ## ##
########### #### ###### ## ## ## ## ######
########### #### # ## ## ## ## # #
## ## ###### ## ## ## ## # #
## ## # ## ## ## ## # #
############ ##### ###### ## ## ## ##### ######
########### ########### ## ## ## ##########
S E C U R E M O B I L E N E T W O R K I N G
presents:
# ### ### # # # ### ### ### # ###
## # # # # # ## ## # # # ## #
# # ##### # # # # # # # #
# # # # # # # # # # # #
# # #### # # # # # ### # #
The C-based Firmware Patching Framework
!!! WARNING !!!
Our software may damage your hardware and may void your hardware’s
warranty! You use our tools at your own risk and responsibility
COLLECTING STATISTICS read /home/pi/nexmon/STATISTICS.md for more information COMPILING src/version.c => obj/version.o (details: log/compiler.log) GENERATING LINKER FILE gen/nexmon.pre => gen/nexmon.ld GENERATING LINKER FILE gen/nexmon.pre => gen/flashpatches.ld LINKING OBJECTS => gen/patch.elf (details: log/linker.log, log/linker.err) GENERATING MAKE FILE gen/nexmon.pre => gen/nexmon.mk GENERATING MAKE FILE gen/nexmon.pre => gen/flashpatches.mk APPLYING FLASHPATCHES gen/flashpatches.mk => brcmfmac43455-sdio.bin (details: log/flashpatches.log) APPLYING PATCHES gen/nexmon.mk => brcmfmac43455-sdio.bin (details: log/patches.log) BUILDING DRIVER for kernel 6.6 brcmfmac_6.6.y-nexmon/brcmfmac.ko (details: log/driver.log) COPYING brcmfmac43455-sdio.bin => /lib/firmware/brcm/brcmfmac43455-sdio.bin UNLOADING brcmfmac_wcc UNLOADING brcmfmac RELOADING brcmfmac insmod: ERROR: could not insert module /home/pi/nexmon/patches/driver/brcmfmac_6.6.y-nexmon/brcmfmac.ko: Invalid module format make: *** [Makefile:193:install-firmware] error 1 root@raspberrypi:/home/pi/nexmon/patches/bcm43455c0/7_45_154/nexmon# uname -r 6.6.31+rpt-rpi-v8 root@raspberrypi:/home/pi/nexmon/patches/bcm43455c0/7_45_154/nexmon# ls /lib/modules/6.6.31+rpt-rpi-v7l/build arch include Makefile Module.symvers scripts tools root@raspberrypi:/home/pi/nexmon/patches/bcm43455c0/7_45_154/nexmon# ls /lib/modules/6.6.31+rpt-rpi-v7/build arch include Makefile Module.symvers scripts tools root@raspberrypi:/home/pi/nexmon/patches/bcm43455c0/7_45_154/nexmon# ls /lib/modules/6.6.31+rpt-rpi-v8/build ls: 无法访问 '/lib/modules/6.6.31+rpt-rpi-v8/build': 没有那个文件或目录
insmod: ERROR: could not insert module /home/pi/nexmon/patches/driver/brcmfmac_6.6.y-nexmon/brcmfmac.ko: Invalid module format
- Have you installed the right kernel headers for your kernel version? (see https://github.com/seemoo-lab/nexmon/discussions/613)
- Have you updated your kernel base without cleaning and re-building the
brcmfmac_6.6.ykernel module? - If yes, clean and re-build. - Manually run
insmod /home/pi/nexmon/patches/driver/brcmfmac_6.6.y-nexmon/brcmfmac.koto see if it provides you with a reason why the loading fails. - Check if there is additional information on the loading process in
dmesg.