Hello Champs,
In our project, we use DM8168 as the main media-control chip of NGN devices,but now we have some trouble in PCIE.
the current question is unable to search the local device ID. we didn't modify the source code for PCI/PCIE in the DM816x EZSDK 5.04 here is some information about our problem:
1. After booting linux kernel , we tip in "lspci" command ,nothing printed ,even the basic information about DM8168 host itself
Then, refer to pcie user guide after choosing “ PCIE debugging enabled“ ,we got “ No link/device " printed .This matches the troubleshooting of TI81XX_PCI_Express_Root_Complex_Driver_User_Guide
whether onnecting a PCIE EP device or not we both have the same situation ―― nothing printed . we have desinged two boards , one has a rst signal the other one don't , between RC and EP device . But the problem remains the same.Otherwise, in the troubleshooting ,it mentions that“it is possible that the h/w is configured such that a reset is applied to downstream when RC is powered up. In such case, try to isolate the downstream from this reset.” how to understand this sentence and isolate the downstream ?
2. Here is some information printed during booting about PCIE
dm816x-evm login: root
root@dm816x-evm:~# lspci
root@dm816x-evm:~# demgs sg | grep pci
-sh: demsg: not found
root@dm816x-evm:~# m dmesg | grep pci
ti81xx_pcie: Invoking PCI BIOS...
ti81xx_pcie: Setting up Host Controller...
ti81xx_pcie: Register base mapped @0xcb820000
ti81xx_pcie: Starting PCI scan...
pci_bus 0000:00: resource 0 [mem 0x20000000-0x2fffffff]
pci_bus 0000:00: resource 1 [io 0x40000000-0x402fffff]
root@dm816x-evm:~#
3. In our system ,we use 1GB DDR3 ,but TI Evaluation Board uses 2GB( in the DM816x EZSDK 5.04 it is configured for 1GB ). we didn't change other configuration. So we wonder whether it is the memory map that leads to the problem ,but memory map is controlled by the kernel ,it cant not be wrong .
4. There are PCI drivers in U-boot source file, but the configs of u-boot in DM816x EZSDK 5.04 doesn't incude PCI .Do we need to have PCI configured in the U-boot? how?
Thanks.
Rgds
Shine