AnsweredAssumed Answered

i.MX6q pop WLAN over PCIe problem

Question asked by Mannsik Chung on Mar 2, 2016
Latest reply on Mar 7, 2016 by igorpadykov

Dear all, Please help me.

 

I'm trying to enable Broadcom WiFi on PICe of iMX6q pop type, source code base is yocto and using device tree.

But, I'm facing problem related Memory.

 

I enabled pcie in dts file by status = "okay".

And, changed ranges field as below to encreas enabling assign 16MB and others.

 

  ranges = <

  0x81000000 0 0          0x01f80000 0 0x00010000 /* downstream I/O */

  0x82000000 0 0x01000000 0x01000000 0 0x01f00000 /* non-prefetchable memory */

  >;

 

Now, I see below print out by "lsusb -v" command.

 

root@imx6qsabresd:~# lspci -v

00:00.0 PCI bridge: Synopsys, Inc. Device abcd (rev 01) (prog-if 00 [Normal decode])

        Flags: bus master, fast devsel, latency 0, IRQ 384

        Memory at 02800000 (32-bit, non-prefetchable) [size=1M]

        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0

        Prefetchable memory behind bridge: 01000000-027fffff

        [virtual] Expansion ROM at 02900000 [disabled] [size=64K]

        Capabilities: [40] Power Management version 3

        Capabilities: [50] MSI: Enable+ Count=1/1 Maskable+ 64bit+

        Capabilities: [70] Express Root Port (Slot-), MSI 00

        Capabilities: [100] Advanced Error Reporting

        Capabilities: [140] Virtual Channel

        Kernel driver in use: pcieport

lspci: Unable to load libkmod resources: error -12

 

01:00.0 Multimedia controller: Broadcom Corporation Device 4354 (rev 02)

        Subsystem: Broadcom Corporation Device 4354

        Flags: fast devsel, IRQ 20

        Memory at 02100000 (64-bit, prefetchable) [disabled] [size=32K]

        Memory at 02000000 (64-bit, prefetchable) [disabled] [size=1M]

        Memory at 01000000 (64-bit, prefetchable) [disabled] [size=16M]

        Capabilities: [48] Power Management version 3

        Capabilities: [58] MSI: Enable- Count=1/16 Maskable- 64bit+

        Capabilities: [68] Vendor Specific Information: Len=44 <?>

        Capabilities: [ac] Express Endpoint, MSI 00

        Capabilities: [100] Advanced Error Reporting

        Capabilities: [13c] Device Serial Number 00-00-00-00-00-00-00-00

        Capabilities: [150] Power Budgeting <?>

        Capabilities: [160] Virtual Channel

        Capabilities: [1b0] Latency Tolerance Reporting

        Capabilities: [220] #15

        Capabilities: [240] L1 PM Substates

 

root@imx6qsabresd:~#

 

 

First, why "lspci: Unable to load libkmod resources: error -12" is printed?

Second, why all of prefetchable Memory areas are [disabled]?

 

Please help me.

Outcomes