TX2 using PCIx1 Instead of USB3 default (Config 1)

I also have this problem with the TX2 Dev Kit Carrier Board. Have gone through all the documentation and forum posts. All to no avail.

Does anyone have a working DST example with config #1 ? i.e. being able to use a M.2. ‘Key E’ PCIe x1 card ?

Is there anything else except for OMDATA and DST that actually needs to be changed ?

Thanks.

Please refer to Jetson/TX2 USB - eLinux.org
[url]https://devtalk.nvidia.com/default/topic/1029115/jetson-tx2/tx2-usb-lane-mapping-configs-4/post/5235474/#5235474[/url]

can u please share what and all changes u have done in pinmux spreadsheet?

Hi,

The pinmux can change the uphy lane function between PEX or USB. If you want to enable PCIe, you need to configure it as PEX.

I did modify pinmux as well as dts. for tx2i on my custom carrier card for enabling PCIe x1.

Pinmux chages

  • uphy usb lines to pex
  • QSPI IO2 GPIO high to low
  • DTS changes

  • https://devtalk.nvidia.com/default/topic/1063934/jetson-tx2/how-to-configure-pcix1-in-tx2i-/post/5387735/#5387735
  • ODM Data as well. still no luck

    nvidia@tegra-ubuntu:~$ dmesg | grep pci
        [    0.000000] Kernel command line: root=/dev/mmcblk0p1 rw rootwait console=ttyS0,115200n8 console=tty0 OS=l4t fbcon=map:0 net.ifnames=0 pci=noaer memtype=0 video=tegrafb no_console_suspend=1 earlycon=uart8250,mmio32,0x03100000 nvdumper_reserved=0x2372e0000 gpt tegraid=18.1.2.0.0 tegra_keep_boot_clocks maxcpus=6 boot.slot_suffix= boot.ratchetvalues=0.2.1 androidboot.serialno=0421918050217 bl_prof_dataptr=0x10000@0x237040000 sdhci_tegra.en_boot_part_access=1 root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4
        [    0.251987] GPIO line 459 (pcie-lane2-mux) hogged as output/low
        [    0.255109] iommu: Adding device 10003000.pcie-controller to group 50
        [    0.416160] tegra-pcie 10003000.pcie-controller: 4x1, 1x1 configuration
        [    0.418005] tegra-pcie 10003000.pcie-controller: PCIE: Enable power rails
        [    0.418496] tegra-pcie 10003000.pcie-controller: probing port 0, using 4 lanes
        [    0.420729] tegra-pcie 10003000.pcie-controller: probing port 2, using 1 lanes
        [    0.846180] tegra-pcie 10003000.pcie-controller: link 0 down, retrying
        [    1.250236] tegra-pcie 10003000.pcie-controller: link 0 down, retrying
        [    1.654301] tegra-pcie 10003000.pcie-controller: link 0 down, retrying
        [    1.656317] tegra-pcie 10003000.pcie-controller: link 0 down, ignoring
        [    2.058210] tegra-pcie 10003000.pcie-controller: link 2 down, retrying
        [    2.462284] tegra-pcie 10003000.pcie-controller: link 2 down, retrying
        [    2.623359] tegra-pcie 10003000.pcie-controller: PCI host bridge to bus 0000:00
        [    2.623364] pci_bus 0000:00: root bus resource [mem 0x50100000-0x57ffffff]
        [    2.623368] pci_bus 0000:00: root bus resource [mem 0x58000000-0x7fffffff pref]
        [    2.623371] pci_bus 0000:00: root bus resource [bus 00-ff]
        [    2.623374] pci_bus 0000:00: root bus resource [io  0x1000-0xffff]
        [    2.623401] pci 0000:00:03.0: [10de:10e6] type 01 class 0x060400
        [    2.623484] pci 0000:00:03.0: PME# supported from D0 D1 D2 D3hot D3cold
        [    2.623837] pci 0000:00:03.0: bridge configuration invalid ([bus 00-00]), reconfiguring
        [    2.643475] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
        [    2.643497] pci 0000:00:03.0: PCI bridge to [bus 01]
        [    2.643661] pcieport 0000:00:03.0: Signaling PME through PCIe PME interrupt
        [    2.643667] pcie_pme 0000:00:03.0:pcie01: service driver pcie_pme loaded
    

    Initially I was getting following error infinitly, i masked the error using pcie=noaer in cmdline.

    pcieport 0000:00:03.0: AER: Multiple Corrected error received: id=0060
    [    9.326228] pcieport 0000:00:03.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, id=0018(Receiver ID)
    [    9.337033] pcieport 0000:00:03.0:   device [10de:10e6] error status/mask=00000001/00002000
    [    9.345722] pcieport 0000:00:03.0:    [ 0] Receiver Error         (First)
    [    9.352737] pcieport 0000:00:03.0: AER: Multiple Corrected error received: id=0060
    [    9.360396] pcieport 0000:00:03.0: can't find device of ID0060
    

    what is the problem? please suggest some solutions

    This looks to be duplicate. Please continue in How to configure pcix1 in tx2i - Jetson TX2 - NVIDIA Developer Forums