SabreBoard imx7 and pciExpress WLAN Chip ath9k

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

SabreBoard imx7 and pciExpress WLAN Chip ath9k

1,575 次查看
rubenschwarz
Contributor II

Hi,

I'm trying to get an Atheros WLAN Chip running on imx7 Sabre board. Chipset is ath9k.

Kernel and root-file system are built by yocto, System startup works fine and wpa_supplicant tries to connect to WLAN.

After getting a WLAN-Connection, this connection is immediatelly disconnected.

After some research i found, that ping is very slow (500-1500ms) and not stable. Furthermore I found, that there are no interrupts for ath9k driver:

cat /proc/interrupts:

CPU0 CPU1
305: 0 0 GPCV2 122 Edge PCIe PME, ath9k

On a second board with imx6 with working wlan there are interrupts.

Now my question:

How can I enable interrupts for ath9k driver?

Is this an devicetree configuration problem?

Any configuration options for ath9k kernel driver?

Any other ideas?

Thanks in advance

Ruben

标记 (3)
0 项奖励
回复
3 回复数

997 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Ruben

what bsp used in the case, please note that i.MX7 supported starting

only from L4.1.15_1.2.0. Regarding interrupts, these are enabled in dts ("msi") :

linux-2.6-imx.git - Freescale i.MX Linux Tree 

so this may be wlan chip firmware issue and one can apply to atheros support

for updated firmware.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

997 次查看
rubenschwarz
Contributor II

Hi Igor,

thanks for your response.

I am already using bsp version L4.1.15_1.2.0 , see following snippet from

yocto kernel recipe:

SRCREV = "rel_imx_4.1.15_1.2.0_ga"

SRCBRANCH = "imx_4.1.15_1.0.0_ga"

SRC_URI = "\

git://git.freescale.com/imx/linux-2.6-imx.git?branch=$\

file://defconfig \

"

Do you have any ideas how to check the interrupt configuration against a

datasheet?

If I do "cat /proc/interrupts" on imx7 board, i see the following:

cat /proc/interrupts:

CPU0 CPU1

305: 0 0 GPCV2 122 Edge PCIe PME, ath9k

On the working imx6 board output looks like this:

cat /proc/interrupts:

CPU0 CPU1

xxx: x x GPCV2 122 Edge ath9k

Is it possible that there is a problem with PCIe PME?

I'm no PCI Expert, perhaps this is a stupid question :smileywink:

Best regards

Ruben

igorpadykov <admin@community.nxp.com> schrieb am Di., 22. Nov. 2016 um

07:51 Uhr:

NXP Community

<https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg>

Re: SabreBoard imx7 and pciExpress WLAN Chip ath9k

reply from igorpadykov

<https://community.nxp.com/people/igorpadykov?et=watches.email.thread> in *i.MX

Community* - View the full discussion

<https://community.nxp.com/message/853432?commentID=853432&et=watches.email.thread#comment-853432>

0 项奖励
回复

997 次查看
igorpadykov
NXP Employee
NXP Employee

H Ruben

pcie interrupts can be tested with BCM4339 driver which is supported

in official NXP BSPs, please refer to Chapter 46 Wi-Fi attached Linux

Manual.

Best regards
igor

0 项奖励
回复