打印
[其它]

imx8 支持PCIE Endpoint

[复制链接]
3760|1
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
插上模块,输入以下命令:$ 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 [bus 00-ff]
[    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 [bus 00-ff]
[    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 [bus 00-ff]
[    5.996545] pci_bus 0000:00: root bus resource [io  0x10000-0x1ffff] (bus address [0x0000-0xffff])
[    6.004231] pci_bus 0000:00: root bus resource [mem 0x20000000-0x27efffff]
[    6.009932] pci 0000:00:00.0: [16c3:abcd] type 01 class 0x060400
[    6.009971] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[    6.009982] pci 0000:00:00.0: reg 0x38: [mem 0x00000000-0x0000ffff pref]
[    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: [8086:4229] type 00 class 0x028000
[    6.010784] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00001fff 64bit]
[    6.011224] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    6.022488] pci 0000:00:00.0: BAR 0: assigned [mem 0x20000000-0x200fffff 64bit]
[    6.028597] pci 0000:00:00.0: BAR 14: assigned [mem 0x20100000-0x201fffff]
[    6.034248] pci 0000:00:00.0: BAR 6: assigned [mem 0x20200000-0x2020ffff pref]
[    6.040247] pci 0000:01:00.0: BAR 0: assigned [mem 0x20100000-0x20101fff 64bit]
[    6.046325] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    6.050338] pci 0000:00:00.0:   bridge window [mem 0x20100000-0x201fffff]
[    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 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 271
        Memory at 20000000 (64-bit, non-prefetchable) [size=1M]
        Bus: primary=00, secondary=01, subordinate=ff, sec-latency=0
        Memory behind bridge: 20100000-201fffff
        [virtual] Expansion ROM at 20200000 [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: [148] L1 PM Substates
        Kernel driver in use: pcieport

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


使用特权

评论回复

相关帖子

沙发
13810995520| | 2022-10-28 14:32 | 只看该作者
您好  怎么加您的微信技术交流啊?

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

206

主题

261

帖子

4

粉丝