12-18-2018 10:21 AM
I am trying to interface a wifi module based on Qualcomm chip set (ath-10). I am working on a custom embedded board which is powered by Zynq Ultrascale SoC and the board is connected through a pcie connector on board. I enabled the ps-pcie module in vivado PCW wizard and made the pcie port as a root port.
I also enabled NWL-pcie driver in the kernel and also the other required components
Networking support -> Wireless, enable cfg80211,Generic IEEE 802.11 Networking Stack (MAC80211).
Device Drivers -> Network device support -> Ethernet driver support->Atheros Devices.
Device Drivers -> Network device support -> Wireless LAN -> Atheros/Qualcomm devices and I am compiled as modules both Atheros 802.11ac wireless card support and atheros ath10k pcie support
and I have the two kernel modules ath10k_core.ko and ath10k_pci.ko present at /lib/modules/4.9.0/kernel/drivers/net/wireless/ath/ath10k.
However I cannot load them modprobe says the requested module is not found at /lib/modules/4.9.0/ and insmod returns unresolved symbols error.
Are there any other dependencies?
nwl-pcie is not finding the device and on bootup it always says pcie link is down. Doing an lspci returns this
00:00.0 Non-VGA unclassified device: Xilinx Corporation Device d011
So, Is there any device tree binding necessary for making qualcomm chipsets enumerate?
12-06-2019 06:07 AM
Did you end up ever figuring this out? I found this answer and wondered if it could help. I wonder if there is something needed to be done at the petalinux build phase?
12-08-2019 09:11 PM
I did figure it out quite a long time ago. I did my own hacks to make the pcie device enumarate and work as intended. My problem was multi pronged not just related to loading the kernel modules.
12-09-2019 06:20 AM
Was it an issue due to Petalinux? I'm looking at throwing down an ath10 device but after seeing your thread here I'm not sure I want to. I have to avoid as much software dev time as possible.
Do you think later linux kernels would have cleared up the driver issue?
12-09-2019 07:25 AM
If you can describe your problem briefly. I can try to help.
I had my issue from fsbl and also xilinx kernel. Had to add some hooks to fsbl and had to add a few lines of code to kernel source in order to overcome firmware loading issue.
12-09-2019 08:27 AM - edited 12-09-2019 08:32 AM
Thanks for all the replies, by the way!
I haven't built anything yet. I'm the hardware designer trying to make it easy for the software developers by using hardware that is supported with drivers already. I have narrowed my selection to ath9k and ath10k supported chips. I'd prefer to use the ath10k supported hardware so I can use 5 GHz.
Would you have any suggestions? We're using custom hardware wtih zynq ultrascale+.
12-09-2019 08:30 AM
ath10k devices and their drivers are perfectly supported by petalinux. I used them in 2017.4, 2018.1 and also 2018.3 versions of petalinux.