QCN9074 mhi Issues

Govindaraj Saminathan (QUIC) quic_gsaminat at quicinc.com
Tue Jul 5 01:16:46 PDT 2022


Hi Thomas Duffy,

From the below logs, it looks the ELF header is bad, so PBL rejected it.

Can you please confirm,
	1. md5sum of the amss.bin in board and the one in website is same?
	2. In function mhi_fw_load_bhi, print the below details
	upper_32_bits(dma_addr)
                lower_32_bits(dma_addr)
                size & session_id

Regards,
Govindaraj S.

-----Original Message-----
Subject: QCN9074 mhi Issues
Date: Fri, 17 Jun 2022 03:20:09 -0400
From: Thomas Duffy <ted4q at virginia.edu>
To: ath11k at lists.infradead.org

I had been waiting for the ath11k driver and QCN9074 firmware to mature, and it appears that this is the case, as the driver is now in mainline kernel and the firmware is in linux-kernel.

However, my setup just doesn't work, and I am hoping for some help troubleshooting.

I have a supermicro X10SDV-4C+-TLN4F board which has a Xeon D-1518 processor that is paired with a Compex WLE3000H2 Wifi 6 5Ghz card.
Vt-d is enabled in BIOS.

I am running Ubuntu 22.04 Server which has kernel 5.15 and thus has the driver.

I have board-2.bin, amss.bin, and m3.bin all in the correct folder
(lib/firmware/ath11k/QCN9074/hw1.0) from
https://github.com/kvalo/ath11k-firmware/tree/master/QCN9074/hw1.0

lspci output shows the card:

06:00.0 Network controller: Qualcomm Device 1104 (rev 01)

The ath11k_pci driver finds and enables the device:

[    9.344266] ath11k_pci 0000:06:00.0: BAR 0: assigned [mem
0xfb200000-0xfb3fffff 64bit]
[    9.344294] ath11k_pci 0000:06:00.0: enabling device (0100 -> 0102)
[    9.369190] ath11k_pci 0000:06:00.0: qcn9074 hw1.0

But then fails to start the device with mhi errors:

[    9.494081] ath11k_pci 0000:06:00.0: failed to set mhi state: POWER_ON(2)
[    9.494087] ath11k_pci 0000:06:00.0: failed to start mhi: -110
[    9.494094] ath11k_pci 0000:06:00.0: failed to power up :-110
[    9.588331] ath11k_pci 0000:06:00.0: failed to create soc core: -110
[    9.592083] ath11k_pci 0000:06:00.0: failed to init core: -110
[   10.339939] ath11k_pci: probe of 0000:06:00.0 failed with error -110

The dmesg output for mhi is:

[    9.456834] mhi mhi0: Requested to power ON
[    9.457281] mhi mhi0: Power on setup success
[    9.472444] mhi mhi0: Image transfer failed
[    9.475709] mhi mhi0: Reg: ERROR_CODE value: 0xef128100
[    9.479172] mhi mhi0: Reg: ERROR_DBG1 value: 0xfffa0000
[    9.482722] mhi mhi0: Reg: ERROR_DBG2 value: 0x0
[    9.482727] mhi mhi0: Reg: ERROR_DBG3 value: 0x1ef13
[    9.482744] mhi mhi0: MHI did not load image over BHI, ret: -5

Does anyone have any suggestions?

Thanks,

TD

--
ath11k mailing list
ath11k at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k


More information about the ath11k mailing list