ATH10K IPQ4019 invalid ATH10K_BD_IE_BOARD length

Hello!
I am porting a new device and ATH10k is not able to load board data when starting the driver.

ATH10k loading process errors:

[    8.287769] firmware ath10k!pre-cal-ahb-a000000.wifi.bin: firmware_loading_store: map pages failed
[    8.371085] firmware ath10k!cal-ahb-a000000.wifi.bin: firmware_loading_store: map pages failed
[    8.451836] firmware ath10k!QCA4019!hw1.0!ct-firmware-5.bin: firmware_loading_store: map pages failed
[    8.544238] firmware ath10k!QCA4019!hw1.0!ct-firmware-2.bin: firmware_loading_store: map pages failed
[    8.645602] firmware ath10k!QCA4019!hw1.0!firmware-6.bin: firmware_loading_store: map pages failed
[    8.647316] ath10k_ahb a000000.wifi: qca4019 hw1.0 target 0x01000000 chip_id 0x003b00ff sub 0000:0000
[    8.653486] ath10k_ahb a000000.wifi: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[    8.668594] ath10k_ahb a000000.wifi: firmware ver 10.4b-ct-4019-fW-013-b63cea875 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,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 a09ca172
[    8.695250] ath10k_ahb a000000.wifi: invalid ATH10K_BD_IE_BOARD length: 12064 < 1563369472
[    8.767973] firmware ath10k!QCA4019!hw1.0!board.bin: firmware_loading_store: map pages failed
[    8.768249] ath10k_ahb a000000.wifi: failed to fetch board-2.bin or board.bin from ath10k/QCA4019/hw1.0
[    8.775521] ath10k_ahb a000000.wifi: failed to fetch board file: -11
[    8.784941] ath10k_ahb a000000.wifi: could not probe fw (-11)
[    9.017345] firmware ath10k!fwcfg-ahb-a800000.wifi.txt: firmware_loading_store: map pages failed
[    9.117546] firmware ath10k!pre-cal-ahb-a800000.wifi.bin: firmware_loading_store: map pages failed
[    9.230868] firmware ath10k!cal-ahb-a800000.wifi.bin: firmware_loading_store: map pages failed
[    9.335256] firmware ath10k!QCA4019!hw1.0!ct-firmware-5.bin: firmware_loading_store: map pages failed
[    9.435520] firmware ath10k!QCA4019!hw1.0!ct-firmware-2.bin: firmware_loading_store: map pages failed
[    9.535705] firmware ath10k!QCA4019!hw1.0!firmware-6.bin: firmware_loading_store: map pages failed
[    9.537581] ath10k_ahb a800000.wifi: qca4019 hw1.0 target 0x01000000 chip_id 0x003b00ff sub 0000:0000
[    9.543601] ath10k_ahb a800000.wifi: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[    9.558553] ath10k_ahb a800000.wifi: firmware ver 10.4b-ct-4019-fW-013-b63cea875 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,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 a09ca172
[    9.585152] ath10k_ahb a800000.wifi: invalid ATH10K_BD_IE_BOARD length: 12064 < 1563369472
[    9.636907] firmware ath10k!QCA4019!hw1.0!board.bin: firmware_loading_store: map pages failed
[    9.637147] ath10k_ahb a800000.wifi: failed to fetch board-2.bin or board.bin from ath10k/QCA4019/hw1.0
[    9.644450] ath10k_ahb a800000.wifi: failed to fetch board file: -11
[    9.653894] ath10k_ahb a800000.wifi: could not probe fw (-11)

Full boot log here.

Since I am starting it might be a misconfiguration on the DTS itself, taken from the FTD on the stock firmware.

I also have the IPQ4019 and QCA9886 binary files available but I don't know how to port them.

The issue was related to not loading CAL data prior to BDF files.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.