Benutzer-Werkzeuge

Webseiten-Werkzeuge


stellar-wireless-wpa3-sae-raspberry-pi-2022-deutsch

An diesem Artikel wird aktuell gearbeitet.

arm64 ISO/VM in UTM https://cdimage.debian.org/debian-cd/current/arm64/iso-cd/debian-11.3.0-arm64-netinst.iso

apt install sudo screen vim curl unzip
vi /etc/vim/vimrc.local
set mouse=
set ttymouse=
adduser benny sudo
vi .ssh/authorized_keys

# Installation von Build-Paketen

Quelle: https://www.raspberrypi.com/documentation/computers/linux_kernel.html

sudo apt install git bc bison flex libssl-dev make

git clone –depth=1 –branch rpi-5.10.y https://github.com/raspberrypi/linux

https://community.infineon.com/t5/Wi-Fi-Bluetooth-for-Linux/Cypress-Linux-WiFi-Driver-Release-FMAC-2022-05-11/td-p/353009

benny@debianm1:~$ unzip cypress-fmac-v5.10.9-2022_0511.zip 
Archive:  cypress-fmac-v5.10.9-2022_0511.zip
  inflating: cypress-fmac-v5.10.9-2022_0511/cypress-backports-v5.10.9-2022_0511-module-src.tar.gz  
  inflating: cypress-fmac-v5.10.9-2022_0511/cypress-cirrent-1.60.tar.gz  
  inflating: cypress-fmac-v5.10.9-2022_0511/cypress-devicetree-2022-05-13.tar.gz  
  inflating: cypress-fmac-v5.10.9-2022_0511/cypress-firmware-v5.10.9-2022_0511.tar.gz  
  inflating: cypress-fmac-v5.10.9-2022_0511/cypress-hostap_2_9-1-2022_0511.tar.gz  
  inflating: cypress-fmac-v5.10.9-2022_0511/cypress-patch-v5.10.9-2022_0511.tar.gz  
   creating: cypress-fmac-v5.10.9-2022_0511/docs/
  inflating: cypress-fmac-v5.10.9-2022_0511/docs/Infineon_Wi-Fi_Software_UserGuide.pdf  
  inflating: cypress-fmac-v5.10.9-2022_0511/README.txt  
benny@debianm1:~$ cd cypress-fmac-v5.10.9-2022_0511/
benny@debianm1:~/cypress-fmac-v5.10.9-2022_0511$
benny@debianm1:~/cypress-fmac-v5.10.9-2022_0511$ tar xvzf cypress-patch-v5.10.9-2022_0511.tar.gz 
benny@debianm1:~/cypress-fmac-v5.10.9-2022_0511$ cd ..
benny@debianm1:~$ cd linux
benny@debianm1:~/linux$ for i in ../cypress-fmac-v5.10.9-2022_0511/cypress-patch/*.patch; do patch -p1 < $i; done

patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/of.c
Hunk #1 succeeded at 20 (offset 1 line).
Hunk #2 succeeded at 49 (offset 1 line).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 5472 (offset 5 lines).
Hunk #2 succeeded at 5538 (offset 5 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 7210 (offset 8 lines).
Hunk #2 succeeded at 7235 (offset 8 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c
Hunk #2 succeeded at 427 (offset 10 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 3830 (offset 5 lines).
Hunk #2 succeeded at 3892 (offset 5 lines).
Hunk #3 succeeded at 3941 (offset 5 lines).
Hunk #4 succeeded at 7047 (offset 8 lines).
Hunk #5 succeeded at 7070 (offset 8 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c
Hunk #1 succeeded at 216 (offset 10 lines).
Hunk #2 succeeded at 350 (offset 10 lines).
Hunk #3 succeeded at 433 (offset 10 lines).
Hunk #4 succeeded at 519 (offset 10 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c
Hunk #1 succeeded at 1549 with fuzz 1 (offset -6 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil_types.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 3921 (offset 5 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c
Hunk #2 succeeded at 444 (offset 10 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
Hunk #1 succeeded at 4473 (offset 36 lines).
Hunk #2 succeeded at 4496 (offset 36 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 7176 (offset 8 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 2935 (offset 4 lines).
Hunk #2 succeeded at 7254 (offset 8 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c
Hunk #3 succeeded at 450 (offset 10 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 3942 (offset 5 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
Hunk #1 succeeded at 3417 (offset 5 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil_types.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 7099 (offset 8 lines).
Hunk #2 succeeded at 7177 (offset 8 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/vendor.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/vendor.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 3811 (offset 5 lines).
Hunk #2 succeeded at 3849 (offset 5 lines).
Hunk #3 succeeded at 3919 (offset 5 lines).
Hunk #4 succeeded at 3966 (offset 5 lines).
Hunk #5 succeeded at 7604 (offset 32 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c
Hunk #1 succeeded at 39 (offset 1 line).
Hunk #2 succeeded at 1991 (offset -23 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c
Hunk #2 succeeded at 1487 (offset 5 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c
Hunk #1 succeeded at 2092 (offset -23 lines).
patching file drivers/net/wireless/broadcom/brcm80211/include/brcm_hw_ids.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/flowring.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c
Hunk #1 succeeded at 60 (offset 1 line).
Hunk #2 succeeded at 81 (offset 1 line).
Hunk #3 succeeded at 2110 (offset -23 lines).
patching file drivers/net/wireless/broadcom/brcm80211/include/brcm_hw_ids.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 4745 (offset 5 lines).
Hunk #2 succeeded at 4960 (offset 5 lines).
Hunk #3 succeeded at 4976 (offset 5 lines).
Hunk #4 succeeded at 4993 (offset 5 lines).
Hunk #5 succeeded at 5023 (offset 5 lines).
Hunk #6 succeeded at 7632 (offset 32 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c
Hunk #1 succeeded at 315 (offset 10 lines).
patching file drivers/net/wireless/broadcom/brcm80211/Kconfig
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c
Hunk #1 succeeded at 275 (offset 1 line).
Hunk #2 succeeded at 349 (offset 1 line).
Hunk #3 succeeded at 376 (offset 1 line).
Hunk #4 succeeded at 401 (offset 1 line).
Hunk #5 succeeded at 427 (offset 1 line).
Hunk #6 succeeded at 469 (offset 1 line).
Hunk #7 succeeded at 495 (offset 1 line).
Hunk #8 succeeded at 543 (offset 1 line).
Hunk #9 FAILED at 570.
Hunk #10 FAILED at 584.
Hunk #11 FAILED at 594.
Hunk #12 succeeded at 571 (offset -40 lines).
Hunk #13 succeeded at 603 (offset -40 lines).
Hunk #14 succeeded at 628 (offset -40 lines).
Hunk #15 succeeded at 694 (offset -40 lines).
Hunk #16 succeeded at 1265 (offset -40 lines).
Hunk #17 succeeded at 1341 (offset -40 lines).
Hunk #18 succeeded at 1805 (offset -22 lines).
3 out of 18 hunks FAILED -- saving rejects to file drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c.rej
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 234 (offset 1 line).
Hunk #2 succeeded at 5664 (offset 5 lines).
Hunk #3 succeeded at 6236 (offset 8 lines).
Hunk #4 succeeded at 6251 (offset 8 lines).
Hunk #5 succeeded at 6282 (offset 8 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/vendor.c
patching file include/net/cfg80211.h
Hunk #1 succeeded at 7003 (offset -2 lines).
Hunk #2 succeeded at 7016 (offset -2 lines).
patching file include/uapi/linux/nl80211.h
patching file net/wireless/nl80211.c
Hunk #1 succeeded at 16127 (offset 15 lines).
patching file net/wireless/sme.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 6030 (offset 8 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 5970 (offset 8 lines).
Hunk #2 succeeded at 6071 (offset 8 lines).
patching file include/net/cfg80211.h
Hunk #1 succeeded at 6843 (offset -2 lines).
Hunk #2 succeeded at 6856 (offset -2 lines).
patching file net/wireless/nl80211.c
Hunk #1 succeeded at 16061 (offset 15 lines).
patching file net/wireless/sme.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 6113 (offset 8 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 1757 (offset 1 line).
Hunk #2 succeeded at 1768 (offset 1 line).
Hunk #3 succeeded at 1842 (offset 1 line).
Hunk #4 succeeded at 5517 (offset 5 lines).
Hunk #5 succeeded at 6094 (offset 8 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/bus.h
Hunk #1 succeeded at 279 (offset 7 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/debug.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/debug.h
Hunk #1 succeeded at 108 (offset 5 lines).
Hunk #2 succeeded at 129 (offset 5 lines).
Hunk #3 succeeded at 145 (offset 5 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c
Hunk #1 succeeded at 1226 (offset 5 lines).
Hunk #2 succeeded at 1308 (offset 5 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 1215 (offset 1 line).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c
Hunk #1 succeeded at 61 (offset 1 line).
Hunk #2 succeeded at 83 (offset 1 line).
Hunk #3 FAILED at 1635.
Hunk #4 succeeded at 2009 (offset -73 lines).
Hunk #5 succeeded at 2300 (offset -73 lines).
1 out of 5 hunks FAILED -- saving rejects to file drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c.rej
patching file drivers/net/wireless/broadcom/brcm80211/include/brcm_hw_ids.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/bus.h
Hunk #1 succeeded at 263 (offset 7 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c
Hunk #2 succeeded at 226 (offset 10 lines).
Hunk #3 succeeded at 348 (offset 10 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/debug.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c
Hunk #1 succeeded at 1989 with fuzz 2 (offset -82 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
Hunk #1 FAILED at 35.
Hunk #2 succeeded at 328 (offset 1 line).
Hunk #3 succeeded at 1107 (offset 5 lines).
Hunk #4 succeeded at 1196 (offset 5 lines).
Hunk #5 succeeded at 2585 (offset 5 lines).
Hunk #6 succeeded at 2832 (offset 5 lines).
Hunk #7 succeeded at 2881 (offset 5 lines).
Hunk #8 succeeded at 3750 (offset 5 lines).
Hunk #9 succeeded at 4408 with fuzz 2 (offset 17 lines).
Hunk #10 succeeded at 4599 (offset 33 lines).
Hunk #11 succeeded at 4882 (offset 53 lines).
1 out of 11 hunks FAILED -- saving rejects to file drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c.rej
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c
Hunk #1 succeeded at 1233 (offset 5 lines).
Hunk #2 succeeded at 1315 (offset 5 lines).
patching file drivers/net/wireless/broadcom/brcm80211/include/chipcommon.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
Hunk #1 succeeded at 4826 (offset 51 lines).
patching file drivers/net/wireless/broadcom/brcm80211/include/chipcommon.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
Hunk #1 succeeded at 4830 (offset 51 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
Hunk #2 succeeded at 2363 (offset 3 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/bus.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c
Hunk #2 succeeded at 1295 (offset 5 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
Hunk #1 succeeded at 3613 (offset 3 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
Hunk #1 succeeded at 3614 (offset 3 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
Hunk #1 succeeded at 3615 (offset 3 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 4844 (offset 5 lines).
Hunk #2 succeeded at 4924 (offset 5 lines).
Hunk #3 succeeded at 4956 (offset 5 lines).
Hunk #4 succeeded at 6207 (offset 8 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c
Hunk #3 succeeded at 1749 (offset -6 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 5556 (offset 5 lines).
Hunk #2 succeeded at 5567 (offset 5 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 773 (offset 1 line).
Hunk #2 succeeded at 5079 (offset 5 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c
Hunk #1 succeeded at 1713 (offset -6 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 64 (offset 1 line).
Hunk #2 succeeded at 1834 (offset 1 line).
Hunk #3 succeeded at 4168 (offset 5 lines).
Hunk #4 succeeded at 4287 (offset 5 lines).
Hunk #5 succeeded at 4347 (offset 5 lines).
Hunk #6 succeeded at 5289 (offset 5 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.h
patching file drivers/net/wireless/broadcom/brcm80211/include/brcmu_wifi.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c
Hunk #1 succeeded at 50 (offset 1 line).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
Hunk #1 FAILED at 622.
1 out of 1 hunk FAILED -- saving rejects to file drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c.rej
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
Hunk #2 succeeded at 3012 (offset 3 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c
Hunk #1 succeeded at 380 (offset 10 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/pno.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/bus.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c
Hunk #1 FAILED at 12.
Hunk #2 succeeded at 280 (offset 1 line).
Hunk #3 succeeded at 356 (offset 1 line).
Hunk #4 succeeded at 1495 with fuzz 1 (offset -90 lines).
Hunk #5 succeeded at 1637 (offset -81 lines).
Hunk #6 succeeded at 2010 (offset -82 lines).
Hunk #7 succeeded at 2051 (offset -82 lines).
Hunk #8 succeeded at 2217 (offset -82 lines).
Hunk #9 succeeded at 2266 (offset -82 lines).
Hunk #10 succeeded at 2320 (offset -82 lines).
Hunk #11 succeeded at 2365 (offset -82 lines).
1 out of 11 hunks FAILED -- saving rejects to file drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c.rej
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
Hunk #1 succeeded at 138 (offset -1 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c
Hunk #1 succeeded at 1294 (offset -92 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 6545 (offset 8 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c
Hunk #1 succeeded at 1940 (offset -83 lines).
Hunk #2 succeeded at 2020 (offset -84 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 493 (offset 1 line).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/vendor.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c
Hunk #1 succeeded at 60 (offset -1 lines).
Hunk #2 succeeded at 82 (offset -1 lines).
Hunk #3 FAILED at 1653.
Hunk #4 succeeded at 2034 (offset -84 lines).
1 out of 4 hunks FAILED -- saving rejects to file drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c.rej
patching file drivers/net/wireless/broadcom/brcm80211/include/brcm_hw_ids.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 2144 (offset 1 line).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
Hunk #1 succeeded at 44 (offset -1 lines).
Hunk #2 succeeded at 4503 (offset 31 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 91 (offset 1 line).
Hunk #2 succeeded at 7714 (offset 18 lines).
Hunk #3 succeeded at 8102 (offset 32 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 7785 (offset 18 lines).
Hunk #2 succeeded at 7801 (offset 18 lines).
Hunk #3 succeeded at 7840 (offset 18 lines).
Hunk #4 succeeded at 7866 (offset 18 lines).
Hunk #5 succeeded at 7901 (offset 18 lines).
Hunk #6 succeeded at 7921 (offset 18 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 270 (offset 1 line).
Hunk #2 succeeded at 570 (offset 1 line).
Hunk #3 succeeded at 631 (offset 1 line).
Hunk #4 succeeded at 648 (offset 1 line).
Hunk #5 succeeded at 812 (offset 1 line).
Hunk #6 succeeded at 955 (offset 1 line).
Hunk #7 succeeded at 1013 (offset 1 line).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 270 (offset 1 line).
Hunk #2 succeeded at 599 (offset 1 line).
Hunk #3 succeeded at 614 (offset 1 line).
Hunk #4 succeeded at 7300 (offset 8 lines).
Hunk #5 succeeded at 7346 (offset 8 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c
Hunk #1 succeeded at 544 (offset 10 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 3370 (offset 5 lines).
Hunk #2 succeeded at 3384 (offset 5 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 92 (offset 1 line).
Hunk #2 succeeded at 8047 (offset 18 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 1619 (offset 1 line).
Hunk #2 succeeded at 2485 (offset 1 line).
Hunk #3 succeeded at 6340 (offset 8 lines).
Hunk #4 succeeded at 6454 with fuzz 1 (offset 8 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 2257 (offset 1 line).
patching file drivers/net/wireless/broadcom/brcm80211/Kconfig
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 2024 (offset 1 line).
Hunk #2 succeeded at 2352 (offset 1 line).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 3210 (offset 5 lines).
Hunk #2 succeeded at 3240 (offset 5 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c
Hunk #1 succeeded at 141 (offset -1 lines).
Hunk #2 succeeded at 165 (offset -1 lines).
Hunk #3 succeeded at 180 (offset -1 lines).
Hunk #4 succeeded at 268 (offset -1 lines).
Hunk #5 succeeded at 813 (offset -92 lines).
Hunk #6 succeeded at 868 (offset -92 lines).
Hunk #7 succeeded at 1007 (offset -92 lines).
Hunk #8 succeeded at 1018 (offset -92 lines).
Hunk #9 succeeded at 1703 (offset -76 lines).
Hunk #10 succeeded at 1743 (offset -76 lines).
Hunk #11 succeeded at 2411 (offset -77 lines).
Hunk #12 succeeded at 2494 (offset -77 lines).
Hunk #13 FAILED at 2585.
Hunk #14 succeeded at 2515 with fuzz 1 (offset -82 lines).
1 out of 14 hunks FAILED -- saving rejects to file drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c.rej
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.h
Hunk #1 FAILED at 14.
1 out of 1 hunk FAILED -- saving rejects to file drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.h.rej
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 951 (offset 1 line).
Hunk #2 FAILED at 3177.
Hunk #3 succeeded at 4038 (offset 5 lines).
Hunk #4 succeeded at 4061 (offset 5 lines).
Hunk #5 succeeded at 4091 (offset 5 lines).
1 out of 5 hunks FAILED -- saving rejects to file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c.rej
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 8012 (offset 12 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 91 (offset 1 line).
Hunk #2 succeeded at 1825 (offset 1 line).
Hunk #3 succeeded at 2108 (offset 1 line).
Hunk #4 succeeded at 5413 (offset -1 lines).
Hunk #5 succeeded at 5499 (offset -1 lines).
Hunk #6 succeeded at 5885 (offset -1 lines).
Hunk #7 succeeded at 5966 (offset -1 lines).
Hunk #8 succeeded at 6013 (offset -1 lines).
Hunk #9 succeeded at 6747 (offset 2 lines).
Hunk #10 succeeded at 6907 (offset 2 lines).
Hunk #11 succeeded at 7483 (offset 2 lines).
Hunk #12 succeeded at 7812 (offset 2 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil_types.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
Hunk #1 succeeded at 4451 (offset 31 lines).
Hunk #2 succeeded at 4598 (offset 31 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 FAILED at 3185.
1 out of 1 hunk FAILED -- saving rejects to file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c.rej
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/vendor.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/vendor.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
Hunk #1 FAILED at 630.
1 out of 2 hunks FAILED -- saving rejects to file drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c.rej
patching file drivers/net/wireless/broadcom/brcm80211/include/brcm_hw_ids.h
patching file include/linux/mmc/sdio_ids.h
patching file drivers/net/wireless/broadcom/brcm80211/Kconfig
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/Kconfig
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/Makefile
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/bt_shared_sdio.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/bt_shared_sdio.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/bus.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
Hunk #1 FAILED at 38.
Hunk #2 succeeded at 942 (offset 2 lines).
Hunk #3 succeeded at 967 (offset 2 lines).
Hunk #4 succeeded at 1004 (offset 2 lines).
Hunk #5 succeeded at 2885 (offset 2 lines).
Hunk #6 succeeded at 3978 (offset 2 lines).
Hunk #7 succeeded at 4664 (offset 30 lines).
Hunk #8 succeeded at 4918 (offset 50 lines).
1 out of 8 hunks FAILED -- saving rejects to file drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c.rej
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
Hunk #1 succeeded at 658 (offset -2 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
Hunk #1 succeeded at 653 (offset -2 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
patching file include/linux/mmc/sdio_ids.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c
patching file include/linux/mmc/sdio_ids.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
Hunk #1 succeeded at 63 (offset -2 lines).
Hunk #2 FAILED at 643.
Hunk #3 succeeded at 665 with fuzz 1 (offset -2 lines).
Hunk #4 succeeded at 4617 (offset 29 lines).
1 out of 4 hunks FAILED -- saving rejects to file drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c.rej
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 711 (offset 1 line).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 5498 (offset 2 lines).
Hunk #2 succeeded at 5559 (offset 2 lines).
Hunk #3 succeeded at 5601 (offset 2 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil_types.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c
Hunk #1 succeeded at 2491 (offset -77 lines).
patching file drivers/net/wireless/broadcom/brcm80211/include/brcm_hw_ids.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c
Hunk #2 succeeded at 491 (offset 10 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
Hunk #1 succeeded at 4778 (offset 31 lines).
Hunk #2 succeeded at 4789 (offset 31 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
Hunk #1 succeeded at 4779 (offset 31 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 5171 (offset 2 lines).
patching file net/wireless/Makefile
Reversed (or previously applied) patch detected!  Assume -R? [n] y
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
Hunk #4 succeeded at 4533 (offset 28 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c
Hunk #1 FAILED at 613.
1 out of 1 hunk FAILED -- saving rejects to file drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c.rej
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 5996 (offset 2 lines).
Hunk #2 succeeded at 7901 (offset 5 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c
Hunk #1 succeeded at 84 (offset -1 lines).
Hunk #2 succeeded at 109 (offset -1 lines).
Hunk #3 succeeded at 128 (offset -1 lines).
Hunk #4 succeeded at 1013 (offset -92 lines).
Hunk #5 succeeded at 1038 (offset -92 lines).
Hunk #6 succeeded at 1057 (offset -92 lines).
Hunk #7 succeeded at 1070 (offset -92 lines).
Hunk #8 succeeded at 1129 (offset -92 lines).
Hunk #9 succeeded at 2000 (offset -76 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c
Hunk #1 succeeded at 40 (offset -1 lines).
Hunk #2 succeeded at 1828 (offset -76 lines).
Hunk #3 FAILED at 1919.
1 out of 3 hunks FAILED -- saving rejects to file drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c.rej
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
Hunk #1 FAILED at 39.
1 out of 2 hunks FAILED -- saving rejects to file drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c.rej
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/trxhdr.h
patching file drivers/net/wireless/broadcom/brcm80211/include/brcm_hw_ids.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c
Hunk #1 succeeded at 515 (offset 5 lines).
Hunk #2 succeeded at 603 (offset 21 lines).
Hunk #3 succeeded at 647 (offset 18 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c
Hunk #1 succeeded at 62 (offset -1 lines).
Hunk #2 succeeded at 84 (offset -1 lines).
Hunk #3 succeeded at 100 (offset -1 lines).
Hunk #4 succeeded at 121 (offset -1 lines).
Hunk #5 succeeded at 255 (offset -1 lines).
Hunk #6 succeeded at 797 (offset -92 lines).
Hunk #7 succeeded at 846 (offset -92 lines).
Hunk #8 succeeded at 860 (offset -92 lines).
Hunk #9 succeeded at 881 (offset -92 lines).
Hunk #10 succeeded at 1787 (offset -76 lines).
Hunk #11 succeeded at 1898 (offset -76 lines).
Hunk #12 FAILED at 1994.
Hunk #13 succeeded at 2022 (offset -81 lines).
Hunk #14 succeeded at 2102 (offset -81 lines).
Hunk #15 succeeded at 2271 (offset -82 lines).
Hunk #16 succeeded at 2282 (offset -82 lines).
Hunk #17 succeeded at 2656 (offset -82 lines).
Hunk #18 succeeded at 2687 (offset -82 lines).
1 out of 18 hunks FAILED -- saving rejects to file drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c.rej
patching file drivers/net/wireless/broadcom/brcm80211/include/brcm_hw_ids.h
patching file drivers/net/wireless/broadcom/brcm80211/include/brcmu_utils.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c
Hunk #1 succeeded at 90 (offset -1 lines).
Hunk #2 succeeded at 424 (offset -1 lines).
Hunk #3 succeeded at 848 (offset -92 lines).
Hunk #4 succeeded at 895 (offset -92 lines).
Hunk #5 succeeded at 919 (offset -92 lines).
Hunk #6 succeeded at 1024 (offset -92 lines).
Hunk #7 succeeded at 1033 (offset -92 lines).
Hunk #8 FAILED at 2039.
Hunk #9 succeeded at 1981 (offset -111 lines).
Hunk #10 succeeded at 2253 (offset -109 lines).
1 out of 10 hunks FAILED -- saving rejects to file drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c.rej
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c
Hunk #1 succeeded at 63 (offset -1 lines).
Hunk #2 succeeded at 86 (offset -1 lines).
Hunk #3 succeeded at 2740 (offset -113 lines).
patching file drivers/net/wireless/broadcom/brcm80211/include/brcm_hw_ids.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 2133 (offset 1 line).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 2157 (offset 1 line).
Hunk #2 succeeded at 4362 (offset 2 lines).
patching file include/uapi/linux/nl80211.h
patching file net/wireless/nl80211.c
Hunk #1 succeeded at 14105 (offset 15 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 2078 (offset 1 line).
Hunk #2 succeeded at 2095 (offset 1 line).
Hunk #3 succeeded at 2116 (offset 1 line).
Hunk #4 succeeded at 2155 (offset 1 line).
Hunk #5 succeeded at 5949 (offset 2 lines).
Hunk #6 succeeded at 6568 (offset 5 lines).
Hunk #7 succeeded at 7947 (offset 5 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.c
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 2139 (offset 1 line).
Hunk #2 succeeded at 2467 (offset 1 line).
Hunk #3 succeeded at 2490 (offset 1 line).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c
Hunk #1 succeeded at 231 (offset -1 lines).
Hunk #2 succeeded at 1906 (offset -76 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 8393 (offset 15 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 3663 (offset 2 lines).
patching file drivers/net/wireless/broadcom/brcm80211/include/brcmu_d11.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 40 (offset 1 line).
Hunk #2 succeeded at 316 (offset 1 line).
Hunk #3 succeeded at 2389 (offset 1 line).
Hunk #4 succeeded at 2445 (offset 1 line).
Hunk #5 succeeded at 2456 (offset 1 line).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c
Hunk #2 succeeded at 499 (offset 10 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.h
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 673 (offset 1 line).
Hunk #2 succeeded at 694 (offset 1 line).
Hunk #3 succeeded at 768 (offset 1 line).
Hunk #4 succeeded at 787 (offset 1 line).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 90 (offset 1 line).
Hunk #2 FAILED at 3387.
1 out of 2 hunks FAILED -- saving rejects to file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c.rej
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Hunk #1 succeeded at 314 (offset 1 line).
Hunk #2 succeeded at 1350 (offset 1 line).
Hunk #3 succeeded at 7325 (offset 10 lines).
Hunk #4 succeeded at 7441 (offset 10 lines).
Hunk #5 succeeded at 8232 (offset 10 lines).
patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c
Hunk #1 succeeded at 405 (offset 10 lines).
benny@debianm1:~/linux$ cd drivers/net/wireless/broadcom/brcm80211/brcmfmac/

# nicht mehr korrekt, braucht update für 5.10.x

benny@debianm1:~/linux$ head Makefile -n 4
# SPDX-License-Identifier: GPL-2.0
VERSION = 5
PATCHLEVEL = 15
SUBLEVEL = 45
Anleitung:
cd linux
KERNEL=kernel7l
make bcm2711_defconfig

Dies funktioniert so nicht, muss für cross-compiling vorbereitet werden.

benny@debianm1:~/linux$ make ARCH=arm -j4 zImage modules dtbs vs. benny@debianm1:~/linux$ make -j4 Image modules dtbs

Wir sehen nun eine Reihe von Fehlern die wir korrigieren müssen:

  CC [M]  drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.o
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c: In function ‘brcmf_set_key_mgmt’:
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:2192:3: error: duplicate case value
 2192 |   case WLAN_AKM_SUITE_FT_OVER_SAE:
      |   ^~~~
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:2184:3: note: previously used here
 2184 |   case WLAN_AKM_SUITE_FT_OVER_SAE:
      |   ^~~~
In file included from ./include/linux/kernel.h:16,
                 from drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:8:
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c: In function ‘brcmf_cfg80211_set_power_mgmt’:
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:3408:25: error: ‘BRCMF_PS_MAX_TIMEOUT_MS’ undeclared (first use in this function)
 3408 |     min_t(u32, timeout, BRCMF_PS_MAX_TIMEOUT_MS));
      |                         ^~~~~~~~~~~~~~~~~~~~~~~
./include/linux/minmax.h:20:39: note: in definition of macro ‘__typecheck’
   20 |  (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1)))
      |                                       ^
./include/linux/minmax.h:36:24: note: in expansion of macro ‘__safe_cmp’
   36 |  __builtin_choose_expr(__safe_cmp(x, y), \
      |                        ^~~~~~~~~~
./include/linux/minmax.h:104:27: note: in expansion of macro ‘__careful_cmp’
  104 | #define min_t(type, x, y) __careful_cmp((type)(x), (type)(y), <)
      |                           ^~~~~~~~~~~~~
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:3408:5: note: in expansion of macro ‘min_t’
 3408 |     min_t(u32, timeout, BRCMF_PS_MAX_TIMEOUT_MS));
      |     ^~~~~
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:3408:25: note: each undeclared identifier is reported only once for each function it appears in
 3408 |     min_t(u32, timeout, BRCMF_PS_MAX_TIMEOUT_MS));
      |                         ^~~~~~~~~~~~~~~~~~~~~~~
./include/linux/minmax.h:20:39: note: in definition of macro ‘__typecheck’
   20 |  (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1)))
      |                                       ^
./include/linux/minmax.h:36:24: note: in expansion of macro ‘__safe_cmp’
   36 |  __builtin_choose_expr(__safe_cmp(x, y), \
      |                        ^~~~~~~~~~
./include/linux/minmax.h:104:27: note: in expansion of macro ‘__careful_cmp’
  104 | #define min_t(type, x, y) __careful_cmp((type)(x), (type)(y), <)
      |                           ^~~~~~~~~~~~~
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:3408:5: note: in expansion of macro ‘min_t’
 3408 |     min_t(u32, timeout, BRCMF_PS_MAX_TIMEOUT_MS));
      |     ^~~~~
./include/linux/minmax.h:36:2: error: first argument to ‘__builtin_choose_expr’ not a constant
   36 |  __builtin_choose_expr(__safe_cmp(x, y), \
      |  ^~~~~~~~~~~~~~~~~~~~~
./include/linux/minmax.h:104:27: note: in expansion of macro ‘__careful_cmp’
  104 | #define min_t(type, x, y) __careful_cmp((type)(x), (type)(y), <)
      |                           ^~~~~~~~~~~~~
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:3408:5: note: in expansion of macro ‘min_t’
 3408 |     min_t(u32, timeout, BRCMF_PS_MAX_TIMEOUT_MS));
      |     ^~~~~
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c: In function ‘brcmf_setup_wiphy’:
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:8176:6: error: ‘NL80211_EXT_FEATURE_ROAM_OFFLOAD’ undeclared (first use in this function); did you mean ‘NL80211_EXT_FEATURE_VLAN_OFFLOAD’?
 8176 |      NL80211_EXT_FEATURE_ROAM_OFFLOAD);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |      NL80211_EXT_FEATURE_VLAN_OFFLOAD
At top level:
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:7160:1: warning: ‘brcmf_notify_mgmt_tx_status’ defined but not used [-Wunused-function]
 7160 | brcmf_notify_mgmt_tx_status(struct brcmf_if *ifp,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:7107:1: warning: ‘brcmf_notify_auth_frame_rx’ defined but not used [-Wunused-function]
 7107 | brcmf_notify_auth_frame_rx(struct brcmf_if *ifp,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:7072:1: warning: ‘brcmf_notify_ext_auth_request’ defined but not used [-Wunused-function]
 7072 | brcmf_notify_ext_auth_request(struct brcmf_if *ifp,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[6]: *** [scripts/Makefile.build:288: drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.o] Error 1
make[5]: *** [scripts/Makefile.build:551: drivers/net/wireless/broadcom/brcm80211/brcmfmac] Error 2
make[4]: *** [scripts/Makefile.build:551: drivers/net/wireless/broadcom/brcm80211] Error 2
make[3]: *** [scripts/Makefile.build:551: drivers/net/wireless/broadcom] Error 2
make[2]: *** [scripts/Makefile.build:551: drivers/net/wireless] Error 2
make[1]: *** [scripts/Makefile.build:551: drivers/net] Error 2
make: *** [Makefile:1868: drivers] Error 2
make: *** Waiting for unfinished jobs....
benny@debianm1:~/linux$ vi drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
screenshot

OK, also hier stellt sich heraus dass die Patchsammlung ganz katastrophal ist .. haha

sudo apt install crossbuild-essential-armhf

KERNEL=kernel7l
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- bcm2711_defconfig

make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j4 zImage modules dtbs
benny@debianm1:~/linux$ KERNEL=kernel7l
benny@debianm1:~/linux$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- bcm2711_defconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/confdata.o
  HOSTCC  scripts/kconfig/expr.o
  LEX     scripts/kconfig/lexer.lex.c
  YACC    scripts/kconfig/parser.tab.[ch]
  HOSTCC  scripts/kconfig/lexer.lex.o
  HOSTCC  scripts/kconfig/parser.tab.o
  HOSTCC  scripts/kconfig/preprocess.o
  HOSTCC  scripts/kconfig/symbol.o
  HOSTCC  scripts/kconfig/util.o
  HOSTLD  scripts/kconfig/conf
drivers/net/wireless/broadcom/brcm80211/Kconfig:47: syntax error
drivers/net/wireless/broadcom/brcm80211/Kconfig:46: unknown statement "---help---"
drivers/net/wireless/broadcom/brcm80211/Kconfig:47:warning: ignoring unsupported character ','
drivers/net/wireless/broadcom/brcm80211/Kconfig:47: unknown statement "If"
drivers/net/wireless/broadcom/brcm80211/Kconfig:48:warning: ignoring unsupported character '.'
drivers/net/wireless/broadcom/brcm80211/Kconfig:48: unknown statement "window"
drivers/net/wireless/broadcom/brcm80211/Kconfig:49: unknown statement "BAR"
drivers/net/wireless/broadcom/brcm80211/Kconfig:50:warning: ignoring unsupported character '.'
drivers/net/wireless/broadcom/brcm80211/Kconfig:50: unknown statement "BAR"
make[1]: *** [scripts/kconfig/Makefile:88: bcm2711_defconfig] Error 1
make: *** [Makefile:603: bcm2711_defconfig] Error 2
benny@debianm1:~/linux$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- bcm2711_defconfig
#
# configuration written to .config
#
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j4 zImage modules dtbs
  CC [M]  net/netfilter/nf_dup_netdev.o
In file included from drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.h:11,
                 from drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c:34:
drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.h:48:18: error: ‘BRCM_43439_FIRMWARE_BASENAME’ undeclared here (not in a function); did you mean ‘BRCM_4339_FIRMWARE_BASENAME’?
   48 |  { chipid, mask, BRCM_ ## name ## _FIRMWARE_BASENAME }
      |                  ^~~~~
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c:661:2: note: in expansion of macro ‘BRCMF_FW_ENTRY’
  661 |  BRCMF_FW_ENTRY(BRCM_CC_43430_CHIP_ID, 0xFFFFFFE0, 43439),
      |  ^~~~~~~~~~~~~~
drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.h:48:18: error: ‘BRCM_89459_FIRMWARE_BASENAME’ undeclared here (not in a function); did you mean ‘BRCM_4359_FIRMWARE_BASENAME’?
   48 |  { chipid, mask, BRCM_ ## name ## _FIRMWARE_BASENAME }
      |                  ^~~~~
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c:670:2: note: in expansion of macro ‘BRCMF_FW_ENTRY’
  670 |  BRCMF_FW_ENTRY(CY_CC_89459_CHIP_ID, 0xFFFFFFFF, 89459)
      |  ^~~~~~~~~~~~~~
  CC      lib/kobject.o
  CC [M]  fs/btrfs/tree-log.o
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c: In function ‘brcmf_sdio_ulp_preinit’:
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c:2675:2: error: implicit declaration of function ‘brcmf_fil_iovar_data_get’; did you mean ‘brcmf_iovar_data_set’? [-Werror=implicit-function-declaration]
 2675 |  brcmf_fil_iovar_data_get(ifp, "ulp_sdioctrl",
      |  ^~~~~~~~~~~~~~~~~~~~~~~~
      |  brcmf_iovar_data_set
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c: In function ‘brcmf_sdio_ulp_pre_redownload_check’:
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c:2794:24: error: ‘ULP_HUDI_PROC_DONE_TIME’ undeclared (first use in this function)
 2794 |    timeout = jiffies + ULP_HUDI_PROC_DONE_TIME;
      |                        ^~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c:2794:24: note: each undeclared identifier is reported only once for each function it appears in
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c:2794:12: warning: assignment to ‘long unsigned int’ from ‘const struct brcmf_firmware_mapping *’ makes integer from pointer without a cast [-Wint-conversion]
 2794 |    timeout = jiffies + ULP_HUDI_PROC_DONE_TIME;
      |            ^
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c: In function ‘brcmf_sdio_bus_watchdog’:
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c:4007:6: error: implicit declaration of function ‘brcmf_btsdio_bus_count’; did you mean ‘brcmf_sdio_bus_preinit’? [-Werror=implicit-function-declaration]
 4007 |      brcmf_btsdio_bus_count(bus->sdiodev->bus_if) == 0) {
      |      ^~~~~~~~~~~~~~~~~~~~~~
      |      brcmf_sdio_bus_preinit
cc1: some warnings being treated as errors
mkdir /tmp/modules

benny@debianm1:~/linux$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- INSTALL_MOD_PATH=/tmp/modules modules_install

cd /tmp/modules
tar czf newmodules.tar.gz lib/
scp newmodules.tar.gz pi@192.168.11.164:
stellar-wireless-wpa3-sae-raspberry-pi-2022-deutsch.txt · Zuletzt geändert: 2022/06/14 19:24 von benny