iulius_felix
Posts: 2
Joined: Mon Jun 06, 2016 3:13 am
Location: Shanghai, China

[Solved] WiFi on Pi3 killed after upgrade to Stretch

Mon Jun 06, 2016 4:08 am

I've got the Respbian Lite on my Pi3 updated to Stretch last night (add the stretch source then do the apt full-upgrade), but found I've lost my WLAN interface afterwards.

After run the rpi-update, now my Pi3 is on 4.4.12-v7+ #892, but the WLAN interface still missing and there are some brcmfmac related kernel massage:

Code: Select all

[    4.931879] brcmfmac: brcmf_sdio_drivestrengthinit: No SDIO Drive strength init done for chip 43430 rev 1 pmurev 24
[    4.932451] usbcore: registered new interface driver brcmfmac
[    4.957749] brcmfmac_sdio mmc1:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.txt failed with error -2
I thought that could be firmware problem, but install the firmware files from https://github.com/RPi-Distro/firmware-nonfree/tree/master/brcm80211/brcm to /lib/firmware/brcm does not fixed the problem.

Then I found in README of DT overlay, it says:
Name: sdhost
Info: Selects the bcm2835-sdhost SD/MMC driver, optionally with overclock.
N.B. This overlay is designed for situations where the mmc driver is
the default, so it disables the other (mmc) interface - this will kill
WiFi on a Pi3. If this isn't what you want, either use the sdtweak
overlay or the new sd_* dtparams of the base DTBs.
Load: dtoverlay=sdhost,<param>=<val>
but seems neither putting dtoverlay=sdtweak in config.txt nor using dtoverlay sdtweak command works for the issue.

Any suggestion will be appreciated, thanks in advance!
Last edited by iulius_felix on Mon Jun 06, 2016 9:23 am, edited 1 time in total.

User avatar
DougieLawson
Posts: 35784
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: WiFi on Pi3 killed after upgrade to Stretch

Mon Jun 06, 2016 7:48 am

Build a fresh SDCard with a copy of NOOBS 1.9.2 or Raspbian 2016-05-27.

With a USB SDCard reader you can then pull your valuable data and programs from the old SDCard.
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

iulius_felix
Posts: 2
Joined: Mon Jun 06, 2016 3:13 am
Location: Shanghai, China

Re: WiFi on Pi3 killed after upgrade to Stretch

Mon Jun 06, 2016 9:21 am

Hi,

Thanks for the reply, but I managed to solve the problem by coping two firmware from Ubuntu, they are:

Firmware version = wl0: Dec 15 2015 18:10:45 version 7.45.41.23 (r606571) FWID 01-cc4eda9c

4a410ab9a1eefe82e158d36df02b3589 brcmfmac43430-sdio.bin
8c3cb6d8f0609b43f09d083b4006ec5a brcmfmac43430-sdio.txt


After that I found out that the firmware I downloaded from Github was corrupted.

wdmjun
Posts: 1
Joined: Thu Sep 08, 2016 10:02 pm

Re: [Solved] WiFi on Pi3 killed after upgrade to Stretch

Thu Sep 08, 2016 10:06 pm

Same problem here. Upgraded raspbian jessie to raspbian stretch on pi3 and lost wifi (due to the upgrading of firmware-brcm80211 package). Just copied the contents of /lib/firmware/brcm from raspbian jessie (from another pi) and rebooted. Now wifi works on pi3 with raspbian stretch.

User avatar
elkberry
Posts: 167
Joined: Wed Dec 28, 2016 9:21 pm

Re: [Solved] WiFi on Pi3 killed after upgrade to Stretch

Sun Jan 22, 2017 6:11 pm

This issue is still present: I needed to upgrade to Stretch and lost wlan0 on its way. This post saved my day: I copied the firmware blobs from one of my backup USB thumbdrives, rebooted, and wlan0 worked again.
From ZX81 to Raspberry Pi, but wait ... where's the 7805 gone?

schallee
Posts: 1
Joined: Sat Mar 25, 2017 7:15 pm

Re: [Solved] WiFi on Pi3 killed after upgrade to Stretch

Sat Mar 25, 2017 7:45 pm

Make sure the firmware-brcm80211 package is installed. Though still on jessie, somehow the firmware files disappeared and this package was not installed. Oddly they must have been there before because it worked for a long time until a update and reboot. Installing it fixed the issue.

elmicha
Posts: 27
Joined: Tue Jul 03, 2012 4:43 pm

Re: [Solved] WiFi on Pi3 killed after upgrade to Stretch

Fri Jan 12, 2018 9:40 pm

Thank you, schallee!

I did have the latest version of firmware-brcm80211 installed, but wlan0 still didn't show up.

Code: Select all

sudo apt remove firmware-brcm80211
sudo apt install firmware-brcm80211
and it worked.

iamhssingh
Posts: 2
Joined: Sat Dec 09, 2017 12:28 pm

Re: [Solved] WiFi on Pi3 killed after upgrade to Stretch

Sat Jan 26, 2019 11:17 am

Can you post a link to those files? I am facing the same problem and have been searching for a solution but last 48 hours resulted in no success. I do have a WiFi USB that works like a charm, but really need the internal one to work.

Thanks.

elmicha
Posts: 27
Joined: Tue Jul 03, 2012 4:43 pm

Re: [Solved] WiFi on Pi3 killed after upgrade to Stretch

Sun Jan 27, 2019 5:23 pm

http://raspbian.raspberrypi.org/raspbia ... u1_all.deb

But if your Pi has an internet connection you don't need to download the file manually, just use apt.

Return to “Troubleshooting”