找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 2869|回复: 3

WDR8400刷openwrt失败

[复制链接]
发表于 2019-4-14 23:43 | 显示全部楼层 |阅读模式
原机配置为:QCA9561 + QCA9984
Openwrt固件编译模式为在WDR6500V2的基础上增加QCA9984-ct驱动,且openwrt使用2019年4月最新版的源代码
使用wdr6500v2的breed
使用原机提取的ART,通过对比别人WDR8500的ART(他的openwrt在wdr8500上可以启动,QCA9563+QCA9984),我的ART布局大概率是正确的


启动之后2.4G可以正常使用,5G无信号,dmesg显示错误信息如下:

[    9.497716] pci 0000:00:00.0: using irq 40 for pin 1
[    9.502901] ath10k 4.19 driver, optimized for CT firmware, probing pci device: 0x46.
[    9.512326] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[    9.518440] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[    9.712031] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/fwcfg-pci-0000:00:00.0.txt failed with error -2
[    9.722940] ath10k_pci 0000:00:00.0: Falling back to user helper
[    9.840390] firmware ath10k!fwcfg-pci-0000:00:00.0.txt: firmware_loading_store: map pages failed
[    9.849707] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:00:00.0.bin failed with error -2
[    9.860788] ath10k_pci 0000:00:00.0: Falling back to user helper
[   10.000575] firmware ath10k!pre-cal-pci-0000:00:00.0.bin: firmware_loading_store: map pages failed
[   10.010072] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/cal-pci-0000:00:00.0.bin failed with error -2
[   10.020799] ath10k_pci 0000:00:00.0: Falling back to user helper
[   10.185427] firmware ath10k!cal-pci-0000:00:00.0.bin: firmware_loading_store: map pages failed
[   10.194665] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA9984/hw1.0/ct-firmware-5.bin failed with error -2
[   10.206013] ath10k_pci 0000:00:00.0: Falling back to user helper
[   10.370450] firmware ath10k!QCA9984!hw1.0!ct-firmware-5.bin: firmware_loading_store: map pages failed
[   10.380263] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA9984/hw1.0/ct-firmware-2.bin failed with error -2
[   10.391601] ath10k_pci 0000:00:00.0: Falling back to user helper
[   10.530657] firmware ath10k!QCA9984!hw1.0!ct-firmware-2.bin: firmware_loading_store: map pages failed
[   10.540500] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA9984/hw1.0/firmware-6.bin failed with error -2
[   10.551582] ath10k_pci 0000:00:00.0: Falling back to user helper
[   10.690652] firmware ath10k!QCA9984!hw1.0!firmware-6.bin: firmware_loading_store: map pages failed
[   11.265600] ath10k_pci 0000:00:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe
[   11.275879] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   11.296060] ath10k_pci 0000:00:00.0: firmware ver 10.4b-ct-9984-fW-012-604ef8d6a api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT crc32 158f854a
[   13.631480] ath10k_pci 0000:00:00.0: failed to fetch board data for bus=pci,vendor=168c,device=0046,subsystem-vendor=168c,subsystem-device=cafe from ath10k/QCA9984/hw1.0/board-2.bin
[   13.648386] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA9984/hw1.0/board.bin failed with error -2
[   13.659018] ath10k_pci 0000:00:00.0: Falling back to user helper
[   13.732734] firmware ath10k!QCA9984!hw1.0!board.bin: firmware_loading_store: map pages failed
[   13.741742] ath10k_pci 0000:00:00.0: failed to fetch board-2.bin or board.bin from ath10k/QCA9984/hw1.0
[   13.751466] ath10k_pci 0000:00:00.0: failed to fetch board file: -11
[   13.758185] ath10k_pci 0000:00:00.0: could not probe fw (-11)



错误信息中,大概意思是QCA9984相关的几个文件加载失败,我进入/lib/firmware中检查,发现这些文件都不存在。有高手可以帮忙看一看吗?







我的恩山、我的无线 The best wifi forum is right here.
发表于 2019-4-15 02:22 | 显示全部楼层
  1. [   13.631480] ath10k_pci 0000:00:00.0: failed to fetch board data for bus=pci,vendor=168c,device=0046,subsystem-vendor=168c,subsystem-device=cafe from ath10k/QCA9984/hw1.0/board-2.bin
复制代码

重点是这一行
Openwrt固件编译模式为在WDR6500V2的基础上增加QCA9984-ct驱动

需要修改脚本提取 5G 的 ART 到指定位置,否则就会遇到这个错误
脚本的位置在 target/linux/<arch>/base-files/etc/hotplug.d/firmware/11-ath10k-caldata,where arch = ar71xx in this case

点评

WDR6500V2的ART位置是在0x1000和0x5000,我也是提取到这里。另外我试过提取到0x1000和0x2000,结果也是一样。所以我说我的ART大概率是正确的  详情 回复 发表于 2019-4-15 09:18
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2019-4-15 09:18 | 显示全部楼层
LGA1150 发表于 2019-4-15 02:22
重点是这一行

需要修改脚本提取 5G 的 ART 到指定位置,否则就会遇到这个错误

WDR6500V2的ART位置是在0x1000和0x5000,我也是提取到这里。另外我试过提取到0x1000和0x2000,结果也是一样。所以我说我的ART大概率是正确的

点评

我认为问题不在ART上  详情 回复 发表于 2019-4-15 09:19
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2019-4-15 09:19 | 显示全部楼层
liushengjie007 发表于 2019-4-15 09:18
WDR6500V2的ART位置是在0x1000和0x5000,我也是提取到这里。另外我试过提取到0x1000和0x2000,结果也是一 ...

我认为问题不在ART上
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-3-30 00:04

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

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