The officially official Devuan Forum!

You are not logged in.

#1 2018-07-14 13:40:14

krayon
Member
From: Melbourne
Registered: 2017-06-16
Posts: 1  
Website

[SOLVED] Raspberry Pi Zero Wifi using ascii (2.0)

After dd'ing the image for the Raspberry Pi Zero onto an uSD card and booting,
I discovered that the Wifi driver didn't work, dmesg showing:

brcmfmac: F1 signature read @0x18000000=0x1541a9a6
brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac43430-sdio.bin for chip 0x00a9a6(43430) rev 0x000001
usbcore: registered new interface driver brcmfmac
brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.txt failed with error -2
brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50
brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50

I finally tracked it down to the fact that the above mentioned
"brcm/brcmfmac43430-sdio.txt" is required, yet absent.

To have working Wifi do the following (at least it works for me anyway):

1.  Download both bin and txt files ( brcmfmac43430-sdio.bin,
    brcmfmac43430-sdio.txt ) from:

        https://github.com/RPi-Distro/firmware- … aster/brcm

    sha256sums:

996b7ef7cbdb8ea3855fa516acb57630ff03a449fd3bb23e84789f2f04b4faf5  brcmfmac43430-sdio.bin
e4ce7ad5ce72406f958ed758539b65d958d1c0eb3e46e3f8e9f02b510d88e0b0  brcmfmac43430-sdio.txt

2. Back up existing /lib/firmware/brcm/brcmfmac43430-sdio.bin

3. Place 2 downloaded files in /lib/firmware/brcm. Of course this can be done
on the SD card itself from another system by mounting the 2nd partition of the
uSD.

If I can track down where this issue originates, I'll file a bug (I'm guessing
Debian proper).

Offline

#2 2018-07-23 09:27:25

FM81
Member
Registered: 2017-09-16
Posts: 11  

Re: [SOLVED] Raspberry Pi Zero Wifi using ascii (2.0)

Hello all together!

I've downloaded the files, you've described (from the same link) today. The checksum of the bin-file still matches, but this one from the txt-file doesn't? (This makes me a little bit wondering, as they are dated from February 15th?) And of course, if they where copied to the described place, my pi-zero has no WLAN-interface? Some questions remain:

- Can someone provide a working version of the txt-file?
- Is it possible, that something else was going wrong?

The image I've used was devuan_ascii_2.0.0_armel_raspi1.img.xz from the download-zone-site.

Greetings, FM_81

Offline

#3 2018-11-06 10:38:29

guidol
Member
From: Mudanya - Turkey
Registered: 2018-11-06
Posts: 3  

Re: [SOLVED] Raspberry Pi Zero Wifi using ascii (2.0)

I downloaded the files and did install them.

I only get wlan0 up and set a static IP-Adress,  BUT cant ping/connect to my network like on eth0 sad

root@pi-zero-devuan(192.168.6.125):/# ls -l /lib/firmware/brcm
total 748
-rw-r--r-- 1 root root 388739 Nov  5 20:13 brcmfmac43430-sdio.bin
-rw-r--r-- 1 root root 369577 Nov  5 20:07 brcmfmac43430-sdio.bin_org
-rw-r--r-- 1 root root   1121 Nov  5 20:13 brcmfmac43430-sdio.txt

dmesg:
[    5.763618] brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac43430-sdio.bin for chip 0x00a9a6(43430) rev 0x000001

[EDIT / SOLVED]

The brcmfmac43430-sdio.* files are from the actual raspbian lite (/lib/firmware/brcm) or the link above:
https://github.com/RPi-Distro/firmware- … aster/brcm

How to get the files the easy way (in the comsole of the devuan-pi):

brcmfmac43430-sdio.bin	Update brcmfmac43430-sdio.bin                         8 months ago
brcmfmac43430-sdio.txt	Improved brcmfmac BT coexistence parameters	3 months ago

cd /lib/firmware/brcm

# backup of the old files (if there)
mv /lib/firmware/brcm/brcmfmac43430-sdio.txt /lib/firmware/brcm/brcmfmac43430-sdio.txt_org
mv /lib/firmware/brcm/brcmfmac43430-sdio.bin /lib/firmware/brcm/brcmfmac43430-sdio.bin_org

# get the new files
wget https://raw.githubusercontent.com/RPi-Distro/firmware-nonfree/master/brcm/brcmfmac43430-sdio.txt
wget https://github.com/RPi-Distro/firmware-nonfree/raw/master/brcm/brcmfmac43455-sdio.bin

I had in the past used the wpa-command directly in /etc/network/interfaces, but that didnt seem to work nowadays.

I had to switch to use a /etc/wpa_supplicant/wpa_supplicant.conf (see https://wiki.debian.org/WiFi/HowToUse)

I did create the file with:

su -c "wpa_passphrase myssid my_very_secret_passphrase > /etc/wpa_supplicant/wpa_supplicant.conf"

and did configure my wlan0 in /etc/network/interfaces with

auto wlan0
iface wlan0 inet dhcp
    wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

or for a static IP (in my network):

# wlan0
auto wlan0
iface wlan0 inet static
address 192.168.6.125
netmask 255.255.255.0
gateway 192.168.6.1
# here are my own 2 Pi-Hole DNS servers
dns-nameservers 192.168.6.20 192.168.6.3
# Google DNS
# dns-nameservers 8.8.8.8 8.8.4.4
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

Last edited by guidol (2018-11-06 16:18:47)

Offline

#4 2018-11-08 18:39:14

kuleszdl
Member
Registered: 2018-11-03
Posts: 10  

Re: [SOLVED] Raspberry Pi Zero Wifi using ascii (2.0)

Are you aware of the `firmware-b43-installer` which is supposed to handle this automatically? Or is this a different chip? See also:

- https://pkginfo.devuan.org/stage/ascii/ … 019-3.html
- https://wiki.debian.org/bcm43xx#b43_and_b43legacy

However, I think the installer requires a net connection to download the blobs.

Offline

Board footer