Slackware - ARMThis forum is for the discussion of Slackware ARM.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
The "error -2" is a file-not-found error, it can't find brcmfmac43455-sdio.txt.
The kernel-firmware package has a brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt file. I symlinked brcm43455-sdio.txt to this and it appears to work. I don't know if there's a better or more-approved way to load this file.
Code:
[ 4.561507] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 4.832063] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 4.843507] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
[ 4.855635] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Mar 1 2015 07:29:38 version 7.45.18 (r538002) FWID 01-6a2c8ad4
The version in kernel-firmware is really old (Mar 1 2015, licensing issues preventing it from being updated) and doesn't provide the .clm_blob file, but loading it like this might work in a pinch.
work-around for the missing RPi3 & 4 wireless firmware
Quote:
Originally Posted by elyk
The "error -2" is a file-not-found error, it can't find brcmfmac43455-sdio.txt.
The kernel-firmware package has a brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt file. I symlinked brcm43455-sdio.txt to this and it appears to work. I don't know if there's a better or more-approved way to load this file.
The version in kernel-firmware is really old (Mar 1 2015, licensing issues preventing it from being updated) and doesn't provide the .clm_blob file, but loading it like this might work in a pinch.
In order to address this issue...
SARPi now includes the new brcmfmac43430 and brcmfmac43455 wireless device firmware via the 'sarpi-hacks' packages for the Raspberry Pi 3 and 4. This package can be upgraded over any existing package but be aware it may change some of your config settings. Please see the sarpi-hacks.README (included) file before installing it: http://sarpi.fatdog.eu/files/extra/sarpi-hacks.README
The installation of the new firmware in this package relies on the old firmware being present. If you find that you're still missing the new firmware after installing the sarpi-hacks packages, run the following command and remove/install it again:
Until MoZes decides to include the new [RPi] Broadcom 43430 and 43455 wireless device firmware in Slackware ARM [and there's no valid reason(s) why he should], the above is how you can install it easily. This only applies to sarpi-hacks packages for the Raspberry Pi 3 and 4.
I have a Raspberry Pi 4 Model B Rev 1.1 board with fresh install of Slackware ARM -current.
I upgraded the kernel using raspi-update to version 4.19.60-v7l+
Currently I have no Bluetooth and WLAN interfaces after boot, even though I installed sarpi4-hacks.
I have a Raspberry Pi 4 Model B Rev 1.1 board with fresh install of Slackware ARM -current.
I upgraded the kernel using raspi-update to version 4.19.60-v7l+
Currently I have no Bluetooth and WLAN interfaces after boot, even though I installed sarpi4-hacks.
If I unload and reload the appropriate kernel module, I get:
What step may I have missed?
Thanks!
I will look into this. It might not be soon [today] though. I'm very busy right now but as time permits I'll get back to you.
[EDIT]
I still haven't had time to look into this. My guess is; it's either going to be missing firmware or drivers that's causing the problem. Of which, you can 'borrow' from Raspbian if you're struggling to find them.
Last edited by Exaga; 07-30-2019 at 02:43 AM.
Reason: edit
I still haven't had time to look into this. My guess is; it's either going to be missing firmware or drivers that's causing the problem. Of which, you can 'borrow' from Raspbian if you're struggling to find them.
After copying over the broadcom firmware files distributed with the Raspbian image, the wlan0 interface is now up:
Code:
root@sarpi4:~# dmesg | fgrep brcmfmac
[ 3.472180] brcmfmac: F1 signature read @0x18000000=0x15264345
[ 3.481324] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 3.486497] usbcore: registered new interface driver brcmfmac
[ 3.763330] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 3.783832] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Feb 27 2018 03:15:32 version 7.45.154 (r684107 CY) FWID 01-4fbe0b04
root@sarpi4:~# 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
eth0 no wireless extensions.
lo no wireless extensions.
root@sarpi4:~#
The Bluetooth hci0 interface is still absent however both on my PI3B+ and on my PI4.
After copying over the broadcom firmware files distributed with the Raspbian image, the wlan0 interface is now up:
Code:
root@sarpi4:~# dmesg | fgrep brcmfmac
[ 3.472180] brcmfmac: F1 signature read @0x18000000=0x15264345
[ 3.481324] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 3.486497] usbcore: registered new interface driver brcmfmac
[ 3.763330] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 3.783832] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Feb 27 2018 03:15:32 version 7.45.154 (r684107 CY) FWID 01-4fbe0b04
root@sarpi4:~# 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
eth0 no wireless extensions.
lo no wireless extensions.
root@sarpi4:~#
The Bluetooth hci0 interface is still absent however both on my PI3B+ and on my PI4.
I can't remember off the top of my head which BT drivers the RPi4 uses. However, you can just copy those over the same as you did with the wireless shizzle.
I can't remember off the top of my head which BT drivers the RPi4 uses. However, you can just copy those over the same as you did with the wireless shizzle.
Well, I copied over all the files and folders from underneath /lib/firmware from Raspbian to Sarpi, and did a reboot on both my PI 3B+ and PI 4, but no Bluetooth on either of them.
Regarding the WLAN firmware question I stand a bit puzzled. I see no additional files being added in relation to brcmfmac43455, but the adapter seems to work with the following content of /lib/firmware/brcm (the files copied from Raspbian -- you can compare it to the file list from my previous post):
The Bluetooth hci0 interface is still absent however both on my PI3B+ and on my PI4.
I'm sure it's the BCM43<-something->.hcd and/or the bcm43xx*.fw files for the bluetooth.
OK. I finally had some time to look into this. After doing some quick testing, it appears that the Broadcom BCM43438/BCM43455 wireless firmware shipped with SARPi images and packages definitely isn't working. Installing the same firmware from the latest Raspbian Buster image seems to work perfectly.
The latest SARPi Slackware ARM installer images and packages [04 Aug 2019] for the Raspberry Pi 3 and 4 now includes the above firmware which has been tested and verified to be working as expected.
My wifi isn't working on the Sarpi64 latest release. I've tried everything listed. Copying from the Raspberry release. Copying brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt to brcmfmac43455-sdio.txt. Wifi still won't show.
My wifi isn't working on the Sarpi64 latest release. I've tried everything listed. Copying from the Raspberry release. Copying brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt to brcmfmac43455-sdio.txt. Wifi still won't show.
SARPi64 is highly experimental and should only be installed on that basis and understanding; and for that porpoise. I shared this work mainly for those who have time to waste on getting things working - and in the hope that it might be facilitating towards a Slackware ARM64 port. For SARPi64, wireless is the least of my concerns and if it isn't already last on the "Todo" list - it is now.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.