radxa / kernel

BSP kernel source
Other
134 stars 166 forks source link

net: wireless: rockchip_wlan: modify firmware path to /lib/firmware/brcm #327

Closed RadxaMitchell closed 1 month ago

RadxaMitchell commented 1 month ago

If the firmware path is wrong when using the dhd driver, you need to comment out CONFIG_BCMDHD_REQUEST_FW, and then change the default firmwarm path in Kconfig and Makefile to /lib/firmware/brcm

RadxaMitchell commented 1 month ago
  1. 在5B 上,A1,A3,A6s WIFI/BT 模块用的是 DHD 驱动 ;
  2. 固件文件都在 /lib/firmware/brcm 下, 5.10 内核用的也是相同的路径。
RadxaStephen commented 1 month ago
  1. 我们哪个产品在用bcmdhd?应该都是brcmfmac了

    1. dhd和fmac的固件我记得是不兼容的,不要放在同一个目录吧

看这个 pr ,https://github.com/radxa/kernel/pull/119 和 firmware 存放位置 https://github.com/radxa-pkg/radxa-firmware/tree/main/firmware/brcm

RadxaMitchell commented 1 month ago
  1. 对比了 #119 pr 路径是一致的,6.1 内核 rockchip_wlan 目录下只有 bcmdhd 目录,其他的都删除掉了。
  2. DHD driver 用到的 firmware 存放位置也是在 brcm/firmware 下的。
RadxaStephen commented 1 month ago

Added it to branch linux-6.1-stan-rkr1.