log如下
root@TER30JB3-ubuntu:/home/nv# dmesg |grep “pcie”
[ 10.441283] tegra194-pcie 14180000.pcie: Adding to iommu group 47
[ 10.444613] tegra194-pcie 14180000.pcie: Failed to find PHY entries: -22
[ 10.444617] tegra194-pcie 14180000.pcie: Failed to parse device tree: -22
[ 10.444639] tegra194-pcie: probe of 14180000.pcie failed with error -22
[ 10.567939] tegra194-pcie 14100000.pcie: Adding to iommu group 54
[ 10.581669] tegra194-pcie 14100000.pcie: host bridge /bus@0/pcie@14100000 ranges:
[ 10.581697] tegra194-pcie 14100000.pcie: MEM 0x2080000000..0x20a7ffffff → 0x2080000000
[ 10.581711] tegra194-pcie 14100000.pcie: MEM 0x20a8000000..0x20afffffff → 0x0040000000
[ 10.581716] tegra194-pcie 14100000.pcie: IO 0x0030100000..0x00301fffff → 0x0030100000
[ 10.582011] tegra194-pcie 14100000.pcie: iATU unroll: enabled
[ 10.582013] tegra194-pcie 14100000.pcie: Detected iATU regions: 8 outbound, 2 inbound
[ 11.690050] tegra194-pcie 14100000.pcie: Phy link never came up
[ 12.691684] tegra194-pcie 14100000.pcie: Phy link never came up
[ 12.691785] tegra194-pcie 14100000.pcie: PCI host bridge to bus 0001:00
[ 12.698633] pcieport 0001:00:00.0: Adding to iommu group 54
[ 12.698747] pcieport 0001:00:00.0: PME: Signaling with IRQ 202
[ 12.699234] pcieport 0001:00:00.0: AER: enabled with IRQ 202
[ 12.702286] tegra194-pcie 14160000.pcie: Adding to iommu group 58
[ 12.704098] tegra194-pcie 14160000.pcie: host bridge /bus@0/pcie@14160000 ranges:
[ 12.704113] tegra194-pcie 14160000.pcie: MEM 0x2140000000..0x2427ffffff → 0x2140000000
[ 12.704118] tegra194-pcie 14160000.pcie: MEM 0x2428000000..0x242fffffff → 0x0040000000
[ 12.704122] tegra194-pcie 14160000.pcie: IO 0x0036100000..0x00361fffff → 0x0036100000
[ 12.704440] tegra194-pcie 14160000.pcie: iATU unroll: enabled
[ 12.704442] tegra194-pcie 14160000.pcie: Detected iATU regions: 8 outbound, 2 inbound
[ 13.806832] tegra194-pcie 14160000.pcie: Phy link never came up
[ 14.791159] tegra194-pcie 14160000.pcie: Phy link never came up
[ 14.791742] tegra194-pcie 14160000.pcie: PCI host bridge to bus 0004:00
[ 14.812160] pcieport 0004:00:00.0: Adding to iommu group 58
[ 14.812504] pcieport 0004:00:00.0: PME: Signaling with IRQ 204
[ 14.812986] pcieport 0004:00:00.0: AER: enabled with IRQ 204
[ 14.939636] tegra194-pcie 141a0000.pcie: Adding to iommu group 59
[ 15.181256] tegra194-pcie 141a0000.pcie: host bridge /bus@0/pcie@141a0000 ranges:
[ 15.181391] tegra194-pcie 141a0000.pcie: MEM 0x2800000000..0x2b27ffffff → 0x2800000000
[ 15.181417] tegra194-pcie 141a0000.pcie: MEM 0x2b28000000..0x2b2fffffff → 0x0040000000
[ 15.181428] tegra194-pcie 141a0000.pcie: IO 0x003a100000..0x003a1fffff → 0x003a100000
[ 15.246501] tegra194-pcie 141a0000.pcie: iATU unroll: enabled
[ 15.246512] tegra194-pcie 141a0000.pcie: Detected iATU regions: 8 outbound, 2 inbound
[ 15.353512] tegra194-pcie 141a0000.pcie: Link up
[ 15.390056] tegra194-pcie 141a0000.pcie: Link up
[ 15.390279] tegra194-pcie 141a0000.pcie: PCI host bridge to bus 0005:00
[ 15.441290] pcieport 0005:00:00.0: Adding to iommu group 59
[ 15.441767] pcieport 0005:00:00.0: PME: Signaling with IRQ 208
[ 15.442339] pcieport 0005:00:00.0: AER: enabled with IRQ 208
請參考文件做 只改一行status=okay是不夠的
其中那个D9引脚配置,我改为了Bidirectional了的
然后我从编译烧录好的系统,登上去导出了一下dts配置,以免编译配置没有生效,这是最贴切实际的配置,麻烦您看下有无错误
please read the document…
加了之后
pcie@14180000 {
status = “okay”;
phys = <&p2u_hsio_0>;
phy-names = “p2u-0”;
};
报这些问题,请问下具体怎么去配置呢,感觉所以依赖继承的配置,没全或者没对,同文件级别的其他pcie是配置比较全的。
如果是配置比较全的dtsi没有被依赖到,麻烦指出能够跑通功能的那个配置
报错打印信息如下
root@TER30JB3-ubuntu:/home/nv# dmesg |grep pcie
[ 9.675152] tegra194-pcie 14180000.pcie: Adding to iommu group 53
[ 9.677028] tegra194-pcie 14180000.pcie: supply vddio-pex-ctl not found, using dummy regulator
[ 9.685203] tegra194-pcie 14180000.pcie: host bridge /bus@0/pcie@14180000 ranges:
[ 9.685225] tegra194-pcie 14180000.pcie: MEM 0x2440000000..0x2727ffffff → 0x2440000000
[ 9.685232] tegra194-pcie 14180000.pcie: MEM 0x2728000000..0x272fffffff → 0x0040000000
[ 9.685238] tegra194-pcie 14180000.pcie: IO 0x0038100000..0x00381fffff → 0x0038100000
[ 9.685556] tegra194-pcie 14180000.pcie: iATU unroll: enabled
[ 9.685558] tegra194-pcie 14180000.pcie: Detected iATU regions: 8 outbound, 2 inbound
[ 10.784145] tegra194-pcie 14180000.pcie: Phy link never came up
[ 11.759953] tegra194-pcie 14180000.pcie: Phy link never came up
[ 11.760046] tegra194-pcie 14180000.pcie: PCI host bridge to bus 0000:00
[ 11.766824] pcieport 0000:00:00.0: Adding to iommu group 53
[ 11.766974] pcieport 0000:00:00.0: PME: Signaling with IRQ 206
[ 11.767566] pcieport 0000:00:00.0: AER: enabled with IRQ 206
印出來這些log代表pcie c0已經開了. 現在看起來不是kernel dtb的問題了
現在是link detection抓不到的問題. 請參考
我修改了pcie-tegra194.c的debug补丁之后,并没有出现ID为10e5 的pcie,并且log仍然如下
root@TER30JB3-ubuntu:/home/nv# dmesg |grep pcie
[ 71.868348] tegra194-pcie 14180000.pcie: Adding to iommu group 58
[ 71.869203] tegra194-pcie 14180000.pcie: supply vddio-pex-ctl not found, using dummy regulator
[ 71.874703] tegra194-pcie 14180000.pcie: host bridge /bus@0/pcie@14180000 ranges:
[ 71.874728] tegra194-pcie 14180000.pcie: MEM 0x2440000000..0x2727ffffff → 0x2440000000
[ 71.874735] tegra194-pcie 14180000.pcie: MEM 0x2728000000..0x272fffffff → 0x0040000000
[ 71.874739] tegra194-pcie 14180000.pcie: IO 0x0038100000..0x00381fffff → 0x0038100000
[ 71.876167] tegra194-pcie 14180000.pcie: iATU unroll: enabled
[ 71.876171] tegra194-pcie 14180000.pcie: Detected iATU regions: 8 outbound, 2 inbound
[ 72.974845] tegra194-pcie 14180000.pcie: Phy link never came up
[ 73.971140] tegra194-pcie 14180000.pcie: Phy link never came up
[ 73.971433] tegra194-pcie 14180000.pcie: PCI host bridge to bus 0000:00
[ 73.990311] pcieport 0000:00:00.0: Adding to iommu group 58
[ 73.990645] pcieport 0000:00:00.0: PME: Signaling with IRQ 206
[ 73.992425] pcieport 0000:00:00.0: AER: enabled with IRQ 206
[ 73.992761] tegra194-pcie 14180000.pcie: Disabling PCIe power down
然后扫到的pcie列表为
root@TER30JB3-ubuntu:/home/nv# lspci
0000:00:00.0 PCI bridge: NVIDIA Corporation Device 229c (rev a1)
0001:00:00.0 PCI bridge: NVIDIA Corporation Device 229e (rev a1)
0004:00:00.0 PCI bridge: NVIDIA Corporation Device 229c (rev a1)
0005:00:00.0 PCI bridge: NVIDIA Corporation Device 229a (rev a1)
0005:01:00.0 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
0005:01:00.1 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
0005:01:00.2 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
0005:01:00.3 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
其中这三行为修改补丁后新增的
0000:00:00.0 PCI bridge: NVIDIA Corporation Device 229c (rev a1)
0001:00:00.0 PCI bridge: NVIDIA Corporation Device 229e (rev a1)
0004:00:00.0 PCI bridge: NVIDIA Corporation Device 229c (rev a1)
顺便请问下您那边的工作日的工作时间是美国工作时间还是亚洲工作时间,以便于我方便调整回帖时间
patch已經生效了. 現在就請你照著文件上的check item做檢查…
system
Closed
15
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.