Toybrick

rk3588如何配置iwlwifi 8265驱动

lanth

注册会员

积分
147
楼主
发表于 2023-6-20 20:30:48    查看: 2705|回复: 2 | [复制链接]    打印 | 只看该作者
本帖最后由 lanth 于 2023-6-20 20:37 编辑

需求:使用intel的8265替换板载的wifi模块,下面是我的操作步骤
先在rk3588上安装
  • sudo apt-get install firmware-iwlwifi
发现并没有出现wifi图标,于是看到sdk,打开i对应的wifi驱动配置,如下

CONFIG_CFG80211=y
CONFIG_MAC80211=y
CONFIG_WANT_DEV_COREDUMP=y
CONFIG_HAS_IOMEM=y
CONFIG_IWLWIFI=y
CONFIG_IWLDVM=y
CONFIG_IWLMVM=y
CONFIG_EVENT_TRACING=y
CONFIG_ACPI=y
CONFIG_MAC80211_DEBUGFS=y
CONFIG_IWLWIFI_DEBUGFS=y
CONFIG_IWLWIFI_DEVICE_TRACING=y                                                                                                                                             


//查看dmesg发现如下
➜  ~ sudo dmesg | grep "iwl*"   
[    5.199752] iwlwifi 0002:21:00.0: enabling device (0000 -> 0002)
[    5.200892] iwlwifi 0002:21:00.0: Direct firmware load for iwlwifi-8265-36.ucode failed with error -2
[    5.200929] iwlwifi 0002:21:00.0: Direct firmware load for iwlwifi-8265-35.ucode failed with error -2
[    5.200962] iwlwifi 0002:21:00.0: Direct firmware load for iwlwifi-8265-34.ucode failed with error -2
[    5.200994] iwlwifi 0002:21:00.0: Direct firmware load for iwlwifi-8265-33.ucode failed with error -2
[    5.201026] iwlwifi 0002:21:00.0: Direct firmware load for iwlwifi-8265-32.ucode failed with error -2
[    5.201058] iwlwifi 0002:21:00.0: Direct firmware load for iwlwifi-8265-31.ucode failed with error -2
[    5.201089] iwlwifi 0002:21:00.0: Direct firmware load for iwlwifi-8265-30.ucode failed with error -2
[    5.201122] iwlwifi 0002:21:00.0: Direct firmware load for iwlwifi-8265-29.ucode failed with error -2
[    5.201153] iwlwifi 0002:21:00.0: Direct firmware load for iwlwifi-8265-28.ucode failed with error -2
[    5.201185] iwlwifi 0002:21:00.0: Direct firmware load for iwlwifi-8265-27.ucode failed with error -2
[    5.201217] iwlwifi 0002:21:00.0: Direct firmware load for iwlwifi-8265-26.ucode failed with error -2
[    5.201248] iwlwifi 0002:21:00.0: Direct firmware load for iwlwifi-8265-25.ucode failed with error -2
[    5.201280] iwlwifi 0002:21:00.0: Direct firmware load for iwlwifi-8265-24.ucode failed with error -2
[    5.201311] iwlwifi 0002:21:00.0: Direct firmware load for iwlwifi-8265-23.ucode failed with error -2
[    5.201343] iwlwifi 0002:21:00.0: Direct firmware load for iwlwifi-8265-22.ucode failed with error -2
[    5.201351] iwlwifi 0002:21:00.0: no suitable firmware found!
[    5.201358] iwlwifi 0002:21:00.0: minimum version required: iwlwifi-8265-22
[    5.201363] iwlwifi 0002:21:00.0: maximum version supported: iwlwifi-8265-36
[    5.201369] iwlwifi 0002:21:00.0: check git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git



发现找不到iwlwifi-8265-22.ucode iwlwifi-8265-36.ucode我查找一下是已经安装了的

➜  ~ ls /lib/firmware/iwlwifi-82*
/lib/firmware/iwlwifi-8265-22.ucode  /lib/firmware/iwlwifi-8265-36.ucode


我已经安装了对应的iwlwifi-8265-22.ucode iwlwifi-8265-36.ucode,但是提示找不到,我该如何配置iwlwifi








回复

使用道具 举报

maijinsheng

注册会员

积分
52
沙发
发表于 2023-7-25 22:16:57 | 只看该作者
换个rootfs吧,换了firefly的rootfs 能找到ucode了
回复

使用道具 举报

maijinsheng

注册会员

积分
52
板凳
发表于 2023-7-25 22:17:48 | 只看该作者
目前发现toybrick的rootfs挺多bug,不知道是不是适配了gnome的原因
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

产品中心 购买渠道 开源社区 Wiki教程 资料下载 关于Toybrick


快速回复 返回顶部 返回列表