This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

814X PCI Express doesn't enumerate

We are trying to get PCIe enumerate on a TI814x EVM. The PCIe card we use is a PCI Express Serial Card.The EZSDK we use is 5.03.01.15.The kernel gives the following messages on boot,

ti81xx_pcie: Invoking PCI BIOS...

ti81xx_pcie: Setting up Host Controller...

ti81xx_pcie: Register base mapped @0xd0820000

ti81xx_pcie: Setting outbound translation for 0x20000000-0x2fffffff

ti81xx_pcie: Starting PCI scan...

PM: Adding info for No Bus:pci0000:00

PM: Adding info for No Bus:0000:00

pci_bus 0000:00: scanning bus

ti81xx_pcie: Reading config[0] for device 0000:00:00..

failed. No link/device.

The same PCIe card enumerates fine when connected on to a TI8168 EVM under EZSDK version 5.03.01.15. Any help is appreciated.

Thanks,

Shilpa.

  • Shilpa,

    Can you provide the value of register 0x51001728 from the kernel shell prompt? You can use devmem2.

       Hemant

  • Hemant,

    Thanks for your reply. The value is different on each access.What bits are we targeting at?

    root@dm814x-evm:~# devmem2 0x51001728

    /dev/mem opened.

    Memory mapped at address 0x40144000.

    Read at address 0x51001728 (0x40144728): 0x0000EC00

    root@dm814x-evm:~# devmem2 0x51001728

    /dev/mem opened.

    Memory mapped at address 0x402fa000.

    Read at address 0x51001728 (0x402fa728): 0x00002D01

    root@dm814x-evm:~# devmem2 0x51001728

    /dev/mem opened.

    Memory mapped at address 0x4023f000.

    Read at address 0x51001728 (0x4023f728): 0x0000ED00

    root@dm814x-evm:~# devmem2 0x51001728

    /dev/mem opened.

    Memory mapped at address 0x40214000.

    Read at address 0x51001728 (0x40214728): 0x00005600

    root@dm814x-evm:~# devmem2 0x51001728

    /dev/mem opened.

    Memory mapped at address 0x40244000.

    Read at address 0x51001728 (0x40244728): 0x00001900

    root@dm814x-evm:~# devmem2 0x51001728

    /dev/mem opened.

    Memory mapped at address 0x40215000.

    Read at address 0x51001728 (0x40215728): 0x0000D700

    root@dm814x-evm:~# devmem2 0x51001728

    /dev/mem opened.

    Memory mapped at address 0x4023d000.

    Read at address 0x51001728 (0x4023d728): 0x00003C01

    root@dm814x-evm:~# devmem2 0x51001728

    /dev/mem opened.

    Memory mapped at address 0x40124000.

    Read at address 0x51001728 (0x40124728): 0x0000BE00

    root@dm814x-evm:~# devmem2 0x51001728

    /dev/mem opened.

    Memory mapped at address 0x400fe000.

    Read at address 0x51001728 (0x400fe728): 0x00009500

    root@dm814x-evm:~# devmem2 0x51001728

    /dev/mem opened.

    Memory mapped at address 0x40199000.

    Read at address 0x51001728 (0x40199728): 0x0000A700

    Thanks,

    Shilpa.

  • Shilpa,

    I was looking for LS 5 bits - the value should be 0x11 on successful link, which is not the case from above dumps.

    Can you let me know the board rev of 8148 you are using? Also provide complete boot log.

    Please check the PCIe pin levels form the slot on the EVM, particularly: A11,B1,B2,B3,B4,B7,B8,A2,A3,A4,A9,A10,where A11 should be high and other should show 12V/3.3V/GND.

      Hemant

  • Hemant,

    We are using Rev A board. Attached is the log with debug messages on. I checked the PCIe pin levels on the slot and they look correct.

    Thanks,

    Shilpa.

    4188.8148evm_log.TXT

  • Hemant,

    Any clues from the boot log. Any help is appreciated. We have nothing yet.

    Thanks,

    Shilpa.

  • Shilpa,

    Have you set the EVM SW5-1 switch to OFF?

    If yes, then can you also try with another card?

       Hemant