01-17-2019 08:21 AM
I am using Intel PCIe WiFi card on a custom embedded board powered by an ultra scale SoC. I am trying to use an intel 8265NGW PCIe WiFi module.
The Module is getting successfully enumerated. I did include the required driver in the kernel
Device Drivers -> Network Device Support -> Wireless LAN
[*] Intel Devices &
[*]Intel Wireless WiFi NextGen AGN
and I copied the required firmware files to /lib/firmware.
Still the driver says
[ 4.744697] iwlwifi 0000:01:00.0: Direct firmware load for iwlwifi-8265-25.ucode failed with error -2
[ 4.744704] iwlwifi 0000:01:00.0: Firmware files: iwlwifi-8265-25.ucode
[ 4.744747] iwlwifi 0000:01:00.0: Direct firmware load for iwlwifi-8265-24.ucode failed with error -2
[ 4.744754] iwlwifi 0000:01:00.0: Firmware files: iwlwifi-8265-24.ucode
[ 4.744796] iwlwifi 0000:01:00.0: Direct firmware load for iwlwifi-8265-23.ucode failed with error -2
[ 4.744803] iwlwifi 0000:01:00.0: Firmware files: iwlwifi-8265-23.ucode
[ 4.744844] iwlwifi 0000:01:00.0: Direct firmware load for iwlwifi-8265-22.ucode failed with error -2
[ 4.744851] iwlwifi 0000:01:00.0: Firmware files: iwlwifi-8265-22.ucode
[ 4.744893] iwlwifi 0000:01:00.0: Direct firmware load for iwlwifi-8265-21.ucode failed with error -2
[ 4.744899] iwlwifi 0000:01:00.0: Firmware files: iwlwifi-8265-21.ucode
[ 4.744941] iwlwifi 0000:01:00.0: Direct firmware load for iwlwifi-8265-20.ucode failed with error -2
[ 4.744948] iwlwifi 0000:01:00.0: Firmware files: iwlwifi-8265-20.ucode
[ 4.744952] iwlwifi 0000:01:00.0: ********no suitable firmware found!********
Please let me know where does petalinux look for firmware files. I am using an external kernel source xilinx-v2017.4 as my kernel.
06-14-2019 12:19 AM
Exactly WHAT did you copy to the /lib/firmware directory?
We are using a AC 3165 and copied the "requested" firmware to this directory and it the firmware is found and loaded.
06-14-2019 05:46 AM - edited 06-14-2019 05:48 AM
I also did the same thing.
In my case the kernel did not know what is that firmware directory. I had to hardcode /lib/firmware in kernel source code and compile the drivers as modules to make sure linux looks for them in my actual root file system and in correct path.
This is working for me
06-21-2019 03:58 AM
Did you get this WiFi to work correctly, at our location it seems that PCIe-bus is giving problems. We can get the link up (for a short while) but
after 20 seconds or so lspci gives "garbage info" on the card. Accessing the card for any network actions will cause a kernel crash at
iwl_trans_pcie_read32+0x10/0x20 [iwlwifi]. Have you experienced likewise issues?
06-21-2019 06:36 AM
No. My pcie wifi card is stable. Probably the fsbl is not configuring the pcie/GTR system or there could be hardware issues.
06-21-2019 06:57 AM
Thanks. PCIe is configured by FSBL. All is operational (for a short while). I am able to rescan pci bus and have the M.2 card discovered. Remove pcie and do it again, no problem. Bring up the Wifi card, no problem. For a short while it is working correctly. Then any action on PCIe (for instance just list it using lspci) will let the kernel crash with a reference to the iwl_trans_read32 function.
06-21-2019 08:21 AM
I dont have this issue for sure. but with the reference function you mentioned it inferes me that the iwl drivier is unable to read the configuration registers of the pcie module. If I am right iwl must be using low level nwl-pcie to do read/write to the device. The device seems to stop functioning.
I dont know if it can help but I think it will be helpful if you try a new module of similar make and see if the same behaviour persists. Also these cards have a hardware disable pin which is active low. If your intel wifi card supports it you can monitor that pin if it goes low for any reason.
06-21-2019 08:30 AM
Thanks, I have 2 new cards, 7265 and 3165. Most likely no hardware failure on card side. The DISABLE pins are inputs for the M2 card, so you can block
transmission (or any wifi function).