IPQ5018: Support for Linksys MX2000 Atlas 6 & MX5500 Atlas 6 Pro

Things are getting worse. There's a new repository and not even version 2.9 is there: https://git.codelinaro.org/clo/ath-firmware/ath11k-firmware
The github repository is supposed to be archived.

Check out this discussion: https://lore.kernel.org/all/bac97f31-4a70-4c4c-8179-4ede0b32f869@quicinc.com/

After 5 days, ipq5018 crashed:

Now logs are flooded with:

[472540.683789] ath11k_warn: 32 callbacks suppressed
[472540.683819] ath11k c000000.wifi: failed to send WMI_PDEV_BSS_CHAN_INFO_REQUEST cmd
[472540.687512] ath11k c000000.wifi: failed to send pdev bss chan info request
[472540.695515] ath11k c000000.wifi: failed to send WMI_PDEV_SET_PARAM cmd
[472540.701922] ath11k c000000.wifi: Failed to set beacon mode for VDEV: 0
[472540.708622] ath11k c000000.wifi: failed to send WMI_BCN_TMPL_CMDID
[472540.715157] ath11k c000000.wifi: failed to submit beacon template command: -108
[472540.721361] ath11k c000000.wifi: failed to update bcn template: -108
[472540.729056] ath11k c000000.wifi: failed to send WMI_VDEV_SET_PARAM_CMDID
[472540.735388] ath11k c000000.wifi: failed to set BA BUFFER SIZE 256 for vdev: 0
[472540.742118] ath11k c000000.wifi: failed to send WMI_VDEV_SET_PARAM_CMDID

this was on 2.12 correct ?

can you post the crash and not just the follow up logs when it already crashed?

Yeah will do.. dmesg was flooded and wouldn’t show the earlier crash itself. I did post crash logs of 2.9 earlier in this thread. Will do the same for 2.7 and 2.12 next time.

No, 2.7 unfortunately.. which had been stable for 5 days. Rebooted and trying to get the crash log next time it occurs. Will also experiment further with other versions on the MX2000

GL.iNET B3000 with 2.9 firmware, moment of crash

[  108.689955] br-lan: port 4(phy0-ap0) entered blocking state
[  108.690171] br-lan: port 4(phy0-ap0) entered disabled state
[  108.702677] ath11k c000000.wifi phy0-ap0: entered allmulticast mode
[  108.703653] ath11k c000000.wifi phy0-ap0: entered promiscuous mode
[  108.708662] br-lan: port 4(phy0-ap0) entered blocking state
[  108.714167] br-lan: port 4(phy0-ap0) entered forwarding state
[  108.722180] br-lan: port 4(phy0-ap0) entered disabled state
[  109.023579] br-lan: port 4(phy0-ap0) entered blocking state
[  109.023653] br-lan: port 4(phy0-ap0) entered forwarding state
[  901.964176] ath11k c000000.wifi: bss channel survey timed out
[  905.004357] ath11k c000000.wifi: bss channel survey timed out
[  908.044529] ath11k soc@0:wifi1@c000000: bss channel survey timed out
[  911.084694] ath11k soc@0:wifi1@c000000: bss channel survey timed out
[  913.759457] qcom-q6-mpd cd00000.remoteproc: watchdog received: err_smem_ver. 
[  913.759457] QC Image Version : QC_IMAGE_VERSION_STRING=WLAN.HK.2.9.r4-00018-1
[  913.759457] Image Variant : IMAGE_VARIANT_STRING=5018.wlanfw2.map_spr_spr_evQ
[  913.759457] cmnos_assert.c:242 PHY0M3:  param0 :zero,param1 :zero,param2 :zeo
[  913.759457] Thread ID : 0x00000055 Thread name : IST1 Process ID : 0x00000000
[  913.759457] 
[  913.759457] Registers:
[  913.759457] SP : 0x4c01c190
[  913.759457] FP : 0x4c01c1a8
[  913.759457] PC : 0xb0273250
[  913.759457] SSR : 0x00000000                                                 
[  913.759457] BADVA : 0x00000000                                               
[  913.759457] LR : 0xb0269398                                                  
[  913.759457]                                                                  
[  913.759457] StackDump                                                        
[  913.759457] from:0x4c01c190                                                  
[  913.759457] to: 0x00000000:                                                  
[  913.759457]                                                                  
[  913.807880] remoteproc remoteproc1: crash detected in cd00000.remoteproc: tyg
[  913.830113] remoteproc remoteproc1: handling crash #1 in cd00000.remoteproc  
[  913.837767] remoteproc remoteproc1: recovering cd00000.remoteproc            
[  913.854177] remoteproc remoteproc1: stopped remote processor cd00000.remotepc
[  913.950010] remoteproc remoteproc1: remote processor cd00000.remoteproc is np
[  913.959246] ath11k c000000.wifi: failed to send WMI_PDEV_SET_PARAM cmd       
[  913.959324] ath11k c000000.wifi: Failed to set beacon mode for VDEV: 0       
[  913.964732] ath11k c000000.wifi: failed to send WMI_BCN_TMPL_CMDID           
[  913.971321] ath11k c000000.wifi: failed to submit beacon template command: -8
[  913.977421] ath11k c000000.wifi: failed to update bcn template: -108

will test 2.12 tonight

GL.iNET B3000 running 2.12, crash approx 2hrs into test

see logs here

well, that doesn't look good at all. The FW posted on the new codelinaro repo doesn't even boot. It looks incomplete as well based on the number of files in the directory. On codelinaro, all q6_fw.b* files above .b14 are missing, while in the quic repo it goes up until .b26.

[   12.809009] ath11k c000000.wifi: ipq5018 hw1.0
[   12.809051] ath11k c000000.wifi: FW memory mode: 2
[   12.960320] remoteproc remoteproc1: powering up pd-1
[   12.965883] remoteproc remoteproc1: Booting fw image ath11k/IPQ5018/hw1.0/q6_fw.mdt, size 1052
[   12.965947] remoteproc remoteproc0: powering up cd00000.remoteproc
[   12.973528] remoteproc remoteproc0: Booting fw image ath11k/IPQ5018/hw1.0/q6_fw.mdt, size 1052
[   14.721956] remoteproc remoteproc0: remote processor cd00000.remoteproc is now up
[   14.729509] ath11k c000000.wifi: qmi fail to get qcom,m3-dump-addr, ignore m3 dump mem req
[   14.730460] qcom-q6-mpd cd00000.remoteproc: fatal error received: err_smem_ver.2.1:
[   14.730460] QC Image Version : QC_IMAGE_VERSION_STRING=WLAN.HK.2.6.0.1-01291-QCAHKSWPL_SILICONZ-1
[   14.730460] Image Variant : IMAGE_VARIANT_STRING=5018.wlanfw.evalQ
[   14.730460] platform.c:738 Assertion 0 failed param0 :zero,param1 :zero,param2 :zero
[   14.730460] Thread ID : 0x0000005d Thread name : wlan_platform Process ID : 0x00000001 Process name :wlan0
[   14.730460]
[   14.730460] Registers:
[   14.730460] SP : 0x4b894da0
[   14.730460] FP : 0x4b894dc8
[   14.730460] PC : 0xb022cb50
[   14.730460] SSR : 0x00000000
[   14.730460] BADVA : 0x00000000
[   14.730460] LR : 0xb021cc24
[   14.730460]
[   14.730460] StackDump
[   14.730460] from:0x4b894da0
[   14.730460] to: 0x4b895118:
[   14.730460] 000a0000
[   14.730460] 00000000
[   14.730460] 00000000
[   14.730460] 00000000
[   14.730460] 4c400000
[   14.730460] 00000000
[   14.730460] 00000000
[   14.730460] 00000000
[   14.730460] 00000000
[   14.730460] b03394a8
[   14.730460] 4b894df0
[   14.730460] 77865346
[   14.730460] b03395f8
[   14.730460] b0338f20
[   14.730460] 000004e8
[   14.730460] 00000004
[   14.730460] 00000003
[   14.730460] 4b8969b0
[   14.730460] 00000036
[   14.730460] b03394a8
[   14.730460] 4b894df8
[   14.730460] 778650ee
[   14.730460] 4b894f18
[   14.730460] 77851a1e
[   14.730460] 00000001
[   14.730460] 00000000
[   14.730460] 00000000
[   14.730460] 00000000
[   14.730460] 00000000
[   14.730460] 00000000
[   14.730460] 00000000
[   14.730460] 00000000
[   14.730460] 00000000
[   14.730460] 00000000
[   14.730460] 00000000
[   14.730460] 00000000
[   14.730460] 00000000
[   14.730460] 00000000
[   14.730460] 00000000
[   14.730460] b027925c
[   14.730460] 4b8968a0
[   14.730460] 4b8969a0
[   14.730460] b0299c60
[   14.730460] 4b8968b0
[   14.730460] 4b8969b0
[   14.730460] 4b896700
[   14.730460] 00000000
[   14.730460] 000004e8
[   14.730460] b0292
[   14.895054] remoteproc remoteproc0: crash detected in cd00000.remoteproc: type fatal error
[   14.917245] remoteproc remoteproc0: handling crash #1 in cd00000.remoteproc
[   14.925555] remoteproc remoteproc0: recovering cd00000.remoteproc
[   14.940135] remoteproc remoteproc0: stopped remote processor cd00000.remoteproc
[   14.985807] remoteproc remoteproc0: remote processor cd00000.remoteproc is now up
[   19.753072] qcom-q6-mpd pd-1: pd-1 spawn timedout
[   19.753116] remoteproc remoteproc1: can't start rproc pd-1: -110
[   19.756794] ath11k c000000.wifi: failed to boot the remote processor Q6
[   19.762840] ath11k c000000.wifi: failed to power up :-110
[   24.793071] ath11k c000000.wifi: failed to wait qmi memory request: -110
[   24.793125] ath11k c000000.wifi: qmi failed to respond fw mem req: -110
[   24.798883] ath11k c000000.wifi: failed to send indication register request: -32
[   24.805248] ath11k c000000.wifi: failed to send qmi firmware indication: -32
[   24.812895] ath11k c000000.wifi: failed to create soc core: -110
[   24.819891] ath11k c000000.wifi: failed to init core: -110
[   24.826185] ath11k: probe of c000000.wifi failed with error -110

i got new firmwares from 2.12 series today and will publish them on my repo once i tested it. so expect new firmware binaries within the next hours

1 Like
1 Like

Are generic BDF files like bdwlan.b10, bdwlan.b20 part of the firmware package for IPQ5018?

testing version

WLAN.HK.2.12-01460-QCAHKSWPL_SILICONZ-1

getting good throughput, 500-700 mbps on 5G and 150 on 2.4G
no crash, so far so good.. will keep it running now

[   12.757820] ath11k c000000.wifi: ipq5018 hw1.0
[   12.757868] ath11k c000000.wifi: FW memory mode: 2
[   12.911410] remoteproc remoteproc1: powering up pd-1
[   12.917638] remoteproc remoteproc1: Booting fw image ath11k/IPQ5018/hw1.0/q6_fw.mdt, size 1820
[   12.917708] remoteproc remoteproc0: powering up cd00000.remoteproc
[   12.925306] remoteproc remoteproc0: Booting fw image ath11k/IPQ5018/hw1.0/q6_fw.mdt, size 1820
[   16.499722] remoteproc remoteproc0: remote processor cd00000.remoteproc is now up
[   16.516907] remoteproc remoteproc1: remote processor pd-1 is now up
[   16.520732] ath11k soc@0:wifi1@c000000: qcn6122 hw1.0
[   16.522125] ath11k soc@0:wifi1@c000000: FW memory mode: 2
[   16.544860] ath11k c000000.wifi: qmi fail to get qcom,m3-dump-addr, ignore m3 dump mem req
[   16.552340] ath11k c000000.wifi: chip_id 0x0 chip_family 0x4 board_id 0xff soc_id 0xffffffff
[   16.552405] ath11k c000000.wifi: fw_version 0x2c0205b4 fw_build_timestamp 2024-10-04 15:46 fw_build_id WLAN.HK.2.12-01460-QCAHKSWPL_SILICONZ-1
[   16.586952] remoteproc remoteproc2: powering up pd-3
[   16.587826] remoteproc remoteproc2: Booting fw image ath11k/IPQ5018/hw1.0/q6_fw.mdt, size 1820
[   16.602581] remoteproc remoteproc2: remote processor pd-3 is now up
[   16.618807] batman_adv: B.A.T.M.A.N. advanced 2024.2-openwrt-1 (compatibility version 15) loaded
[   16.634689] kmodloader: done loading kernel modules from /etc/modules.d/*
[   16.699427] ath11k soc@0:wifi1@c000000: qmi ignore invalid mem req type 10
[   16.707798] ath11k soc@0:wifi1@c000000: chip_id 0x0 chip_family 0x4 board_id 0xff soc_id 0xffffffff
[   16.707873] ath11k soc@0:wifi1@c000000: fw_version 0x2c0205b4 fw_build_timestamp 2024-10-04 15:46 fw_build_id WLAN.HK.2.12-01460-QCAHKSWPL_SILICONZ-1
[   16.985959] ath11k c000000.wifi: htt event 48 not handled
[   17.045931] ath11k soc@0:wifi1@c000000: htt event 48 not handled

oops:

[  585.992150] ath11k soc@0:wifi1@c000000: failed to flush transmit queue, data pkts pending 5
[  799.272068] ath11k c000000.wifi: bss channel survey timed out
[  800.312072] ath11k soc@0:wifi1@c000000: bss channel survey timed out
[  802.312096] ath11k c000000.wifi: bss channel survey timed out
[  805.352092] ath11k c000000.wifi: bss channel survey timed out
[  806.340440] qcom-q6-mpd cd00000.remoteproc: watchdog received: err_smem_ver.2.1:
[  806.340440] QC Image Version : QC_IMAGE_VERSION_STRING=WLAN.HK.2.12-01460-QCAHKSWPL_SILICONZ-1
[  806.340440] Image Variant : IMAGE_VARIANT_STRING=5018.wlanfw2.map_spr_spr_evalQ
[  806.340440] cmnos_assert.c:246 PHY0 M3:  param0 :zero,param1 :zero,param2 :zero
[  806.340440] Thread ID : 0x00000055 Thread name : IST1 Process ID : 0x00000001 Process name :wlan0
[  806.340440]
[  806.340440] Registers:
[  806.340440] SP : 0x4bddbca0
[  806.340440] FP : 0x4bddbcb8
[  806.340440] PC : 0xb027fd50
[  806.340440] SSR : 0x00000000
[  806.340440] BADVA : 0x00000000
[  806.340440] LR : 0xb02760cc
[  806.340440]
[  806.340440] StackDump
[  806.340440] from:0x4bddbca0
[  806.340440] to: 0x00000000:
[  806.340440]
[  806.388438] remoteproc remoteproc0: crash detected in cd00000.remoteproc: type watchdog
[  806.411026] remoteproc remoteproc0: handling crash #1 in cd00000.remoteproc
[  806.418674] remoteproc remoteproc0: recovering cd00000.remoteproc
[  806.433590] remoteproc remoteproc0: stopped remote processor cd00000.remoteproc

where is the rest of the log. the issue started earlier. looks like something stucked

that was literally it, other than the boot log. I can run it again if you'd like..

In the meantime, I've also tested and gone back to the latest versions of 2.5 and 2.6. Both immediately crash. Could it have something to do with an incompatibility with the board file?

[   16.734090] qcom-q6-mpd cd00000.remoteproc: fatal error received: err_smem_ver.2.1:
[   16.734090] QC Image Version : QC_IMAGE_VERSION_STRING=WLAN.HK.2.6.0.1-01288-QCAHKSWPL_SILICONZ-1
[   16.734090] Image Variant : IMAGE_VARIANT_STRING=5018.wlanfw2.map_spr_spr_evalQ
[   16.734090]      :Excep  :0 Exception detected PName:wlan2 TName:wlan_platform
[   16.734090] Registers:
[   16.734090] SP : 0x4bd5b490
[   16.734090] FP : 0x4bd5b4a0
[   16.734090] PC : 0xd0157428
[   16.734090] SSR : 0x00000000
[   16.734090] BADVA : 0x4e400008
[   16.734090] LR : 0xd0231414
[   16.734090]
[   16.734090] StackDump
[   16.734090] from:0x4bd5b490
[   16.734090] to: 0x00000000:
[   16.734090]
[   16.772472] remoteproc remoteproc0: crash detected in cd00000.remoteproc: type fatal error
[   16.794820] remoteproc remoteproc0: handling crash #1 in cd00000.remoteproc
[   16.802920] remoteproc remoteproc0: recovering cd00000.remoteproc
[   16.817703] remoteproc remoteproc0: stopped remote processor cd00000.remoteproc
[   16.921358] remoteproc remoteproc0: remote processor cd00000.remoteproc is now up

It is possible that the BDF update I did is not entirely correct. Does the radio work stably on generic BDFs?

I'll check..

You should use:

  • MX5500 id=36 (same as id=255)
  • MX2000 id=35 and id=96 for QCN6122

generic board file running stably for about 40 min with a number of throughput tests in between with:
fw_version 0x280e7fff fw_build_timestamp 2024-05-28 17:56 fw_build_id WLAN.HK.2.8-01357-QCAHKSWPL_SILICONZ-1.45329.1.71292.1

will now try 2.12...