ls1046a 配置PCIE,系统正常启动,但是PCIE功能好像不对。
RCW 配置如下:
SRDS_PRTCL_S1=13107 // 0X3333
SRDS_PRTCL_S2=23129 // 0X5A59
SRDS_REFCLK_SEL_S1=0
SRDS_REFCLK_SEL_S2=0
SRDS_PLL_PD_S1=2
SRDS_PLL_PD_S2=0
uboot下查看pci,无信息。
=> pci 1
No such bus
pci 2
No such bus
=> pci 3
No such bus
=> pci 4
No such bus
=> pci 5
No such bus
启动内核时打印pcie信息:RC 显示no link
PCIe1: pcie@3400000 Root Complex: no link
PCIe2: pcie@3500000 disabled
PCIe3: pcie@3600000 Root Complex: no link
使用lspci 工具查看没有找到外部pcie设备。
附件是完整的log记录。麻烦帮忙分析哪里存在问题。
Please check PLL mapping SRDS_PLL_REF_CLK_SEL_S2
Please check whether the following configuration is suitable for your custom board.
* Serdes 2:
* PLL mapping: 2221
* SRDS_PLL_REF_CLK_SEL_S2 : 0b'00
* SerDes 2, PLL1[162] : 0 - 100MHz for SATA
* SerDes 2, PLL2[163] : 0 - 100MHz for PCIe