라즈베리파이3B+ 로 옮기고 무선랜 안될때


[Log in to get rid of this advertisement]
I installed my Raspberry Pi 3 B+ using the sarpi3-installer_slack14.2_30Mar18_sp1.img.xz image. I did a ftp network installation using ftp.slackware.org.uk. It boots up just fine and the ethernet port works. As I've said in another thread, I plan to use this Pi as a replacement for my wireless router.

I could use the rpi-update script, but would prefer not to. I prefer to run the 14.2 image instead of -current. It looks like the onboard wireless NIC is not recognized and no kernel module is loaded.
Code:
# iwconfig && lsusb && lsusb -t
lo        no wireless extensions.

eth1      no wireless extensions.

Bus 001 Device 007: ID 046d:c227 Logitech, Inc. G15 Refresh Keyboard
Bus 001 Device 005: ID 046d:c226 Logitech, Inc. G15 Refresh Keyboard
Bus 001 Device 004: ID 046d:c223 Logitech, Inc. G11/G15 Keyboard / USB Hub
Bus 001 Device 006: ID 0424:7800 Standard Microsystems Corp. 
Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 1: Dev 3, If 0, Class=Hub, Driver=hub/3p, 480M
            |__ Port 1: Dev 6, If 0, Class=Vendor Specific Class, Driver=lan78xx, 480M
        |__ Port 2: Dev 4, If 0, Class=Hub, Driver=hub/4p, 12M
            |__ Port 1: Dev 5, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
            |__ Port 1: Dev 5, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
            |__ Port 4: Dev 7, If 0, Class=Human Interface Device, Driver=usbhid, 12M
# ifconfig wlan0 up
wlan0: ERROR while getting interface flags: No such device
# ifconfig wlan1 up                     
wlan1: ERROR while getting interface flags: No such device
I have the following kernel packages installed:
Code:
# ls /var/log/packages/| grep kernel
kernel-firmware-20160628git-noarch-1
kernel-headers-4.4.14-arm-1
kernel-modules-armv5-4.4.14_armv5-arm-2
kernel-modules-sarpi3-4.14.31-armv7-1_slack14.2_30Mar18_sp1
kernel-source-4.4.14-arm-2
kernel_armv5-4.4.14-arm-2
kernel_sarpi3-4.14.31-armv7-1_slack14.2_30Mar18_sp1
I updated the kernel firmware to kernel-firmware-20180330_a3be6d4-noarch-1_slack14.2.

I have the following dmesg output:
Code:
# dmesg | grep brcmfmac
[    3.983580] brcmfmac: F1 signature read @0x18000000=0x15264345
[    3.990694] brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac43455-sdio.bin for chip 0x004345(17221) rev 0x000006
[    4.008543] usbcore: registered new interface driver brcmfmac
[    4.063628] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.txt failed with error -2
[    5.141476] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50
[    6.153155] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50


Download the Raspbian package.
Code:
$ mkdir -p ~/Downloads/rpi3_wifi_firmware
$ cd ~/Downloads/rpi3_wifi_firmware
$ wget https://archive.raspberrypi.org/debian/pool/main/f/firmware-nonfree/firmware-brcm80211_20161130-3+rpt3_all.deb
Extract the package, and extract data.tar.xz. data.tar.xz has the firmware in it.
Code:
$ ar x firmware-brcm80211_20161130-3+rpt3_all.deb
$ tar xvf data.tar.xz 
./
./lib/
./lib/firmware/
./lib/firmware/brcm/
..snip..
./lib/firmware/brcm/brcmfmac43455-sdio.bin
./lib/firmware/brcm/brcmfmac43455-sdio.clm_blob
./lib/firmware/brcm/brcmfmac43455-sdio.txt
..snip..
Copied the firmware to my Pi.
Code:
$ cd lib/firmware/brcm/
$ scp brcmfmac43455-sdio.txt pi@rpi3s:~/
$ scp brcmfmac43455-sdio.bin  pi@rpi3s:~/
$ scp brcmfmac43455-sdio.clm_blob rpi3s:~/
On the Pi 3 B+ I then copied the files to where they belong and loaded the driver.
Code:
# cd /lib/firmware/brcm
# cp /home/pi/brcmfmac43455-sdio.txt .
# cp /home/pi/brcmfmac43455-sdio.bin .
# cp /home/pi/brcmfmac43455-sdio.clm_blob .
Code:
# rmmod brcmfmac
# # modprobe -vvv brcmfmac
modprobe: INFO: custom logging function 0x1905c registered
insmod /lib/modules/4.14.31-v7-arm/kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/brcmfmac.ko 
modprobe: INFO: context 0x254178 released
Now I have wifi. 
Code:
# iwconfig
wlan0     IEEE 802.11  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:on

댓글