在am5726启动后
root@am57xx-evm:~# dmesg |grep pcie
[ 0.581966] dra7-pcie 51000000.pcie: GPIO lookup for consumer (null)
[ 0.581978] dra7-pcie 51000000.pcie: using device tree for GPIO lookup
[ 0.581990] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/
ocp/axi@0/pcie@51000000[0]'
[ 0.582000] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/o
cp/axi@0/pcie@51000000[0]'
[ 0.582009] dra7-pcie 51000000.pcie: using lookup tables for GPIO lookup
[ 0.582019] dra7-pcie 51000000.pcie: lookup for GPIO (null) failed
[ 0.582122] PCI host bridge /ocp/axi@0/pcie@51000000 ranges:
[ 0.582134] No bus range found for /ocp/axi@0/pcie@51000000, using [bus 00-
ff]
[ 0.612473] dra7-pcie 51000000.pcie: link is not up
[ 0.612650] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00
[ 0.613270] irq: no irq domain found for /ocp/axi@0/pcie@51000000/interrupt-c
ontroller !
[ 0.613628] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
[ 0.613643] pcie_pme 0000:00:00.0:pcie01: service driver pcie_pme loaded
[ 0.613823] aer 0000:00:00.0:pcie02: service driver aer loaded
而root@am57xx-evm:~# lspci
00:00.0 PCI bridge: Texas Instruments Device 8888 (rev 01)
与dsp运行的pcie例程通信,但arm端扫不到这个设备
上面说
dra7-pcie 51000000.pcie: link is not up
是我的内核配置有问题吗?以上信息能看出什么,有大神可以指点一下吗?谢谢
Denny%20Yang99373:
与dsp运行的pcie例程通信,但arm端扫不到这个设备
什么意思?一般ARM来初始化PCIE接口和外设,DSP可以访问PCIE的地址空间
lu Cao2:
回复 Denny%20Yang99373:
dsp运行了ti提供一个pcie例程显示:
Successfully configured Inbound Translation!
Successfully configured Outbound Translation!
Starting link training…
我感觉arm端应该配置些什么,才能link is up 谢谢
能通过setpci命令做些什么吗?谢谢
TI中文支持网