w2xg2022 / ax18usb

CMIOT AX18/ZN-M2 rounter with USB support
GNU General Public License v2.0
24 stars 21 forks source link

Direct firmware load for ath11k/IPQ6018/hw1.0/caldata.bin failed with error -2 #6

Open Ass-Sniper opened 4 months ago

Ass-Sniper commented 4 months ago
  1. dmesg log

[ 14.621790] ath11k c000000.wifi: Not multipd architecture [ 14.622462] ath11k c000000.wifi: ipq6018 hw1.0 [ 14.627033] remoteproc remoteproc0: powering up cd00000.qcom_q6v5_wcss [ 14.630911] remoteproc remoteproc0: Booting fw image IPQ6018/q6_fw.mdt, size 7340 [ 15.752075] Subsystem error monitoring/handling services are up [ 15.752758] remoteproc remoteproc0: remote processor cd00000.qcom_q6v5_wcss is now up [ 15.757293] rpmsg_dev_probe: No pm domain [ 15.765406] rpmsg_dev_probe: No pm domain [ 15.779936] ------------[ cut here ]------------ [ 15.779962] WARNING: at arch/arm64/mm/ioremap.c:58 [ 15.783612] Modules linked in: ath11k_ahb(+) ath11k_pci ath11k nf_tables_inet nf_conntrack_ipv6 nf_conntrack_ipv4 mac80211 ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_quota xt_pkttype xt_physdev xt_owner xt_nat xt_multiport xt_mark xt_mac xt_limit xt_id xt_conntrack xt_comment xt_addrtype xt_TCPMSS xt_REDIRECT xt_LOG xt_FULLCONENAT usblp ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda ppp_async nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_redir_ipv4 nft_redir nft_rbtree nft_nat nft_meta nft_masq_ipv4 nft_masq nft_log nft_limit nft_hash nft_exthdr nft_ct nft_counter nft_chain_route_ipv6 nft_chain_route_ipv4 nf_tables_ipv6 nf_tables_ipv4 nf_tables nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack l2tp_ppp iptable_mangle iptable_filter ip_tables crc_ccitt compat qca_nss_wifi_meshmgr qca_nss_pppoe pppoe pppox ppp_generic slhc xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 bonding qca_nss_drv l2tp_netlink l2tp_core udp_tunnel ip6_udp_tunnel qca_nss_dp qca_ssdk vfat fat ntfs nls_utf8 nls_iso8859_1 nls_cp936 nls_cp437 uas usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc2 dwc3_qcom dbm ohci_pci uhci_hcd ohci_platform ohci_hcd phy_msm_ssusb_qmp phy_msm_qusb ehci_pci ehci_platform sd_mod scsi_mod ehci_hcd gpio_button_hotplug ext4 mbcache jbd2 usbcore nls_base usb_common [ 15.949054] [ 15.949322] CPU: 1 PID: 309 Comm: kworker/u8:3 Not tainted 4.4.60 #0 [ 15.950889] Hardware name: ZN M2 (DT) [ 15.957229] Workqueue: qmi_msg_handler qmi_data_ready_work [ 15.966157] task: ffffffc01bc3e400 ti: ffffffc01bc3e400 task.ti: ffffffc01bc3e400 [ 15.966259] PC is at ioremap_caller+0x6c/0xd8 [ 15.973717] LR is at __ioremap_caller+0x68/0xd8 [ 15.978056] pc : [] lr : [] pstate: 80000145 [ 15.982575] sp : ffffffc016adfa50 [ 15.990206] x29: ffffffc016adfa50 x28: ffffffc0168a1a40 [ 15.998533] x27: ffffffc016adfb40 x26: ffffffc01ccea690 [ 16.003829] x25: ffffffc0168b2000 x24: ffffffc0168a0018 [ 16.009124] x23: 00e8000000000707 x22: ffffffbffc9e3804 [ 16.014418] x21: 0000000000000000 x20: 0000000050100000 [ 16.019714] x19: 0000000000100000 x18: 0000000000000000 [ 16.025009] x17: 0000007f83236638 x16: ffffffc00009f460 [ 16.030305] x15: 0000000000000004 x14: 0000000000800000 [ 16.035599] x13: 000000006474e551 x12: 000000006474e552 [ 16.040894] x11: 0000000000000006 x10: 0101010101010101 [ 16.046190] x9 : fffffffffffffffb x8 : 7f7f7f7f7f7f7f7f [ 16.051485] x7 : fefefeff646c606d x6 : 0000000000000018 [ 16.056779] x5 : 0000000011c00000 x4 : ffffffc000ac7948 [ 16.062074] x3 : 0000000000000002 x2 : 0000000000000002 [ 16.067370] x1 : 0000000060000000 x0 : 0000000000000001 [ 16.072665] [ 16.072842] ---[ end trace 06f24ff2c98840e7 ]--- [ 16.074409] Call trace: [ 16.079008] [] ioremap_caller+0x6c/0xd8 [ 16.081184] [] ioremap+0x3c/0x50 [ 16.086762] [] ath11k_htc_init+0x20cc/0x2428 [ath11k] [ 16.091952] [] qmi_invoke_handler+0xb0/0xf8 [ 16.098286] [] qmi_handle_message+0x244/0x310 [ 16.104188] [] qmi_data_ready_work+0x414/0x438 [ 16.109919] [] process_one_work+0x2b0/0x490 [ 16.116168] [] worker_thread+0x264/0x440 [ 16.121809] [] kthread+0xd4/0xe8 [ 16.127191] [] ret_from_fork+0x10/0x50 [ 16.132735] ath11k c000000.wifi: chip_id 0x0 chip_family 0x4 board_id 0xff soc_id 0xffffffff [ 16.137471] ath11k c000000.wifi: fw_version 0x2506844c fw_build_timestamp 2021-07-13 11:09 fw_build_id QC_IMAGE_VERSION_STRING=WLAN.HK.2.5.0.1-01100-QCAHKSWPL_SILICONZ-1 [ 16.165779] ath11k c000000.wifi: Direct firmware load for ath11k-macs failed with error -2 [ 16.165812] ath11k c000000.wifi: Falling back to user helper [ 37.450680] ath11k c000000.wifi: Direct firmware load for ath11k/IPQ6018/hw1.0/caldata.bin failed with error -2 [ 37.450717] ath11k c000000.wifi: Falling back to user helper [ 37.505653] ath11k c000000.wifi: qmi caldata downloaded: type: 2 [ 40.274552] remoteproc remoteproc0: stopped remote processor cd00000.qcom_q6v5_wcss [ 40.274595] remoteproc remoteproc0: powering up cd00000.qcom_q6v5_wcss [ 40.281368] remoteproc remoteproc0: Booting fw image IPQ6018/q6_fw.mdt, size 7340 [ 40.588185] Subsystem error monitoring/handling services are up [ 40.588803] remoteproc remoteproc0: remote processor cd00000.qcom_q6v5_wcss is now up [ 40.589294] rpmsg_dev_probe: No pm domain [ 40.589800] rpmsg_dev_probe: No pm domain [ 40.591055] ------------[ cut here ]------------ [ 40.591058] WARNING: at arch/arm64/mm/ioremap.c:58 [ 40.591146] Modules linked in: ath11k_ahb(+) ath11k_pci ath11k nf_tables_inet nf_conntrack_ipv6 nf_conntrack_ipv4 mac80211 ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_quota xt_pkttype xt_physdev xt_owner xt_nat xt_multiport xt_mark xt_mac xt_limit xt_id xt_conntrack xt_comment xt_addrtype xt_TCPMSS xt_REDIRECT xt_LOG xt_FULLCONENAT usblp ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda ppp_async nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_redir_ipv4 nft_redir nft_rbtree nft_nat nft_meta nft_masq_ipv4 nft_masq nft_log nft_limit nft_hash nft_exthdr nft_ct nft_counter nft_chain_route_ipv6 nft_chain_route_ipv4 nf_tables_ipv6 nf_tables_ipv4 nf_tables nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack l2tp_ppp iptable_mangle iptable_filter ip_tables crc_ccitt compat qca_nss_wifi_meshmgr qca_nss_pppoe pppoe pppox ppp_generic slhc xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 bonding qca_nss_drv l2tp_netlink l2tp_core udp_tunnel ip6_udp_tunnel qca_nss_dp qca_ssdk vfat fat ntfs nls_utf8 nls_iso8859_1 nls_cp936 nls_cp437 uas usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc2 dwc3_qcom dbm ohci_pci uhci_hcd ohci_platform ohci_hcd phy_msm_ssusb_qmp phy_msm_qusb ehci_pci ehci_platform sd_mod scsi_mod ehci_hcd gpio_button_hotplug ext4 mbcache jbd2 usbcore nls_base usb_common [ 40.591259] [ 40.591266] CPU: 2 PID: 6 Comm: kworker/u8:0 Tainted: G W 4.4.60 #0 [ 40.591267] Hardware name: ZN M2 (DT) [ 40.591278] Workqueue: qmi_msg_handler qmi_data_ready_work [ 40.591281] task: ffffffc01d93d780 ti: ffffffc01d93d780 task.ti: ffffffc01d93d780 [ 40.591287] PC is at __ioremap_caller+0x6c/0xd8 [ 40.591289] LR is at ioremap_caller+0x68/0xd8 [ 40.591292] pc : [] lr : [] pstate: 80000145 [ 40.591293] sp : ffffffc01d9d7a50 [ 40.591297] x29: ffffffc01d9d7a50 x28: ffffffc0168a1a40 [ 40.591301] x27: ffffffc01d9d7b40 x26: ffffffc01ccea690 [ 40.591304] x25: ffffffc0168b2000 x24: ffffffc0168a0018 [ 40.591308] x23: 00e8000000000707 x22: ffffffbffc9e3804 [ 40.591311] x21: 0000000000000000 x20: 0000000050100000 [ 40.591315] x19: 0000000000100000 x18: 0000000000000000 [ 40.591318] x17: 0000007fa9ae7e88 x16: ffffffc00009f460 [ 40.591322] x15: 0000000000000004 x14: 011b010001180100 [ 40.591325] x13: 0117010001164b4e x12: 454c000415010001 [ 40.591329] x11: 0000000000000006 x10: 0101010101010101 [ 40.591332] x9 : fffffffffffffffb x8 : 7f7f7f7f7f7f7f7f [ 40.591336] x7 : fefefeff646c606d x6 : 0000000000000018 [ 40.591339] x5 : 0000000011c00000 x4 : ffffffc000ac7948 [ 40.591342] x3 : 0000000000000002 x2 : 0000000000000002 [ 40.591346] x1 : 0000000060000000 x0 : 0000000000000001 [ 40.591346] [ 40.591348] ---[ end trace 06f24ff2c98840e8 ]--- [ 40.591350] Call trace: [ 40.591353] [] __ioremap_caller+0x6c/0xd8 [ 40.591356] [] __ioremap+0x3c/0x50 [ 40.591383] [] ath11k_htc_init+0x20cc/0x2428 [ath11k] [ 40.591386] [] qmi_invoke_handler+0xb0/0xf8 [ 40.591389] [] qmi_handle_message+0x244/0x310 [ 40.591392] [] qmi_data_ready_work+0x414/0x438 [ 40.591398] [] process_one_work+0x2b0/0x490 [ 40.591402] [] worker_thread+0x264/0x440 [ 40.591405] [] kthread+0xd4/0xe8 [ 40.591410] [] ret_from_fork+0x10/0x50 [ 40.591991] ath11k c000000.wifi: chip_id 0x0 chip_family 0x4 board_id 0xff soc_id 0xffffffff [ 40.591995] ath11k c000000.wifi: fw_version 0x2506844c fw_build_timestamp 2021-07-13 11:09 fw_build_id QC_IMAGE_VERSION_STRING=WLAN.HK.2.5.0.1-01100-QCAHKSWPL_SILICONZ-1 [ 40.595239] ath11k c000000.wifi: qmi caldata downloaded: type: 2 [ 40.728023] applying ath11k-macs [ 41.003350] kmodloader: done loading kernel modules from /etc/modules.d/*

  1. Associated directory structure

root@kay-vm:ax18usb# tree -L 1 build_dir/target-aarch64_cortex-a53_musl/ath11k-firmware-2021-07-20-d4003c19/IPQ6018/hw1.0 build_dir/target-aarch64_cortex-a53_musl/ath11k-firmware-2021-07-20-d4003c19/IPQ6018/hw1.0 ├── 2.1.0.1 ├── 2.4.0.1 ├── 2.5.0.1 ├── board-2.bin └── testing

4 directories, 1 file root@kay-vm:ax18usb# root@kay-vm:ax18usb# tree build_dir/target-aarch64_cortex-a53_musl/ath11k-firmware-2021-07-20-d4003c19/IPQ6018/hw1.0/2.5.0.1/ build_dir/target-aarch64_cortex-a53_musl/ath11k-firmware-2021-07-20-d4003c19/IPQ6018/hw1.0/2.5.0.1/ └── WLAN.HK.2.5.0.1-01100-QCAHKSWPL_SILICONZ-1 ├── m3_fw.b00 ├── m3_fw.b01 ├── m3_fw.b02 ├── m3_fw.flist ├── m3_fw.mdt ├── Notice.txt ├── q6_fw.b00 ├── q6_fw.b01 ├── q6_fw.b02 ├── q6_fw.b03 ├── q6_fw.b04 ├── q6_fw.b05 ├── q6_fw.b07 ├── q6_fw.b08 ├── q6_fw.flist └── q6_fw.mdt

1 directory, 16 files root@kay-vm:ax18usb#

  1. board directory

root@OpenWrt:~# ls -l -R -h --full-time /lib/firmware/ath11k /lib/firmware/ath11k: drwxr-xr-x 1 root root 224 2022-02-16 20:47:59 +0000 IPQ6018

/lib/firmware/ath11k/IPQ6018: drwxr-xr-x 1 root root 232 2024-07-28 10:24:39 +0000 hw1.0

/lib/firmware/ath11k/IPQ6018/hw1.0: -rw-r--r-- 1 root root 768.8K 2022-02-16 20:47:59 +0000 board-2.bin -rw-r--r-- 1 root root 64.0K 2024-07-28 10:24:39 +0000 caldata.bin -rw-r--r-- 1 root root 2.7K 2022-02-16 20:47:59 +0000 qdss_trace_config.bin root@OpenWrt:~#

yizhanghong commented 1 month ago

能否提供下ath11k-firmware-2021-07-20-d4003c19.tar.xz的下载地址,目前源地址已闭源,下不到了