[firmware-raspberrypi] Rpi 400 wifi drivers are missing

Problems with packages? Post here, using [tags] of the package name.

[firmware-raspberrypi] Rpi 400 wifi drivers are missing

Postby klatry » Thu Nov 12, 2020 8:56 pm

After I installed Arch linux on my Rpi400 (specifically the armv7 one for Rpi4), wifi didn't work. In dmesg I discovered that it tried to load the file "/lib/firmware/brcm/brcmfmac43456-sdio.bin" and some other files with 43456 in them but it failed. However It wasn't difficult to fix I only had to extract the firmware files from the official Raspberry Pi OS iso and copy the files where it wanted and it worked like a charm.

So in essence this post is just a request to add a couple of files to the firmware-raspberrypi package to better support the recently released Rpi 400.
klatry
 
Posts: 1
Joined: Thu Nov 12, 2020 4:57 pm

Pi 400 no Wifi card detected

Postby pcfreak » Thu Dec 03, 2020 12:04 pm

Hi,

yesterday I received my Raspberry Pi 400 and first tried it with the included distribution. - worked fine, including Wifi.

After that I booted my "default" archlinux|arm version. It does not see the WiFi card at all.
I think based on this https://forum.manjaro.org/t/new-raspberry-pi-400/35555 at the manjaro forum that a special/new $this->bbcode_second_pass_quote('', 'b')cm2711-rpi-400.dtb
is needed and maybe some other changes.

Can anyone reproduce that or is there an easy way to just maybe copy some files from the original SD-card delivered with the Pi 400 to my archlinux|arm installation?

My Wifi setup in archlinux|arm is very basic and it worked for the Pi4.

$this->bbcode_second_pass_code('', '
################################################
# /etc/systemd/network/wlan0.network
################################################
[Match]
Name=wlan0
[Network]
DHCP=ipv4
################################################

################################################
#/etc/wpa_supplicant/wpa_supplicant-wlan0.conf
################################################
ctrl_interface=/run/wpa_supplicant
ctrl_interface_group=wheel
update_config=1
ap_scan=1
country=DE
network={
ssid="regensburg.freifunk.net"
key_mgmt=NONE
}
################################################

root@dsclient# ln -sf /usr/lib/systemd/system/wpa_supplicant@.service "./root/etc/systemd/system/multi-user.target.wants/wpa_supplicant@wlan0.service"
')

I used an existing installation from my Pi4 and attached it to the Pi400 booting from SSD via USB 2.0.

Thanks in advance for looking into this

PCFreak
pcfreak
 
Posts: 5
Joined: Fri Jun 05, 2020 6:40 am

Re: [firmware-raspberrypi] Rpi 400 wifi drivers are missing

Postby kohpai » Sat Dec 19, 2020 10:14 pm

Just want to let you know that this has been very helpful to me thanks!
kohpai
 
Posts: 2
Joined: Sat Dec 19, 2020 10:13 pm

Re: Pi 400 no Wifi card detected

Postby kohpai » Sat Dec 19, 2020 10:51 pm

Check this thread out: viewtopic.php?f=15&t=14868&p=65350#p65350

I have tried it, and it works perfectly. So basically:

1. Download Raspberry Pi OS, lite version from https://www.raspberrypi.org/software/operating-systems/
2. Mount the image to the loop device
3. Copy all the /lib/firmware/brcm/brcmfmac43456-sdio.* to the same directory in your pi
kohpai
 
Posts: 2
Joined: Sat Dec 19, 2020 10:13 pm

Re: [firmware-raspberrypi] Rpi 400 wifi drivers are missing

Postby graysky » Sun Dec 20, 2020 12:16 am

MOD NOTE: merged topics.

We will look at updating the official corresponding package firmware package, thank you for reporting.
graysky
Developer
 
Posts: 1728
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Raspberry Pi 400 no wifi

Postby elgs » Tue Dec 22, 2020 8:16 am

https://raspberrypi.stackexchange.com/q ... -linux-arm

I was able to get wifi to work following the link above to get RPi 4 8GB. Today I got a new RPI 400, which is inside a keyboard, however, following the same link I was not able to get wifi to work. I found in RPi 4, there is an interface called wlan0, but in RPi 400, there is no wlan0, but it has only eth0.
elgs
 
Posts: 10
Joined: Mon Dec 07, 2020 11:25 am

Re: [firmware-raspberrypi] Rpi 400 wifi drivers are missing

Postby graysky » Wed Dec 23, 2020 2:09 pm

I took a stab at updating the firmware-raspberrypi package to include the missing files for RPi400. I do not have this hardware. Would someone please verify this works? Note that if you manually copied files over, pacman will complain about conflicts since I am attempting to provide the same in the package.

Here is a pre-build package: http://repo-ck.com/testing/
If you would rather, build you own: https://github.com/graysky2/PKGBUILDs/t ... aspberrypi
graysky
Developer
 
Posts: 1728
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: [firmware-raspberrypi] Rpi 400 wifi drivers are missing

Postby elgs » Thu Dec 24, 2020 6:39 am

I confirm @kohpai's way works.

Copy the 3 files at /lib/firmware/brcm/brcmfmac43456-sdio.*, and boom, you got wlan0.
elgs
 
Posts: 10
Joined: Mon Dec 07, 2020 11:25 am

Re: [firmware-raspberrypi] Rpi 400 wifi drivers are missing

Postby graysky » Thu Dec 24, 2020 10:45 am

$this->bbcode_second_pass_quote('elgs', 'I') confirm @kohpai's way works.

Copy the 3 files at /lib/firmware/brcm/brcmfmac43456-sdio.*, and boom, you got wlan0.


That essentially what I did in the formal package. Please try it and report back. As I said, I do not have this physical hardware and I want to make sure it works before I push the change to all users.
graysky
Developer
 
Posts: 1728
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: [firmware-raspberrypi] Rpi 400 wifi drivers are missing

Postby msa » Fri Dec 25, 2020 3:08 pm

Hi Graysky, happy Christmas!

Bluetooth stopped working on my rpi4 and rpi3 when I installed 20201224-1. Reverting to firmware-raspberrypi-6-1 made it come back.

You may have to pick and choose the FW versions.

Marc
msa
 
Posts: 5
Joined: Fri Dec 25, 2020 3:00 pm

Next

Return to Packages

Who is online

Users browsing this forum: No registered users and 10 guests