what about PI 4

Talk about the project itself, the community, where we are and what we need. Great place to introduce yourself and make friends as well.

Re: what about PI 4

Postby andischi » Tue Jul 16, 2019 8:58 am

The wifi failure is arch-specific. On rasbian wifi is functionally out of the box.

With new kernel 4.19.58-1 and firmware raspberrypi-firmware 20190715-1 wifi doesn't work even with my workaround. No wifi adapter is found anyway.

To reaload the driver takes no effect. Here is my dmesg dump:

after $this->bbcode_second_pass_code('', 'modprobe -r brcmfmac'):
usbcore: deregistering interface driver brcmfmac

after $this->bbcode_second_pass_code('', 'modprobe brcmfmac'):
cfg80211: Loading compiled-in X.509 certificates for regulatory database
cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
cfg80211: failed to load regulatory.db
brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
usbcore: registered new interface driver brcmfmac
brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50

Downgrading only the kernel took no effect. There is something missing in or wrong with the firmware database ...
andischi
 
Posts: 7
Joined: Mon Jul 15, 2019 3:25 pm

Re: what about PI 4

Postby andischi » Tue Jul 16, 2019 12:34 pm

new situation:

I copied wifi-firmware files for brcmfmac43455* from https://github.com/RPi-Distro/firmware-nonfree/tree/master/brcm to /usr/lib/firmware/brcm/. After reboot wifi works with my workaround, to unload and reload driver, stable again.
andischi
 
Posts: 7
Joined: Mon Jul 15, 2019 3:25 pm

Re: what about PI 4

Postby graysky » Tue Jul 16, 2019 7:10 pm

$this->bbcode_second_pass_quote('andischi', 'n')ew situation:

I copied wifi-firmware files for brcmfmac43455* from https://github.com/RPi-Distro/firmware-nonfree/tree/master/brcm to /usr/lib/firmware/brcm/. After reboot wifi works with my workaround, to unload and reload driver, stable again.


I don't understand why the md5sum on brcmfmac43455-sdio.bin from that repo is different the one provided by linux-firmware.... also, we are not providing brcmfmac43455-sdio.clm_blob or brcmfmac43455-sdio.txt
The unload/reload workaround needs to be fixed long-term too. Did you try posting to the official RPi forums?
graysky
Developer
 
Posts: 1731
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: what about PI 4

Postby andischi » Tue Jul 16, 2019 9:20 pm

Didn't post it anywhere else yet. Seems to be only with arch. Got another PI 4 with raspbian, there wifi works fine right from the start.
andischi
 
Posts: 7
Joined: Mon Jul 15, 2019 3:25 pm

Re: what about PI 4

Postby graysky » Tue Jul 16, 2019 9:32 pm

$this->bbcode_second_pass_quote('andischi', 'D')idn't post it anywhere else yet. Seems to be only with arch. Got another PI 4 with raspbian, there wifi works fine right from the start.


Right, I'm saying ask for others to inspect the problem on Arch ARM as we help support the hardware. Perhaps there is something simple we can try. Since you are working on this WiFi issue, it makes sense for you to take the led. I am working on a Kodi package for Rpi4 now so have my hands full.
graysky
Developer
 
Posts: 1731
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: what about PI 4

Postby sebirdman » Wed Jul 17, 2019 4:49 am

There seems to be more to wifi than just unloading and reloading. I was able to make it work the first time as suggested, but after a reboot it wouldn't work again.

waiting a bit, rebooting again, and now unloading and reloading fixed it.

very odd.
sebirdman
 
Posts: 2
Joined: Wed Jul 17, 2019 4:46 am

Re: what about PI 4

Postby sebirdman » Wed Jul 17, 2019 5:25 am

sebirdman
 
Posts: 2
Joined: Wed Jul 17, 2019 4:46 am

Re: what about PI 4

Postby graysky » Wed Jul 17, 2019 4:39 pm

$this->bbcode_second_pass_quote('sebirdman', 'T')his: https://github.com/RPi-Distro/firmware-nonfree/pull/4

fixes my wifi at bootup.


@sebirdman - if that is true recommend you send a PR against firmware-raspberrypi.
Last edited by graysky on Wed Jul 17, 2019 6:57 pm, edited 1 time in total.
graysky
Developer
 
Posts: 1731
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000
Top

Re: what about PI 4

Postby graysky » Wed Jul 17, 2019 6:57 pm

I see Kevin just updated the package... update your system and reboot and try again?

$this->bbcode_second_pass_code('', '% pacman -Ql firmware-raspberrypi
firmware-raspberrypi /usr/
firmware-raspberrypi /usr/lib/
firmware-raspberrypi /usr/lib/firmware/
firmware-raspberrypi /usr/lib/firmware/updates/
firmware-raspberrypi /usr/lib/firmware/updates/brcm/
firmware-raspberrypi /usr/lib/firmware/updates/brcm/BCM43430A1.hcd
firmware-raspberrypi /usr/lib/firmware/updates/brcm/BCM4345C0.hcd
firmware-raspberrypi /usr/lib/firmware/updates/brcm/brcmfmac43430-sdio.bin
firmware-raspberrypi /usr/lib/firmware/updates/brcm/brcmfmac43430-sdio.txt
firmware-raspberrypi /usr/lib/firmware/updates/brcm/brcmfmac43455-sdio.bin
firmware-raspberrypi /usr/lib/firmware/updates/brcm/brcmfmac43455-sdio.clm_blob
firmware-raspberrypi /usr/lib/firmware/updates/brcm/brcmfmac43455-sdio.txt
firmware-raspberrypi /usr/share/
firmware-raspberrypi /usr/share/alsa/
firmware-raspberrypi /usr/share/alsa/cards/
firmware-raspberrypi /usr/share/alsa/cards/RPi-WM8804.conf
')
graysky
Developer
 
Posts: 1731
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: what about PI 4

Postby andischi » Thu Jul 18, 2019 9:39 am

Thank's, great work!!!

With new firmware from last night, wifi works right from (re)boot without any workaround.

... I posted it in official raspberrypi-forum, but without any any response ...

Thank's to Kevin!
andischi
 
Posts: 7
Joined: Mon Jul 15, 2019 3:25 pm

PreviousNext

Return to Community

Who is online

Users browsing this forum: No registered users and 20 guests