cleverca22
Posts: 5042
Joined: Sat Aug 18, 2012 2:33 pm

Re: "New WiFi clm_blob file for CYW43455 (3B+, 4B and CM4)" announcement

Wed Nov 18, 2020 6:56 pm

PhilE wrote:
Mon Nov 09, 2020 9:57 pm
At the request of Synaptics (who have taken ownership of the 43456 from Broadcom, much as Cypress did with the 43430) I was testing with a modified 4B with the 43456 fitted, and it succeeded in getting an IP address. Repeating the test with the Pi 400 also succeeded in getting an address and streaming over 5G, which is unexpected and confusing.
i think broadcom sold off the designs for 2 different chips (the 43456 and 43430) to 2 different companies
and both chips are in use, in various pi models

its a bit weird, that the chips are similar enough to be swapped out on a pcb, yet ownership went to 2 different places

trejan
Posts: 3972
Joined: Tue Jul 02, 2019 2:28 pm

Re: "New WiFi clm_blob file for CYW43455 (3B+, 4B and CM4)" announcement

Wed Nov 18, 2020 7:20 pm

cleverca22 wrote:
Wed Nov 18, 2020 6:56 pm
PhilE wrote:
Mon Nov 09, 2020 9:57 pm
At the request of Synaptics (who have taken ownership of the 43456 from Broadcom, much as Cypress did with the 43430) I was testing with a modified 4B with the 43456 fitted, and it succeeded in getting an IP address. Repeating the test with the Pi 400 also succeeded in getting an address and streaming over 5G, which is unexpected and confusing.
i think broadcom sold off the designs for 2 different chips (the 43456 and 43430) to 2 different companies
and both chips are in use, in various pi models
Nah. I understand that part. BCM43430 is the 802.11n part used on older Pi boards. It is the BCM43455 from the Pi 3B+/4B and the BCM43456 from the Pi 400/CM4 that is strange with Synaptics listing both BCM43455 and BCM43456 on their site whilst Cypress also listing CYW43455 their site still. Phil's post says Cypress gave them a new CLM blob for the BCM43455 so presumably it is still being sold/supported by Cypress. Did Synaptics buy it from Cypress and they've not transferred it over fully yet?

43456 is 2x2 capable but it looks like only a single antenna is ever used and the dual antenna ability is being used for the internal/external antenna switching on the CM4.

User avatar
dickon
Posts: 2133
Joined: Sun Dec 09, 2012 3:54 pm
Location: Home, in Towcester

Re: "New WiFi clm_blob file for CYW43455 (3B+, 4B and CM4)" announcement

Wed Nov 18, 2020 10:28 pm

I've installed it on two of my 4Bs and the 3B+ in the loft, all of which do double duty of being wifi APs, and it seems to be happy doing that duty, so far, at least.
As it is apparently board policy to disallow any criticism of anything, as it appears to criticise something is to criticise all the users of that something, I will no longer be commenting in threads which are not directly relevant to my uses of the Pi.

User avatar
bensimmo
Posts: 5534
Joined: Sun Dec 28, 2014 3:02 pm
Location: East Yorkshire

New Wifi firmware 3B+ to Pi400 - talk (testing)

Thu Nov 19, 2020 11:37 am

I just updated it (over WiFi, go me) on a 3B+ onto an OctoPi server.

It rebooted fine

old

Code: Select all

wlan0     IEEE 802.11  ESSID:""
          Mode:Managed  Frequency:5.18 GHz  Access Point: 1C:3B:F3:CA:...
          Bit Rate=200 Mb/s   Tx-Power=31 dBm
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
          Link Quality=70/70  Signal level=-37 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:59  Invalid misc:0   Missed beacon:0
new

Code: Select all

wlan0     IEEE 802.11  ESSID:""
          Mode:Managed  Frequency:5.18 GHz  Access Point: 1C:3B:F3:CA:....
          Bit Rate=433.3 Mb/s   Tx-Power=31 dBm
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
          Link Quality=65/70  Signal level=-45 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
So link bumped to 433 from 200,

is that expected ?


EDIT:
is this the new version ?

Code: Select all

[    7.410607] brcmfmac: F1 signature read @0x18000000=0x15264345
[    7.424015] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    7.425085] usbcore: registered new interface driver brcmfmac
[    7.459360] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt failed with error -2
[    7.724414] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    7.773619] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Mar 23 2020 02:19:54 version 7.45.206 (r725000 CY) FWID 01-88ee44ea
[   10.136915] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled

trejan
Posts: 3972
Joined: Tue Jul 02, 2019 2:28 pm

Re: New Wifi firmware 3B+ to Pi400 - talk (testing)

Thu Nov 19, 2020 12:56 pm

bensimmo wrote:
Thu Nov 19, 2020 11:37 am
So link bumped to 433 from 200,

is that expected ?
PhilE's post mentions that the new CLM blob for the 43455 and CLM blob + firmware for the 43456 makes 80MHz channels possible now so looks to be correct. 200Mbps is the link speed for 40Mhz 802.11ac channels. 433Mbps is the link speed for 80MHz 802.11ac channels.
bensimmo wrote:
Thu Nov 19, 2020 11:37 am
is this the new version ?

Code: Select all

[    7.773619] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Mar 23 2020 02:19:54 version 7.45.206 (r725000 CY) FWID 01-88ee44ea
The 43455 firmware wasn't changed so the version/date hasn't changed. The new file is a CLM blob which is some kind of regulatory database that tells the firmware what it can do.

PhilE
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4342
Joined: Mon Sep 29, 2014 1:07 pm
Location: Cambridge

CYW43455 (3B+, 4B, CM4) WiFi feedback thread

Fri Nov 20, 2020 3:14 pm

This thread is for feedback on the performance of the CYW43455 WiFi interface found in the 3B+, 4B and CM4. It's specifically created after the release of new test "clm_blob" file - more details can be found here: viewtopic.php?f=117&t=291609

trejan
Posts: 3972
Joined: Tue Jul 02, 2019 2:28 pm

Re: CYW43455 (3B+, 4B, CM4) WiFi feedback thread

Fri Nov 20, 2020 3:30 pm

I made a thread for this specific version and bensimmo made a combined thread for both versions but I'll post my question here as well. Is it possible to move the other posts into your threads?

CM4? Is that right? It has the same RPI-RM0 WiFi module as the Pi 400 which has a BCM43456 according to this post. The CYW43455 and BCM43456 have completely different firmware in /lib/firmware/brcm/

PhilE
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4342
Joined: Mon Sep 29, 2014 1:07 pm
Location: Cambridge

Re: CYW43455 (3B+, 4B, CM4) WiFi feedback thread

Fri Nov 20, 2020 3:47 pm

Is it possible to move the other posts into your threads?
Done.
CM4? Is that right? It has the same RPI-RM0 WiFi module as the Pi 400 which has a BCM43456 according to this post
Where does the linked post mention CM4? CM4 uses CYW/BCM43455, while Pi 400 uses BCM/SYN43456 (I don't know if Synaptics plan to use their own prefix).

trejan
Posts: 3972
Joined: Tue Jul 02, 2019 2:28 pm

Re: CYW43455 (3B+, 4B, CM4) WiFi feedback thread

Fri Nov 20, 2020 4:11 pm

PhilE wrote:
Fri Nov 20, 2020 3:47 pm
CM4? Is that right? It has the same RPI-RM0 WiFi module as the Pi 400 which has a BCM43456 according to this post
Where does the linked post mention CM4? CM4 uses CYW/BCM43455, while Pi 400 uses BCM/SYN43456 (I don't know if Synaptics plan to use their own prefix).
That post doesn't mention CM4 but that means the RPI-RM0 module has a different chip in it depending on whether it is fitted to the CM4 or the Pi 400. The markings don't indicate any difference either. Just unusual to have that.

User avatar
DougieLawson
Posts: 41955
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: CYW43455 (3B+, 4B, CM4) WiFi feedback thread

Fri Nov 20, 2020 4:35 pm

I've slapped the 43455 blob on all of my systems with a 43455 interface. Nothing bad has happened with any of those.

One thing that would be a benefit would be to default to power management mode disabled - since most folks don't run off battery power and the power management stuff just leads to disconnection events when you least expect or desire them.
Languages using left-hand whitespace for syntax are ridiculous

DMs sent on Twitter/LinkedIn will be answered next month.
Fake doctors - are all on my foes list.

The use of crystal balls and mind reading is prohibited.

PhilE
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4342
Joined: Mon Sep 29, 2014 1:07 pm
Location: Cambridge

Re: CYW43455 (3B+, 4B, CM4) WiFi feedback thread

Fri Nov 20, 2020 4:47 pm

I take your point about the delays waking from the WiFi low power state, but it was a policy decision which I support to reduce the power consumption of the millions of WiFi-enabled Pis in the wild. People may notice some sluggishness and do something about it (I don't, for what it's worth), but virtually nobody will notice that their Pi is using more power than it needs to.

User avatar
DougieLawson
Posts: 41955
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: CYW43455 (3B+, 4B, CM4) WiFi feedback thread

Fri Nov 20, 2020 5:09 pm

PhilE wrote:
Fri Nov 20, 2020 4:47 pm
I take your point about the delays waking from the WiFi low power state, but it was a policy decision which I support to reduce the power consumption of the millions of WiFi-enabled Pis in the wild. People may notice some sluggishness and do something about it (I don't, for what it's worth), but virtually nobody will notice that their Pi is using more power than it needs to.
If they follow my postings on here they'll all have iwconfig wlan0 power off in /etc/rc.local and you've lost.
Changing the default so the folks who need power mangement have to add a line to /etc/rc.local would make more sense since my £5.00p per year to run a RPI 24/365 probably turns in £5.000001p with the power management disabled and getting free electricity from Octopus Agile pays for that with one plunge pricing event. The availability bonus outstrips the cost.
Languages using left-hand whitespace for syntax are ridiculous

DMs sent on Twitter/LinkedIn will be answered next month.
Fake doctors - are all on my foes list.

The use of crystal balls and mind reading is prohibited.

PhilE
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4342
Joined: Mon Sep 29, 2014 1:07 pm
Location: Cambridge

Re: CYW43455 (3B+, 4B, CM4) WiFi feedback thread

Fri Nov 20, 2020 5:28 pm

That's fine - I have no problem with somebody making a conscious decision to disable the power management.

trejan
Posts: 3972
Joined: Tue Jul 02, 2019 2:28 pm

Re: CYW43455 (3B+, 4B, CM4) WiFi feedback thread

Fri Nov 20, 2020 5:37 pm

DougieLawson wrote:
Fri Nov 20, 2020 5:09 pm
If they follow my postings on here they'll all have iwconfig wlan0 power off in /etc/rc.local and you've lost.
Is there any cleaner way of disabling power management? It seems a bit yuck to have the kernel enable power management when it brings up the interface then shortly after it is disabled again by a command in rc.local. You used to be able to do it with an option in /etc/network/interfaces but I've no idea how you'd do it in the "new" setup.

User avatar
DougieLawson
Posts: 41955
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: CYW43455 (3B+, 4B, CM4) WiFi feedback thread

Fri Nov 20, 2020 6:11 pm

trejan wrote:
Fri Nov 20, 2020 5:37 pm
Is there any cleaner way of disabling power management? It seems a bit yuck to have the kernel enable power management when it brings up the interface then shortly after it is disabled again by a command in rc.local. You used to be able to do it with an option in /etc/network/interfaces but I've no idea how you'd do it in the "new" setup.
Same meat, different gravy. That stuff in /etc/network/interfaces worked the same way. The kernel would load the blob with power saving enabled and the network management would fire an ioctl at the device to disable it during initialisation.
Languages using left-hand whitespace for syntax are ridiculous

DMs sent on Twitter/LinkedIn will be answered next month.
Fake doctors - are all on my foes list.

The use of crystal balls and mind reading is prohibited.

trejan
Posts: 3972
Joined: Tue Jul 02, 2019 2:28 pm

Re: CYW43455 (3B+, 4B, CM4) WiFi feedback thread

Fri Nov 20, 2020 6:20 pm

DougieLawson wrote:
Fri Nov 20, 2020 6:11 pm
Same meat, different gravy. That stuff in /etc/network/interfaces worked the same way. The kernel would load the blob with power saving enabled and the network management would fire an ioctl at the device to disable it during initialisation.
That is true. It just feels hacky to do it via rc.local. Disabling power management for one of my wireless Pi installs greatly improved the reliability of the connection.

Aardappeltaart
Posts: 168
Joined: Wed Mar 02, 2016 11:32 am

Re: CYW43455 (3B+, 4B, CM4) WiFi feedback thread

Sat Nov 21, 2020 4:53 pm

Hmm, my AP (Wifi N/G) stopped working with this firmware Pi4.
Hostapd won't start at all.

Also the new firmware blob is significantly smaller, isn't there something missing?

PhilE
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4342
Joined: Mon Sep 29, 2014 1:07 pm
Location: Cambridge

Re: CYW43455 (3B+, 4B, CM4) WiFi feedback thread

Sat Nov 21, 2020 6:28 pm

The clm_blob is missing settings for other devices, something that we don't need.

If you are having problems running an AP, try reverting the .bin file and just running with the new, smaller blob (which is the more important part of the update).

drgeoff
Posts: 12555
Joined: Wed Jan 25, 2012 6:39 pm

Re: CYW43455 (3B+, 4B, CM4) WiFi feedback thread

Sat Nov 21, 2020 7:11 pm

PhilE wrote:
Sat Nov 21, 2020 6:28 pm
The clm_blob is missing settings for other devices, something that we don't need.

If you are having problems running an AP, try reverting the .bin file and just running with the new, smaller blob (which is the more important part of the update).
What bin file? This is the 43455 feedback thread. Only your 43456 announcement thread has mention of, and download link for, a bin file.
Quis custodiet ipsos custodes?

Aardappeltaart
Posts: 168
Joined: Wed Mar 02, 2016 11:32 am

Re: CYW43455 (3B+, 4B, CM4) WiFi feedback thread

Sat Nov 21, 2020 7:40 pm

PhilE wrote:
Sat Nov 21, 2020 6:28 pm
The clm_blob is missing settings for other devices, something that we don't need.

If you are having problems running an AP, try reverting the .bin file and just running with the new, smaller blob (which is the more important part of the update).
I haven't done anything with a .bin file.

But I did overwrite the original blob by mistake while watching TV, eating a pizza and programming my arduino at the same time. :oops:

So my Pi4 is now running with a copy of brcmfmac43456-sdio.clm_blob renamed as brcmfmac43455-sdio.clm_blob , and that is working fine for the moment :D

But the smaller blob did not work here.

hippy
Posts: 11216
Joined: Fri Sep 09, 2011 10:34 pm
Location: UK

Re: CYW43455 (3B+, 4B, CM4) WiFi feedback thread

Sat Nov 21, 2020 7:58 pm

trejan wrote:
Fri Nov 20, 2020 4:11 pm
That post doesn't mention CM4 but that means the RPI-RM0 module has a different chip in it depending on whether it is fitted to the CM4 or the Pi 400.
The documentation and data filed with the FCC state "The Raspberry Pi RM0 module has an IEEE 802.11b/g/n/ac 1x1 WLAN, Bluetooth 5 and Bluetooth LE module based on the 43455 chip".

My conclusion would be that, while the radio module installed on a CM4 and/or Pi 400 may appear to be an "RPI-RM0" module it actually isn't, is merely compatible or comparable with it.

I could however be wrong.

Added : I'm confused now because the change of identification application for the 2ABCD-RPI400 module says "the original identification is FCC ID: 2ABCD-RPIRM0", "the equipment is electrically identical. Only the model name, trade name and FCC ID number are different". Maybe different chip counts as "electrically identical".
Last edited by hippy on Sat Nov 21, 2020 8:16 pm, edited 1 time in total.

PhilE
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4342
Joined: Mon Sep 29, 2014 1:07 pm
Location: Cambridge

Re: CYW43455 (3B+, 4B, CM4) WiFi feedback thread

Sat Nov 21, 2020 8:07 pm

So my Pi4 is now running with a copy of brcmfmac43456-sdio.clm_blob renamed as brcmfmac43455-sdio.clm_blob , and that is working fine for the moment :D
That was a stroke of genius! Was that the updated blob from the other announcement (the one with the .bin file), or the older, larger one already installed?

trejan
Posts: 3972
Joined: Tue Jul 02, 2019 2:28 pm

Re: CYW43455 (3B+, 4B, CM4) WiFi feedback thread

Sat Nov 21, 2020 8:19 pm

hippy wrote:
Sat Nov 21, 2020 7:58 pm
My conclusion would be that, while the radio module installed on a CM4 and/or Pi 400 may appear to be an "RPI-RM0" module it actually isn't, is merely compatible or comparable with it.
The module in the CM4 and Pi 400 both have RPI-RM0 etched onto it together with the same FCC and IC IDs.
rpi-rm0.jpg

hippy
Posts: 11216
Joined: Fri Sep 09, 2011 10:34 pm
Location: UK

Re: CYW43455 (3B+, 4B, CM4) WiFi feedback thread

Sat Nov 21, 2020 8:55 pm

trejan wrote:
Sat Nov 21, 2020 8:19 pm
The module in the CM4 and Pi 400 both have RPI-RM0 etched onto it together with the same FCC and IC IDs.
Perhaps that's a board manufactured before the Pi 400 application was granted ?

2020-11-03 - https://fccid.io/2ABCB-RPIRM0
2020-11-17 - https://fccid.io/2ABCB-RPI400

trejan
Posts: 3972
Joined: Tue Jul 02, 2019 2:28 pm

Re: CYW43455 (3B+, 4B, CM4) WiFi feedback thread

Sat Nov 21, 2020 9:00 pm

hippy wrote:
Sat Nov 21, 2020 8:55 pm
trejan wrote:
Sat Nov 21, 2020 8:19 pm
The module in the CM4 and Pi 400 both have RPI-RM0 etched onto it together with the same FCC and IC IDs.
Perhaps that's a board manufactured before the Pi 400 application was granted ?

2020-11-03 - https://fccid.io/2ABCB-RPIRM0
2020-11-17 - https://fccid.io/2ABCB-RPI400
Ah. Maybe it is an early sample. The photo is from Pi Hut who say the photos of an early sample unit. All the photos I can find are either too fuzzy or are sample units as they say it is a PVT board. You don't normally do any big changes when in PVT though.

IIRC they've said that the application is only uploaded/submitted once they're ready to sell. It is already manufacturered and waiting to be shipped out to the distributors.

Return to “Networking and servers”