Skip to content

Commit 532aaff

Browse files
authored
OrangePi-RV2: Fix wireless access point mode by using the correct FW (#9504)
Notes: the bcmdhd.ko module loads firmware not on init, but delayed on ifup wlan0. This is also true for AP mode, e.g. when starting hostapd. Default FW file names are determined during runtime (with HW query). We have different fw_bcm43456c5_ag.bin files under /lib/firmware, where /lib/fw/ works but no AP mode and /lib/fw/brcm/ also works now *with* AP mode. Additionally, there are different nvram_ap6256.txt files, but at least with OrangePi RV2 AP6256 hardware, both work. The fw_bcm43456c5_ag.bin and nvram_ap6256.txt files are the same as in /lib/fw/rkwifi/, the rkwifi/ dir seems unused throughout Armbian cfgs. Signed-off-by: Sven-Ola Tuecke <sven-ola@gmx.de>
1 parent 335f01e commit 532aaff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

config/boards/orangepirv2.wip

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ function post_family_tweaks_bsp__orangepirv2_wifi() {
3636
display_alert "$BOARD" "Force load bmcdhd wireless" "info"
3737
run_host_command_logged mkdir -pv "${destination}"/etc/modules-load.d
3838
run_host_command_logged echo "bcmdhd" > "${destination}"/etc/modules-load.d/${BOARD}.conf
39+
run_host_command_logged mkdir -pv "${destination}"/etc/modprobe.d
40+
run_host_command_logged echo "options bcmdhd firmware_path=brcm/ nvram_path=brcm/" > "${destination}"/etc/modprobe.d/${BOARD}.conf
3941
}
4042

4143
function post_family_tweaks_bsp__orangepirv2_bluetooth() {

0 commit comments

Comments
 (0)