Zero 2 W support

Ask questions about Arch Linux ARM. Please search before making a new topic.

Re: Zero 2 W support

Postby jal » Wed Nov 03, 2021 10:11 pm

Hi. Can chroot & update, no worries. Which image would be best to flash? Ta.
jal
 
Posts: 13
Joined: Tue May 26, 2015 9:22 am

Re: Zero 2 W support

Postby alteriks » Wed Nov 03, 2021 11:13 pm

Hi, I've recently ordered new RPi Zero 2 W. I've managed to boot using 32bit image (ArchLinuxARM-rpi-2-latest) unfortunately wifi isn't working out of the box. Package firmware-raspberrypi-20211028-1 installs firmware 43436S for "Future Zero 2 W boards" as commit message says https://github.com/RPi-Distro/firmware-nonfree/commit/bda9207acee945633464e89614f3717b856579b5#diff-3a1cbc702fdef4c74499f883e4a5c74852ac4f31cd14955a714bb69b820bf81d

My RPi Zero 2 W needs older firmware - 43436 which was commited on Oct 16, 2020
https://github.com/RPi-Distro/firmware-nonfree/commit/e57095024e2c1d0c679f451a22c5c2871f371462#diff-3a1cbc702fdef4c74499f883e4a5c74852ac4f31cd14955a714bb69b820bf81d

I've put needed firmware and wifi now works.
$this->bbcode_second_pass_code('', '[root@alarmpi boot]# ls -l /usr/lib/firmware/updates/brcm/brcmfmac43436*
-rw-r--r-- 1 1024 100 413934 Oct 30 16:04 /usr/lib/firmware/updates/brcm/brcmfmac43436-sdio.bin
-rw-r--r-- 1 1024 100 11209 Oct 30 16:04 /usr/lib/firmware/updates/brcm/brcmfmac43436-sdio.clm_blob
-rw-r--r-- 1 1024 100 1613 Oct 30 16:05 /usr/lib/firmware/updates/brcm/brcmfmac43436-sdio.txt
-rw-r--r-- 1 root root 428103 Oct 28 18:26 /usr/lib/firmware/updates/brcm/brcmfmac43436s-sdio.bin
-rw-r--r-- 1 root root 1092 Oct 28 18:26 /usr/lib/firmware/updates/brcm/brcmfmac43436s-sdio.txt')

@graysky could you add brcmfmac43436 to firmware-raspberrypi package?
alteriks
 
Posts: 6
Joined: Wed Nov 03, 2021 10:54 pm

Re: Zero 2 W support

Postby graysky » Thu Nov 04, 2021 12:09 am

$this->bbcode_second_pass_quote('jal', 'H')i. Can chroot & update, no worries. Which image would be best to flash? Ta.


@jal - I never used a zero or zero 2. I read it's armv8 so try the rpi4 image?
graysky
Developer
 
Posts: 1876
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Zero 2 W support

Postby graysky » Thu Nov 04, 2021 8:39 am

$this->bbcode_second_pass_quote('alteriks', '@')graysky could you add brcmfmac43436 to firmware-raspberrypi package?


Can you please build the package from my zero2w branch and report back?
graysky
Developer
 
Posts: 1876
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Zero 2 W support

Postby alteriks » Thu Nov 04, 2021 9:27 am

$this->bbcode_second_pass_quote('graysky', '')$this->bbcode_second_pass_quote('alteriks', '@')graysky could you add brcmfmac43436 to firmware-raspberrypi package?


Can you please build the package from my zero2w branch and report back?


I've built and installed package from your branch
$this->bbcode_second_pass_code('', 'alarmpi% 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.txt
firmware-raspberrypi /usr/lib/firmware/updates/brcm/brcmfmac43436-sdio.bin
firmware-raspberrypi /usr/lib/firmware/updates/brcm/brcmfmac43436-sdio.clm_blob
firmware-raspberrypi /usr/lib/firmware/updates/brcm/brcmfmac43436-sdio.txt
firmware-raspberrypi /usr/lib/firmware/updates/brcm/brcmfmac43436s-sdio.bin
firmware-raspberrypi /usr/lib/firmware/updates/brcm/brcmfmac43436s-sdio.txt
firmware-raspberrypi /usr/lib/firmware/updates/brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt
firmware-raspberrypi /usr/lib/firmware/updates/brcm/brcmfmac43456-sdio.bin
firmware-raspberrypi /usr/lib/firmware/updates/brcm/brcmfmac43456-sdio.clm_blob
firmware-raspberrypi /usr/lib/firmware/updates/brcm/brcmfmac43456-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
alarmpi% pacman -Qi firmware-raspberrypi
Name : firmware-raspberrypi
Version : 20211104-1
Description : Additional firmware for Raspberry Pi
Architecture : any
URL : https://github.com/RPi-Distro/firmware-nonfree/commits/master/brcm
Licenses : custom
Groups : None
Provides : None
Depends On : None
Optional Deps : None
Required By : linux-raspberrypi
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 1417.99 KiB
Packager : Unknown Packager
Build Date : Thu Nov 4 09:01:38 2021
Install Date : Thu Nov 4 09:05:16 2021
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : None')

Now proper firmware is being loaded during boot
$this->bbcode_second_pass_code('', 'alarmpi% dmesg |rg brcm
[ 11.873586] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43436-sdio for chip BCM43430/2
[ 11.880237] usbcore: registered new interface driver brcmfmac
[ 12.005410] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43436-sdio for chip BCM43430/2
[ 12.005554] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43436-sdio for chip BCM43430/2
[ 12.023834] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/2 wl0: Oct 9 2020 14:44:32 version 9.88.4.65 (test) (f149b32@shgit) (r679549) FWID 01-f40f3270
[ 12.309468] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled')

I've verified this on three different RPi Zero 2 W, but they were probably from the same batch.
@graysky Thanks for your help, could you push changes to upstream?
alteriks
 
Posts: 6
Joined: Wed Nov 03, 2021 10:54 pm
Top

Re: Zero 2 W support

Postby graysky » Thu Nov 04, 2021 10:23 am

@alteriks, yes. For the record, which kernel are you running? uname -a
graysky
Developer
 
Posts: 1876
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Zero 2 W support

Postby alteriks » Thu Nov 04, 2021 10:57 am

$this->bbcode_second_pass_quote('graysky', '@')alteriks, yes. For the record, which kernel are you running? uname -a


$this->bbcode_second_pass_code('', 'alarmpi% uname -a
Linux alarmpi 5.10.76-3-raspberrypi-ARCH #1 SMP Tue Nov 2 17:11:26 UTC 2021 armv7l GNU/Linux')
alteriks
 
Posts: 6
Joined: Wed Nov 03, 2021 10:54 pm
Top

Re: Zero 2 W support

Postby graysky » Thu Nov 04, 2021 11:54 am

Thanks, would you be willing to try the linux-raspberrypi4 kernel? If it does not boot, you'll have to chroot the image to install linux-raspberrypi but should be easy for you.
graysky
Developer
 
Posts: 1876
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Zero 2 W support

Postby alteriks » Thu Nov 04, 2021 12:36 pm

$this->bbcode_second_pass_quote('graysky', 'T')hanks, would you be willing to try the linux-raspberrypi4 kernel? If it does not boot, you'll have to chroot the image to install linux-raspberrypi but should be easy for you.


System boots fine but I didn't have more time to test it
$this->bbcode_second_pass_code('', '
alarmpi% uname -a
Linux alarmpi 5.10.76-3-raspberrypi4-ARCH #1 SMP Tue Nov 2 17:11:34 UTC 2021 armv7l GNU/Linux')

@graysky Would you be so kind and tell me about main differences between those two kernels? If you could share a link it would also be fine.

On a side note, I've managed to boot aarch64 on RPi Zero 2 W. I'll get back as soon I verify my hack, regarding loading proper dtb loading.
alteriks
 
Posts: 6
Joined: Wed Nov 03, 2021 10:54 pm
Top

Re: Zero 2 W support

Postby tazinblack » Thu Nov 04, 2021 1:52 pm

Hi together,

I just tried the raspberry pi 4 arch image, downloaded via http://os.archlinuxarm.org/os/ArchLinux ... est.tar.gz.
This is booting fine but looks like the kernel support for the wireless device is missing.
Since I need the USB port for the keyboard, I'm not able to use a USB wireless device. I have no USB hub.
I tried to boot this system in an older raspberry pi zero w, to update to the latest kernel, but with this hardware it does not boot.
I get stuck after the rainbow screen with a blinking green led.

Is there any chance to put the missing driver onto the sd card with my notebook and install it afterwards from the system itself?

Regards
tazinblack
tazinblack
 
Posts: 6
Joined: Thu Nov 04, 2021 1:36 pm

PreviousNext

Return to User Questions

Who is online

Users browsing this forum: No registered users and 41 guests