明远智睿技术论坛

 找回密码
 立即注册
搜索
查看: 8760|回复: 2

imx8 支持pcie endpoint

[复制链接]

36

主题

745

帖子

2872

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
2872
发表于 2021-3-9 17:32:26 | 显示全部楼层 |阅读模式
插上模块,输入以下命令:$ 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





回复

使用道具 举报

0

主题

3

帖子

28

积分

新手上路

Rank: 1

积分
28
发表于 2022-2-8 11:15:04 | 显示全部楼层
root@imx8mqevk:~# dmesg |grep pci
[    1.120315] ehci-pci: EHCI PCI platform driver
[    1.143135] ohci-pci: OHCI PCI platform driver
[    3.382686] imx6q-pcie 33800000.pcie: 33800000.pcie supply epdev_on not found, using dummy regulator
[    3.391348] OF: PCI: host bridge /pcie@0x33800000 ranges:
[    3.395460] OF: PCI:   No bus range found for /pcie@0x33800000, using [bus 00-ff]
[    3.412224] imx6q-pcie 33800000.pcie: pcie phy pll is locked.
[    3.490060] imx6q-pcie 33800000.pcie: Speed change timeout
[    3.494249] imx6q-pcie 33800000.pcie: Roll back to GEN1 link!
[    3.498700] imx6q-pcie 33800000.pcie: Link up, Gen1
[    3.504883] imx6q-pcie 33800000.pcie: PCI host bridge to bus 0000:00
[    3.509965] pci_bus 0000:00: root bus resource [bus 00-ff]
[    3.514218] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    3.519108] pci_bus 0000:00: root bus resource [mem 0x18000000-0x1fefffff]
[    3.524774] pci 0000:00:00.0: [16c3:abcd] type 01 class 0x060400
[    3.524802] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[    3.524811] pci 0000:00:00.0: reg 0x38: [mem 0x00000000-0x0000ffff pref]
[    3.524858] pci 0000:00:00.0: supports D1
[    3.524864] pci 0000:00:00.0: PME# supported from D0 D1 D3hot D3cold
[    3.525313] pci 0000:01:00.0: [8086:08b1] type 00 class 0x028000
[    3.525470] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00001fff 64bit]
[    3.525924] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    3.535389] pci 0000:00:00.0: BAR 0: assigned [mem 0x18000000-0x180fffff 64bit]
[    3.541528] pci 0000:00:00.0: BAR 14: assigned [mem 0x18100000-0x181fffff]
[    3.547116] pci 0000:00:00.0: BAR 6: assigned [mem 0x18200000-0x1820ffff pref]
[    3.553110] pci 0000:01:00.0: BAR 0: assigned [mem 0x18100000-0x18101fff 64bit]
[    3.559173] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    3.563166] pci 0000:00:00.0:   bridge window [mem 0x18100000-0x181fffff]
[    3.569337] pcieport 0000:00:00.0: Signaling PME with IRQ 239
[    3.574077] pcieport 0000:00:00.0: AER enabled with IRQ 239
[    3.579763] imx6q-pcie 33c00000.pcie: 33c00000.pcie supply epdev_on not found, using dummy regulator
[    3.587962] OF: PCI: host bridge /pcie@0x33c00000 ranges:
[    3.592134] OF: PCI:   No bus range found for /pcie@0x33c00000, using [bus 00-ff]
[    3.609141] imx6q-pcie 33c00000.pcie: pcie phy pll is locked.
[    3.857765] imx6q-pcie 33c00000.pcie: phy link never came up
[    3.862147] imx6q-pcie 33c00000.pcie: failed to initialize host
[    3.866777] imx6q-pcie 33c00000.pcie: unable to add pcie port.
[    3.872123] imx6q-pcie: probe of 33c00000.pcie failed with error -110

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 239
        Memory at 18000000 (64-bit, non-prefetchable) [size=1M]
        Bus: primary=00, secondary=01, subordinate=ff, sec-latency=0
        I/O behind bridge: None
        Memory behind bridge: 18100000-181fffff [size=1M]
        Prefetchable memory behind bridge: None
        [virtual] Expansion ROM at 18200000 [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 Wireless 7260 (rev bb)
        Subsystem: Intel Corporation Dual Band Wireless-AC 7260
        Flags: fast devsel
        Memory at 18100000 (64-bit, non-prefetchable) [disabled] [size=8K]
        Capabilities: [c8] Power Management version 3
        Capabilities: [d0] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [40] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Device Serial Number 00-16-6f-ff-ff-e7-02-d9
        Capabilities: [14c] Latency Tolerance Reporting
        Capabilities: [154] Vendor Specific Information: ID=cafe Rev=1 Len=014 <?>

请问我这个是成功了还是失败了???
回复 支持 反对

使用道具 举报

36

主题

745

帖子

2872

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
2872
 楼主| 发表于 2022-3-4 11:25:08 | 显示全部楼层
Cupid天空 发表于 2022-2-8 11:15
root@imx8mqevk:~# dmesg |grep pci
[    1.120315] ehci-pci: EHCI PCI platform driver
[    1.143135] o ...

嗯,检测到了,加WIFI驱动试试
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|明远智睿  

GMT+8, 2024-10-11 20:52 , Processed in 0.063191 second(s), 22 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表