imx6q pcie初始化 出现phy link never came up 问题
imx6q 开发板, 使用forlinx.com 上对应的内核linux 4.1.15-2018.10.23, uboot-2016.03-r0, 插入pcie2.0的卡开机后,dmesg报错:[ 3.475296] 1ffc000.pcie supply pcie-bus not found, using dummy regulator
[ 3.808893] imx6q-pcie 1ffc000.pcie: phy link never came up
[ 3.814490] imx6q-pcie 1ffc000.pcie: failed to initialize host
[ 3.820432] imx6q-pcie: probe of 1ffc000.pcie failed with error -22
这个该如何解决?
配置的pci 相关选项:
CONFIG_PCI_QUIRKS=y
CONFIG_PCI=y
CONFIG_PCI_DOMAINS=y
CONFIG_PCI_DOMAINS_GENERIC=y
CONFIG_PCI_SYSCALL=y
CONFIG_PCI_MSI=y
CONFIG_PCI_DEBUG=y
CONFIG_PCI_REALLOC_ENABLE_AUTO=y
# CONFIG_PCI_STUB is not set
CONFIG_PCI_ATS=y
# CONFIG_PCI_IOV is not set
CONFIG_PCI_PRI=y
CONFIG_PCI_PASID=y
CONFIG_PCIE_DW=y
CONFIG_PCI_IMX6=y
CONFIG_PCI_IMX6_COMPLIANCE_TEST=y
# CONFIG_PCI_IMX_EP_DRV is not set
# CONFIG_PCI_HOST_GENERIC is not set
# CONFIG_PCI_LAYERSCAPE is not set
# CONFIG_PCIE_IPROC is not set
CONFIG_PCIEPORTBUS=y
CONFIG_PCIEAER=y
# CONFIG_PCIE_ECRC is not set
CONFIG_PCIEAER_INJECT=y
CONFIG_PCIEASPM=y
CONFIG_PCIEASPM_DEBUG=y
CONFIG_PCIEASPM_DEFAULT=y
# CONFIG_PCIEASPM_POWERSAVE is not set
# CONFIG_PCIEASPM_PERFORMANCE is not set
CONFIG_PCIE_PME=y
# CONFIG_PCIPCWATCHDOG is not set
您好,您接的什么卡,是否能够识别设备?
飞凌-chongzi 发表于 2019-11-9 08:53
您好,您接的什么卡,是否能够识别设备?
你好,抱歉回晚了。
我用的是zynq 的卡,这个卡本身在x86主机上是可以正常识别的, 现在在板子上无法识别,总线本身初始化就过不去,还没开始枚举设备的代码 我们提供的板子暂不支持zynq的卡,您可以自行配置pcie,安装相关驱动,从网上搜索相关资料。
页:
[1]