明远智睿Lan 发表于 2021-11-5 13:50

imx8 支持PCIE Endpoint

插上模块,输入以下命令:$ dmesg| grep pci
$ lspci -v
MYZR-IMX8M-EK300输出以下信息:


root@myzr:~# dmesg| grep pci
[    3.291149] ehci-pci: EHCI PCI platform driver
[    3.314253] ohci-pci: OHCI PCI platform driver
[    5.563865] imx6q-pcie 33800000.pcie: 33800000.pcie supply epdev_on not found, using dummy regulator
[    5.572501] OF: PCI: host bridge /pcie@0x33800000 ranges:
[    5.576752] OF: PCI:   No bus range found for /pcie@0x33800000, using
[    5.593555] imx6q-pcie 33800000.pcie: pcie phy pll is locked.
[    5.842329] imx6q-pcie 33800000.pcie: phy link never came up
[    5.846713] imx6q-pcie 33800000.pcie: failed to initialize host
[    5.851339] imx6q-pcie 33800000.pcie: unable to add pcie port.
[    5.856799] imx6q-pcie: probe of 33800000.pcie failed with error -110
[    5.864915] imx6q-pcie 33c00000.pcie: 33c00000.pcie supply epdev_on not found, using dummy regulator
[    5.873059] OF: PCI: host bridge /pcie@0x33c00000 ranges:
[    5.877227] OF: PCI:   No bus range found for /pcie@0x33c00000, using
[    5.894067] imx6q-pcie 33c00000.pcie: pcie phy pll is locked.
[    5.971961] imx6q-pcie 33c00000.pcie: Speed change timeout
[    5.976153] imx6q-pcie 33c00000.pcie: Roll back to GEN1 link!
[    5.980606] imx6q-pcie 33c00000.pcie: Link up, Gen1
[    5.987200] imx6q-pcie 33c00000.pcie: PCI host bridge to bus 0000:00
[    5.992283] pci_bus 0000:00: root bus resource
[    5.996545] pci_bus 0000:00: root bus resource (bus address )
[    6.004231] pci_bus 0000:00: root bus resource
[    6.009932] pci 0000:00:00.0: type 01 class 0x060400
[    6.009971] pci 0000:00:00.0: reg 0x10:
[    6.009982] pci 0000:00:00.0: reg 0x38:
[    6.010040] pci 0000:00:00.0: supports D1
[    6.010048] pci 0000:00:00.0: PME# supported from D0 D1 D3hot D3cold
[    6.010645] pci 0000:01:00.0: type 00 class 0x028000
[    6.010784] pci 0000:01:00.0: reg 0x10:
[    6.011224] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    6.022488] pci 0000:00:00.0: BAR 0: assigned
[    6.028597] pci 0000:00:00.0: BAR 14: assigned
[    6.034248] pci 0000:00:00.0: BAR 6: assigned
[    6.040247] pci 0000:01:00.0: BAR 0: assigned
[    6.046325] pci 0000:00:00.0: PCI bridge to
[    6.050338] pci 0000:00:00.0:   bridge window
[    6.056721] pcieport 0000:00:00.0: Signaling PME with IRQ 271
[    6.061499] pcieport 0000:00:00.0: AER enabled with IRQ 271



root@myzr:~# lspci -v
00:00.0 PCI bridge: Synopsys, Inc. Device abcd (rev 01) (prog-if 00 )
      Flags: bus master, fast devsel, latency 0, IRQ 271
      Memory at 20000000 (64-bit, non-prefetchable)
      Bus: primary=00, secondary=01, subordinate=ff, sec-latency=0
      Memory behind bridge: 20100000-201fffff
       Expansion ROM at 20200000
      Capabilities: Power Management version 3
      Capabilities: MSI: Enable+ Count=1/1 Maskable+ 64bit+
      Capabilities: Express Root Port (Slot-), MSI 00
      Capabilities: Advanced Error Reporting
      Capabilities: L1 PM Substates
      Kernel driver in use: pcieport

01:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN Network Connection (rev 61)
      Subsystem: Intel Corporation PRO/Wireless 4965 AG or AGN Network Connection
      Flags: fast devsel
      Memory at 20100000 (64-bit, non-prefetchable)
      Capabilities: Power Management version 3
      Capabilities: MSI: Enable- Count=1/1 Maskable- 64bit+
      Capabilities: Express Endpoint, MSI 00
      Capabilities: Advanced Error Reporting
      Capabilities: Device Serial Number 00-1f-3b-ff-ff-1c-b8-fd


13810995520 发表于 2022-10-28 14:32

您好怎么加您的微信技术交流啊?
页: [1]
查看完整版本: imx8 支持PCIE Endpoint