PCIe host controller driver in 3.10.17 kernel

cancel
Showing results for 
Search instead for 
Did you mean: 

PCIe host controller driver in 3.10.17 kernel

2,296 Views
krishnanp
Contributor III

I am trying to bring up a PCIe based wireless card on i.MX6 custom board. The card has been verified  with 3.10.9 kernel  using the same board.

 

Looks like PCIe host driver got additional features  like RC mode EP mode in this  3.10.17 kernel.  I can see the wi-fi card is getting detected. But the firmware download fails.

 

root@imx6qsabrelite:~# lspci

00:00.0 PCI bridge: Device 16c3:abcd (rev 01)

01:00.0 Ethernet controller: Marvell Technology Group Ltd. Device 2b38

 

I have attached the console logs.  Your suggestions are welcome.

Original Attachment has been moved to: 3.10.17_pcie_console_log.txt.zip

Labels (1)
Tags (3)
0 Kudos
3 Replies

314 Views
CarlosCasillas
NXP Employee
NXP Employee

Hi Krishnan P,

Did you enable RC or EP option in the kernel configuration when build the kernel image?

These two options are only used in imx6 pcie ep/rc validation system, please disable them if they are enabled in your kernel configuration.
Otherwise, imx6 pcie wouldn't work properly.

based on the 3.10.17 and imx6dl sd, intel iwl633agn wifi card.

Here is the log.

Booting Linux on physical CPU 0x0

Linux version 3.10.17-01767-g97f757e (r65037@shlinux1) (gcc version 4.8.1 (GCC) ) #205 SMP PREEMPT Wed Aug 6 13:25:41 CST 2014

CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d

CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache

Machine: Freescale i.MX6 Quad/DualLite (Device Tree), model: Freescale i.MX6 DualLite SABRE Smart Device Board(PFUZE100)

cma: CMA: reserved 320 MiB at 2c000000

Memory policy: ECC disabled, Data cache writealloc

PERCPU: Embedded 8 pages/cpu @813d3000 s8896 r8192 d15680 u32768

Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 195072

...

MIPI CSI2 driver module loaded

Advanced Linux Sound Architecture Driver Initialized.

cfg80211: Calling CRDA to update world regulatory domain

pureg-dummy: no parameters

Switching to clocksource mxc_timer1

PCI host bridge to bus 0000:00

pci_bus 0000:00: root bus resource [io  0x1000-0x10000]

pci_bus 0000:00: root bus resource [mem 0x01000000-0x01efffff]

pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]

PCI: bus0: Fast back to back transfers disabled

PCI: bus1: Fast back to back transfers disabled

pci 0000:00:00.0: BAR 0: assigned [mem 0x01000000-0x010fffff]

pci 0000:00:00.0: BAR 8: assigned [mem 0x01100000-0x011fffff]

pci 0000:00:00.0: BAR 6: assigned [mem 0x01200000-0x0120ffff pref]

pci 0000:01:00.0: BAR 0: assigned [mem 0x01100000-0x01101fff 64bit]

pci 0000:00:00.0: PCI bridge to [bus 01]

pci 0000:00:00.0:  bridge window [mem 0x01100000-0x011fffff]

NET: Registered protocol family 2

TCP established hash table entries: 8192 (order: 4, 65536 bytes)

TCP bind hash table entries: 8192 (order: 4, 65536 bytes)

TCP: Hash tables configured (established 8192 bind 8192)

...

udevd[196]: starting version 182

iwlwifi 0000:01:00.0: loaded firmware version 9.221.4.1 build 25532 op_mode iwldvm

iwlwifi 0000:01:00.0: CONFIG_IWLWIFI_DEBUG disabled

iwlwifi 0000:01:00.0: CONFIG_IWLWIFI_DEBUGFS disabled

iwlwifi 0000:01:00.0: CONFIG_IWLWIFI_DEVICE_TRACING disabled

iwlwifi 0000:01:00.0: CONFIG_IWLWIFI_DEVICE_TESTMODE disabled

iwlwifi 0000:01:00.0: CONFIG_IWLWIFI_P2P enabled

iwlwifi 0000:01:00.0: Detected Intel(R) Centrino(R) Ultimate-N 6300 AGN, REV=0x74

iwlwifi 0000:01:00.0: L1 Disabled; Enabling L0S

EXT2-fs (mmcblk0p1): warning: mounting unchecked fs, running e2fsck is recommended

...

root@imx6qdlsolo:~# lspci

00:00.0 PCI bridge: Device 16c3:abcd (rev 01)

01:00.0 Network controller: Intel Corporation Centrino Ultimate-N 6300 (rev 35)


Hope this will be useful for you.
Best regards!
/Carlos

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

0 Kudos

314 Views
faisaltaj
Contributor II

Hi CarlosCasillas,

Even I am facing same problem with kernel 3.10.53. My boot-up stops here:

Starting udev

udevd[199]: starting version 182

iwl4965 0000:01:00.0: request for firmware file 'iwlwifi-4965-2.ucode' failed.

iwl4965 0000:01:00.0: no suitable firmware found!

Note: imx6 pcie ep/rc  are disabled

Attached please find my config file.

Thanks

0 Kudos

314 Views
CarlosCasillas
NXP Employee
NXP Employee

Hi Krishnan P,

We are reviewing your request internally, you will get a response soon.

Best regards!
/Carlos

0 Kudos