This repository was archived by the owner on Apr 29, 2026. It is now read-only.
Use BCMDHD SDIO for Orange Pi 5 Pro AP6256 Wi-Fi#1343
Open
cagedbird043 wants to merge 1 commit into
Open
Conversation
Install the BCMDHD SDIO DKMS package for the Orange Pi 5 Pro, blacklist the brcmfmac path for AP6256, and replace the reboot-only brcmfmac unbind helper with a shutdown/reboot poweroff helper that cleanly powers the SDIO device down. This matches the real-world fix verified on an Orange Pi 5 Pro that was repeatedly losing 5 GHz after boot on the brcmfmac path while the BCMDHD SDIO path remained stable across cold boots and warm reboots.
Author
|
Additional field result after the change landed on the test board:
To be precise: the original 80 MHz validation in the PR body was directly observed by command-line checks on the board, while this later 160 MHz result was reported by the board owner after applying the same fix on the same hardware. If maintainers want, I can also add a compact before/after command log excerpt here for the failing |
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
bcmdhd-sdio-dkmsfor the Orange Pi 5 Pro AP6256 Wi-Fi modulebrcmfmac/brcmutilpath for this board and set the BCMDHD firmware / NVRAM / config paths explicitlybrcmfmacunbind helper with a shutdown/reboot poweroff helper that cleanly powers down the SDIO Wi-Fi deviceWhy
On a real Orange Pi 5 Pro (AP6256 / BCM43456) running Ubuntu 24.04.1 with
6.1.0-1025-rockchip, the defaultbrcmfmacpath was unstable:brcmf_attachfailed during bootSwitching the board to the BCMDHD SDIO path fixed the issue in repeated live tests.
Validation on hardware
Validated on an Orange Pi 5 Pro connected to an 80 MHz / channel 36 5 GHz AP:
CMCC-201-5Gon5180 MHzbcmdhd_sdio+dhd_static_buf_sdiowere loaded instead ofbrcmfmacOne representative boot sequence from the fixed system:
wl_android_wifi_on : SuccessLink UP with 48:81:d4:89:db:3fIf you want, I can also open a follow-up issue with the full before/after logs and exact local reproduction details.
Fixes #1344
Related to #841