Repository navigation
Phicomm N1: newer Cypress Wi-Fi firmware for channels 36-48 under CN - #5
Merged
Merged
Conversation
The image's BCM43455 firmware (7.45.154) and Broadcom master CLM leave
channels 36-144 disabled under CN, so wlan0 cannot join a car hotspot on
36-48. The device package now ships the unmodified linux-firmware
cypress/cyfmac43455-sdio.{bin,clm_blob} (7.45.286, commit a137a09be163)
as the board-specific files in /usr/lib/firmware/updates/brcm, which the
kernel reads before /lib/firmware. The image's own files stay untouched;
removing the package restores them at the next boot.
The files and LICENCE.cypress are pinned in install/firmware.txt, fetched
and verified by the release workflow, verified again by build-deb.sh, and
recorded in SOURCES.txt.
Signed-off-by: Riko <symeonchen@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The Phicomm N1 image's BCM43455 firmware (7.45.154, 2018) with Broadcom's master CLM disables 5 GHz channels 36-144 under CN, so wlan0 cannot join a car hotspot on 36-48 (the Xpeng G6 uses 36 or 149). The kernel regulatory database allows those channels; the restriction comes from the CLM blob (same symptom as raspberrypi/firmware#1359).
The device package now ships the unmodified linux-firmware
cypress/cyfmac43455-sdio.binand.clm_blob(7.45.286, commita137a09be163) as/usr/lib/firmware/updates/brcm/brcmfmac43455-sdio.phicomm,n1.{bin,clm_blob}. The kernel readsupdates/before/lib/firmware, so the image's own files stay untouched and removing the package restores them at the next boot. No diversions, no maintainer-script logic for the firmware.PhicommN1/install/firmware.txtpins the two files andLICENSES/LICENCE.cypress(commit, path, SHA-256).phicomm_n1_fetch_firmware(release-common.sh) downloads and verifies them in the release workflow;build-deb.shandbuild-bundle.shtake a required--firmware DIRand verify again;SOURCES.txtrecords the upstream URLs.LICENCE.cypressand a copyright stanza for the firmware files.Verification
0.1.0~n1fw.1built from this branch over0.1.0~n1fix.5, rebooted: firmware 7.45.286 loads at boot, channels 36-48 and 149-165 enabled under CN, the relay's CarPlay hotspot runs on 149, Ethernet PHY and Bluetooth address fixes unchanged, no failed units. Earlier tests also showed wlan0 joining an AP on channel 40 under CN.chroot-test.sh(trixie arm64): 113 lifecycle checks, including image firmware preserved on install, remove and purge.release-test.py155 cases, N1installer-test.py256 checks (native payload checks included),profile-test.py17.