Tool/software: Linux
Hi,
we are using a PhyCORE-AM57x Module with an AM5728 SoC. (Silicon Revision 2.0)
We're running a custom buildroot built Linux with a 4.9 Kernel with patches from the ti kernel repo.
We designed our own custom Baseboard which has an M.2 port for PCIe connectivity to use WiFi Cards. The WiFi-Card we want to use is an Intel 8265NGW.
Currently we're having problems to get the WiFi working realiably. We can initialize the card and load the Firmware (version 22.361476). Sometimes we can even connect to a Wifi and transmit some data.
But after some time we get timeouts from the Card. So the Driver is waiting for Data but the Card does not send anything.
Typicall error messages are something like this:
[ 97.776310] iwlwifi 0000:01:00.0: Queue 9 stuck for 2500 ms. [ 97.782240] iwlwifi 0000:01:00.0: Current SW read_ptr 56 write_ptr 57
We tried another WiFi Card from Advantech using a Marvell Chip. But there we also get stuck at some point with similar symptoms.
Since we were not sure our Board is working correctly we took the Phytec SOM Platform Board which has a conventional PCIe Slot and used an PCIe to M.2 converter Card. But the results are the same. The card stops talking to us sooner or later.
When we use a standard Intel Gigabit CT Desktop Adapter on this board (plugged directly into the PCIe slot) I can transfer gigabytes of data without any problems.
When I put the WiFi Card with the converter Card into the PCIe Slot of an x86 PC I can also connect to a wifi and transfer gigabytes of data without any problems.
So it currently boils down to different M.2 Wifi Cards not working in combination with an AM5728 on a PhyCORE Module on Linux 4.9. (We also tested Kernel 4.8, the Intel card is not supported before kernel 4.6 so we can't test 4.4)
We're currently more or less out of ideas what could be the cause of this issue. I'm open for any hints what could cause this.
Michael