Project

General

Profile

Actions

Action Item #817

closed

Test pinet against broadcom wifi

Added by Hammel over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Immediate
Assignee:
Start date:
20 Feb 2021
Due date:
% Done:

100%

Estimated time:
Severity:
01 - Critical

Description

pinet does not need dual mode capability. Dual mode - AP + client - may or may not work with the builtin broadcom wifi on RPi3 and RPi Zero. However, pinet should work with this because it switches from client to AP and back, never running both at the same time.

I need to test that the wifi works with this.

Then I need to test if throughput is any better with this than with a dongle.

Actions #1

Updated by Hammel over 3 years ago

  • Severity changed from 03 - Medium to 01 - Critical
Actions #2

Updated by Hammel over 3 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 10

This mostly works but there appears to be a bug in the firmware that causes the chip to crash. It's likely that I need an updated firmware, so that might mean a new kernel too.

See this discussion: https://github.com/raspberrypi/firmware/issues/1403
Specifically: https://github.com/raspberrypi/linux/issues/2453#issuecomment-652119483
Also: https://patchwork.kernel.org/project/linux-wireless/patch/20170616131449.12108-2-hdegoede@redhat.com/

I may need to grab more than just the brcm4340 blobs now too, which may get me more features on the wifi. I should just copy the whole brcm subdirectory over. There is also this message

brcmfmac: brcmf_c_process_clm_blob: no clm_blob available

that suggests I may need something called "clm_blob". There appear to be available only in the cypress subdirectory.

Raspberry Pi kernel has been bumped to 5.10.y, so maybe it's time I bumped my kernel build too? Upstream only have the 43430a0 bin file - the 43430 bin file is not there anymore. So it's not clear to me which one will get used.

Actions #3

Updated by Hammel over 3 years ago

The firmware requested seems to be the same as before, but there is this message in dmesg:

[ 4.759269] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.raspberrypi,3-model-b.txt failed with error -2

That file is not being copied into the firmware tree. So I should add that to kfw.cfg. Also, the kernel firmware has the files we need so I don't need to download them via fw.cfg.

Finally, the updated firmware blob appears to be for a 3b+ while I'm testing with a 3b. So I don't really need the update now, though I should include all the appropriate firmware for Raspberry Pi wifi/bluetooth. At the moment I cannot find a definitive list of the firmware blobs specific to the RPi.

Actions #4

Updated by Hammel over 3 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 10 to 100

Added missing .txt files and tested on touchscreen. Works much better. No need for dongle on non-ironman systems now.

Changes tested, committed and pushed.

Closing issue.

Actions

Also available in: Atom PDF