Hi,
We are using imx6-q7 module with intel centrino advanced N 6235 wifi pcie module in our project and running in linux 3.0.35 kernel. As Intel 6235 module driver supports from 3.2+ kernel, we have downloaded backport driver iwlwifi (3.10, 3.14) from link (http://wireless.kernel.org/en/users/Drivers/iwlwifi). While loading this driver we are unable to initialize the device. When we analyzing the logs we came to know that the driver tries to send firmware from DRAM to NIC - and NIC doesn’t receive data.
iwlwifi 0000:07:00.0: L1 Disabled; Enabling L0S
iwlwifi 0000:07:00.0: Radio type=0x2-0x1-0x0
iwlwifi 0000:07:00.0: Failed to load firmware chunk!
iwlwifi 0000:07:00.0: Could not load the [0] uCode section
iwlwifi 0000:07:00.0: Failed to run INIT ucode: -110
iwlwifi 0000:07:00.0: Unable to initialize device.
I have attached detailed log for your reference. Could you please help us to fix this issue.
Note:
While taking the attached log we have enabled debug=0xffffffff
Original Attachment has been moved to: iwlwifi_debug_logs.txt.zip
Hi,
Thanks Zhu, Intel 6300 is working thanks for the support, We have faced interrept issue, we disable the MSI interrept, and WIfi works fine now, now we are trying to support WIFI direct and hotspot function.
Regards,
Bala.D
Hi,
We have enabled the driver iwlagn driver, we got the following error,
<6>iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, in-tree:d
<6>iwlagn: Copyright(c) 2003-2011 Intel Corporation
<6>iwlagn 0000:07:00.0: Detected Intel(R) Centrino(R) Ultimate-N 6300 AGN, REV=0x74
<6>iwlagn 0000:07:00.0: device EEPROM VER=0x436, CALIB=0x6
<6>iwlagn 0000:07:00.0: Device SKU: 0Xb
<6>iwlagn 0000:07:00.0: Valid Tx ant: 0X7, Valid Rx ant: 0X7
<6>iwlagn 0000:07:00.0: Tunable channels: 13 802.11bg, 24 802.11a channels
<6>iwl4965: Intel(R) Wireless WiFi 4965 driver for Linux, in-tree:
<6>iwl4965: Copyright(c) 2003-2011 Intel Corporation
<6>iwlagn 0000:07:00.0: loaded firmware version 9.193.4.1 build 19710
<7>ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs'
<3>iwlagn 0000:07:00.0: Could not load the INST uCode section
<3>iwlagn 0000:07:00.0: Failed to run INIT ucode: -110
<3>iwlagn 0000:07:00.0: Unable to initialize device.
<3>iwlagn 0000:07:00.0: Could not load the INST uCode section
<3>iwlagn 0000:07:00.0: Failed to run INIT ucode: -110
<3>iwlagn 0000:07:00.0: Unable to initialize device.
Can you please help us to solve this issue.
Note:
During this testing, we have enabled msi interrupt.
Regards,
Bala.
Which ucode firmware are you using?
Hi Yuan,
We have tried iwlwifi-6000g2b-ucode-18.168.6.1.tgz and iwlwifi-6000g2a-ucode-17.168.5.1.tgz u-code.
Driver is able to read iwlwifi-6000g2b-ucode-18.168.6.1.tgz u-code only.
Regards
Arulpandiyan Vadivel
Can the card work on PC using the ucode? Which software release version you are using?
We have not tested this card in PC. We are using backport driver of iwlwifi from 3.10.
Regards
Arulpandiyan V
We tried intel 6200 wifi card, with its firmware even it fails to come up. It gives the same error.
Regards,
Arulpandiyan V
As you know, we should have released 3.10.17 ga version for imx6. You'd better try to enable it on that bsp firstly. Then we can stay on the same page for the source code. Or I do not know where you modified for the 3.0.5 code to align the code and the log you provided.
Sorry for the late reply,
Os Version = 3.0.35
Android = JB 4.2
1. We have tried to enable the CONFIG_IWLMVM and CONFIG_IWLMVM items in kernel config file. But there is no state change.
2. We have patched the pcie.c file in our kernel as per zhu's recommendation to enable the pcie switch(pericom) support.
3. We have connected our wifi device as above diagram in our target.
3.1 We have tried to bring up following wifi devices
1.intel 6235(DMA issue)
2.intel 6200(DMA issue)
3. Atheros 9280(Wlan0 link not ready)
and all these three devices are not working.
Could you please suggest any of the pcie wifi device(dual band support) which is compatable with imx6 processor in linux 3.0.35.
Regards
Bala.
According to i.MX_6Dual6Quad_Linux_referece_Manual.pdf, Iwl6300 mini-PCIe wifi card should have been tested:
And here is one link using iwl4965 pcie wifi card on android 4.2:
Hi,
can you please tell me the linux version, ours is 3.0.35.
For 6300, the document released together with ltib, it should be 3.0.35 kernel version. I have no the device to try it on my side. You can enable the device config item and locate the firmware to the right path to try it.
For 4965, it is for JB4.2 ga release, we can apply the patch set directly, I have validated it, and it surely can work.
Can you enable CONFIG_IWLMVM and CONFIG_IWLMVM items in kernel config file, and then take one try?