linux网卡不兼容pci,关于rk3399 pcie 连接 pci 网卡问题

这篇博客主要探讨了在Linux环境下,RK3399平台遇到PCIe连接PCI网卡不兼容的问题。在启动过程中,系统日志显示出与PCIe设备相关的初始化错误,包括电源管理、中断分配和内存资源分配失败等。通过对设备树配置、驱动程序和内核参数的分析,博主深入研究了解决此类问题的可能途径,对于理解PCIe设备在嵌入式系统中的工作原理和故障排查具有指导意义。
摘要由CSDN通过智能技术生成

[    0.000000] Kernel command line: console=ttyFIQ0 pci=nobios root=/dev/mmcblk1p6 rw rootwait mtdparts=rk29xxnand:0x00002000@0x00002000(uboot),0x00002000@0x00004000(trust),0x00008000@0x00006000(resource),0x0000A000@0x0000E000(kernel),0x00002000@0x00018000(backup),-@0x0001A000(boot) storagemedia=emmc uboot_logo=0x02000000@0xf5c00000 loader.timestamp=2017-04-25_15:10:21

[    0.268689] of_get_named_gpiod_flags: parsed 'gpio' property of node '/vcc3v3-pcie-regulator[0]' - status (0)

[    0.268743] vcc3v3_pcie: no parameters

[    0.268878] reg-fixed-voltage vcc3v3-pcie-regulator: vcc3v3_pcie supplying 0uV

[    0.378272] rockchip-pcie f8000000.pcie: GPIO lookup for consumer ep

[    0.378282] rockchip-pcie f8000000.pcie: using device tree for GPIO lookup

[    0.378309] of_get_named_gpiod_flags: parsed 'ep-gpios' property of node '/pcie@f8000000[0]' - status (0)

[    0.378530] rockchip-pcie f8000000.pcie: Looking up vpcie3v3-supply from device tree

[    0.378540] rockchip-pcie f8000000.pcie: Looking up vpcie3v3-supply property in node /pcie@f8000000 failed

[    0.378555] rockchip-pcie f8000000.pcie: no vpcie3v3 regulator found

[    0.379129] rockchip-pcie f8000000.pcie: Looking up vpcie1v8-supply from device tree

[    0.379138] rockchip-pcie f8000000.pcie: Looking up vpcie1v8-supply property in node /pcie@f8000000 failed

[    0.379149] rockchip-pcie f8000000.pcie: no vpcie1v8 regulator found

[    0.379708] rockchip-pcie f8000000.pcie: Looking up vpcie0v9-supply from device tree

[    0.379717] rockchip-pcie f8000000.pcie: Looking up vpcie0v9-supply property in node /pcie@f8000000 failed

[    0.379727] rockchip-pcie f8000000.pcie: no vpcie0v9 regulator found

[    0.448803] PCI host bridge /pcie@f8000000 ranges:

[    0.450428] rockchip-pcie f8000000.pcie: PCI host bridge to bus 0000:00

[    0.451028] pci_bus 0000:00: root bus resource [bus 00-01]

[    0.451518] pci_bus 0000:00: root bus resource [mem 0xfa000000-0xfa5fffff]

[    0.452138] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff] (bus address [0xfa600000-0xfa6fffff])

[    0.452990] pci_bus 0000:00: scanning bus

[    0.453022] pci 0000:00:00.0: [1d87:0100] type 01 class 0x060400

[    0.453128] pci 0000:00:00.0: supports D1

[    0.453135] pci 0000:00:00.0: PME# supported from D0 D1 D3hot

[    0.453146] pci 0000:00:00.0: PME# disabled

[    0.453383] pci_bus 0000:00: fixups for bus

[    0.453394] pci 0000:00:00.0: scanning [bus 00-00] behind bridge, pass 0

[    0.453402] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring

[    0.454125] pci 0000:00:00.0: scanning [bus 00-00] behind bridge, pass 1

[    0.454234] pci_bus 0000:01: busn_res: can not insert [bus 01-ff] under [bus 00-01] (conflicts with (null) [bus 00-01])

[    0.454242] pci_bus 0000:01: scanning bus

[    0.454281] pci 0000:01:00.0: [8086:1521] type 00 class 0x020000

[    0.454339] pci 0000:01:00.0: calling quirk_f0_vpd_link+0x0/0x78

[    0.454366] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff]

[    0.454408] pci 0000:01:00.0: reg 0x1c: [mem 0x00000000-0x00003fff]

[    0.454450] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0007ffff pref]

[    0.454577] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold

[    0.454589] pci 0000:01:00.0: PME# disabled

[    0.454852] pci 0000:01:00.1: [8086:1521] type 00 class 0x020000

[    0.454903] pci 0000:01:00.1: calling quirk_f0_vpd_link+0x0/0x78

[    0.454928] pci 0000:01:00.1: reg 0x10: [mem 0x00000000-0x000fffff]

[    0.454970] pci 0000:01:00.1: reg 0x1c: [mem 0x00000000-0x00003fff]

[    0.455011] pci 0000:01:00.1: reg 0x30: [mem 0x00000000-0x0007ffff pref]

[    0.455131] pci 0000:01:00.1: PME# supported from D0 D3hot D3cold

[    0.455142] pci 0000:01:00.1: PME# disabled

[    0.455396] pci 0000:01:00.2: [8086:1521] type 00 class 0x020000

[    0.455446] pci 0000:01:00.2: calling quirk_f0_vpd_link+0x0/0x78

[    0.455470] pci 0000:01:00.2: reg 0x10: [mem 0x00000000-0x000fffff]

[    0.455511] pci 0000:01:00.2: reg 0x1c: [mem 0x00000000-0x00003fff]

[    0.455552] pci 0000:01:00.2: reg 0x30: [mem 0x00000000-0x0007ffff pref]

[    0.455672] pci 0000:01:00.2: PME# supported from D0 D3hot D3cold

[    0.455683] pci 0000:01:00.2: PME# disabled

[    0.455951] pci 0000:01:00.3: [8086:1521] type 00 class 0x020000

[    0.456001] pci 0000:01:00.3: calling quirk_f0_vpd_link+0x0/0x78

[    0.456026] pci 0000:01:00.3: reg 0x10: [mem 0x00000000-0x000fffff]

[    0.456067] pci 0000:01:00.3: reg 0x1c: [mem 0x00000000-0x00003fff]

[    0.456108] pci 0000:01:00.3: reg 0x30: [mem 0x00000000-0x0007ffff pref]

[    0.456228] pci 0000:01:00.3: PME# supported from D0 D3hot D3cold

[    0.456239] pci 0000:01:00.3: PME# disabled

[    0.457878] pci_bus 0000:01: fixups for bus

[    0.457887] pci_bus 0000:01: bus scan returning with max=01

[    0.457896] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01

[    0.457908] pci_bus 0000:00: bus scan returning with max=01

[    0.457937] pci 0000:00:00.0: BAR 8: no space for [mem size 0x00700000]

[    0.458520] pci 0000:00:00.0: BAR 8: failed to assign [mem size 0x00700000]

[    0.459157] pci 0000:01:00.0: BAR 0: no space for [mem size 0x00100000]

[    0.459740] pci 0000:01:00.0: BAR 0: failed to assign [mem size 0x00100000]

[    0.460369] pci 0000:01:00.1: BAR 0: no space for [mem size 0x00100000]

[    0.460959] pci 0000:01:00.1: BAR 0: failed to assign [mem size 0x00100000]

[    0.461577] pci 0000:01:00.2: BAR 0: no space for [mem size 0x00100000]

[    0.462167] pci 0000:01:00.2: BAR 0: failed to assign [mem size 0x00100000]

[    0.462785] pci 0000:01:00.3: BAR 0: no space for [mem size 0x00100000]

[    0.463375] pci 0000:01:00.3: BAR 0: failed to assign [mem size 0x00100000]

[    0.464001] pci 0000:01:00.0: BAR 6: no space for [mem size 0x00080000 pref]

[    0.464619] pci 0000:01:00.0: BAR 6: failed to assign [mem size 0x00080000 pref]

[    0.465280] pci 0000:01:00.1: BAR 6: no space for [mem size 0x00080000 pref]

[    0.465906] pci 0000:01:00.1: BAR 6: failed to assign [mem size 0x00080000 pref]

[    0.466559] pci 0000:01:00.2: BAR 6: no space for [mem size 0x00080000 pref]

[    0.467185] pci 0000:01:00.2: BAR 6: failed to assign [mem size 0x00080000 pref]

[    0.467846] pci 0000:01:00.3: BAR 6: no space for [mem size 0x00080000 pref]

[    0.468465] pci 0000:01:00.3: BAR 6: failed to assign [mem size 0x00080000 pref]

[    0.469126] pci 0000:01:00.0: BAR 3: no space for [mem size 0x00004

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值